-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (97 loc) · 1.81 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
html {
font-size: 16px;
}
body{
font-family: 'Roboto', sans-serif;
background-color: #eeeeee;
display: flex;
justify-content: center;
}
h1{
color: #222831 ;
font-size: 2.5rem;
font-family: cursive;
text-align: center;
}
label{
color: #4f8a8b;
font-size: 1.5rem;
font-weight: bold;
margin-left: 5px;
font-family: 'Dancing Script', cursive;
}
input{
padding:0.3em 0.7em ;
background-color: rgba(255,255,255,0.1);
margin: 0.4em 1.6em 0em 0px ;
border-radius: 1em;
border: solid #fbd46d 2px;
font-size: 1.3rem;
}
.height div{
display: flex;
flex-direction: column;
align-items: center;
}
.height{
display: flex;
}
.weight div{
display: flex;
flex-direction: column;
align-items:stretch ;
}
::placeholder{
font-family: 'Dancing Script', cursive;
padding-left: 2px;
}
input + span {
color: red;
font-weight: light;
letter-spacing: 1px;
font-size: 0.8rem;
margin-top: 2px;
}
button{
padding: 1em 2em;
border: none;
border-radius: 1em;
background-color: #be5683;
margin: 2em 15em;
color: white;
font-size: 1rem;
}
button:hover{
background-color: #eeeeee;
border: 2px solid #be5683 ;
color: #be5683;
}
.show-output{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.output{
font-family: 'Dancing Script', cursive;
font-size: 2rem;
color: brown;
}
@media (max-width : 630px){
html{
font-size: 16px;
}
h1{
font-size: 1.4rem;
}
label{
margin-left: 7em;
}
.height{
flex-direction: column;
}
.weight div, .weight span{
width: 20em;
margin: auto;
}
}