-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
134 lines (118 loc) · 2.07 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
* {
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
/* background-color: #4158d0;
background-image: linear-gradient(
43deg,
#4158d0 0%,
#c850c0 48%,
#ffcc70 100%
); */
animation: fade-in 0.9s ease-in-out;
background-color: #0093e9;
background-image: linear-gradient(160deg, #0093e9 0%, #80d0c7 100%);
width: 100%;
min-height: 100vh;
color: #fbcb73;
padding: 25px;
}
.calculator {
width: 100%;
max-width: 600px;
margin-left: 10%;
margin-right: 10%;
margin-top: 25px;
margin-bottom: 25px;
padding: 25px;
/* box-shadow: 0 0 0.11px rgba(0, 0, 0, 0.2); */
}
.calculator h1 {
font-size: 60px;
}
.input-box {
margin: 40px 0;
padding: 35px;
border-radius: 15px;
background: rgba(255, 255, 255, 0.3);
display: flex;
align-items: center;
}
.input-box input {
flex: 1;
margin-right: 20px;
padding: 14px 20px;
border: 0;
outline: 0;
font-size: 20px;
border-radius: 15px;
position: relative;
}
.input-box button {
background: #fbcb73;
border: 0;
outline: 0;
padding: 15px 30px;
border-radius: 5px;
font-weight: 500;
color: 500;
color: #333;
cursor: pointer;
}
.input-box input::-webkit-calendar-picker-indicator {
top: 0;
right: 0;
left: 0;
bottom: 0;
width: auto;
height: auto;
position: absolute;
background-position: calc(100% - 10px);
background-size: 30px;
cursor: pointer;
}
/* animation for the calculate button */
.animated-button {
transition: all 0.3s ease;
}
.animated-button:hover {
transform: scale(1.1);
}
.animated-button:active {
transform: scale(0.9);
}
/* Animation for the age title when the pages loads */
.age {
animation: click-animation 0.5s;
}
@keyframes click-animation {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
/* */
/* */
/* */
/* */
/* */
/* whole page */
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 0.7;
}
}
.inputa {
animation: click-animation 0.5s;
}