-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.css
More file actions
225 lines (222 loc) · 7.08 KB
/
layout.css
File metadata and controls
225 lines (222 loc) · 7.08 KB
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
/* $Id: layout.css,v 1.14 2009/05/07 17:00:40 jmburnz Exp $ */
/*
* LAYOUT STYLES
* Define CSS classes to create a table-free, 3-column, 2-column, or single
* column layout depending on whether blocks are enabled in the left or right
* columns.
*
* The Pixture Reloaded layout is based on the Holy Grail layout used in the
* Zen Theme. http://drupal.org/project/zen
*
*/
/*-------------------------------------------------------------------*/
/* Reset */
/*-------------------------------------------------------------------*/
body,
.comment,
#logo,
#branding,
#site-slogan,
#content-inner,
#sidebar-left .block,
#sidebar-right .block,
#header-blocks .block,
#content-top .block,
#content-bottom .block,
#footer .block .content,
#forum td.forum,
#forum .name a,
#forum .description,
div.admin-panel,
li,
.item-list ul,
ul.images li h3,
div.item-list ul.pager li,
ul.pager li,
.tabs ul,
div.page-links a.page-previous,
div.page-links a.page-up,
div.page-links a.page-next,
ul.images li h3 {
padding: 0;
margin: 0;
}
/*-------------------------------------------------------------------*/
/* Page */
/*-------------------------------------------------------------------*/
#page {
margin: 0 auto;
padding: 0px;
max-width: 1600px;
min-width: 800px;
}
/*-------------------------------------------------------------------*/
/* Skip to */
/*-------------------------------------------------------------------*/
#skip-to-content {
height: 0;
overflow: hidden;
font-size: 0.8em;
}
/*-------------------------------------------------------------------*/
/* Header */
/*-------------------------------------------------------------------*/
#header {
margin: 0 0 15px 0;
padding: 0;
height: 120px;
}
#logo {
margin: 0 10px 0 0;
padding: 0;
height: 120px;
float: left;
overflow: hidden;
}
#head-elements {
background: no-repeat scroll right center #109560;
height: 88px;
margin: 0 0 0 15px;
padding: 0;
}
h1#site-name,
div#site-name {
margin: 0;
padding: 10px 0 0 0;
font-size: 2.6em;
line-height: 1.3em;
}
#site-slogan em {
font-style: normal;
margin: 0;
}
#search-box {
float: right;
position: relative;
margin: 35px 20px 0pt 0pt; /* pull the search box into position */
padding: 0;
}
/*-------------------------------------------------------------------*/
/* Additional Regions & blocks */
/*-------------------------------------------------------------------*/
#header-blocks,
#content-top,
#content-bottom {
clear: both; /* Clear the header */
text-align: center;
}
#header-blocks .block-inner,
#content-top .block-inner,
#content-bottom .block-inner { margin: 0 auto; }
/*-------------------------------------------------------------------*/
/* Main */
/*-------------------------------------------------------------------*/
#main {
position: relative;
padding: 0 15px 10px 15px;
}
#main-inner {}
/*-------------------------------------------------------------------*/
/* Content */
/*-------------------------------------------------------------------*/
#content {
float: left;
width: 80%;
margin-left: 8%;
margin-right: -88%; /* Negative value of #content's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
}
.two-sidebars #content-inner {
padding-left: 235px; /* The width + left margin of #sidebar-left. */
padding-right: 235px; /* The width + right margin of #sidebar-right. */
}
.sidebar-left #content-inner {
padding-left: 235px; /* The width + left margin of #sidebar-left. */
padding-right: 0;
}
.sidebar-right #content-inner {
padding-left: 0;
padding-right: 235px; /* The width + right margin of #sidebar-right. */
}
/* Set wider margins in full node view for readability
This uses the extra body class ".node-full-view", set in pixture_reloaded_preprocess_page */
.node-full-view.two-sidebars #content-inner {
padding-left: 245px; /* The width + left margin of #sidebar-left. */
padding-right: 245px; /* The width + right margin of #sidebar-right. */
}
.node-full-view.sidebar-left #content-inner {
padding-left: 245px; /* The width + left margin of #sidebar-left. */
padding-right: 0;
}
.node-full-view.sidebar-right #content-inner {
padding-left: 0;
padding-right: 245px; /* The width + right margin of #sidebar-right. */
}
/*-------------------------------------------------------------------*/
/* Primary, Superfish */
/*-------------------------------------------------------------------*/
#primary,
#superfish { padding: 0; }
#primary-inner { margin: 6px 0 0 15px;}
#superfish-inner { margin: 0 0 0 15px;}
/* Zero left margin for centered menus (optional)
#primary-inner { margin: 6px 0 0 0;}
#superfish-inner { margin: 0 0 0 0;}
*/
#primary ul { margin: 0;}
#primary ul li.first { padding-left: 0; }
/*-------------------------------------------------------------------*/
/* Sidebars */
/*-------------------------------------------------------------------*/
/** sidebar-left **/
#sidebar-left {
float: left;
width: 220px;
margin-left: 0;
margin-right: -220px; /* Negative value of #sidebar-left's width + left margin. */
padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
}
/** sidebar-right **/
#sidebar-right {
float: right;
width: 220px;
margin-left: -220px; /* Negative value of #sidebar-right's width + right margin. */
margin-right: 0;
padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
}
/*-------------------------------------------------------------------*/
/* Footer & Closure */
/*-------------------------------------------------------------------*/
#footer { min-height: 70px; }
#footer-message { padding: 0 0 3px 0; }
#closure-blocks {}
/*-------------------------------------------------------------------*/
/* Prevent overflowing content */
/*-------------------------------------------------------------------*/
#header,
#content,
#navbar,
#sidebar-left,
#sidebar-right,
#footer,
#closure-blocks {
overflow: visible;
word-wrap: break-word; /* A very nice CSS3 property */
}
/*-------------------------------------------------------------------*/
/* Clearing */
/*-------------------------------------------------------------------*/
/* Clearing floats without extra markup
http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix { display:inline-block; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* Regular clearing */
.clear { clear:both; }