-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (83 loc) · 1.29 KB
/
style.css
File metadata and controls
98 lines (83 loc) · 1.29 KB
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
h1 {
color: green;
}
li {
cursor: pointer;
}
li.selected {
background-color: pink
}
*{
box-sizing: border-box;
}
body, html{
font-family: 'Open Sans', sans-serif;
background: #fff;
padding: 0;
margin: 0;
font-size: 16px;
}
h1{
color: red;
}
.wrapper{
background: #fff;
max-width: 700px;
margin: 0 auto;
padding: 30px;
}
ul{
margin: 0 0 40px 0; padding: 0; overflow: auto;
}
li, label{
list-style-type: none;
padding: 20px;
width: 48%;
margin: 1%;
float: left;
text-align: center;
background-color: #efefef;
border: 1px solid #ccc;
min-height: 85px;
}
label{
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.row {
display: -webkit-box;
display: -moz-box;
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
li:nth-child(odd), label:nth-child(odd){
margin-left:0%;
}
label:hover{
cursor: pointer;
}
input:checked + label {
background: pink;
}
input[type=radio]{
display: none;
}
button, input[type=submit]{
background: red;
border: 0px;
padding: 20px;
color: #fff;
margin: 10px 0;
font-size: 20px;
text-transform: uppercase;
font-family: 'Open Sans', sans-serif;
}
.question{
overflow: auto;
margin-bottom: 40px;
}