1
|
/**
|
2
|
* @file
|
3
|
* Page Styling
|
4
|
*
|
5
|
* Style the markup found in page.tpl.php. Also includes some styling of
|
6
|
* miscellaneous Drupal elements that appear in the $content variable, such as
|
7
|
* ul.links, .pager, .more-link, etc.
|
8
|
*/
|
9
|
|
10
|
@import "base";
|
11
|
|
12
|
|
13
|
/*
|
14
|
* Body
|
15
|
*/
|
16
|
|
17
|
body {
|
18
|
margin: 0;
|
19
|
padding: 0;
|
20
|
}
|
21
|
|
22
|
h1, h2, h3, h4, h5, h6 {
|
23
|
font-weight: normal;
|
24
|
}
|
25
|
|
26
|
#page {
|
27
|
// single-box-shadow($color, $hoff, $voff, $blur, $spread, $inset)
|
28
|
@include single-box-shadow(black, 0px, 5px, 20px);
|
29
|
padding-top: $zen-gutter-width;
|
30
|
background-color: #fff;
|
31
|
}
|
32
|
|
33
|
/*
|
34
|
* The skip-link link will be completely hidden until a user tabs to the link.
|
35
|
* See the element-focusable rule in system.base.css.
|
36
|
*/
|
37
|
|
38
|
#skip-link {
|
39
|
margin: 0;
|
40
|
|
41
|
a,
|
42
|
a:visited {
|
43
|
display: block;
|
44
|
width: 100%;
|
45
|
padding: 2px 0 3px 0;
|
46
|
text-align: center;
|
47
|
background-color: #666;
|
48
|
color: #fff;
|
49
|
}
|
50
|
}
|
51
|
|
52
|
/*
|
53
|
* Header
|
54
|
*/
|
55
|
|
56
|
#header {
|
57
|
margin-bottom: $zen-gutter-width / 2;
|
58
|
}
|
59
|
|
60
|
#logo { /* Wrapping link for logo */
|
61
|
float: left; /* LTR */
|
62
|
margin: 0;
|
63
|
margin-right: $zen-gutter-width / 2;
|
64
|
padding: 0;
|
65
|
|
66
|
img {
|
67
|
vertical-align: bottom;
|
68
|
}
|
69
|
}
|
70
|
|
71
|
#name-and-slogan { /* Wrapper for website name and slogan */
|
72
|
float: left;
|
73
|
margin-right: $zen-gutter-width / 2;
|
74
|
}
|
75
|
|
76
|
#site-name { /* The name of the website */
|
77
|
font-size: 2.5em;
|
78
|
font-weight: bold;
|
79
|
line-height: 1.5em;
|
80
|
margin: 0;
|
81
|
|
82
|
a:link,
|
83
|
a:visited {
|
84
|
color: #fff;
|
85
|
text-decoration: none;
|
86
|
}
|
87
|
|
88
|
a:hover,
|
89
|
a:focus {
|
90
|
color: #fff;
|
91
|
text-decoration: none;
|
92
|
}
|
93
|
}
|
94
|
|
95
|
#site-slogan { /* The slogan (or tagline) of a website */
|
96
|
margin: 0;
|
97
|
font-size: 1em;
|
98
|
}
|
99
|
|
100
|
.region-header { /* Wrapper for any blocks placed in the header region */
|
101
|
clear: both; /* Clear the logo */
|
102
|
}
|
103
|
|
104
|
/*
|
105
|
* Main (container for everything else)
|
106
|
*/
|
107
|
|
108
|
#main {
|
109
|
}
|
110
|
|
111
|
/*
|
112
|
* Content
|
113
|
*/
|
114
|
|
115
|
#content {
|
116
|
}
|
117
|
|
118
|
|
119
|
.region-highlighted {
|
120
|
}
|
121
|
|
122
|
.breadcrumb { /* The path to the current page in the form of a list of links */
|
123
|
ol {
|
124
|
margin: 0;
|
125
|
padding: 0;
|
126
|
}
|
127
|
li {
|
128
|
display: inline;
|
129
|
list-style-type: none;
|
130
|
margin: 0;
|
131
|
padding: 0;
|
132
|
}
|
133
|
}
|
134
|
|
135
|
h1.title, /* The title of the page */
|
136
|
h2.node-title, /* Title of a piece of content when it is given in a list of content */
|
137
|
h2.block-title, /* Block title */
|
138
|
h2.title, /* Comment section heading */
|
139
|
h2.comment-form, /* Comment form heading */
|
140
|
h3.title { /* Comment title */
|
141
|
margin: 0;
|
142
|
}
|
143
|
|
144
|
tr.even { /* Some tables have rows marked even or odd. */
|
145
|
/* background-color: #eee; */ /* Drupal core uses a #eee background */
|
146
|
}
|
147
|
|
148
|
tr.odd {
|
149
|
/* background-color: #eee; */ /* Drupal core uses a #eee background */
|
150
|
}
|
151
|
|
152
|
div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
|
153
|
margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
|
154
|
|
155
|
ul {
|
156
|
margin-top: 0;
|
157
|
margin-bottom: 0;
|
158
|
}
|
159
|
}
|
160
|
|
161
|
div.status { /* Normal priority messages */
|
162
|
}
|
163
|
|
164
|
div.warning,
|
165
|
tr.warning { /* Medium priority messages */
|
166
|
/* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
|
167
|
}
|
168
|
|
169
|
div.error,
|
170
|
tr.error { /* High priority messages. See also the .error declaration below. */
|
171
|
}
|
172
|
|
173
|
.error { /* Errors that are separate from div.messages status messages. */
|
174
|
/* color: #e55; */ /* Drupal core uses a #e55 background */
|
175
|
}
|
176
|
|
177
|
.warning { /* Warnings that are separate from div.messages status messages. */
|
178
|
/* color: #e09010; */ /* Drupal core uses a #e09010 background */
|
179
|
}
|
180
|
|
181
|
.tabs { /* See also the tabs.css file. */
|
182
|
}
|
183
|
|
184
|
.region-help { /* Help text on a page */
|
185
|
}
|
186
|
|
187
|
.more-help-link { /* Link to more help */
|
188
|
}
|
189
|
|
190
|
.region-content { /* Wrapper for the actual page content */
|
191
|
}
|
192
|
|
193
|
ul.inline { /* List of links generated by theme_links() */
|
194
|
display: inline;
|
195
|
padding: 0;
|
196
|
|
197
|
li {
|
198
|
display: inline;
|
199
|
list-style-type: none;
|
200
|
padding: 0 1em 0 0; /* LTR */
|
201
|
}
|
202
|
}
|
203
|
span.field-label { /* The inline field label used by the Fences module */
|
204
|
padding: 0 1em 0 0; /* LTR */
|
205
|
}
|
206
|
|
207
|
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
|
208
|
padding: 0;
|
209
|
|
210
|
li { /* Each page number in the pager list */
|
211
|
padding: 0 0.5em;
|
212
|
}
|
213
|
}
|
214
|
|
215
|
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
|
216
|
}
|
217
|
|
218
|
.more-link { /* Aggregator, blog, and forum more link */
|
219
|
}
|
220
|
|
221
|
/*
|
222
|
* First sidebar (on left in LTR languages, on right in RTL)
|
223
|
*
|
224
|
* Remember to NOT add padding or margin to your .region-sidebar-first
|
225
|
* (see the layout.css file.)
|
226
|
*/
|
227
|
|
228
|
.region-sidebar-first {
|
229
|
}
|
230
|
|
231
|
/*
|
232
|
* Second sidebar (on right in LTR languages, on left in RTL)
|
233
|
*
|
234
|
* Remember to NOT add padding or margin to your .region-sidebar-second
|
235
|
* (see the layout.css file.)
|
236
|
*/
|
237
|
|
238
|
.region-sidebar-second {
|
239
|
}
|
240
|
|
241
|
/*
|
242
|
* Footer
|
243
|
*/
|
244
|
|
245
|
#footer {
|
246
|
}
|
247
|
|
248
|
/*
|
249
|
* Page bottom
|
250
|
*/
|
251
|
|
252
|
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
|
253
|
}
|