forked from LeaVerou/inspire.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.css
219 lines (178 loc) · 4.23 KB
/
theme.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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/**
CSSS basic slideshow theme
@author Lea Verou
@version 1.0
*/
* {
padding:0;
margin:0;
font:inherit;
color:inherit;
}
html {
background: black url(img/rainbow-wood.jpg) bottom center;
background-size: cover;
}
body {
font-family: sans-serif;
}
button {
padding:.2em .5em;
}
a:hover {
text-shadow: 0 0 .5em white, 0 0 1em white;
}
select {
color: black;
}
code, pre, style, textarea, input {
font-family: Consolas, 'Andale Mono', 'Courier New', monospace;
background:rgba(0,0,0,.4);
}
code {
padding:.2em .2em .1em;
white-space: nowrap;
-moz-border-radius:.2em;
-webkit-border-radius:.2em;
border-radius:.2em;
-moz-box-shadow:.05em .05em .3em black;
-webkit-box-shadow:.05em .05em .3em black;
box-shadow:.05em .05em .3em black;
border: 1px solid rgba(0,0,0,0.5);
background: rgba(0,0,0,0.25);
-webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 12px rgba(255,255,255,0.15), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
-moz-box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 12px rgba(255,255,255,0.15), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 12px rgba(255,255,255,0.15), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.3);
}
pre, style, textarea {
padding:.3em .5em;
margin-left: -.1em;
border:2px solid rgba(255, 255, 255, .1);
-webkit-box-shadow:.1em .1em .5em black inset;
-moz-box-shadow:.1em .1em .5em black inset;
box-shadow:.1em .1em .5em black inset;
}
textarea {
width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
strong, b {
font-weight:bold;
}
pre strong {
text-shadow: 0 0 .6em white;
}
.slide {
padding:0 2.5% 2%;
background: rgba(0,0,0,.5);
background-clip: padding-box;
-moz-background-clip: padding-box;
text-shadow:.05em .05em .1em rgba(0,0,0,.4);
color: white;
border:30px solid transparent;
}
.slide:target::before {
background: rgba(255, 255, 255, .6);
color: black;
text-shadow: .03em .03em .1em white;
}
.slide h2 {
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-weight: 100;
font-size: 1.2in;
}
.slide p,
.slide li {
font-weight: bold;
letter-spacing: -.03em;
}
.slide > ul {
list-style:none;
}
.slide ol {
margin-left:2em;
}
.slide > ul ul {
margin-left:2em;
list-style: none;
}
.slide li li {
font-size:80%;
}
.slide li {
margin:.2em 0;
}
.slide > ul > li:before {
content:'\2714';
color: #a0c12c;
padding-right: .2em;
}
.slide li li:before {
content: '\279C';
color: #28bcbc;
padding-right: .2em;
}
.slide .emphasis {
padding: .4em .5em .3em;
margin: .3em 0;
background: #f80;
background: -webkit-gradient(linear, left top, left bottom, from(#fa0), to(#f80));
background: -moz-linear-gradient(#fa0, #f80);
color: white;
font-weight: bold;
letter-spacing: -.05em;
line-height: .85;
text-shadow: .05em .05em .1em rgba(0,0,0,.4);
-moz-border-radius: .3em;
-webkit-border-radius: .3em;
border-radius: .3em;
-moz-box-shadow:.1em .1em .5em black;
-webkit-box-shadow:.1em .1em .5em black;
box-shadow:.1em .1em .5em black;
}
.light.slide .emphasis {
-moz-box-shadow:.1em .1em .5em rgba(0,0,0,.4);
-webkit-box-shadow:.1em .1em .5em rgba(0,0,0,.4);
box-shadow:.1em .1em .5em rgba(0,0,0,.4);
}
.slide .emphasis::before {
content: '\279C';
color: rgba(255,255,255,.5);
float: left;
width: .75em;
height: 0;
padding: .45em 0 .3em;
margin: -.2em .2em 0 -.25em;
border: .12em solid;
text-align: center;
line-height: 0;
font-size: 120%;
font-family: inherit;
text-shadow: none;
-moz-border-radius:999px;
-webkit-border-radius:999px;
border-radius:999px;
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.attribution {
background: rgba(0,0,0,.8);
color: white;
display: block;
position: absolute;
left: 0;
right: 0;
bottom: 1em;
padding: .5em 1em;
font-size: 30%;
text-shadow: .05em .05em .1em black;
}
.attribution a {
text-decoration: none;
}
.attribution a::after {
content: ' (' attr(href) ')';
}