-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathage.css
128 lines (128 loc) · 2.77 KB
/
age.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
118
119
120
121
122
123
124
125
126
127
128
*{
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
font-family: 'Courier New', Courier, monospace;
}
body{
width: 100%;
background-image: linear-gradient(to right, #01a1b7, #e489a2);
}
.header{
text-align: center;
color: white;
text-shadow: 1px 1px black;
margin-bottom: 1rem;
}
.container{
width: 50%;
margin: 7em auto;
background-color: #283345;
border-radius: 5px;
box-shadow: 0px 0px 2px 2px #17181a;
padding: 2em;
}
.input{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 1rem 0rem;
/* text-shadow: 1px 1px black; */
color: white;
}
.output-label{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 1rem 0rem;
color: white;
text-shadow: 1px 1px black;
}
#day-mode, #night-mode{
padding: 3px 5px;
background-color: #293345;
border: 1px solid #283345;
border-radius: 3px;
color: white;
box-shadow: 0px 0px 2px 2px #17181a;
margin-left: 10px;
}
#day-mode:focus, #night-mode:focus{
outline: none;
background-color: #293345;
}
#day-mode:hover, #night-mode:hover{
background-color: #20293a;
}
#age-in-year, #age-in-months, #age-in-days{
width: 100px;
height: 25px;
padding: 3px;
text-align: center;
margin: 3px;
background-color: #293345;
border: 1px groove #293345;
/* border-radius: 3px; */
box-shadow: 0px 0px 2px 2px #17181a;
color: white;
}
#ageInput{
padding: 3px;
background-color: #293345;
color: white;
}
#ageInput:focus{
outline: 1px solid #20293a;
}
.button{
text-align: center;
padding: 1rem 0rem 0rem 0rem;
display: flex;
flex-wrap: nowrap;
justify-content: center;
}
#calculate{
width: 20%;
min-width: 20%;
padding: 5px 10px;
background-color: #2dc972;
border: 1px solid #283345;
border-radius: 3px;
color: white;
font-weight: bold;
box-shadow: 0px 0px 1px 1px #17181a;
text-shadow: 1px 1px rgb(39, 39, 39);
}
#reset{
width: 20%;
padding: 5px 10px;
background-color: #fb9505;
margin-left: 7px;
border: 1px solid #283345;
border-radius: 3px;
color: white;
box-shadow: 0px 0px 1px 1px #17181a;
text-shadow: 1px 1px rgb(39, 39, 39);
}
#calculate:hover, #reset:hover{
opacity: .5;
color: white;
text-shadow: 1px 1px rgb(39, 39, 39);
}
#calculate:active{
background-color: #0ea050;;
}
#reset:active{
background-color: #b86c03;
}
#calculate:focus, #reset:focus{
outline: none;
}
/* #age-in-year{
width: 70px;
height: 20px;
padding: 3px;
background-color: #293345;
color: white;
} */