Projet

Général

Profil

Paste
Télécharger (4,89 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / simplecorp / css / normalize.css @ b9383c72

1
/******************************************************************
2
Bones Normalize Stylesheet
3

4
Designed by Eddie Machado
5
http://themble.com/bones
6
eddie@themble.com
7

8
Special Thanks to:
9
Paul Irish, Divya Manian & the HTML5 Boilerplate
10
@necolas for normalize.css and other inspirations
11
Andy Clarke & the 320 & Up Extension
12
Yoast for some WP functions & optimization ideas
13
Andrew Rogers for code optimization
14
David Dellanave for speed & code optimization
15
and several other developers. :)
16

17
I ADVISE AGAINST EDITING THIS FILES.
18
******************************************************************/
19

    
20
/******************************************************************
21
GENERAL NORMALIZE
22
******************************************************************/
23
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
24
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
25
audio:not([controls]), [hidden] { display: none; }
26

    
27
/** Base Styles **/
28

    
29
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
30
body { margin: 0; font-size: 13px; line-height: 1.5; }
31
body, button, input, select, textarea { font-family: sans-serif; color: #333; }
32

    
33
/** IE Fixes **/
34
img { border: 0; -ms-interpolation-mode: bicubic; }
35
svg:not(:root) { overflow: hidden; }
36
figure { margin: 0; }
37

    
38
/** Links **/
39
a:focus { outline: thin dotted; }
40
a:hover, a:active { outline: 0; }
41

    
42
/** Typography **/
43
h1 { font-size: 2em; } /* fixes html5 bug */
44
p { -webkit-hyphens: auto; -moz-hyphens: auto; -epub-hyphens: auto; hyphens: auto; }
45
abbr[title] { border-bottom: 1px dotted; }
46
b, strong, .strong { font-weight: bold; }
47
dfn, em, .em { font-style: italic; }
48
small, .small, sub, sup { font-size: 75%; }
49
ins, .ins { background: #ff9; color: #000; text-decoration: none; }
50
mark, .mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
51
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
52
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
53
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
54
blockquote { margin: 1.5em 40px; }
55
q { quotes: none; }
56
q:before, q:after { content: ''; content: none; }
57
ul, ol { margin: 1.5em 0; padding: 0; }
58
dd { margin: 0; }
59
nav ul, nav ol, .widget ol, .widget ul, .commentlist { list-style: none; list-style-image: none; margin: 0; }
60

    
61
/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
62
sub, sup { line-height: 0; position: relative; vertical-align: baseline; }
63
sup { top: -0.5em; }
64
sub { bottom: -0.25em; }
65

    
66
/** Forms **/
67
form, fieldset, form ul, form ol, fieldset ol, fieldset ul { margin: 0; border: 0; }
68
legend { border: 0; *margin-left: -7px; }
69
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
70
button, input { line-height: normal; }
71
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
72
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
73
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
74
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
75
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
76
textarea { overflow: auto; vertical-align: top; }
77

    
78
/* Colors for form validity */
79
input:invalid, textarea:invalid { background-color: #f0dddd; }
80

    
81
/** Tables **/
82
table { border-collapse: collapse; border-spacing: 0; }
83

    
84
/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
85
.clearfix:before, .clearfix:after, nav[role=navigation] .menu ul:before, nav[role=navigation] .menu ul:after { content: ""; display: table; }
86
.clearfix:after, nav[role=navigation] .menu ul:after { clear: both; }
87
.clearfix, nav[role=navigation] .menu ul { zoom: 1; }
88

    
89
/* wordpress junk */
90
.wp-smiley { margin: 0 !important; max-height: 1em; }
91

    
92
                                
93
/******************************************************************
94
PRINT STYLESHEET
95
******************************************************************/
96
@media print { * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { color: #444 !important; text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; }
97
    @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; }
98
}