/
style.css
93 lines (80 loc) · 1.45 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
body {
margin: 0;
padding: 0;
}
html {
background: #203440 url(/static/images/texture.png);
margin: 0;
padding: 0;
}
/** SITE HEADER **/
header {
width: 100%;
z-index: 50;
top: 0;
left: 0;
}
header h1 {
color: #EEE;
font: 26px/1.2 'Open Sans', sans-serif;
font-weight: 700;
letter-spacing: -2px;
margin: 0 auto;
text-rendering: optimizeLegibility;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
width: 640px;
}
header h1 a {
color: #FFF;
text-decoration: none;
}
header h1 b {
/* Yes, `b`; the text is "stylistically offset". So there. */
color: #80D0FF;
font-weight: 700;
}
/** SITE FOOTER **/
small {
width: 642px;
padding: 0 20px;
margin: 0 auto;
display: block;
background: rgba(0,0,0,0.1);
}
/** ARTICLES **/
article {
width: 642px;
padding: 20px 20px;
background: rgba(255,255,255,0.9);
border: 1px solid rgba(0,0,0,0.9);
margin: 0 auto;
}
article h1 {
color: #203440;
font: 35px/1 'Open Sans', sans-serif;
font-weight: 600;
margin: 0.5em 0;
text-rendering: optimizeLegibility;
}
p {
font: 20px/1.4 'Open Sans', 'Helvetica Neue', Verdana, sans-serif;
color: #333;
}
pre {
background: #FFF;
margin: 0 -20px;
border-left: 8px solid #80D0FF;
padding: 1em 0 1em 12px;
}
code {
font: 24px Inconsolata;
background: #FFF;
}
article a {
color: #40687F;
text-decoration: none;
text-shadow: 0 0 2px rgba(255,255,255,0.5);
}
iframe {
box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}