-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
118 lines (99 loc) · 1.94 KB
/
styles.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
*, ::after, ::before {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
font-family: Lato, Helvetica, sans-serif;
background: linear-gradient(to right, #36d1dc, #5b86e5);
padding: clamp(20px, 5vw, 50px) 10px 10px;
}
.container{
max-width: 850px ;
background: #f1f1f1;
border: 1px solid #36363692;
padding: 25px;
margin: 0 auto;
border-radius: 5px;
box-shadow: 0 4px 5px rgba(0, 0, 0,3);
}
h1 {
font-family: Raleway, sans-serif;
font-size: 40px;
text-align: center;
margin-bottom: 40px;
font-weight: 400;
}
h1 span {
font-weight: 700;
}
.inputs-container {
display: flex;
justify-content: center;
}
.inputs-container label{
display: block;
margin-bottom: 10px;
margin-left: 5px;
}
.inputs-container input {
min-width: 350px;
font-size: 15px;
margin-bottom: 10px;
padding: 10px;
border: none;
border-bottom: 1px solid #333;
box-shadow: 0 2px 5px rgba(0, 0, 0,5);
border-radius: 5px;
}
.inputs-container input:focus {
outline: 1px solid #222222be;
}
form button {
font-size: 20px;
min-width: 150px;
margin: 40px auto;
display: block;
padding: 10px;
border: none;
font-weight: 700;
border-radius: 5px;
color: #333;
cursor: pointer;
background: #fabe33;
box-shadow: 0 2px 5px rgba(0, 0, 0,5);
}
form button:hover{
background: #f2b527;
}
.info {
text-align: center;
}
.bmi-value{
font-size: 45px;
margin-bottom: 5px;
font-weight: bolder;
}
.result {
font-family: Raleway, sans-serif;
font-size: 20px;
}
@media screen and (max-width:800px){
.container {
max-width: 600px;
}
.inputs-container{
flex-direction: column;
align-items: center;
}
}
@media screen (min-width:300px) {
.input-group {
width: 100%;
}
.input-group input {
width: 100%;
min-width: auto;
}
}