-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
132 lines (121 loc) · 2.35 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
height: 100vh;
background: url(https://images.unsplash.com/photo-1568581357391-c71a1675ef93?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80);
background-size: cover;
background-repeat: no-repeat;
}
.container {
background-color: #ffffff;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
width: 80vw;
max-width: 600px;
min-width: 350px;
padding: 60px 30px;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
label {
display: block;
font-size: 22px;
margin-bottom: 10px;
font-weight: 500;
}
input {
margin-bottom: 20px;
border: none;
font-size: 20px;
border-bottom: 2px solid #585858;
color: #585858;
padding: 2px 15px;
}
input:focus {
outline: none;
border-bottom: 2.4px solid #1e514f;
}
.input-wrapper {
display: flex;
justify-content: space-between;
gap: 20px;
}
.input-wrapper input {
width: 100%;
}
.time-wrapper input {
width: 60%;
}
select {
width: 35%;
border: 1px solid #585858;
font-size: 18px;
margin-left: 3%;
padding: 6px 0;
border-radius: 5px;
}
.buttons{
display: flex;
}
button {
background-color: #1e514f;
border: none;
color: #ffffff;
margin: 20px auto 0 auto;
padding: 7px 40px;
font-size: 20px;
border-radius: 5px;
}
#reset-btn {
padding: 7px 62px;
}
#result {
background-color: #1e514f;
margin-top: 30px;
color: #585858;
text-align: center;
font-size: 18px;
padding: 20px;
border-radius: 5px;
}
#result div {
margin-bottom: 10px;
}
#result span {
color: #000000;
font-weight: 500;
}
#result {
background-color: #e9e9e9;
margin-top: 30px;
color: #585858;
text-align: center;
font-size: 18px;
padding: 20px;
border-radius: 5px;
}
#result div {
margin-bottom: 10px;
}
#result span{
color: #000000;
font-weight: 500;
}
@media all and (max-width: 500px) {
label {
font-size: 16px;
}
select {
font-size: 16px;
padding: 6px 0;
}
.buttons{
flex-direction: column;
}
}