Project

General

Profile

Download (5.18 KB) Statistics
| Branch: | Tag: | Revision:
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
/*
27
 * definition list container rendered by the 
28
 * drupal theme function theme_description_list()
29
 */
30
.description_list {
31
  h3 {
32
    font-size: $base-font-size;
33
    line-height: $base-line-height;
34
    font-weight: bold;
35
  }
36
}
37

    
38
#page {
39
  @include pie(z-pie-element);
40
  @include pie; // Because $pie-base-class is set, this results in an extend of .pie-element.
41
  // single-box-shadow($color, $hoff, $voff, $blur, $spread, $inset)
42
  @include single-box-shadow(black, 0px, 5px, 20px);
43
  padding-top: $zen-gutter-width;
44
  background-color: #fff;
45
}
46

    
47
/*
48
 * The skip-link link will be completely hidden until a user tabs to the link.
49
 * See the element-focusable rule in system.base.css.
50
 */
51

    
52
#skip-link {
53
  margin: 0;
54

    
55
  a,
56
  a:visited {
57
    display: block;
58
    width: 100%;
59
    padding: 2px 0 3px 0;
60
    text-align: center;
61
    background-color: #666;
62
    color: #fff;
63
  }
64
}
65

    
66
/*
67
 * Header
68
 */
69

    
70
#header {
71
  // margin-bottom: $zen-gutter-width / 2; // disabled since we are now having the subheader
72
}
73

    
74

    
75
#sub-header {
76
  clear: both;
77
  min-height: $zen-gutter-width / 2;
78
  #site-name {
79
    /* in this position the site-name needs different styles */
80
    font-weight: lighter;
81
  }
82
}
83

    
84
#logo { /* Wrapping link for logo */
85
  float: left; /* LTR */
86
  margin: 0;
87
  margin-right: $zen-gutter-width / 2;
88
  padding: 0;
89

    
90
  img {
91
    vertical-align: bottom;
92
  }
93
}
94

    
95
#name-and-slogan { /* Wrapper for website name and slogan */
96
  float: left;
97
  margin-right: $zen-gutter-width / 2;
98
}
99

    
100
#site-name { /* The name of the website */
101
  font-size: 2.5em;
102
  font-weight: bold;
103
  line-height: 1.5em;
104
  margin: 0;
105

    
106
  a:link,
107
  a:visited {
108
    color: #fff;
109
    text-decoration: none;
110
  }
111

    
112
  a:hover,
113
  a:focus {
114
    color: #fff;
115
    text-decoration: none;
116
  }
117
}
118

    
119
#site-slogan { /* The slogan (or tagline) of a website */
120
  margin: 0;
121
  font-size: 1em;
122
}
123

    
124
.region-header { /* Wrapper for any blocks placed in the header region */
125
  clear: both; /* Clear the logo */
126
}
127

    
128
/*
129
 * Main (container for everything else)
130
 */
131

    
132
#main {
133
}
134

    
135
/*
136
 * Content
137
 */
138

    
139
#content {
140
}
141

    
142

    
143
.region-highlighted {
144
}
145

    
146
.breadcrumb { /* The path to the current page in the form of a list of links */
147
  ol {
148
    margin: 0;
149
    padding: 0;
150
  }
151
  li {
152
    display: inline;
153
    list-style-type: none;
154
    margin: 0;
155
    padding: 0;
156
  }
157
}
158

    
159
h1.title, /* The title of the page */
160
h2.node-title, /* Title of a piece of content when it is given in a list of content */
161
h2.block-title, /* Block title */
162
h2.title, /* Comment section heading */
163
h2.comment-form, /* Comment form heading */
164
h3.title { /* Comment title */
165
  margin: 0;
166
}
167

    
168
tr.even { /* Some tables have rows marked even or odd. */
169
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
170
}
171

    
172
tr.odd {
173
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
174
}
175

    
176
div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
177
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
178

    
179
  ul {
180
    margin-top: 0;
181
    margin-bottom: 0;
182
  }
183
}
184

    
185
div.status { /* Normal priority messages */
186
}
187

    
188
div.warning,
189
tr.warning { /* Medium priority messages */
190
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
191
}
192

    
193
div.error,
194
tr.error { /* High priority messages. See also the .error declaration below. */
195
}
196

    
197
.error { /* Errors that are separate from div.messages status messages. */
198
  /* color: #e55; */ /* Drupal core uses a #e55 background */
199
}
200

    
201
.warning { /* Warnings that are separate from div.messages status messages. */
202
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
203
}
204

    
205
.tabs { /* See also the tabs.css file. */
206
}
207

    
208
.region-help { /* Help text on a page */
209
}
210

    
211
.more-help-link { /* Link to more help */
212
}
213

    
214
.region-content { /* Wrapper for the actual page content */
215
}
216

    
217
ul.inline { /* List of links generated by theme_links() */
218
  display: inline;
219
  padding: 0;
220

    
221
  li {
222
    display: inline;
223
    list-style-type: none;
224
    padding: 0 1em 0 0; /* LTR */
225
  }
226
}
227
span.field-label { /* The inline field label used by the Fences module */
228
  padding: 0 1em 0 0; /* LTR */
229
}
230

    
231
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
232
  padding: 0;
233

    
234
  li { /* Each page number in the pager list */
235
    padding: 0 0.5em;
236
  }
237
}
238

    
239
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
240
}
241

    
242
.more-link { /* Aggregator, blog, and forum more link */
243
}
244

    
245
/*
246
 * First sidebar (on left in LTR languages, on right in RTL)
247
 *
248
 * Remember to NOT add padding or margin to your .region-sidebar-first
249
 * (see the layout.css file.)
250
 */
251

    
252
.region-sidebar-first {
253
}
254

    
255
/*
256
 * Second sidebar (on right in LTR languages, on left in RTL)
257
 *
258
 * Remember to NOT add padding or margin to your .region-sidebar-second
259
 * (see the layout.css file.)
260
 */
261

    
262
.region-sidebar-second {
263
}
264

    
265
/*
266
 * Footer
267
 */
268

    
269
#footer {
270
}
271

    
272
/*
273
 * Page bottom
274
 */
275

    
276
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
277
}
(17-17/23)