/
main.sass
204 lines (163 loc) · 3.05 KB
/
main.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
@import compass/reset
@import compass/css3, compass/utilities
@import "compass/layout/stretching"
@import "compass/css3/transform"
@import "compass/css3/transition"
@import compass/layout
@import blueprint
body
font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif
// Base font
=font-default
font: 14px Arial, Helvetica, sans-serif
=font-header
font: 30px Arial, Helvetica, sans-serif
=font-footer
font: 10px Arial, Helvetica, sans-serif
#color_panel
margin-top: 3px
float: right
.color
color: black
display: inline-block
width: 20px
height: 20px
border: 1px solid #000000
#color-select
float: right
//format
h1
+font-header
padding-top: 5px
p
line-height: 20px
margin-bottom: 5px
ul
list-style-type: square
ol
list-style-type: decimal
ul, ol
padding-left: 5px
margin-left: 10px
li
padding-bottom: 4px
hr
margin: 30px auto 80px
width: 150px
//layouts
$grid : 70px
$content-width: 14 * $grid
// Links
a
cursor: pointer
text-decoration: none
&:hover
text-decoration: none
&:focus,
&:active
outline: none
&:visited
// Default style for visited links
body
+font-default
align: center
#warper
margin: auto
width: 700px
min-height: 100%
position: relative
+single-box-shadow
#block-nav
height: 30px
#content, footer
padding: 0px 10px
#content
overflow-y: scroll
word-wrap: break-word
padding-top: 10px
.article
img
+single-box-shadow
+border-radius(5px)
.article-title
text-align: center
padding: 10px
.article-list
clear: both
padding: 10px
.sep
width: 40px
display: inline-block
nav
top: 0px
width: 700px
height: 32px
position: fixed
z-index: 1000
font-weight: bold
border-bottom: 1px solid #000000
#container
.first-nav
display: inline-block
.secondary-nav
float: right
ul
li
display: inline
line-height: 30px
padding: 0 15px
.more
text-align: center
padding: 20px
cursor: pointer
+sticky-footer(72px, "#layout", "#layout_footer", "footer")
footer
border-top: 1px solid #000000
padding-top: 20px
align: center
+font-footer
$blueprint_grid_columns : 8
$blueprint_grid_width : 80px
.info
+column(3)
.time
+column(5)
#comments
margin-top: 90px
.time-stamp
margin-top: 10px
text-align: right
#return-top-block
position: fixed
width: 100%
bottom: -130px
+transition-property(all)
+transition-duration(0.5s)
+transition-timing-function(ease-in)
#return-top-inner
width: 700px
height: 30px
margin: 0px auto
#return-top
outline: medium none
border: 0px none
display: block
position: relative
left: -62px
width: 80px
height: 14px
padding: 5px 10px
+border-top-radius(4px)
font-weight: bold
text-align: center
+rotate(270deg)
+opacity(0.1)
+transition-property(all)
+transition-duration(0.5s)
+transition-timing-function(ease-in)
&:hover
+opacity(1)
#___plusone_0
position: absolute
right: 0px
top: 60px