-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
147 lines (145 loc) · 2.86 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
135
136
137
138
139
140
141
142
143
144
145
146
147
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
:root{
/* --color-primary: #1B83E2; */
--color-primary: crimson;
}
body{
height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(rgba(0,0,0,0.6), rgba(220, 20, 60, 0.4) ), url('./assets/bg.webp');
background-size: cover;
background-repeat: no-repeat;
}
main{
width: 375px;
height: 766px;
margin: 0 auto;
background: #F4F4F4;
border-radius: 5px;
}
header{
background: var(--color-primary);
width: 375px;
height: 66px;
border-radius: 5px 5px 0px 0px;
}
header h1{
font-weight: 400;
font-size: 24px;
line-height: 18px;
display: flex;
justify-content: center;
color: #F4F4F4;
padding-top: 24px;
}
section {
width: 327px;
margin: 0 auto;
margin-top: 23px;
display: flex;
flex-direction: column;
}
label{
font-weight: 400;
font-size: 14px;
line-height: 18px;
color: #777777;
margin-bottom: 6px;
}
label span{
font-weight: 700;
}
select{
font-weight: 700;
font-size: 16px;
line-height: 18px;
color: #555555;
padding: 15px;
appearance: none;
cursor: pointer;
background: #FFFFFF;
border: 1px solid #BBBBBB;
border-radius: 4px;
height: 48px;
margin-bottom: 23px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
button, input{
font-size: 16px;
line-height: 18px;
color: #555555;
padding: 15px;
background: #FFFFFF;
border: 1px solid #BBBBBB;
border-radius: 4px;
height: 48px;
margin-bottom: 23px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
input::placeholder{
font-weight: 100;
}
#submit{
background: var(--color-primary);
border-radius: 25px;
font-weight: 700;
font-size: 16px;
line-height: 18px;
color: #F4F4F4;
border: none;
margin-bottom: 51px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
#submit:hover{
cursor: pointer;
opacity: 0.9;
}
#submit:active{
opacity: 0.7;
}
section#result{
width: 327px;
height: 276px;
border: 1px solid var(--color-primary);
border-radius: 4px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
section#result div{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 12px;
}
section#result div p{
font-weight: 400;
font-size: 14px;
line-height: 18px;
color: #777777;
margin-top: 4px;
margin-bottom: 2px;
}
section#result div span{
font-weight: 700;
font-size: 20px;
line-height: 18px;
color: var(--color-primary);
}
@media screen and (max-width: 500px) {
main{
margin-top: 7px;
width: 98vw;
}
header{
width: 98vw;
}
}