Project

General

Profile

Download (4.43 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
#page {
28
  // single-box-shadow($color, $hoff, $voff, $blur, $spread, $inset)
29
  @include single-box-shadow(black, 0px, 5px, 10px);
30
  padding-top: $zen-gutter-width / 2;
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
}
58

    
59
#logo { /* Wrapping link for logo */
60
  float: left; /* LTR */
61
  margin: 0;
62
  padding: 0;
63

    
64
  img {
65
    vertical-align: bottom;
66
  }
67
}
68

    
69
#name-and-slogan { /* Wrapper for website name and slogan */
70
  float: left;
71
}
72

    
73
#site-name { /* The name of the website */
74
  margin: 0;
75
  font-size: 2em;
76
  line-height: 1.5em;
77

    
78
  a:link,
79
  a:visited {
80
    color: #000;
81
    text-decoration: none;
82
  }
83

    
84
  a:hover,
85
  a:focus {
86
    text-decoration: underline;
87
  }
88
}
89

    
90
#site-slogan { /* The slogan (or tagline) of a website */
91
  margin: 0;
92
  font-size: 1em;
93
}
94

    
95
.region-header { /* Wrapper for any blocks placed in the header region */
96
  clear: both; /* Clear the logo */
97
}
98

    
99
/*
100
 * Main (container for everything else)
101
 */
102

    
103
#main {
104
}
105

    
106
/*
107
 * Content
108
 */
109

    
110
#content {
111
}
112

    
113
.region-highlighted {
114
}
115

    
116
.breadcrumb { /* The path to the current page in the form of a list of links */
117
  ol {
118
    margin: 0;
119
    padding: 0;
120
  }
121
  li {
122
    display: inline;
123
    list-style-type: none;
124
    margin: 0;
125
    padding: 0;
126
  }
127
}
128

    
129
h1.title, /* The title of the page */
130
h2.node-title, /* Title of a piece of content when it is given in a list of content */
131
h2.block-title, /* Block title */
132
h2.title, /* Comment section heading */
133
h2.comment-form, /* Comment form heading */
134
h3.title { /* Comment title */
135
  margin: 0;
136
}
137

    
138
tr.even { /* Some tables have rows marked even or odd. */
139
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
140
}
141

    
142
tr.odd {
143
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
144
}
145

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

    
149
  ul {
150
    margin-top: 0;
151
    margin-bottom: 0;
152
  }
153
}
154

    
155
div.status { /* Normal priority messages */
156
}
157

    
158
div.warning,
159
tr.warning { /* Medium priority messages */
160
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
161
}
162

    
163
div.error,
164
tr.error { /* High priority messages. See also the .error declaration below. */
165
}
166

    
167
.error { /* Errors that are separate from div.messages status messages. */
168
  /* color: #e55; */ /* Drupal core uses a #e55 background */
169
}
170

    
171
.warning { /* Warnings that are separate from div.messages status messages. */
172
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
173
}
174

    
175
.tabs { /* See also the tabs.css file. */
176
}
177

    
178
.region-help { /* Help text on a page */
179
}
180

    
181
.more-help-link { /* Link to more help */
182
}
183

    
184
.region-content { /* Wrapper for the actual page content */
185
}
186

    
187
ul.inline { /* List of links generated by theme_links() */
188
  display: inline;
189
  padding: 0;
190

    
191
  li {
192
    display: inline;
193
    list-style-type: none;
194
    padding: 0 1em 0 0; /* LTR */
195
  }
196
}
197
span.field-label { /* The inline field label used by the Fences module */
198
  padding: 0 1em 0 0; /* LTR */
199
}
200

    
201
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
202
  padding: 0;
203

    
204
  li { /* Each page number in the pager list */
205
    padding: 0 0.5em;
206
  }
207
}
208

    
209
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
210
}
211

    
212
.more-link { /* Aggregator, blog, and forum more link */
213
}
214

    
215
/*
216
 * First sidebar (on left in LTR languages, on right in RTL)
217
 *
218
 * Remember to NOT add padding or margin to your .region-sidebar-first
219
 * (see the layout.css file.)
220
 */
221

    
222
.region-sidebar-first {
223
}
224

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

    
232
.region-sidebar-second {
233
}
234

    
235
/*
236
 * Footer
237
 */
238

    
239
#footer {
240
}
241

    
242
/*
243
 * Page bottom
244
 */
245

    
246
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
247
}
(15-15/20)