-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
152 lines (152 loc) · 2.38 KB
/
styles.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
148
149
150
151
152
* {
box-sizing: border-box;
}
@font-face {
font-family: YoungSerif;
src: url("/YoungSerif-Regular.otf") format("opentype");
}
html,
body {
background: #fffdfa;
margin: 0;
padding: 0;
color: #0d0d0d;
}
h1,
h2 {
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
main {
flex: 1 1;
padding: 5rem 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: YoungSerif;
width: 100%;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
form {
width: 100%;
text-align: center;
}
.title {
font-size: 72px;
font-weight: 700;
margin-bottom: 30px;
}
.subtitle {
font-family:
Courier New,
monospace;
font-size: 28px;
font-weight: 500;
line-height: 1.4;
text-align: center;
color: #0d0d0d;
margin-bottom: 44px;
}
.subtitle.header {
margin-bottom: 40px;
}
.input-wrapper {
border: 5px solid #b1ecdb;
border-radius: 49px;
width: 100%;
padding: 10px 10px 10px 45px;
position: relative;
margin: auto;
max-width: 550px;
}
.input-wrapper svg {
position: absolute;
width: 30px;
height: 30px;
top: 50%;
left: 20px;
transform: translateY(-50%);
}
input {
background-color: transparent;
border: none;
outline: none;
width: 100%;
font-family: YoungSerif;
font-weight: 600;
font-size: 25px;
padding: 10px 20px;
box-sizing: border-box;
}
.action {
margin-top: 20px;
}
.action button {
background: #b1ecdb;
border: 1px solid #b1ecdb;
border-radius: 49px;
font: 600 25px YoungSerif;
color: #5f6368;
width: 99%;
cursor: pointer;
margin: 20px auto;
padding: 20px;
display: inline-block;
}
footer {
width: 100%;
height: 100px;
border-top: 1px solid #eaeaea;
display: flex;
align-items: center;
}
footer span {
padding: 24px;
}
footer a {
font-family: YoungSerif;
text-decoration: none;
}
a,
a:visited {
color: #0d0d0d;
}
@media (min-width: 600px) {
.title {
margin-bottom: 56px;
}
.subtitle {
line-height: 41px;
font-size: 35px;
margin-bottom: 60px;
}
.action {
display: flex;
justify-content: space-between;
max-width: 600px;
margin: 20px auto 0;
}
.action button {
margin: 20px 10px;
}
.lucky {
min-width: 320px;
}
input {
font-size: 35px;
}
}