Subversion Repositories Applications.referentiel

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
46 jpm 1
/*
2
  style.css contains a reset, font normalization and some base styles.
3
 
4
  credit is left where credit is due.
5
  additionally, much inspiration was taken from these projects:
6
    yui.yahooapis.com/2.8.1/build/base/base.css
7
    camendesign.com/design/
8
    praegnanz.de/weblog/htmlcssjs-kickstart
9
*/
10
 
11
/*
12
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
13
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
14
  html5doctor.com/html-5-reset-stylesheet/
15
*/
16
 
17
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code,del, dfn, em, img,
18
ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
19
tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio,
20
video {
21
  margin:0;
22
  padding:0;
23
  border:0;
24
  outline:0;
25
  font-size:100%;
26
  vertical-align:baseline;
27
  background:transparent;}
28
 
29
article, aside, figure, footer, header, hgroup, nav, section{
30
	display:block;}
31
nav ul{
32
	list-style:none;}
33
blockquote, q { quotes:none; }
34
 
35
blockquote:before, blockquote:after,
36
q:before, q:after { content:''; content:none; }
37
 
38
a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }
39
 
40
ins { background-color:#ff9; color:#000; text-decoration:none; }
41
 
42
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
43
 
44
del { text-decoration: line-through; }
45
 
46
abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
47
 
48
/* tables still need cellspacing="0" in the markup */
49
table { border-collapse:collapse; border-spacing:0; }
50
 
51
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
52
 
53
input, select { vertical-align:middle; }
54
/* END RESET CSS */
55
 
56
 
57
/*
58
fonts.css from the YUI Library: developer.yahoo.com/yui/
59
          Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
60
 
61
There are two custom edits:
62
 * make the line-height relative and unit-less
63
 * remove the pre,code styles as we use a recommendation from Eric Meyer instead
64
*/
65
body { font:13px arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
66
 
67
table { font-size:inherit; font:100%; }
68
 
69
select, input, textarea { font:99% arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; }
70
 
71
 
72
/* normalize monospace sizing
73
 * meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
74
 */
75
code, pre { font-family: "Courier New", monospace, serif; font-size: 1em; }
76
 
77
/*+-----------------------------------------------------------------------------------------------------------------+*/
78
/* minimal base styles */
79
 
80
/* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
81
body, select, input, textarea { color:#444; }
82
 
83
/* Headers (h1,h2,etc) have no default font-size or margin,
84
   you'll want to define those yourself. */
85
 
86
/* www.aestheticallyloyal.com/public/optimize-legibility/ */
87
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
88
 
89
/* maxvoltar.com/archive/-webkit-font-smoothing */
90
html { -webkit-font-smoothing: antialiased; }
91
 
92
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
93
a:active { outline: none; }
94
a:focus { outline: thin dotted; }
95
 
96
a, a:active, a:visited { color:#607890; }
97
a:hover { color:#036; }
98
 
99
ul { margin-left:30px; }
100
ol { margin-left:30px; list-style-type: decimal; }
101
 
102
small { font-size:85%; }
103
strong, th { font-weight: bold; }
104
 
105
td, td img { vertical-align:top; }
106
 
107
sub { vertical-align: sub; font-size: smaller; }
108
sup { vertical-align: super; font-size: smaller; }
109
 
110
pre {
111
  padding: 15px;
112
 
113
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
114
  white-space: pre; /* CSS2 */
115
  white-space: pre-wrap; /* CSS 2.1 */
116
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
117
  word-wrap: break-word; /* IE */}
118
 
119
/* align checkboxes, radios, text inputs with their label
120
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
121
input[type="radio"] { vertical-align: text-bottom; }
122
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
123
.ie6 input { vertical-align: text-bottom; }
124
 
125
/* hand cursor on clickable input elements */
126
label, input[type=button], input[type=submit], button { cursor: pointer; }
127
 
128
/* These selection declarations have to be separate.
129
   No text-shadow: twitter.com/miketaylr/status/12228805301
130
   Also: hot pink. */
131
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
132
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
133
 
134
/*  j.mp/webkit-tap-highlight-color */
135
a:link { -webkit-tap-highlight-color: #FF5E99; }
136
 
137
/* always force a scrollbar in non-IE */
138
html { overflow-y: scroll; }
139
 
140
/* make buttons play nice in IE:
141
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
142
button {  width: auto; overflow: visible; }
143
 
144
/* bicubic resizing for non-native sized IMG:
145
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
146
.ie7 img { -ms-interpolation-mode: bicubic; }
147
 
148
/*+-----------------------------------------------------------------------------------------------------------------+*/
149
/* Non-semantic helper classes */
150
 
151
/* for image replacement */
152
.ir { display:block; text-indent:-999px; overflow:hidden; background-repeat: none; }
153
 
154
/* Hide for both screenreaders and browsers
155
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
156
.hidden { display:none; visibility:hidden; }
157
 
158
/* Hide only visually, but have it available for screenreaders
159
   www.webaim.org/techniques/css/invisiblecontent/
160
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
161
.visuallyhidden { position:absolute !important;
162
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
163
  clip: rect(1px, 1px, 1px, 1px); }
164
 
165
/* Hide visually and from screenreaders, but maintain layout */
166
.invisible { visibility: hidden; }
167
 
168
/* >> The Magnificent CLEARFIX << */
169
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
170
.clearfix { display: inline-block; }
171
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
172
.clearfix { display: block; }
173
 
174
/*+-----------------------------------------------------------------------------------------------------------------+*/
175
 /* Primary Styles
176
    Author:
177
 */
178
 
179
 
180
 
181
/*+-----------------------------------------------------------------------------------------------------------------+*/
182
/* Print styles : inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/  */
183
@media print {
184
  * { background: transparent !important; color: #444 !important; text-shadow: none; }
185
 
186
  a, a:visited { color: #444 !important; text-decoration: underline; }
187
 
188
  a:after { content: " (" attr(href) ")"; }
189
 
190
  abbr:after { content: " (" attr(title) ")"; }
191
 
192
  .ir a:after { content: ""; }  /* Don't show links for images */
193
 
194
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
195
 
196
  img { page-break-inside: avoid; }
197
 
198
  @page { margin: 0.5cm; }
199
 
200
  p, h2, h3 { orphans: 3; widows: 3; }
201
 
202
  h2, h3{ page-break-after: avoid; }
203
}
204
 
205
/*+-----------------------------------------------------------------------------------------------------------------+*/
206
/* Media queries for responsive design */
207
 
208
@media all and (orientation:portrait) {
209
  /* Style adjustments for portrait mode goes here */
210
}
211
 
212
@media all and (orientation:landscape) {
213
  /* Style adjustments for landscape mode goes here */
214
}
215
 
216
/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
217
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
218
@media screen and (max-device-width: 480px) {
219
 
220
/* Prevent iOS, WinMobile from adjusting font size */
221
html {
222
	-webkit-text-size-adjust:none;
223
	-ms-text-size-adjust:none;}
224
}