-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
193 lines (165 loc) · 3.45 KB
/
main.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500');
main {
background-color: white;
margin-bottom: 4.5rem;
padding: 1.5rem;
}
.inscription{
margin: auto;
max-width: 45rem;
}
.plan__intro-title{
font-family: "Quicksand";
font-size: 3rem;
color: tomato;
text-align: center;
}
.plan__intro-title::first-letter{
font-size: 4rem;
text-decoration: underline dotted fuchsia;
vertical-align: middle;
}
label{
display: block;
margin: 2rem 0;
font-weight: 500;
}
label:not(.terms){
text-align: right;
border-bottom: 1px solid lightslategrey;
}
label>span:not(.read-terms){
float: left;
}
input,
select {
border: none;
outline: none;
background: transparent;
}
input:not([type="checkbox"]),
select {
font-family: inherit;
width: 85%;
font-size: 1rem;
border-top-right-radius: .8rem;
}
label>span:not(.read-terms),
input:not([type="checkbox"]),
select {
display: inline-block;
vertical-align: bottom;
padding: .5rem;
}
input:not([type="checkbox"]):hover,
label:not(.terms):hover,
select:hover {
background: #f5f5f5;
border-top-right-radius: .8rem;
}
input:not([type="checkbox"]):focus,
select:focus {
background: #e6e6e6;
}
.selection{
position: relative;
}
select{
position: relative;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
.selection::after{
position: absolute;
content: "≡";
color: #5e5e5e;
top: 0;
right: 0;
padding-right: 0.5rem;
pointer-events: none;
text-align: center;
line-height: 2rem;
font-size: 1.7rem;
}
fieldset{
border-radius: 1rem;
}
[type="checkbox"]:focus{
outline: none;
}
[type="checkbox"]{
margin: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
width: 1.25rem;
height: 1.25rem;
background: transparent;
border: 2px solid black;
border-radius: 5px;
vertical-align: bottom;
}
[type="checkbox"]:checked{
border: none;
}
[type="checkbox"]:checked::after{
color: black;
display: block;
position: relative;
content: " ";
left: 5px;
width: 5px;
height: 1rem;
font-size: 3rem;
border: solid black;
border-width: 0 5px 5px 0;
border-radius: 5px;
transform: rotate(45deg);
}
input:invalid, label:invalid{
background: #ff624733;
border: 1px solid tomato;
}
fieldset{
text-align: center;
}
.main-buttons{
margin: .5rem 2rem;
width: 8rem;
height: 3rem;
font-size: 1.1rem;
color: white;
border-radius: 3px;
background: linear-gradient(135deg, fuchsia 85%, #5C0DFF 10%);
border: none;
cursor: pointer;
}
.main-buttons:hover{
/* background: linear-gradient(135deg, fuchsia 85%, #5C0DFF 10%); */
box-shadow: 7px 7px 0 1px black;
border-right: 2px solid white;
border-bottom: 2px solid white;
position: relative;
top: -2px;
left: -2px;
}
@media (max-width:768px){
input:not([type="checkbox"]),
select {
width: 100%;
font-size: 1rem;
border-top-right-radius: .8rem;
}
label>span:not(.read-terms){
padding-top: .5rem;
}
input:not([type="checkbox"]),
select {
padding: .5rem;
}
.selection::after{
display: none;
}
}