Project

General

Profile

Download (4.25 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

    
11
/*
12
 * Body
13
 */
14

    
15
body {
16
  margin: 0;
17
  padding: 0;
18
}
19

    
20
#page {
21
}
22

    
23
/*
24
 * The skip-link link will be completely hidden until a user tabs to the link.
25
 * See the element-focusable rule in system.base.css.
26
 */
27

    
28
#skip-link {
29
  margin: 0;
30
}
31
#skip-link a,
32
#skip-link a:visited {
33
  display: block;
34
  width: 100%;
35
  padding: 2px 0 3px 0;
36
  text-align: center;
37
  background-color: #666;
38
  color: #fff;
39
}
40

    
41
/*
42
 * Header
43
 */
44

    
45
#header {
46
}
47

    
48
#logo { /* Wrapping link for logo */
49
  float: left; /* LTR */
50
  margin: 0;
51
  padding: 0;
52
}
53
#logo img {
54
  vertical-align: bottom;
55
}
56

    
57
#name-and-slogan { /* Wrapper for website name and slogan */
58
  float: left;
59
}
60

    
61
#site-name { /* The name of the website */
62
  margin: 0;
63
  font-size: 2em;
64
  line-height: 1.5em;
65
}
66
#site-name a:link,
67
#site-name a:visited {
68
  color: #000;
69
  text-decoration: none;
70
}
71
#site-name a:hover,
72
#site-name a:focus {
73
  text-decoration: underline;
74
}
75

    
76
#site-slogan { /* The slogan (or tagline) of a website */
77
  margin: 0;
78
  font-size: 1em;
79
}
80

    
81
.region-header { /* Wrapper for any blocks placed in the header region */
82
  clear: both; /* Clear the logo */
83
}
84

    
85
/*
86
 * Main (container for everything else)
87
 */
88

    
89
#main {
90
}
91

    
92
/*
93
 * Content
94
 */
95

    
96
#content {
97
}
98

    
99
.region-highlighted {
100
}
101

    
102
.breadcrumb { /* The path to the current page in the form of a list of links */
103
}
104
.breadcrumb ol {
105
  margin: 0;
106
  padding: 0;
107
}
108
.breadcrumb li {
109
  display: inline;
110
  list-style-type: none;
111
  margin: 0;
112
  padding: 0;
113
}
114

    
115
h1.title, /* The title of the page */
116
h2.node-title, /* Title of a piece of content when it is given in a list of content */
117
h2.block-title, /* Block title */
118
h2.title, /* Comment section heading */
119
h2.comment-form, /* Comment form heading */
120
h3.title { /* Comment title */
121
  margin: 0;
122
}
123

    
124
tr.even { /* Some tables have rows marked even or odd. */
125
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
126
}
127

    
128
tr.odd {
129
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
130
}
131

    
132
div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
133
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
134
}
135
div.messages ul {
136
  margin-top: 0;
137
  margin-bottom: 0;
138
}
139

    
140
div.status { /* Normal priority messages */
141
}
142

    
143
div.warning,
144
tr.warning { /* Medium priority messages */
145
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
146
}
147

    
148
div.error,
149
tr.error { /* High priority messages. See also the .error declaration below. */
150
}
151

    
152
.error { /* Errors that are separate from div.messages status messages. */
153
  /* color: #e55; */ /* Drupal core uses a #e55 background */
154
}
155

    
156
.warning { /* Warnings that are separate from div.messages status messages. */
157
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
158
}
159

    
160
.tabs { /* See also the tabs.css file. */
161
}
162

    
163
.region-help { /* Help text on a page */
164
}
165

    
166
.more-help-link { /* Link to more help */
167
}
168

    
169
.region-content { /* Wrapper for the actual page content */
170
}
171

    
172
ul.inline { /* List of links generated by theme_links() */
173
  display: inline;
174
  padding: 0;
175
}
176
ul.inline li {
177
  display: inline;
178
  list-style-type: none;
179
  padding: 0 1em 0 0; /* LTR */
180
}
181

    
182
span.field-label { /* The inline field label used by the Fences module */
183
  padding: 0 1em 0 0; /* LTR */
184
}
185

    
186
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
187
  padding: 0;
188
}
189
.item-list .pager li { /* Each page number in the pager list */
190
  padding: 0 0.5em;
191
}
192

    
193
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
194
}
195

    
196
.more-link { /* Aggregator, blog, and forum more link */
197
}
198

    
199
/*
200
 * First sidebar (on left in LTR languages, on right in RTL)
201
 *
202
 * Remember to NOT add padding or margin to your .region-sidebar-first
203
 * (see the layout.css file.)
204
 */
205

    
206
.region-sidebar-first {
207
}
208

    
209
/*
210
 * Second sidebar (on right in LTR languages, on left in RTL)
211
 *
212
 * Remember to NOT add padding or margin to your .region-sidebar-second
213
 * (see the layout.css file.)
214
 */
215

    
216
.region-sidebar-second {
217
}
218

    
219
/*
220
 * Footer
221
 */
222

    
223
#footer {
224
}
225

    
226
/*
227
 * Page bottom
228
 */
229

    
230
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
231
}
(14-14/19)