]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - inc/shaarli.css
1 /* CSS Stylsheet for Shaarli - http://sebsauvage.net/wiki/doku.php?id=php:shaarli */
3 /* CSS Reset from Yahoo to cope with browsers CSS inconsistencies. */
5 Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html
8 html
{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%;}
10 body
{ font-family: "Trebuchet MS",Verdana
,Arial
,Helvetica
,sans-serif
; font-size:10pt; background-color: #ffffff; }
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);
21 border-radius: 5px 5px 5px 5px;
27 h1
{ 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']. */
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);
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);
70 /* Edit/Delete buttons on links */
71 .button_edit, .button_delete { border-radius:0; box-shadow:none
; border-style:none
; border-width:0; padding:0; background:none
; }
72 .button_edit { margin-left:10px; }
76 background-image: url
('../images/logo.png');
77 background-repeat: no-repeat
;
88 background-color: #333333;
89 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#333333), to
(#111111));
90 background: -webkit-linear-gradient
(#333333, #111111);
91 background: -moz-linear-gradient
(#333333, #111111);
92 background: -ms-linear-gradient
(#333333, #111111);
93 background: -o-linear-gradient
(#333333, #111111);
94 background: linear-gradient
(#333333, #111111);
95 box-shadow: 0 1px 2px rgba
(0, 0, 0, 0.5);
97 padding:0 10px 5px 10px;
103 background-color: #333333;
104 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#333333), to
(#000000));
105 background: -webkit-linear-gradient
(#333333, #000000);
106 background: -moz-linear-gradient
(#333333, #000000);
107 background: -ms-linear-gradient
(#333333, #000000);
108 background: -o-linear-gradient
(#333333, #000000);
109 background: linear-gradient
(#333333, #000000);
110 box-shadow: 0 1px 2px rgba
(0, 0, 0, 0.5);
112 border-radius: 5px 5px 5px 5px;
113 margin:10px 3px 3px 3px;
116 text-decoration:none
;
125 .linksperpage,.tagfilter,.searchform,.addform {
126 background-color: #dedede;
127 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#dedede), to
(#ffffff));
128 background: -webkit-linear-gradient
(#dedede, #ffffff);
129 background: -moz-linear-gradient
(#dedede, #ffffff);
130 background: -ms-linear-gradient
(#dedede, #ffffff);
131 background: -o-linear-gradient
(#dedede, #ffffff);
132 background: linear-gradient
(#dedede, #ffffff);
134 box-shadow: 0 1px 2px rgba
(0, 0, 0, 0.5);
137 border-radius: 5px 5px 5px 5px;
138 margin:10px 3px 3px 3px;
143 box-shadow: 0 0 0 rgba
(0, 0, 0, 0.5);
147 .linksperpage input,.tagfilter input, .searchform input, .addform input{
159 .tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{
160 background-color: #dedede;
161 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#dedede), to
(#ffffff));
162 background: -webkit-linear-gradient
(#dedede, #ffffff);
163 background: -moz-linear-gradient
(#dedede, #ffffff);
164 background: -ms-linear-gradient
(#dedede, #ffffff);
165 background: -o-linear-gradient
(#dedede, #ffffff);
166 background: linear-gradient
(#dedede, #ffffff);
167 box-shadow: 0 1px 2px rgba
(0, 0, 0, 0.5);
171 border-radius: 5px 5px 5px 5px;
175 #shaarli_title { font-weight:bold
; font-style:italic
; margin-top:0;}
176 #shaarli_title a
{ color: #fff !important
; }
178 #pageheader a:visited
{ color:#98C943; text-decoration:none
;}
179 #pageheader a:hover
{ color:#FFFFC9; text-decoration:none
;}
180 #pageheader a:active
{ color:#bbb; text-decoration:none
;}
181 #searchcriteria { padding: 4px 0px 5px 5px; font-weight:bold
;}
182 .paging { padding:5px;background-color:#777; color:#ccc; text-align:center
; clear:both
;}
183 .paging a:link { color:#ccc; text-decoration:none
;}
184 .paging a:visited { color:#ccc; }
185 .paging a:hover { color:#FFFFC9; }
186 .paging a:active { color:#fff; }
187 #paging_privatelinks { float:left
; }
188 #paging_linksperpage { float:right
; padding-right:5px; }
189 #paging_current { display:inline
; color:#fff; padding:0 20 0 20; }
190 #paging_older { margin-right:15px; }
191 #paging_newer { margin-left:15px; }
193 #headerform { color:#ffffff; padding:5px 5px 5px 5px; clear: both
;}
194 #toolsdiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left
; }
195 #uploaddiv { color:#ffffff; padding:5px 5px 5px 5px; clear:left
; }
196 #editlinkform { height:100%;color:#ffffff; padding:5px 5px 5px 15px; width:80%; clear:left
; }
198 padding:4px 10px 15px 20px; border-top: 1px solid
#bbb; clear:both
;
199 background-color: #F2F2F2;
200 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#F2F2F2), to
(#ffffff));
201 background: -webkit-linear-gradient
(#F2F2F2, #ffffff);
202 background: -moz-linear-gradient
(#F2F2F2, #ffffff);
203 background: -ms-linear-gradient
(#F2F2F2, #ffffff);
204 background: -o-linear-gradient
(#F2F2F2, #ffffff);
205 background: linear-gradient
(#F2F2F2, #ffffff);
209 #linklist li.publicLinkHightLight:hover,#linklist li:hover{
213 #linklist li
.private
{ background: url
('../images/private.png') no-repeat
10px center
; padding-left:60px; }
214 .private .linktitle a {color:#969696;}
215 .linktitle { font-size:14pt; font-weight:bold
; }
216 .linktitle a { text-decoration: none
; color:#80AD48; }
217 .linktitle a:hover { color:#F57900; }
218 .linkdate { font-size:8pt; color:#888; }
219 .linkdate a { background-image:url
('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat
;text-decoration: none
; color:#E28E3F; }
220 .linkdate a:hover { color: #F57900 }
221 .linkurl { font-size:8pt; color:#4BAA74; }
222 .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal
; max-height:400px; overflow:auto
; }
223 .linkdescription a { text-decoration: none
; color:#3465A4; }
224 .linkdescription a:hover { color:#F57900; }
225 .linktaglist { padding-top:10px;}
229 background-color: #F2F2F2;
230 background: -webkit-gradient
(linear
, 0 0, 0 bottom
, from
(#F2F2F2), to
(#ffffff));
231 background: -webkit-linear-gradient
(#F2F2F2, #ffffff);
232 background: -moz-linear-gradient
(#F2F2F2, #ffffff);
233 background: -ms-linear-gradient
(#F2F2F2, #ffffff);
234 background: -o-linear-gradient
(#F2F2F2, #ffffff);
235 background: linear-gradient
(#F2F2F2, #ffffff);
236 box-shadow: 0 0 2px rgba
(0, 0, 0, 0.5);
237 padding:3px 3px 3px 20px;
239 border-radius: 3px 3px 3px 3px;
241 background-image:url
('../images/tag_blue.png');
242 background-repeat:no-repeat
;
243 background-position:3px center
;
244 background-color:#ffffff;
246 .linktag:hover { border-color: #555573; color:#000; }
247 .linktag a { color:#777; text-decoration:none
; }
248 .linkshort { font-size:8pt; color:#888; }
249 .linkshort a { text-decoration: none
; color:#393964; }
250 .linkshort a:hover { text-decoration: underline
; }
251 .buttoneditform { display:inline
; }
252 #footer { font-size:8pt; text-align:center
; border-top:1px solid
#ddd; color: #888; clear:both
; }
253 #footer a
{ color:#486D08;}
254 #footer a:hover
{ color:#000000;}
255 #newversion { background-color: #FFFFA0; color:#000; position:absolute
; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
256 #cloudtag { padding-left:10%; padding-right:10%; }
257 #cloudtag a
{ color:black
; text-decoration:none
; }
258 #installform td
{ font-size: 10pt; color:black
; padding:10px 5px 10px 5px; clear:left
; }
259 #changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left
; }
260 #changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left
; }
261 #configform td
{ color:#ccc; font-size: 10pt; padding:10px 5px 10px 5px; }
262 #configform { color:#ccc; padding:10px 5px 10px 5px; clear:left
; }
263 .thumbnail { float:right
; margin-left: 10px; }
264 /* If you want thumbnails on the left:
265 .thumbnail { float:left; margin-right: 10px; }
266 .linkcontainer { position: static; margin-left:130px; }
272 /* --- Picture wall CSS --- */
273 #picwall_container { color:#fff; background-color:#000; clear:both
; }
274 .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
; }
275 .picwall_pictureframe img { max-width: 100%;height: auto
; } /* Adapt the width of the image */
276 .picwall_pictureframe a {text-decoration:none
;}
278 /* CSS to show title when hovering an image - no javascript required. */
279 .picwall_pictureframe span.info {display: none
;}
280 .picwall_pictureframe:hover span.info {
283 top:0; left:0; width:90px;
288 background-color: transparent
;
289 background-color: rgba
(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
290 filter: progid:DXImageTransform
.Microsoft
.gradient
(startColorstr
=#66000000,endColorstr
=#66000000); /* IE6\96IE9 */
291 text-shadow:2px 2px 1px #000000;
294 /* Minimal customisation for jQuery widgets */
295 .ui-autocomplete { background-color:#fff; padding-left:5px;}
296 .ui-state-hover { background-color: #604dff; color:#fff; }
298 #linklist li
.publicLinkHightLight
{
305 background-color: #ffffff;
306 border: 1px solid black
;
313 -webkit-box-shadow:2px 2px 20px 2px #333333;
314 -moz-box-shadow:2px 2px 20px 2px #333333;
315 -o-box-shadow:2px 2px 20px 2px #333333;
316 -ms-box-shadow:2px 2px 20px 2px #333333;
317 box-shadow:2px 2px 20px 2px #333333;
322 font-family: Georgia
, 'DejaVu Serif', Norasi
, serif
;
323 background-color: #E6D6BE;
324 /* Background paper texture by BashCorpo:
325 http://www.bashcorpo.dk/textures.php
326 http://bashcorpo.deviantart.com/art/Grungy-paper-texture-v-5-22966998 */
327 background-image: url
("../images/Paper_texture_v5_by_bashcorpo_w1000.jpg");
328 -webkit-background-size: cover
;
329 -moz-background-size: cover
;
330 -o-background-size: cover
;
331 background-size: cover
;
333 border-bottom: 2px solid black
;
336 #daily_col1 { float:left
;position:relative
; width:33%; padding-left:1%; }
337 #daily_col2 { float:left
;position:relative
; width:33%; }
338 #daily_col3 { float:left
;position:relative
; width:33%;}
343 border: 1px solid black
;
348 padding: 5px 5px 5px 5px;
351 div
.dailyAbout a
{ color: #890500; }
357 padding:10px 20px 0px 20px;
364 padding:0px 20px 30px 20px;
367 /* Individual entries in "Daily": */
370 margin: 5px 10px 2px 5px;
372 border-top: 1px solid
#555;
374 div
.dailyEntry a
{ text-decoration:none
; color: #890500; }
375 div
.dailyEntryTags
{ font-size:7.75pt; }
376 div
.dailyEntryTitle
{ font-size:18pt; font-weight:bold
;}
377 div
.dailyEntryThumbnail
381 background-color:rgb
(128,128,128);
382 background:url
(../images/50pc_transparent.png);
383 padding:4px 0px 2px 0px;
385 div
.dailyEntryDescription
393 /* Common css screwdriver */
398 /* For lazy images loading in picture wall.
399 using http://www.appelsiini.net/projects/lazyload
401 .lazyimage { display:none
; }
404 html
{border:none
;background:#fff!important
;color:#000!important
;}
405 body
{font-size:12pt;width:auto
!important
;margin:auto
!important
;}
406 p
{orphans:3; /*pas de ligne seule en bas */widows:3;/*pas de ligne seule en haut*/}
407 a
{color:#000!important
;text-decoration:none
!important
;}
408 #pageheader, .paging
, #linklist li form
, #footer
{display:none
;}
409 #linklist li
{ padding:2 0 10 0; border-top: 2px solid
#000; clear:both
; }
410 #linklist li
.private
{ background-color: none
; border-left:0; }
411 .linkdate { line-height:2; }
412 .linkurl { color:#000; }
413 .linkdescription { font-size:10pt;}
414 .linktag { border: 1px solid black
; font-style:italic
; font-size:8pt;}
419 @media handheld
, only screen and
(max-width: 480px), only screen and
(max-device-width: 854px)
421 /* A few fixes for mobile devices (far from perfect). */
422 .nomobile { display:none
; }
423 #logo { display:none
; }
427 border-radius: 5px 5px 5px 5px;
430 .searchform,.tagfilter { display:block
!important
; margin:0px !important
; padding:0px !important
; width:100% !important
; }
431 .searchform input,.tagfilter input { margin:0px !important
; padding:0px !important
; display:inline
!important
; }
432 .tagfilter input.bigbutton,.searchform input.bigbutton,.addform input.bigbutton{ width:30%; font-size:smaller
;}
433 #searchform_value { width:70% !important
; }
434 #tagfilter_value { width:70% !important
; }
435 div
.qrcode
{ position:relative
; float:left
; top:-10px; left:0px; }
436 #paging_privatelinks { float
;none
; }
437 #paging_linksperpage { float:none
; margin-bottom:10px; font-size:smaller
;}
438 #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;}
439 .thumbnail { float:none
; height:auto
; margin: 0px; text-align:center
;}
440 #cloudtag { padding:0px; }
441 div
.dailyAbout
{ float:none
; position:relative
; width:100%; clear:both
; padding:0px; top:0px; left:0px; }
442 #daily_col1,#daily_col2
,#daily_col3
{ float:none
; width:100%; padding:0px;}
443 div
.dailyTitle
{ font-size: 18pt; margin-top:5px; padding:0px;}
444 div
.dailyDate
{ font-size: 11pt;padding:0px; display:block
; }
445 div
.dailyEntryTitle
{ font-size:16pt; font-weight:bold
;}
446 div
.dailyEntryDescription
{ font-size:10pt; }