Line | |
---|
1 | @charset "UTF-8"; |
---|
2 | |
---|
3 | /* seuils retenus : |
---|
4 | 480px |
---|
5 | 640px |
---|
6 | 960px |
---|
7 | 1280px |
---|
8 | ----------------- */ |
---|
9 | |
---|
10 | @media only screen and (max-width:480px) { |
---|
11 | h1 { |
---|
12 | font-size: 1.8em; |
---|
13 | margin-left: 3%; |
---|
14 | } |
---|
15 | #prelude { |
---|
16 | display: none; |
---|
17 | } |
---|
18 | } |
---|
19 | |
---|
20 | @media only screen and (min-width: 481px) { |
---|
21 | h1 { |
---|
22 | font-size: 2.5em; |
---|
23 | } |
---|
24 | h1 a, h1 a:hover, h1 a:focus { |
---|
25 | background-repeat: no-repeat; |
---|
26 | background-position: left center; |
---|
27 | padding-left: 68px; |
---|
28 | background-image: url(img/home-small.png); |
---|
29 | } |
---|
30 | } |
---|
31 | |
---|
32 | @media only screen and (max-width:639px) { |
---|
33 | html { |
---|
34 | -webkit-text-size-adjust: none; |
---|
35 | } |
---|
36 | #wrapper { |
---|
37 | padding: 0 3%; |
---|
38 | } |
---|
39 | img { |
---|
40 | max-width: 100%; |
---|
41 | height: auto; |
---|
42 | width: auto\9; /* pour ie8 */ |
---|
43 | } |
---|
44 | } |
---|
45 | |
---|
46 | @media only screen and (min-width: 640px) and (max-width: 960px) { |
---|
47 | #wrapper { |
---|
48 | padding: 0 10%; |
---|
49 | } |
---|
50 | } |
---|
51 | |
---|
52 | @media only screen and (min-width: 961px) { |
---|
53 | #wrapper { |
---|
54 | padding: 0 15%; |
---|
55 | } |
---|
56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.