Project

General

Profile

Download (4.63 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
#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
  table {
33
    margin-top: 0;
34
    margin-bottom: 1em;
35
  }
36
}
37

    
38
/*
39
 * The skip-link link will be completely hidden until a user tabs to the link.
40
 * See the element-focusable rule in system.base.css.
41
 */
42

    
43
#skip-link {
44
  margin: 0;
45

    
46
  a,
47
  a:visited {
48
    display: block;
49
    width: 100%;
50
    padding: 2px 0 3px 0;
51
    text-align: center;
52
    background-color: #666;
53
    color: #fff;
54
  }
55
}
56

    
57
/*
58
 * Header
59
 */
60

    
61
#header {
62
  margin-bottom: $zen-gutter-width / 2;
63
}
64

    
65
#logo { /* Wrapping link for logo */
66
  float: left; /* LTR */
67
  margin: 0;
68
  margin-right: $zen-gutter-width / 2;
69
  padding: 0;
70

    
71
  img {
72
    vertical-align: bottom;
73
  }
74
}
75

    
76
#name-and-slogan { /* Wrapper for website name and slogan */
77
  float: left;
78
  margin-right: $zen-gutter-width / 2;
79
}
80

    
81
#site-name { /* The name of the website */
82
  margin: 0;
83
  font-size: 2em;
84
  line-height: 1.5em;
85

    
86
  a:link,
87
  a:visited {
88
    color: #000;
89
    text-decoration: none;
90
  }
91

    
92
  a:hover,
93
  a:focus {
94
    text-decoration: underline;
95
  }
96
}
97

    
98
#site-slogan { /* The slogan (or tagline) of a website */
99
  margin: 0;
100
  font-size: 1em;
101
}
102

    
103
.region-header { /* Wrapper for any blocks placed in the header region */
104
  clear: both; /* Clear the logo */
105
}
106

    
107
/*
108
 * Main (container for everything else)
109
 */
110

    
111
#main {
112
}
113

    
114
/*
115
 * Content
116
 */
117

    
118
#content {
119
}
120

    
121

    
122
.region-highlighted {
123
}
124

    
125
.breadcrumb { /* The path to the current page in the form of a list of links */
126
  ol {
127
    margin: 0;
128
    padding: 0;
129
  }
130
  li {
131
    display: inline;
132
    list-style-type: none;
133
    margin: 0;
134
    padding: 0;
135
  }
136
}
137

    
138
h1.title, /* The title of the page */
139
h2.node-title, /* Title of a piece of content when it is given in a list of content */
140
h2.block-title, /* Block title */
141
h2.title, /* Comment section heading */
142
h2.comment-form, /* Comment form heading */
143
h3.title { /* Comment title */
144
  margin: 0;
145
}
146

    
147
tr.even { /* Some tables have rows marked even or odd. */
148
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
149
}
150

    
151
tr.odd {
152
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
153
}
154

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

    
158
  ul {
159
    margin-top: 0;
160
    margin-bottom: 0;
161
  }
162
}
163

    
164
div.status { /* Normal priority messages */
165
}
166

    
167
div.warning,
168
tr.warning { /* Medium priority messages */
169
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
170
}
171

    
172
div.error,
173
tr.error { /* High priority messages. See also the .error declaration below. */
174
}
175

    
176
.error { /* Errors that are separate from div.messages status messages. */
177
  /* color: #e55; */ /* Drupal core uses a #e55 background */
178
}
179

    
180
.warning { /* Warnings that are separate from div.messages status messages. */
181
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
182
}
183

    
184
.tabs { /* See also the tabs.css file. */
185
}
186

    
187
.region-help { /* Help text on a page */
188
}
189

    
190
.more-help-link { /* Link to more help */
191
}
192

    
193
.region-content { /* Wrapper for the actual page content */
194
}
195

    
196
ul.inline { /* List of links generated by theme_links() */
197
  display: inline;
198
  padding: 0;
199

    
200
  li {
201
    display: inline;
202
    list-style-type: none;
203
    padding: 0 1em 0 0; /* LTR */
204
  }
205
}
206
span.field-label { /* The inline field label used by the Fences module */
207
  padding: 0 1em 0 0; /* LTR */
208
}
209

    
210
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
211
  padding: 0;
212

    
213
  li { /* Each page number in the pager list */
214
    padding: 0 0.5em;
215
  }
216
}
217

    
218
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
219
}
220

    
221
.more-link { /* Aggregator, blog, and forum more link */
222
}
223

    
224
/*
225
 * First sidebar (on left in LTR languages, on right in RTL)
226
 *
227
 * Remember to NOT add padding or margin to your .region-sidebar-first
228
 * (see the layout.css file.)
229
 */
230

    
231
.region-sidebar-first {
232
}
233

    
234
/*
235
 * Second sidebar (on right in LTR languages, on left in RTL)
236
 *
237
 * Remember to NOT add padding or margin to your .region-sidebar-second
238
 * (see the layout.css file.)
239
 */
240

    
241
.region-sidebar-second {
242
}
243

    
244
/*
245
 * Footer
246
 */
247

    
248
#footer {
249
}
250

    
251
/*
252
 * Page bottom
253
 */
254

    
255
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
256
}
(16-16/21)