]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - inc/shaarli.css
Add Archive.org integration
[github/shaarli/Shaarli.git] / inc / shaarli.css
CommitLineData
ad6c27b7 1/* Cascading Stylesheet for Shaarli - http://sebsauvage.net/wiki/doku.php?id=php:shaarli */
45034273
SS
2
3/* CSS Reset from Yahoo to cope with browsers CSS inconsistencies. */
4/*
5Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html
6version: 2.8.2r1
7*/
8html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
9
012e76e7 10body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size:10pt; background-color: #ffffff; word-wrap: break-word; }
45034273
SS
11input, textarea {
12 background-color: #dedede;
13 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
14 background: -webkit-linear-gradient(#dedede, #ffffff);
15 background: -moz-linear-gradient(#dedede, #ffffff);
16 background: -ms-linear-gradient(#dedede, #ffffff);
17 background: -o-linear-gradient(#dedede, #ffffff);
18 background: linear-gradient(#dedede, #ffffff);
19 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
20 padding:5px;
21 border-radius: 5px 5px 5px 5px;
22 border: none;
23 color:#000;
24
25 }
26
27h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
28/* I don't give a shit about IE. He can't understand selectors such as input[type='submit']. */
29
30/* Buttons */
31.bigbutton {
32 background-color: #c0c0c0;
33 background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
34 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
35 background: -webkit-linear-gradient(#c0c0c0, #ffffff);
36 background: -ms-linear-gradient(#c0c0c0, #ffffff);
37 background: -o-linear-gradient(#c0c0c0, #ffffff);
38 background: linear-gradient(#c0c0c0, #ffffff);
39 border-radius: 3px 3px 3px 3px;
40 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
41 cursor: pointer;
42 height: 24px;
43 margin-left: 5px;
44 padding: 0 5px;
45 color: #606060;
46 border-style:outset;
47 border-width:1px;
48
49 }
50.smallbutton {
51 background-color: #c0c0c0;
52 background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
53 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
54 background: -webkit-linear-gradient(#c0c0c0, #ffffff);
55 background: -ms-linear-gradient(#c0c0c0, #ffffff);
56 background: -o-linear-gradient(#c0c0c0, #ffffff);
57 background: linear-gradient(#c0c0c0, #ffffff);
58 border-radius: 3px 3px 3px 3px;
59 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
60 cursor: pointer;
61 height: 20px;
62 margin-left: 5px;
63 padding: 0 5px;
64 color: #606060;
65 border-style:outset;
66 border-width:1px;
67
68 }
69
b2877611 70/* Small tab on the left of each link with edit/delete buttons. */
45034273 71.button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
b2877611
SS
72.linkeditbuttons {
73 position:absolute;
74 left:-1px;
75 padding:4px 2px 2px 2px;
76 background-color:#f0f0f0;
77
78 -webkit-border-radius:0px 6px 6px 0px;
79 -moz-border-radius:0px 6px 6px 0px;
80 -o-border-radius:0px 6px 6px 0px;
81 -ms-border-radius:0px 6px 6px 0px;
82 border-radius:0px 6px 6px 0px;
83
84 -webkit-box-shadow:0px 0px 3px 0px #333333;
85 -moz-box-shadow:0px 0px 3px 0px #333333;
86 -o-box-shadow:0px 0px 3px 0px #333333;
87 -ms-box-shadow:0px 0px 3px 0px #333333;
88 box-shadow:0px 0px 3px 0px #333333;
89}
45034273
SS
90
91#pageheader #logo{
92background-image: url('../images/logo.png');
93background-repeat: no-repeat;
94float:left;
95margin:0 10px 0 10px;
96width:105px;
97height:55px;
98cursor:pointer;
99
100}
101
102#pageheader
103{
104 background-color: #333333;
105 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
106 background: -webkit-linear-gradient(#333333, #111111);
107 background: -moz-linear-gradient(#333333, #111111);
108 background: -ms-linear-gradient(#333333, #111111);
109 background: -o-linear-gradient(#333333, #111111);
110 background: linear-gradient(#333333, #111111);
111 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
112 width:auto;
113 padding:0 10px 5px 10px;
114 margin: auto;
115}
116
117#pageheader a
118{
119 background-color: #333333;
120 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
121 background: -webkit-linear-gradient(#333333, #000000);
122 background: -moz-linear-gradient(#333333, #000000);
123 background: -ms-linear-gradient(#333333, #000000);
124 background: -o-linear-gradient(#333333, #000000);
125 background: linear-gradient(#333333, #000000);
126 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
127 padding:5px;
128 border-radius: 5px 5px 5px 5px;
129 margin:10px 3px 3px 3px;
130 color:#A2DD42;
131 float:left;
132 text-decoration:none;
133}
134
135#toolsdiv a{
136 clear:both;
137}
138#toolsdiv a span{
139 color:#ffffff;
140}
141.linksperpage,.tagfilter,.searchform,.addform {
142 background-color: #dedede;
143 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
144 background: -webkit-linear-gradient(#dedede, #ffffff);
145 background: -moz-linear-gradient(#dedede, #ffffff);
146 background: -ms-linear-gradient(#dedede, #ffffff);
147 background: -o-linear-gradient(#dedede, #ffffff);
148 background: linear-gradient(#dedede, #ffffff);
149 display:inline;
150 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
151 padding:5px;
152 border: none;
153 border-radius: 5px 5px 5px 5px;
154 margin:10px 3px 3px 3px;
155 color:#cecece;
156}
157
158.linksperpage{
159 box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
160 padding:3px;
161}
162
163.linksperpage input,.tagfilter input, .searchform input, .addform input{
164 border:none;
165 color:#606060;
166 background:none;
167 box-shadow:none;
168 padding:5px;
169}
170
171.linksperpage input{
172 padding:0;
173}
174
175.tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{
176 background-color: #dedede;
177 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
178 background: -webkit-linear-gradient(#dedede, #ffffff);
179 background: -moz-linear-gradient(#dedede, #ffffff);
180 background: -ms-linear-gradient(#dedede, #ffffff);
181 background: -o-linear-gradient(#dedede, #ffffff);
182 background: linear-gradient(#dedede, #ffffff);
183 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
184 padding:0 5px 0 5px;
185 margin:5px 0 5px 0;
186 height:20px;
187 border-radius: 5px 5px 5px 5px;
188 cursor:pointer;
189}
190
191#shaarli_title { font-weight:bold; font-style:italic; margin-top:0;}
192#shaarli_title a { color: #fff !important; }
193
194#pageheader a:visited { color:#98C943; text-decoration:none;}
195#pageheader a:hover { color:#FFFFC9; text-decoration:none;}
196#pageheader a:active { color:#bbb; text-decoration:none;}
197#searchcriteria { padding: 4px 0px 5px 5px; font-weight:bold;}
198.paging { padding:5px;background-color:#777; color:#ccc; text-align:center; clear:both;}
199.paging a:link { color:#ccc; text-decoration:none;}
200.paging a:visited { color:#ccc; }
201.paging a:hover { color:#FFFFC9; }
202.paging a:active { color:#fff; }
203#paging_privatelinks { float:left; }
204#paging_linksperpage { float:right; padding-right:5px; }
205#paging_current { display:inline; color:#fff; padding:0 20 0 20; }
206#paging_older { margin-right:15px; }
207#paging_newer { margin-left:15px; }
208
209#headerform { color:#ffffff; padding:5px 5px 5px 5px; clear: both;}
210#toolsdiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
211#uploaddiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left; }
212#editlinkform { height:100%;color:#ffffff; padding:5px 5px 5px 15px; width:80%; clear:left; }
213#linklist li {
214 padding:4px 10px 15px 20px; border-top: 1px solid #bbb; clear:both;
215 background-color: #F2F2F2;
216 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
217 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
218 background: -moz-linear-gradient(#F2F2F2, #ffffff);
219 background: -ms-linear-gradient(#F2F2F2, #ffffff);
220 background: -o-linear-gradient(#F2F2F2, #ffffff);
221 background: linear-gradient(#F2F2F2, #ffffff);
222}
223
224/*
225#linklist li.publicLinkHightLight:hover,#linklist li:hover{
226 background: #E9FFCE;
227}
228*/
229#linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left:60px; }
b2877611 230#linklist li { padding-left:26px; }
45034273
SS
231.private .linktitle a {color:#969696;}
232.linktitle { font-size:14pt; font-weight:bold; }
233.linktitle a { text-decoration: none; color:#80AD48; }
234.linktitle a:hover { color:#F57900; }
b113dc8e
Q
235.linkdate, .linkarchive { font-size:8pt; color:#888; }
236.linkdate a, .linkarchive a { color:#E28E3F; }
237.linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; }
238.linkdate a:hover, .linkarchive a:hover { color: #F57900 }
45034273
SS
239.linkurl { font-size:8pt; color:#4BAA74; }
240.linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; }
241.linkdescription a { text-decoration: none; color:#3465A4; }
242.linkdescription a:hover { color:#F57900; }
067e66ac 243.linktaglist { padding-top:10px; line-height:200%;}
45034273
SS
244.linktag {
245
246font-size:9pt;
247 background-color: #F2F2F2;
248 background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
249 background: -webkit-linear-gradient(#F2F2F2, #ffffff);
250 background: -moz-linear-gradient(#F2F2F2, #ffffff);
251 background: -ms-linear-gradient(#F2F2F2, #ffffff);
252 background: -o-linear-gradient(#F2F2F2, #ffffff);
253 background: linear-gradient(#F2F2F2, #ffffff);
254 box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
255 padding:3px 3px 3px 20px;
256 height:20px;
257 border-radius: 3px 3px 3px 3px;
258 cursor:pointer;
259 background-image:url('../images/tag_blue.png');
260 background-repeat:no-repeat;
261 background-position:3px center;
262 background-color:#ffffff;
263}
264.linktag:hover { border-color: #555573; color:#000; }
265.linktag a { color:#777; text-decoration:none; }
266.linkshort { font-size:8pt; color:#888; }
267.linkshort a { text-decoration: none; color:#393964; }
268.linkshort a:hover { text-decoration: underline; }
269.buttoneditform { display:inline; }
270#footer { font-size:8pt; text-align:center; border-top:1px solid #ddd; color: #888; clear:both; }
271#footer a{ color:#486D08;}
272#footer a:hover{ color:#000000;}
273#newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
274#cloudtag { padding-left:10%; padding-right:10%; }
275#cloudtag a { color:black; text-decoration:none; }
276#installform td { font-size: 10pt; color:black; padding:10px 5px 10px 5px; clear:left; }
277#changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
278#changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
279#configform td { color:#ccc; font-size: 10pt; padding:10px 5px 10px 5px; }
280#configform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
281.thumbnail { float:right; margin-left: 10px; }
282/* If you want thumbnails on the left:
283.thumbnail { float:left; margin-right: 10px; }
284.linkcontainer { position: static; margin-left:130px; }
285*/
286
287
288
289
290/* --- Picture wall CSS --- */
291#picwall_container { color:#fff; background-color:#000; clear:both; }
292.picwall_pictureframe { background-color:#000; z-index:5; position:relative; display:table-cell; vertical-align:middle;width:90px; height:90px; overflow:hidden; text-align:center; float:left; }
293.picwall_pictureframe img { max-width: 100%;height: auto; } /* Adapt the width of the image */
294.picwall_pictureframe a {text-decoration:none;}
295
296/* CSS to show title when hovering an image - no javascript required. */
297.picwall_pictureframe span.info {display: none;}
298.picwall_pictureframe:hover span.info {
299 display:block;
300 position:absolute;
301 top:0; left:0; width:90px;
302 font-weight:bold;
303 font-size:8pt;
304 color:#fff;
305 text-align: left;
306 background-color: transparent;
307 background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
308 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6\96IE9 */
309text-shadow:2px 2px 1px #000000;
310}
311
312/* Minimal customisation for jQuery widgets */
313.ui-autocomplete { background-color:#fff; padding-left:5px;}
314.ui-state-hover { background-color: #604dff; color:#fff; }
315
316#linklist li.publicLinkHightLight{
317 background: #ffffff;
318}
319
26c95568
SS
320div#permalinkQrcode {
321padding:20px;
45034273
SS
322width:220px;
323height:220px;
324background-color: #ffffff;
325border: 1px solid black;
326position: absolute;
327top:-100px;
328left:-100px;
329text-align:center;
330font-size: 8pt;
331z-index:50;
332-webkit-box-shadow:2px 2px 20px 2px #333333;
333-moz-box-shadow:2px 2px 20px 2px #333333;
334-o-box-shadow:2px 2px 20px 2px #333333;
335-ms-box-shadow:2px 2px 20px 2px #333333;
336box-shadow:2px 2px 20px 2px #333333;
337}
338
339div.daily
340{
341 font-family: Georgia, 'DejaVu Serif', Norasi, serif;
342 background-color: #E6D6BE;
343 /* Background paper texture by BashCorpo:
344 http://www.bashcorpo.dk/textures.php
345 http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */
346 background-image: url("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg");
347 -webkit-background-size: cover;
348 -moz-background-size: cover;
349 -o-background-size: cover;
350 background-size: cover;
351 position:relative;
352 border-bottom: 2px solid black;
353}
354
355#daily_col1 { float:left;position:relative; width:33%; padding-left:1%; }
356#daily_col2 { float:left;position:relative; width:33%; }
357#daily_col3 { float:left;position:relative; width:33%;}
358
359div.dailyAbout
360{
361 float:left;
362 border: 1px solid black;
363 font-size: 8pt;
364 position:absolute;
365 left:10px;
366 top: 15px;
367 padding: 5px 5px 5px 5px;
368 text-align:center;
369}
370div.dailyAbout a { color: #890500; }
371div.dailyTitle
372 {
373 font-weight: bold;
374 font-size: 44pt;
375 text-align:center;
376 padding:10px 20px 0px 20px;
377}
378div.dailyDate
379 {
380 font-size: 12pt;
381 font-weight:bold;
382 text-align:center;
383 padding:0px 20px 30px 20px;
384}
385
386/* Individual entries in "Daily": */
387div.dailyEntry
388{
389 margin: 5px 10px 2px 5px;
390 font-size: 11pt;
391 border-top: 1px solid #555;
392}
393div.dailyEntry a { text-decoration:none; color: #890500; }
394div.dailyEntryTags { font-size:7.75pt; }
395div.dailyEntryTitle { font-size:18pt; font-weight:bold;}
396div.dailyEntryThumbnail
397{
398 width:100%;
399 text-align:center;
400 background-color:rgb(128,128,128);
401 background:url(../images/50pc_transparent.png);
402 padding:4px 0px 2px 0px;
403}
404div.dailyEntryDescription
405{
406 margin-top: 10px;
407 margin-bottom: 30px;
408 text-align:justify;
409 overflow:auto;
410}
411
ad6c27b7 412/* Common CSS screwdriver */
45034273
SS
413.clear{
414 clear:both;
415}
416
417/* For lazy images loading in picture wall.
ad6c27b7 418 Using http://www.appelsiini.net/projects/lazyload
45034273
SS
419 */
420.lazyimage { display:none; }
421
422@media print {
423html {border:none;background:#fff!important;color:#000!important;}
424body {font-size:12pt;width:auto!important;margin:auto!important;}
425p {orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
426a {color:#000!important;text-decoration:none!important;}
427#pageheader, .paging, #linklist li form, #footer {display:none;}
428#linklist li { padding:2 0 10 0; border-top: 2px solid #000; clear:both; }
429#linklist li.private { background-color: none; border-left:0; }
430.linkdate { line-height:2; }
431.linkurl { color:#000; }
432.linkdescription { font-size:10pt;}
433.linktag { border: 1px solid black; font-style:italic; font-size:8pt;}
434
435}
436
437
438@media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 854px)
439{
440/* A few fixes for mobile devices (far from perfect). */
441.nomobile { display:none; }
442#logo { display:none; }
443#pageheader a
444{
445 padding:5px;
446 border-radius: 5px 5px 5px 5px;
447 margin:3px;
448}
449.searchform,.tagfilter { display:block !important; margin:0px !important; padding:0px !important; width:100% !important; }
450.searchform input,.tagfilter input { margin:0px !important; padding:0px !important; display:inline !important; }
451.tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{ width:30%; font-size:smaller;}
452#searchform_value { width:70% !important; }
453#tagfilter_value { width:70% !important; }
454div.qrcode { position:relative; float:left; top:-10px; left:0px; }
ad6c27b7 455#paging_privatelinks { float:none; }
45034273
SS
456#paging_linksperpage { float:none; margin-bottom:10px; font-size:smaller;}
457#paging_older,#paging_newer,#paging_linksperpage a { border: 1px solid black; padding:3px 5px 3px 5px; background-color:#666; color:#fff; border-radius: 5px 5px 5px 5px;}
458.thumbnail { float:none; height:auto; margin: 0px; text-align:center;}
459#cloudtag { padding:0px; }
460div.dailyAbout { float:none; position:relative; width:100%; clear:both; padding:0px; top:0px; left:0px; }
461#daily_col1,#daily_col2,#daily_col3 { float:none; width:100%; padding:0px;}
462div.dailyTitle { font-size: 18pt; margin-top:5px; padding:0px;}
463div.dailyDate { font-size: 11pt;padding:0px; display:block; }
464div.dailyEntryTitle { font-size:16pt; font-weight:bold;}
465div.dailyEntryDescription { font-size:10pt; }
466
467}
468
1b647ff4 469/* Highlight search results */
b113dc8e 470.highlight { background-color: #FFFF33; }