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