-
Notifications
You must be signed in to change notification settings - Fork 3
/
layout.css
305 lines (292 loc) · 7.83 KB
/
layout.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
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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
/* Layout rules */
/**
* @file
* Positioning for a responsive layout.
*
* Define CSS classes to create a fluid grid layout with optional sidebars
* depending on whether blocks are placed in the left or right sidebars.
*
* This layout uses the Zen Grids plugin for Compass: http://zengrids.com
*/
/* line 27, ../sass/layouts/_responsive.scss */
.boundry, .nav-inner-wrapper, .inner-header-wrapper {
margin-left: auto;
margin-right: auto;
max-width: 1200px;
}
/**
* Center the page.
*
* For screen sizes larger than 1200px, prevent excessively long lines of text
* by setting a max-width.
*/
/* line 46, ../sass/layouts/_responsive.scss */
section.sidebar {
margin-top: 1.5em;
}
/* line 51, ../sass/layouts/_responsive.scss */
.not-front #page,
.not-front .region-bottom, .not-front header {
/* @extend .boundry; */
}
/* line 55, ../sass/layouts/_responsive.scss */
.not-front #content {
margin-top: 4em;
}
/* line 60, ../sass/layouts/_responsive.scss */
.front #name-and-slogan {
display: none;
}
/* line 65, ../sass/layouts/_responsive.scss */
aside {
margin-top: 4em;
}
/* Apply the shared properties of grid items in a single, efficient ruleset. */
/* line 70, ../sass/layouts/_responsive.scss */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
padding-left: 10px;
padding-right: 10px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
word-wrap: break-word;
}
/* Containers for grid items and flow items. */
/* line 45, ../sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:before, #header:after,
#main:before,
#main:after,
#footer:before,
#footer:after {
content: "";
display: table;
}
/* line 50, ../sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:after,
#main:after,
#footer:after {
clear: both;
}
/* Navigation bar */
@media all and (min-width: 480px) {
/* line 89, ../sass/layouts/_responsive.scss */
#main.not-front {
/* Move all the children of #main down to make room. */
padding-top: 3em;
}
/* line 93, ../sass/layouts/_responsive.scss */
#main {
position: relative;
}
/* line 96, ../sass/layouts/_responsive.scss */
#navigation {
/* Move the navbar up inside #main's padding. */
position: absolute;
top: 0;
height: 3em;
width: 100%;
}
}
/**
* Use 3 grid columns for smaller screens.
*/
@media all and (min-width: 480px) and (max-width: 959px) {
/**
* The layout when there is only one sidebar, the left one.
*/
/* line 117, ../sass/layouts/_responsive.scss */
.sidebar-first {
/* Span 2 columns, starting in 2nd column from left. */
/* Span 1 column, starting in 1st column from left. */
}
/* line 119, ../sass/layouts/_responsive.scss */
.sidebar-first #content {
float: left;
width: 66.66667%;
margin-left: 33.33333%;
margin-right: -100%;
}
/* line 124, ../sass/layouts/_responsive.scss */
.sidebar-first .region-sidebar-first {
float: left;
width: 33.33333%;
margin-left: 0%;
margin-right: -33.33333%;
}
/**
* The layout when there is only one sidebar, the right one.
*/
/* line 132, ../sass/layouts/_responsive.scss */
.sidebar-second {
/* Span 2 columns, starting in 1st column from left. */
/* Span 1 column, starting in 3rd column from left. */
}
/* line 134, ../sass/layouts/_responsive.scss */
.sidebar-second #content {
float: left;
width: 66.66667%;
margin-left: 0%;
margin-right: -66.66667%;
}
/* line 139, ../sass/layouts/_responsive.scss */
.sidebar-second .region-sidebar-second {
float: left;
width: 33.33333%;
margin-left: 66.66667%;
margin-right: -100%;
}
/**
* The layout when there are two sidebars.
*/
/* line 147, ../sass/layouts/_responsive.scss */
.two-sidebars {
/* Span 2 columns, starting in 2nd column from left. */
/* Span 1 column, starting in 1st column from left. */
/* Start a new row and span all 3 columns. */
}
/* line 149, ../sass/layouts/_responsive.scss */
.two-sidebars #content {
float: left;
width: 66.66667%;
margin-left: 33.33333%;
margin-right: -100%;
}
/* line 154, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-first {
float: left;
width: 33.33333%;
margin-left: 0%;
margin-right: -33.33333%;
}
/* line 159, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second {
float: left;
width: 100%;
margin-left: 0%;
margin-right: -100%;
padding-left: 0;
padding-right: 0;
clear: left;
/* Apply the shared properties of grid items in a single, efficient ruleset. */
/* Span 1 column, starting in the 1st column from left. */
/* Span 1 column, starting in the 2nd column from left. */
/* Span 1 column, starting in the 3rd column from left. */
}
/* line 165, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second .block {
padding-left: 10px;
padding-right: 10px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
word-wrap: break-word;
}
/* line 169, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second .block:nth-child(3n+1) {
float: left;
width: 33.33333%;
margin-left: 0%;
margin-right: -33.33333%;
clear: left;
}
/* line 174, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second .block:nth-child(3n+2) {
float: left;
width: 33.33333%;
margin-left: 33.33333%;
margin-right: -66.66667%;
}
/* line 178, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second .block:nth-child(3n) {
float: left;
width: 33.33333%;
margin-left: 66.66667%;
margin-right: -100%;
}
}
/**
* Use 5 grid columns for larger screens.
*/
@media all and (min-width: 960px) {
/**
* The layout when there is only one sidebar, the left one.
*/
/* line 195, ../sass/layouts/_responsive.scss */
.sidebar-first {
/* Span 4 columns, starting in 2nd column from left. */
/* Span 1 column, starting in 1st column from left. */
}
/* line 197, ../sass/layouts/_responsive.scss */
.sidebar-first #content {
float: left;
width: 80%;
margin-left: 20%;
margin-right: -100%;
}
/* line 202, ../sass/layouts/_responsive.scss */
.sidebar-first .region-sidebar-first {
float: left;
width: 20%;
margin-left: 0%;
margin-right: -20%;
}
/**
* The layout when there is only one sidebar, the right one.
*/
/* line 132, ../sass/layouts/_responsive.scss */
.sidebar-second {
/* Span 2 columns, starting in 1st column from left. */
/* Span 1 column, starting in 3rd column from left. */
}
/* line 134, ../sass/layouts/_responsive.scss */
.sidebar-second #content {
float: left;
width: 80%;
margin-left: 0%;
margin-right: -80%;
}
/* line 139, ../sass/layouts/_responsive.scss */
.sidebar-second .region-sidebar-second {
float: left;
width: 20%;
margin-left: 80%;
margin-right: -100%;
}
/**
* The layout when there are two sidebars.
*/
/* line 225, ../sass/layouts/_responsive.scss */
.two-sidebars {
/* Span 3 columns, starting in 2nd column from left. */
/* Span 1 column, starting in 1st column from left. */
/* Span 1 column, starting in 5th column from left. */
}
/* line 227, ../sass/layouts/_responsive.scss */
.two-sidebars #content {
float: left;
width: 60%;
margin-left: 20%;
margin-right: -80%;
}
/* line 232, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-first {
float: left;
width: 20%;
margin-left: 0%;
margin-right: -20%;
}
/* line 237, ../sass/layouts/_responsive.scss */
.two-sidebars .region-sidebar-second {
float: left;
width: 20%;
margin-left: 80%;
margin-right: -100%;
}
}