-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
183 lines (176 loc) · 3.33 KB
/
styles.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
*{
margin: 0;
padding: 0;
list-style: none;
border: none;
font-family: Tahoma;
line-height: 1.5em;
}
body{
font-size: 12px;
}
#intro{
width: 60%;
margin: 40px auto 0;
}
h1, h2, h3{
font-family: 'Yanone Kaffeesatz', sans-serif;
font-weight: normal;
color: #111;
text-transform: uppercase;
}
h1{
font-size: 35px;
border-bottom: solid 1px #CCC;
position: relative;
}
h1 a{
display: block;
float: right;
height: 52px;
line-height: 52px;
padding: 0 15px;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-weight: normal;
font-size: 25px;
text-decoration: none;
color: #FFF;
background: #c11411;
position: relative;
}
h1 a:after{
content: '';
display: block;
width: 5px;
height: 5px;
position: absolute;
top: 0;
left: 0;
background: #FFF;
z-index: 1;
}
h1 a:before{
content: '';
display: block;
width: 5px;
height: 5px;
position: absolute;
top: 0;
left: -5px;
background: #c11411;
z-index: 2;
}
h1 a:hover:before{
left: 0;
}
h1 a.back_to_article{
background: none;
color: #515151;
font-size: 20px;
}
h1 a.back_to_article:after,
h1 a.back_to_article:before{
display: none;
}
h2{
font-size: 25px;
margin-top: 30px;
}
p{
margin: 10px 0;
}
code{
font: normal 12px monospace;
color: #515151;
}
table{
border: solid 1px #CCC;
width: 100%;
}
table th{
text-transform: uppercase;
}
table th,
table td{
padding: 10px;
border-bottom: dashed 1px #CCC;
}
table tr:last-child td{
border: none;
}
#demo{
width: 60%;
height: 600px;
border: solid 1px #CCC;
margin: 0 auto;
border-top: none;
position: relative;
overflow: hidden;
}
/* DEMO */
#LoadingBullets{
list-style: none;
margin: 0;
padding: 0;
width: 150px;
height: 25px;
/* Make it center */
position: absolute;
left: 50%;
top: 50%;
margin-left: -75px; /* width / 2 */
margin-top: -12px; /* height / 2 */
/* --------------- */
}
#LoadingBullets > li{
display: block;
width: 25px;
height: 25px;
float: left;
margin: 0 2px 0 3px;
opacity: 0;
-webkit-border-radius: 50%;
border-radius: 50%;
-webkit-transform: translate(-800px) scale(0.7); /* bigger than wrapper */
-webkit-animation: BulletsLoading 2.5s infinite;
transform: translate(-800px) scale(0.7);
animation: BulletsLoading 2.5s infinite;
}
#LoadingBullets > li:nth-child(1){
-webkit-animation-delay: 0.60s;
animation-delay: 0.60s;
background: #e53d3d;
}
#LoadingBullets > li:nth-child(2){
-webkit-animation-delay: 0.45s;
animation-delay: 0.45s;
background: #e5d43d;
}
#LoadingBullets > li:nth-child(3){
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
background: #46e53d;
}
#LoadingBullets > li:nth-child(4){
-webkit-animation-delay: 0.15s;
animation-delay: 0.15s;
background: #3dbbe5;
}
#LoadingBullets > li:nth-child(5){
-webkit-animation-delay: 0s;
animation-delay: 0s;
background: #c13de5;
}
@-webkit-keyframes BulletsLoading{
0% { -webkit-transform: translate(-800px) scale(0.7); opacity: 0; }
30% { -webkit-transform: translate(0) scale(1); opacity: 1; }
60% { -webkit-transform: translate(0) scale(1); opacity: 1; }
100% { -webkit-transform: translate(800px) scale(0.7); opacity: 0; }
}
@keyframes BulletsLoading{
0% { transform: translate(-800px) scale(0.7); opacity: 0; }
30% { transform: translate(0) scale(1); opacity: 1; }
60% { transform: translate(0) scale(1); opacity: 1; }
100% { transform: translate(800px) scale(0.7); opacity: 0; }
}
/* ---- */