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

Last change on this file since 347 was 347, checked in by sven, 11 years ago

Diverse Verbesserungen am Homepagesystem, die bereits lange anstanden.

  • Die Suche ist endlich implementiert, wenngleich auch relativ unschoen mittels einer eingebundenen Google-Suche.

Bugfixes:

  • de/news.php: Syntaxfehler im Neuigkeiten-Menü

Backend-Aenderungen:

  • Englischsprachige Benutzer, die auf die deutsche Seite kommen oder andersrum erhalten einen Hinweis, dass es die andere Sprachversion gibt (noch nicht vollständig implementiert)
  • Es gibt ein besseres Logging-System, welches Client- und Serverausgaben verbindet
  • Das System generiert jetzt selbst Clean-URLs direkt (zumindest aus Menue/Template, Inhalte werden nicht touchiert). Das reduziert die Anzahl der Zugriffe erheblich.
  • Ein paar CSS-Details
  • navigation.xml: "#DUMME-VERLINKUNG"-Einträge entfernt
  • Property svn:keywords set to Id
File size: 9.8 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, #content ul.nolist, #content ol.nolist {
105  list-style: none; list-style-image: none; margin: 0; padding: 0; }
106
107
108/* =============================================================================
109   Embedded content
110   ========================================================================== */
111
112/*
113 * 1. Improve image quality when scaled in IE7: h5bp.com/d
114 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
115 */
116
117img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
118
119/*
120 * Correct overflow not hidden in IE9
121 */
122
123svg:not(:root) { overflow: hidden; }
124
125
126/* =============================================================================
127   Figures
128   ========================================================================== */
129
130figure { margin: 0; }
131
132
133/* =============================================================================
134   Forms
135   ========================================================================== */
136
137form { margin: 0; }
138fieldset { border: 0; margin: 0; padding: 0; }
139
140/* Indicate that 'label' will shift focus to the associated form element */
141label { cursor: pointer; }
142
143/*
144 * 1. Correct color not inheriting in IE6/7/8/9
145 * 2. Correct alignment displayed oddly in IE6/7
146 */
147
148legend { border: 0; *margin-left: -7px; padding: 0; }
149
150/*
151 * 1. Correct font-size not inheriting in all browsers
152 * 2. Remove margins in FF3/4 S5 Chrome
153 * 3. Define consistent vertical alignment display in all browsers
154 */
155
156button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
157
158/*
159 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
160 * 2. Correct inner spacing displayed oddly in IE6/7
161 */
162
163button, input { line-height: normal; *overflow: visible; }
164
165/*
166 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
167 */
168
169table button, table input { *overflow: auto; }
170
171/*
172 * 1. Display hand cursor for clickable form elements
173 * 2. Allow styling of clickable form elements in iOS
174 */
175
176button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
177
178/*
179 * Consistent box sizing and appearance
180 */
181
182input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
183input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
184input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
185
186/*
187 * Remove inner padding and border in FF3/4: h5bp.com/l
188 */
189
190button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
191
192/*
193 * 1. Remove default vertical scrollbar in IE6/7/8/9
194 * 2. Allow only vertical resizing
195 */
196
197textarea { overflow: auto; vertical-align: top; resize: vertical; }
198
199/* Colors for form validity */
200input:valid, textarea:valid {  }
201input:invalid, textarea:invalid { background-color: #f0dddd; }
202
203
204/* =============================================================================
205   Tables
206   ========================================================================== */
207
208table { border-collapse: collapse; border-spacing: 0; }
209td { vertical-align: top; }
210
211
212/* ==|== primary styles =====================================================
213   Author:
214   ========================================================================== */
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231/* ==|== non-semantic helper classes ========================================
232   Please define your styles before this section.
233   ========================================================================== */
234
235/* For image replacement */
236.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
237.ir br { display: none; }
238
239/* Hide from both screenreaders and browsers: h5bp.com/u */
240.hidden { display: none !important; visibility: hidden; }
241
242/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
243.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
244
245/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
246.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
247
248/* Hide visually and from screenreaders, but maintain layout */
249.invisible { visibility: hidden; }
250
251/* Contain floats: h5bp.com/q */ 
252.clearfix:before, .clearfix:after { content: ""; display: table; }
253.clearfix:after { clear: both; }
254.clearfix { zoom: 1; }
255
256
257
258/* ==|== media queries ======================================================
259   PLACEHOLDER Media Queries for Responsive Design.
260   These override the primary ('mobile first') styles
261   Modify as content requires.
262   ========================================================================== */
263
264@media only screen and (min-width: 480px) {
265  /* Style adjustments for viewports 480px and over go here */
266
267}
268
269@media only screen and (min-width: 768px) {
270  /* Style adjustments for viewports 768px and over go here */
271
272}
273
274
275
276/* ==|== print styles =======================================================
277   Print styles.
278   Inlined to avoid required HTTP connection: h5bp.com/r
279   ========================================================================== */
280 
281@media print {
282  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
283  a, a:visited { text-decoration: underline; }
284  a[href]:after { content: " (" attr(href) ")"; }
285  abbr[title]:after { content: " (" attr(title) ")"; }
286  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
287  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
288  thead { display: table-header-group; } /* h5bp.com/t */
289  tr, img { page-break-inside: avoid; }
290  img { max-width: 100% !important; }
291  @page { margin: 0.5cm; }
292  p, h2, h3 { orphans: 3; widows: 3; }
293  h2, h3 { page-break-after: avoid; }
294}
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