-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (103 loc) · 1.82 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
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
* {
box-sizing: border-box;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(90deg, rgba(45, 0, 28, 0.6) 2%, rgba(228, 16, 148, .6) 22%, rgba(255, 0, 159, 0.6) 100%), url(img/twice-fancy-you.jpg);
background-size: cover;
background-position: center;
z-index: -1;
}
body {
font-family: Lato, sans-serif;
font-size: 16px;
}
h1 {
font-size: 2rem;
margin-bottom: .5em;
}
h1,
p#description {
text-align: center;
color: white;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
p#description {
font-size: 1.25rem;
font-style: italic;
margin-bottom: 3em;
}
form {
max-width: 800px;
background-color: rgba(0, 0, 0, 0.8);
margin: 0 auto;
padding: 20px 40px;
/* font-weight: 600; */
border-radius: 5px;
color: white;
}
.form-group {
margin-bottom: 1.25em;
font-size: 1.2rem;
}
input[type='text'],
input[type='email'],
input[type='number'],
select {
display: block;
}
input[type='text'],
input[type='email'],
input[type='number'],
select,
textarea {
margin-top: .8em;
height: 40px;
width: 100%;
border-radius: 5px;
border: 0;
padding: 10px 10px;
font-family: inherit;
}
textarea {
height: 120px;
}
p.label {
text-align: left;
margin-bottom: 0;
}
.label-answer {
font-size: 1rem;
display: flex;
align-items: center;
margin: .8em 0;
}
input.input-choice {
margin-right: .5em;
}
.clue {
margin-left: 0.25rem;
font-size: 0.9rem;
color: #e4e4e4;
}
.submit-button {
display: block;
width: 100%;
padding: 0.75rem;
background: #0044ff;
color: inherit;
border-radius: 5px;
border: 0;
cursor: pointer;
}
@media screen and (max-width: 500px) {
form {
padding: 1em 1em;
}
}