source: t29-www/shared/css-v6/modules/01-boilerplate.css @ 289

Last change on this file since 289 was 289, checked in by sven, 12 years ago

Viele Detailarbeiten:

  • Relationale Navigation (Vor/Zurück-Pfeile) im Footer aufgehübscht (sieht jetzt mehr wie auf alter Homepage aus)
  • Beam-Navigation (Punkte auf Strich) im Footer mal wieder repariert
  • Neuen Footer unterhalb des jetzigen Footers eingeführt, dort exemplarischen Inhalt hingeschrieben
  • Aktiv-Zustände werden in der horizontalen Navigation jetzt etwas angezeigt
  • Menü kann nun im Titel der Links anzeigen, was sie sind
  • messages.php kann nun serverseitig für Instanzen Nachrichten überschreiben, genutzt im template.php
  • Property svn:keywords set to Id
File size: 9.7 KB
Line 
1/*
2 * HTML5 ? Boilerplate
3 *
4 * What follows is the result of much research on cross-browser styling.
5 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
6 * Kroc Camen, and the H5BP dev community and team.
7 *
8 * Detailed information about this CSS: h5bp.com/css
9 *
10 * ==|== normalize ==========================================================
11 */
12
13
14/* =============================================================================
15   HTML5 display definitions
16   ========================================================================== */
17
18article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
19audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
20audio:not([controls]) { display: none; }
21[hidden] { display: none; }
22
23/* =============================================================================
24   Base
25   ========================================================================== */
26
27/*
28 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
29 * 2. Force vertical scrollbar in non-IE
30 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
31 */
32
33html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
34
35body { margin: 0; font-size: 13px; line-height: 1.231; }
36
37body, button, input, select, textarea { font-family: sans-serif; color: #222; }
38
39/*
40 * Remove text-shadow in selection highlight: h5bp.com/i
41 * These selection declarations have to be separate
42 * Also: hot pink! (or customize the background color to match your design)
43 */
44
45 /*
46::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
47::selection { background: #fe57a1; color: #fff; text-shadow: none; }
48*/
49
50/* =============================================================================
51   Links
52   ========================================================================== */
53
54a { color: #00e; }
55a:visited { color: #551a8b; }
56a:hover { color: #06e; }
57a:focus { outline: thin dotted; }
58
59/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
60a:hover, a:active { outline: 0; }
61
62
63/* =============================================================================
64   Typography
65   ========================================================================== */
66
67abbr[title] { border-bottom: 1px dotted; }
68
69b, strong { font-weight: bold; }
70
71blockquote { margin: 1em 40px; }
72
73dfn { font-style: italic; }
74
75/*hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }*/
76
77ins { background: #ff9; color: #000; text-decoration: none; }
78
79mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
80
81/* Redeclare monospace font family: h5bp.com/j */
82pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
83
84/* Improve readability of pre-formatted text in all browsers */
85pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
86
87q { quotes: none; }
88q:before, q:after { content: ""; content: none; }
89
90small { font-size: 85%; }
91
92/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
93sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
94sup { top: -0.5em; }
95sub { bottom: -0.25em; }
96
97
98/* =============================================================================
99   Lists
100   ========================================================================== */
101
102ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
103dd { margin: 0 0 0 40px; }
104nav ul, nav ol, footer ul, footer ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
105
106
107/* =============================================================================
108   Embedded content
109   ========================================================================== */
110
111/*
112 * 1. Improve image quality when scaled in IE7: h5bp.com/d
113 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
114 */
115
116img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
117
118/*
119 * Correct overflow not hidden in IE9
120 */
121
122svg:not(:root) { overflow: hidden; }
123
124
125/* =============================================================================
126   Figures
127   ========================================================================== */
128
129figure { margin: 0; }
130
131
132/* =============================================================================
133   Forms
134   ========================================================================== */
135
136form { margin: 0; }
137fieldset { border: 0; margin: 0; padding: 0; }
138
139/* Indicate that 'label' will shift focus to the associated form element */
140label { cursor: pointer; }
141
142/*
143 * 1. Correct color not inheriting in IE6/7/8/9
144 * 2. Correct alignment displayed oddly in IE6/7
145 */
146
147legend { border: 0; *margin-left: -7px; padding: 0; }
148
149/*
150 * 1. Correct font-size not inheriting in all browsers
151 * 2. Remove margins in FF3/4 S5 Chrome
152 * 3. Define consistent vertical alignment display in all browsers
153 */
154
155button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
156
157/*
158 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
159 * 2. Correct inner spacing displayed oddly in IE6/7
160 */
161
162button, input { line-height: normal; *overflow: visible; }
163
164/*
165 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
166 */
167
168table button, table input { *overflow: auto; }
169
170/*
171 * 1. Display hand cursor for clickable form elements
172 * 2. Allow styling of clickable form elements in iOS
173 */
174
175button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
176
177/*
178 * Consistent box sizing and appearance
179 */
180
181input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
182input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
183input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
184
185/*
186 * Remove inner padding and border in FF3/4: h5bp.com/l
187 */
188
189button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
190
191/*
192 * 1. Remove default vertical scrollbar in IE6/7/8/9
193 * 2. Allow only vertical resizing
194 */
195
196textarea { overflow: auto; vertical-align: top; resize: vertical; }
197
198/* Colors for form validity */
199input:valid, textarea:valid {  }
200input:invalid, textarea:invalid { background-color: #f0dddd; }
201
202
203/* =============================================================================
204   Tables
205   ========================================================================== */
206
207table { border-collapse: collapse; border-spacing: 0; }
208td { vertical-align: top; }
209
210
211/* ==|== primary styles =====================================================
212   Author:
213   ========================================================================== */
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230/* ==|== non-semantic helper classes ========================================
231   Please define your styles before this section.
232   ========================================================================== */
233
234/* For image replacement */
235.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
236.ir br { display: none; }
237
238/* Hide from both screenreaders and browsers: h5bp.com/u */
239.hidden { display: none !important; visibility: hidden; }
240
241/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
242.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
243
244/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
245.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
246
247/* Hide visually and from screenreaders, but maintain layout */
248.invisible { visibility: hidden; }
249
250/* Contain floats: h5bp.com/q */ 
251.clearfix:before, .clearfix:after { content: ""; display: table; }
252.clearfix:after { clear: both; }
253.clearfix { zoom: 1; }
254
255
256
257/* ==|== media queries ======================================================
258   PLACEHOLDER Media Queries for Responsive Design.
259   These override the primary ('mobile first') styles
260   Modify as content requires.
261   ========================================================================== */
262
263@media only screen and (min-width: 480px) {
264  /* Style adjustments for viewports 480px and over go here */
265
266}
267
268@media only screen and (min-width: 768px) {
269  /* Style adjustments for viewports 768px and over go here */
270
271}
272
273
274
275/* ==|== print styles =======================================================
276   Print styles.
277   Inlined to avoid required HTTP connection: h5bp.com/r
278   ========================================================================== */
279 
280@media print {
281  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
282  a, a:visited { text-decoration: underline; }
283  a[href]:after { content: " (" attr(href) ")"; }
284  abbr[title]:after { content: " (" attr(title) ")"; }
285  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
286  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
287  thead { display: table-header-group; } /* h5bp.com/t */
288  tr, img { page-break-inside: avoid; }
289  img { max-width: 100% !important; }
290  @page { margin: 0.5cm; }
291  p, h2, h3 { orphans: 3; widows: 3; }
292  h2, h3 { page-break-after: avoid; }
293}
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License