forked from dhairyagothi/100_days_100_web_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (108 loc) · 1.74 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");
body {
margin: 0;
padding: 0;
text-align: center;
font-family: "Montserrat";
/* background: rgb(34, 193, 195); */
background: linear-gradient(
0deg,
#cc5333 0%,
#23074d 100%
);
min-height: 100vh;
}
.bmi {
color: white;
width: 350px;
position: absolute;
top: 50%;
left: 50%;
background-color: black;
transform: translate(-50%, -50%);
padding: 20px;
border-radius: 10px;
}
h2 {
font-size: 30px;
font-weight: 600;
}
.text {
text-align: center;
}
#weight-unit,
#height-unit {
color: black;
text-align: left;
font-size: 20px;
font-weight: 200;
outline: none;
border: 1px solid black;
border-radius: 10px;
width: 200px;
height: 35px;
height: 35px;
margin-top: 10px;
}
#weight:focus,
#height:focus {
width: 250px;
transition: 0.5s;
}
#result {
color: white;
}
#btn {
font-family: inherit;
margin-top: 10px;
border: blue;
color: #000;
background: gainsboro;
width: 150px;
padding: 10px;
border-radius: 30px ;
outline: white;
cursor: pointer;
transition: 0.5s;
}
#btn:hover {
transform: scale(1.1);
transition: 0.5s;
}
table {
width: 650px;
border-collapse: collapse;
margin: 600px auto;
margin-top: 700px;
margin-bottom: 80px;
}
tr {
background: rgb(68, 38, 105);
color: white;
}
th {
background: #0d0101;
color: #fffbfb;
font-weight: bold;
}
td,
th {
padding: 10px;
border: 1px solid #000;
text-align: center;
font-size: 18px;
}
#bmichart {
display: block;
box-sizing: border-box;
height: 759px;
width: 1519px;
margin-bottom: 80px;
}
#height, #weight {
height: 35px;
margin-top: 10px;
}
.footer_social{
color: white;
}