/
style.css
108 lines (105 loc) · 1.83 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
:root {
--primary: #8892bf;
--opt1: #39375b;
--opt2: #e54f6d;
--opt3: #04724d;
--opt4: #35ce8d;
--opt5: #262a10;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: hsla(333, 100%, 53%, 1);
background: linear-gradient(90deg, hsla(33, 94%, 57%, 1) 0%, hsla(333, 100%, 53%, 1) 100%);
color: #fff;
font-family: 'Quicksand', sans-serif;
min-height: 100vh;
padding: 1rem;
}
main {
padding: 1rem 0;
}
section {
background-color: #fff;
border-radius: .5rem;
box-shadow: 0.125em 0.125em 0.5em var(--primary);
}
h2 {
background-color: var(--primary);
padding: 1rem;
border-radius: .5rem .5rem 0 0;
}
ul {
list-style: none;
color: #000;
font-size: 1.5rem;
}
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
border-bottom: .1rem solid #aaa;
border-left: .5rem solid currentColor;
}
li:nth-child(1) {
border-left-color: var(--opt1);
}
li:nth-child(1) i {
color: var(--opt1);
}
li:nth-child(2) {
border-left-color: var(--opt2);
}
li:nth-child(2) i {
color: var(--opt2);
}
li:nth-child(3) {
border-left-color: var(--opt3);
}
li:nth-child(3) i {
color: var(--opt3);
}
li:nth-child(4) {
border-left-color: var(--opt4);
}
li:nth-child(4) i {
color: var(--opt4);
}
li:nth-child(5) {
border-left-color: var(--opt5);
}
li:nth-child(5) i {
color: var(--opt5);
}
label {
width: 70%;
}
input[type=radio] {
margin-right: 1rem;
transform: scale(2);
}
span {
width: 30%;
text-align: end;
}
i {
margin-right: .5rem;
}
input[type=submit] {
width: 100%;
font-size: 1.5rem;
background-color: var(--primary);
color: #fff;
font-family: 'Quicksand', sans-serif;
border: none;
padding: 1rem;
transition: background-color 1s ease;
}
input[type=submit]:hover, input[type=submit]:active {
background-color: var(--opt1);
cursor: pointer;
}