Move inline CSS style to shaarli.css

This commit is contained in:
Knah Tsaeb 2013-03-29 15:21:32 +01:00
parent 99954e1290
commit dc420191df
2 changed files with 26 additions and 25 deletions

View file

@ -69,9 +69,9 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
/* Small tab on the left of each link with edit/delete buttons. */ /* Small tab on the left of each link with edit/delete buttons. */
.button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; } .button_edit, .button_delete { border-radius:0; box-shadow:none; border-style:none; border-width:0; padding:0; background:none; }
.linkeditbuttons { .linkeditbuttons {
position:absolute; position:absolute;
left:-1px; left:-1px;
padding:4px 2px 2px 2px; padding:4px 2px 2px 2px;
background-color:#f0f0f0; background-color:#f0f0f0;
@ -111,7 +111,7 @@ cursor:pointer;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
width:auto; width:auto;
padding:0 10px 5px 10px; padding:0 10px 5px 10px;
margin: auto; margin: auto;
} }
#pageheader a #pageheader a
@ -271,7 +271,8 @@ font-size:9pt;
#footer a:hover{ color:#000000;} #footer a:hover{ color:#000000;}
#newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;} #newversion { background-color: #FFFFA0; color:#000; position:absolute; top:0;right:0; padding:2 7 2 7; font-size:9pt;}
#cloudtag { padding-left:10%; padding-right:10%; } #cloudtag { padding-left:10%; padding-right:10%; }
#cloudtag a { color:black; text-decoration:none; } #cloudtag a { font-weight:bold; color:black; text-decoration:none }
#cloudtag span { color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;}
#installform td { font-size: 10pt; color:black; padding:10px 5px 10px 5px; clear:left; } #installform td { font-size: 10pt; color:black; padding:10px 5px 10px 5px; clear:left; }
#changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left; } #changepasswordform { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
#changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left; } #changetag { color:#ccc; padding:10px 5px 10px 5px; clear:left; }
@ -305,7 +306,7 @@ font-size:9pt;
background-color: transparent; background-color: transparent;
background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */ background-color: rgba(0, 0, 0, 0.4); /* FF3+, Saf3+, Opera 10.10+, Chrome, IE9 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6–IE9 */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000); /* IE6–IE9 */
text-shadow:2px 2px 1px #000000; text-shadow:2px 2px 1px #000000;
} }
/* Minimal customisation for jQuery widgets */ /* Minimal customisation for jQuery widgets */
@ -336,7 +337,7 @@ box-shadow:2px 2px 20px 2px #333333;
div.daily div.daily
{ {
font-family: Georgia, 'DejaVu Serif', Norasi, serif; font-family: Georgia, 'DejaVu Serif', Norasi, serif;
background-color: #E6D6BE; background-color: #E6D6BE;
/* Background paper texture by BashCorpo: /* Background paper texture by BashCorpo:
http://www.bashcorpo.dk/textures.php http://www.bashcorpo.dk/textures.php
@ -355,7 +356,7 @@ div.daily
#daily_col3 { float:left;position:relative; width:33%;} #daily_col3 { float:left;position:relative; width:33%;}
div.dailyAbout div.dailyAbout
{ {
float:left; float:left;
border: 1px solid black; border: 1px solid black;
font-size: 8pt; font-size: 8pt;
@ -363,21 +364,21 @@ div.dailyAbout
left:10px; left:10px;
top: 15px; top: 15px;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
text-align:center; text-align:center;
} }
div.dailyAbout a { color: #890500; } div.dailyAbout a { color: #890500; }
div.dailyTitle div.dailyTitle
{ {
font-weight: bold; font-weight: bold;
font-size: 44pt; font-size: 44pt;
text-align:center; text-align:center;
padding:10px 20px 0px 20px; padding:10px 20px 0px 20px;
} }
div.dailyDate div.dailyDate
{ {
font-size: 12pt; font-size: 12pt;
font-weight:bold; font-weight:bold;
text-align:center; text-align:center;
padding:0px 20px 30px 20px; padding:0px 20px 30px 20px;
} }
@ -391,19 +392,19 @@ div.dailyEntry
div.dailyEntry a { text-decoration:none; color: #890500; } div.dailyEntry a { text-decoration:none; color: #890500; }
div.dailyEntryTags { font-size:7.75pt; } div.dailyEntryTags { font-size:7.75pt; }
div.dailyEntryTitle { font-size:18pt; font-weight:bold;} div.dailyEntryTitle { font-size:18pt; font-weight:bold;}
div.dailyEntryThumbnail div.dailyEntryThumbnail
{ {
width:100%; width:100%;
text-align:center; text-align:center;
background-color:rgb(128,128,128); background-color:rgb(128,128,128);
background:url(../images/50pc_transparent.png); background:url(../images/50pc_transparent.png);
padding:4px 0px 2px 0px; padding:4px 0px 2px 0px;
} }
div.dailyEntryDescription div.dailyEntryDescription
{ {
margin-top: 10px; margin-top: 10px;
margin-bottom: 30px; margin-bottom: 30px;
text-align:justify; text-align:justify;
overflow:auto; overflow:auto;
} }
@ -413,7 +414,7 @@ div.dailyEntryDescription
} }
/* For lazy images loading in picture wall. /* For lazy images loading in picture wall.
using http://www.appelsiini.net/projects/lazyload using http://www.appelsiini.net/projects/lazyload
*/ */
.lazyimage { display:none; } .lazyimage { display:none; }
@ -462,7 +463,7 @@ div.dailyDate { font-size: 11pt;padding:0px; display:block; }
div.dailyEntryTitle { font-size:16pt; font-weight:bold;} div.dailyEntryTitle { font-size:16pt; font-weight:bold;}
div.dailyEntryDescription { font-size:10pt; } div.dailyEntryDescription { font-size:10pt; }
} }
/* Highlight search results */ /* Highlight search results */
.highlight { background-color: #FFFF33; } .highlight { background-color: #FFFF33; }

View file

@ -6,7 +6,7 @@
<center> <center>
<div id="cloudtag"> <div id="cloudtag">
{loop="tags"} {loop="tags"}
<span style="color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;">{$value.count}</span><a href="?searchtags={$key|htmlspecialchars}" style="font-size:{$value.size}pt; font-weight:bold; color:black; text-decoration:none">{$key|htmlspecialchars}</a> <span>{$value.count}</span><a href="?searchtags={$key|htmlspecialchars}" style="font-size:{$value.size}pt;">{$key|htmlspecialchars}</a>
{/loop} {/loop}
</div> </div>
</center> </center>