Skip to content

Commit 5631c0c

Browse files
committed
Slightly more beautiful.
1 parent 45dc702 commit 5631c0c

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

css/default.css

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,77 @@
1+
/* Minimal reset */
2+
3+
* {
4+
vertical-align: baseline;
5+
font-family: inherit;
6+
font-style: inherit;
7+
font-size: 100%;
8+
border: none;
9+
padding: 0;
10+
margin: 0;
11+
}
12+
13+
/* Colors */
14+
15+
a, .header a:visited {
16+
color: #26ADE4;
17+
text-decoration: none;
18+
}
19+
20+
a:hover {
21+
text-decoration: underline;
22+
text-shadow: 0 0 1px #DCEEF5;
23+
}
24+
25+
hr {
26+
border-top: 1px solid #eee;
27+
margin: 19px 0 20px 0;
28+
}
29+
30+
/* Layout (margins, padding) */
31+
32+
pre {
33+
padding: 20px;
34+
line-height: 20px;
35+
margin: 20px 0;
36+
}
37+
38+
p, .header { margin-bottom: 20px; }
39+
40+
ul {
41+
list-style: none;
42+
}
43+
44+
ul, ol {
45+
margin-left: 20px;
46+
margin-bottom: 20px;
47+
}
48+
49+
/* Typography */
50+
51+
body {
52+
text-rendering: optimizeLegibility;
53+
color: #373837;
54+
font-family: Palatino, "Palatino Linotype", serif;
55+
text-shadow: 0 0 1px #fff;
56+
font-size: 14px;
57+
line-height: 20px;
58+
margin: 20px;
59+
}
60+
61+
pre {
62+
font-family: Monaco, Monospace;
63+
}
64+
65+
h1, h2, h3 {
66+
margin: 0;
67+
padding: 0;
68+
}
69+
70+
h1 { font-size: 25px; line-height: 40px; }
71+
h2 { font-size: 20px; line-height: 40px; }
72+
h3 { font-size: 16px; line-height: 20px; }
73+
74+
/* Syntax Highlighting */
175
.highlight .hll { background-color: #ffffcc }
276
.highlight { background: #f8f8f8; }
377
.highlight .c { color: #408080; font-style: italic } /* Comment */

0 commit comments

Comments
 (0)