/
style.sass
244 lines (196 loc) · 3.77 KB
/
style.sass
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
---
is_hidden: true
---
//// Variables
!base_color = #333
!heading_color = !base_color
!normal_color = !base_color
!passive_color = #666
// ruby per wikipedia
!logo_color = #E0115F
!link_color = #444
!link_hover_color = !logo_color
!link_bg = #fff
!tag_color = !link_color
//// Mixins
= sans
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif
= serif
//font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif
font-family: Georgia,Cambria,"Times New Roman",Times,serif
= logo-font
font-family: baskerville, palatino, 'palatino linotype', georgia,serif
= monospace
font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", Courier, monospace
= ul_left
ul
padding: 0
list-style-type: none
//// Styles
*
+serif
color = !normal_color
body
font-size: 16px
border-top: 2px solid #ccc
min-width: 800px
#main
margin: auto
width: 720px
padding: 3em 0
a
background-color = !link_bg
border-bottom: dotted 1px #666
color = !link_color
text-decoration: none
margin: 2px
&:link, &:visited
color = !link_color
&:hover
color = !link_hover_color
text-decoration: none
code, pre
+monospace
color = !normal_color
font-size: 13px
blockquote, div, ol, p, pre, ul
line-height: 1.5em
margin-bottom: 1.5em
h1, h2, h3, h4, h5
+sans
color = !heading_color
font-weight: normal
a
+sans
color = !heading_color !important
text-decoration: none
border-bottom: none
&:hover
color = !link_hover_color !important
h1
border-bottom: 1px solid #eee
font-size: 1.8em
padding-bottom: 6px
margin-bottom: 1em
h2, h3
color = !heading_color
margin: 1.5em 0 1em
h2
font-size: 1.3em
h3
font-size: 1.1em
ol, ul
list-style-type: disc
padding-left: 30px
li
line-height: 1.5em
pre
background-color: #f8f8f8
border-left = 3px "double" !passive_color
padding: .5em
#header
margin-bottom: 2em
overflow: auto
.logo
-webkit-border-radius: 12px 0 0
-moz-border-radius: 12px 0 0
background-color= !logo_color
color: #fff
float: left
font-size: 30px
+logo-font
padding: 0 .3em
// css3 inset effect
//text-shadow: 0px -1px 1px #aaa
a
+sans
color: #fff
background-color= !logo_color
border: none
+logo-font
text-decoration: none
&:link, &:visited
color: #fff !important
&:hover
color: #000 !important
text-decoration: none
#nav
float: right
margin-top: 20px
text-align: right
ul
li
display: inline
.byline
color = !passive_color
#other-articles
margin-top: 4em
+ul_left
h3
margin: 0 0 .5em
.newer
text-align: right
float: right
.older
float: left
#taglist
font-size: .8em
margin-top: 3em
text-align: right
#sticky
border: 3px double #eee
margin-bottom: 3.2em
.body
margin: auto
text-align: center
p
margin: 0
line-height: 4em
.archives, .tag-page
.excerpt
font-size: 90%
margin: 0
h2
margin-top: 0
ul
list-style-type: none
padding-left: 0px
.article, .excerpt, .featured
margin-bottom: 2.5em
.article, .featured
h1
margin-bottom: .25em
.clear
clear: both
.excerpt
margin-bottom: 1.5em
h2
margin-bottom: .5em
p
margin-bottom: .5em
.logo
+sans
color = !logo_color
margin-bottom: .7em
a
+sans
color = !logo_color !important
.meta
font-size: 13px
ul
margin: 0px
padding-left: 0
li
color = !passive_color
display: inline
.passive
color = !passive_color
a.tag
color = !tag_color !important
padding: 0 .1em 0
&:hover
color = !link_hover_color !important
.tags
text-transform: lowercase
.tags-page
+ul_left