Dotclear

source: themes/ductile/mediaqueries.css @ 355:5b1bbf20bf9e

Revision 355:5b1bbf20bf9e, 3.3 KB checked in by kozlika, 14 years ago (diff)

Ductile, jour 4, spafini

Line 
1@charset "UTF-8";
2
3/* seuils retenus :
4480px
5640px
6960px
71280px
8----------------- */
9
10@media only screen and (max-width:480px) {
11     h1 {
12          font-size: 1.8em;
13          border: solid 1px #777;
14          -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
15          -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
16          -o-box-shadow: rgba(0,0,0,.2);
17          box-shadow: 0 1px 2px rgba(0,0,0,.2);
18          color: #eee;
19          background: #555;
20          background: -webkit-gradient(linear, left top, left bottom, from(#777), to(#555));
21          background: -moz-linear-gradient(top, #777, #555);
22          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#777777', endColorstr='#555555'); 
23          }
24     h1 a {
25          padding: 6px 3%;
26          color: #fff;
27          text-shadow: 0 1px 1px #333;
28          }
29     h1 a:hover, h1 a:focus {
30          background: #686867;
31          }
32     #prelude, #blogdesc {
33          display: none;
34          }
35     h2.post-title {
36          font-size: 2.5em;
37          }
38     #supranav li {
39          display: block !important;
40          }
41     #supranav li+li {
42          border-top: 1px solid #ddd;
43          }
44     #stickers {
45          margin: 0;
46          padding: 0;
47          border-bottom: 8px solid #fff;
48          }
49     #stickers li {
50          position: relative;
51          line-height: 2.5em;
52          margin-left: 0;
53          padding-left: 0;
54          border: 2px solid #fff;
55          border-left: 8px solid #fff;
56          border-right: 8px solid #fff;
57     }
58     #stickers img {
59          display: block;
60          position: absolute;
61          clip: rect(0px,32px,32px,0px);
62          }
63     #stickers span {
64          margin-left: 40px;
65          }
66     #stickers a {
67          text-decoration: none;
68          }
69}
70
71@media only screen and (min-width: 481px) {
72     #top {
73          padding-top: 24px;
74          }
75     h1 {
76          font-size: 2em;
77          padding-right: 200px;
78          }
79     h1 a, h1 a:hover, h1 a:focus {
80          background-repeat: no-repeat;
81          background-position: left top;
82          padding-left: 68px;
83          background-image: url(img/home-small.png);
84          min-height: 44px;
85          }
86     #stickers {
87          position: absolute;
88          top: 0;
89          right: 0;
90          padding-right: 10%;
91          }
92     #stickers li {
93          display: inline;
94          padding: 0 4px;
95          }
96     #stickers li.last {
97          padding-right: 0;
98          }
99     #stickers li span {
100          display: none;
101          }
102     h2.post-title {
103          font-size: 2.8em;
104          }
105     #stickers li a:hover,
106     #stickers li a:active,
107     #stickers li a:focus {
108          background-color: #fff;
109          border-bottom: 4px solid #ad3f4c;
110     }
111}
112
113@media only screen and (max-width:639px) {
114     html {
115          -webkit-text-size-adjust: none;
116          }
117     #wrapper {
118          padding: 0 3%;
119          }
120     img {
121          max-width: 100%;
122          height: auto;
123          width: auto\9; /* pour ie8 */
124          }
125}
126
127@media only screen and (min-width: 640px) and (max-width: 960px) {
128     #wrapper {
129          padding: 0 10%;
130          }
131     #blognav, #blogextra { 
132          width: 48%; float:left;
133          }
134     #blognav {
135          margin-right: 4%;
136     }
137     #stickers {
138          padding-right: 10%;
139          }
140}
141
142@media only screen and (min-width: 961px) {
143     #wrapper {
144          padding: 0 15%;
145          }
146     #main {
147          width : 100%;
148          margin : 0 -26% 0 0;
149          float : left;
150          display: inline;
151          }
152     #content {
153          margin : 0 32% 0 0;
154          padding : 10px;
155          }
156     #footer {
157          clear : both;
158          text-align:center;
159          }
160     #sidebar {
161          width : 26%;
162          float : right;
163          margin-top: 4.66em;
164          }
165     #blognav, #blogextra {
166          margin : 0;
167          }
168     #stickers {
169          padding-right: 15%;
170          }
171}
172
173@media only screen and (min-width: 1280px) {
174     #wrapper {
175          padding: 0 140px 0 340px;
176          }
177     .dc-tags #wrapper, .dc-archive-month #wrapper, .dc-404 #wrapper {
178          padding: 0 15%;
179          }
180     p.post-info { 
181          margin-left: -200px; 
182          float: left; 
183          width: 140px; 
184          text-align: right;
185          }
186     .dc-archive-month p.post-info {
187          margin-left: 0;
188          float:none;
189          width: auto;
190          text-align: left;
191          }
192     #stickers {
193          padding-right: 140px;
194          }
195}
Note: See TracBrowser for help on using the repository browser.

Sites map