]> git.immae.eu Git - github/wallabag/wallabag.git/blob - css/style.css
correction largeur des blocs
[github/wallabag/wallabag.git] / css / style.css
1 /*** GENERAL ***/
2 body {
3 color: #222222;
4 font: 20px/1.3em Palatino,Georgia,serif;
5 background-color: #F1F1F1;
6 margin: 10px;
7 }
8
9
10 a, a:hover, a:visited {
11 color: #000;
12 }
13
14 header {
15 text-align: center;
16 }
17
18 #main ul#links {
19 padding: 0;
20 list-style-type: none;
21 text-align: center;
22 }
23
24 #main ul#links li {
25 display: inline;
26 }
27
28 #main ul#links li a.current {
29 -webkit-border-radius: 2px;
30 border-radius: 2px;
31 background-color: #040707;
32 color: #F1F1F1;
33 }
34
35 #main ul#sort {
36 padding: 0;
37 list-style-type: none;
38 text-align: center;
39 }
40
41 #main ul#sort li {
42 display: inline;
43 font-size: 0.9em;
44 }
45
46 #main ul#sort img:hover {
47 cursor: pointer;
48 }
49
50 #main, #article {
51 margin: 0 auto;
52 }
53
54 #links a, .backhome a{
55 text-decoration: none;
56 padding: 5px 10px;
57 }
58 #links a:hover, .backhome a:hover{
59 -webkit-border-radius: 2px;
60 border-radius: 2px;
61 background-color: #040707;
62 color: #F1F1F1;
63 }
64
65 /*#content {
66 width: 800px;
67 margin: 0 auto;
68 }*/
69
70
71 footer {
72 text-align: right;
73 }
74
75 /*** ***/
76 /*** LINKS DISPLAY ***/
77
78 #main a.tool {
79 text-decoration: none;
80 cursor: pointer;
81 }
82
83 input[type=submit].delete {
84 background : url('../img/remove.png') no-repeat center center;
85 width : 16px;
86 height :16px;
87 border : none;
88 color : transparent;
89 cursor: pointer;
90 font-size : 0;
91 }
92
93 #main #content {
94 margin-top: 20px;
95 }
96
97 #main .entrie {
98 color: rgb(46, 46, 46);
99 background-color: #ffffff;
100 padding: 15px;
101 min-height: 8em;
102 border: 1px solid;
103 }
104 #main .entrie h2 {
105 width: 95%;
106 }
107 #main .entrie h2 a {
108 text-decoration: none;
109 }
110
111 #main .entrie h2 a:hover {
112 color: #F5BE00;
113 }
114
115 .tools {
116 position: absolute;
117 top: 20px;
118 right: 20px;
119 width: 30px;
120 text-align: right;
121 }
122
123 .tools ul {
124 padding: 0; margin: 0;
125 list-style-type: none;
126 }
127
128 .tools ul li {
129 line-height: 20px;
130 }
131
132 .tools a.tool {
133 cursor: pointer;
134 }
135
136 #article .tools {
137 position: relative;
138 display: inline;
139 top: 0px;
140 right: 0px;
141 width: 100%;
142 text-align: left;
143 }
144
145 #article.tools ul li{
146 display: inline;
147 }
148
149 #main .entrie .tools a.tool span, #article .tools a.tool span {
150 display: inline-block;
151 width: 16px;
152 height: 16px;
153 }
154
155 a.fav span {
156 background: url('../img/star-on.png') no-repeat;
157 }
158
159 a.fav span:hover {
160 background: url('../img/star-off.png') no-repeat;
161 }
162
163 a.fav-off span {
164 background: url('../img/star-off.png') no-repeat;
165 }
166
167 a.fav-off span:hover {
168 background: url('../img/star-on.png') no-repeat;
169 }
170
171 a.archive span {
172 background: url('../img/checkmark-on.png') no-repeat;
173 }
174
175 a.archive span:hover {
176 background: url('../img/checkmark-off.png') no-repeat;
177 }
178
179 a.archive-off span {
180 background: url('../img/checkmark-off.png') no-repeat;
181 }
182
183 a.archive-off span:hover {
184 background: url('../img/checkmark-on.png') no-repeat;
185 }
186
187 /*** ***/
188 /*** ARTICLE PAGE ***/
189
190 body.article {
191 color: #222222;
192 font: 20px/1.3em Palatino,Georgia,serif;
193 background-color: #F1F1F1;
194 }
195
196 #article header {
197 text-align: left;
198 border-bottom: 1px solid #222222;
199 }
200
201 #article header a {
202 text-decoration: none;
203 }
204
205 #article article {
206 border-bottom: 1px solid #222222;
207 }
208
209 .vieworiginal a {
210 color: #888888;
211 text-decoration: none;
212 }
213
214 .backhome {
215 display: inline;
216 }
217
218 /*** ***/
219
220 #main
221 {
222 max-width: 60em; /* 960 px */
223 margin: 0 auto;
224 }
225 #content
226 {
227 width: 103.125%; /* 990px */
228 overflow: hidden;
229 margin-left: -1.562%; /* 15px */
230 margin-bottom: -1.875em; /* 30px */
231 }
232
233 .entrie
234 {
235 width: 30.303%; /* 300px */
236 background-color: #fff;
237 float: left;
238 margin: 0 1.515% 1.875em; /* 15px 30px */
239 }
240
241 @media only screen and ( max-width: 40em ) /* 640px */
242 {
243 .entrie
244 {
245 width: 46.876%; /* 305px */
246 margin-bottom: 0.938em; /* 15px */
247 }
248 }
249
250 @media only screen and ( max-width: 20em ) /* 320px */
251 {
252 #content
253 {
254 width: 100%;
255 margin-left: 0;
256 }
257
258 .entrie
259 {
260 width: 100%;
261 margin-left: 0;
262 margin-right: 0;
263 }
264 }
265
266