forked from rimmi21-zz/quiz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
141 lines (135 loc) · 2.37 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
*{
margin: 0;
padding: 0;
background: #32fc5f;
}
body
{
font: 14px;
font-size: 20px;
font-family: 'Rakkas', cursive;
}
#page-wrap {
padding:1.5em;
}
#page-wrap
{
width: 500px;
margin: 0 auto;
}
h1
{
margin: 18px 0;
font: 14px ;
font-family: 'Rakkas', cursive;
text-transform: uppercase;
letter-spacing: 3px;
color: purple;
}
#quiz input
{
vertical-align: middle;
background: none;
color: #ab1b1b;
width: 80px;
height: 30px;
border: 1px solid #33803300;
font-size: 15px;
border-radius: 4px;
transition: .6s;
overflow: hidden;
}
#quiz input: focus{
outline: none;
}
#quiz input: before{
content:'';
display: block;
position: absolute;
background: rgba(255,255,255,.5);
width: 60px;
height: 100%;
left:0;
top:0;
opacity: .5s;
filter: blur(30px);
transform:translateX(-130px) skewX(-15deg);
}
#quiz input: after{
content:'';
display: block;
position: absolute;
background: rgba(255,255,255,.2);
width: 30px;
height: 100%;
left:30;
top: 0;
opacity: 0;
filter: blur(30px);
transform: translate(-100px) scaleX(-15deg);
}
#quiz input:hover {
background: #6ee078;
cursor: pointer;
}
#quiz input:hover:before{
transform: translate(300px) skewX(-15deg);
opacity: .6s;
transition: .7s;
}
#quiz input:hover:after{
transform: translate(300px) skewX(-15deg);
opacity: 1;
transition: .7s;
}
#quiz ol
{
margin: 0 0 10px 20px;
}
#quiz ol li
{
margin: 0 0 20px 0;
}
#quiz ol li div {
padding: 4px 0;
}
#quiz h3 {
font-size: 22px; margin: 0 0 1px 0; color: #020206;
}
#results {
font: 44px Georgia, Serif;
}
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
@media only screen and (min-width: 600px) {
/* For tablets: */
.col-s-1 {width: 8.33%;}
.col-s-2 {width: 16.66%;}
.col-s-3 {width: 25%;}
.col-s-4 {width: 33.33%;}
.col-s-5 {width: 41.66%;}
.col-s-6 {width: 50%;}
.col-s-7 {width: 58.33%;}
.col-s-8 {width: 66.66%;}
.col-s-9 {width: 75%;}
.col-s-10 {width: 83.33%;}
.col-s-11 {width: 91.66%;}
.col-s-12 {width: 100%;}
}
@media only screen and (min-width: 768px) {
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
}