CSS: unify coding style - spaces, brackets, keywords
Spaces: - before an opening bracket - before a closing bracket - between a keyword and its value(s) - between comma-separated selectors Signed-off-by: VirtualTam <virtualtam@flibidi.org> Conflicts: inc/shaarli.css Conflicts: inc/shaarli.css Conflicts: inc/shaarli.css
This commit is contained in:
parent
9308d39fce
commit
eeb0fe33a0
1 changed files with 220 additions and 227 deletions
|
@ -8,6 +8,7 @@
|
|||
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%;}
|
||||
|
||||
body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; background-color: #ffffff; word-wrap: break-word; }
|
||||
|
||||
input, textarea {
|
||||
background-color: #dedede;
|
||||
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff));
|
||||
|
@ -100,8 +101,7 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
#pageheader
|
||||
{
|
||||
#pageheader {
|
||||
background-color: #333333;
|
||||
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
|
||||
background: -webkit-linear-gradient(#333333, #111111);
|
||||
|
@ -115,8 +115,7 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
#pageheader a
|
||||
{
|
||||
#pageheader a {
|
||||
background-color: #333333;
|
||||
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
|
||||
background: -webkit-linear-gradient(#333333, #000000);
|
||||
|
@ -227,6 +226,8 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
|
|||
background: #E9FFCE;
|
||||
}
|
||||
*/
|
||||
.linkdate, .linkarchive { font-size:8pt; color:#888; }
|
||||
.linkdate a, .linkarchive a { color:#E28E3F; }
|
||||
#linklist li.private { background: url('../images/private.png') no-repeat 10px center; padding-left: 60px; }
|
||||
#linklist li { padding-left: 26px; }
|
||||
.private .linktitle a { color: #969696; }
|
||||
|
@ -234,16 +235,14 @@ h1 { font-size:20pt; font-weight:bold; font-style:italic; margin-bottom:20px; }
|
|||
.linktitle a { text-decoration: none; color: #80AD48; }
|
||||
.linktitle a:hover { color: #F57900; }
|
||||
.linkdate, .linkarchive { font-size: 8pt; color: #888; }
|
||||
.linkdate a, .linkarchive a { color:#E28E3F; }
|
||||
.linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; }
|
||||
.linkdate a:hover, .linkarchive a:hover { color: #F57900 }
|
||||
.linkdate a, .linkarchive a { background-image: url('../images/calendar.png'); padding: 2px 0 3px 20px; background-repeat: no-repeat; text-decoration: none; color: #E28E3F; }
|
||||
.linkdate a:hover { color: #F57900 }
|
||||
.linkurl { font-size: 8pt; color: #4BAA74; }
|
||||
.linkdescription { color: #000; margin-top: 0; margin-bottom: 12px; font-weight: normal; max-height: 400px; overflow: auto; }
|
||||
.linkdescription a { text-decoration: none; color: #3465A4; }
|
||||
.linkdescription a:hover { color: #F57900; }
|
||||
.linktaglist { padding-top: 10px; line-height: 200%; }
|
||||
.linktag {
|
||||
|
||||
font-size: 9pt;
|
||||
background-color: #F2F2F2;
|
||||
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff));
|
||||
|
@ -354,8 +353,7 @@ div.daily
|
|||
#daily_col2 { float: left; position: relative; width: 33%; }
|
||||
#daily_col3 { float: left; position: relative; width: 33%; }
|
||||
|
||||
div.dailyAbout
|
||||
{
|
||||
div.dailyAbout {
|
||||
float: left;
|
||||
border: 1px solid black;
|
||||
font-size: 8pt;
|
||||
|
@ -366,15 +364,13 @@ div.dailyAbout
|
|||
text-align: center;
|
||||
}
|
||||
div.dailyAbout a { color: #890500; }
|
||||
div.dailyTitle
|
||||
{
|
||||
div.dailyTitle {
|
||||
font-weight: bold;
|
||||
font-size: 44pt;
|
||||
text-align: center;
|
||||
padding: 10px 20px 0px 20px;
|
||||
}
|
||||
div.dailyDate
|
||||
{
|
||||
div.dailyDate {
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
|
@ -382,8 +378,7 @@ div.dailyDate
|
|||
}
|
||||
|
||||
/* Individual entries in "Daily": */
|
||||
div.dailyEntry
|
||||
{
|
||||
div.dailyEntry {
|
||||
margin: 5px 10px 2px 5px;
|
||||
font-size: 11pt;
|
||||
border-top: 1px solid #555;
|
||||
|
@ -391,16 +386,14 @@ div.dailyEntry
|
|||
div.dailyEntry a { text-decoration: none; color: #890500; }
|
||||
div.dailyEntryTags { font-size: 7.75pt; }
|
||||
div.dailyEntryTitle { font-size: 18pt; font-weight: bold; }
|
||||
div.dailyEntryThumbnail
|
||||
{
|
||||
div.dailyEntryThumbnail {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
background-color: rgb(128, 128, 128);
|
||||
background: url(../images/50pc_transparent.png);
|
||||
padding: 4px 0px 2px 0px;
|
||||
}
|
||||
div.dailyEntryDescription
|
||||
{
|
||||
div.dailyEntryDescription {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 30px;
|
||||
text-align: justify;
|
||||
|
|
Loading…
Reference in a new issue