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:
VirtualTam 2014-10-19 03:23:04 +02:00
parent 9308d39fce
commit eeb0fe33a0

View file

@ -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%;} 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; } body { font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; background-color: #ffffff; word-wrap: break-word; }
input, textarea { input, textarea {
background-color: #dedede; background-color: #dedede;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#dedede), to(#ffffff)); 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; cursor: pointer;
} }
#pageheader #pageheader {
{
background-color: #333333; background-color: #333333;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111)); background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#111111));
background: -webkit-linear-gradient(#333333, #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; margin: auto;
} }
#pageheader a #pageheader a {
{
background-color: #333333; background-color: #333333;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000)); background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000));
background: -webkit-linear-gradient(#333333, #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; 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.private { background: url('../images/private.png') no-repeat 10px center; padding-left: 60px; }
#linklist li { padding-left: 26px; } #linklist li { padding-left: 26px; }
.private .linktitle a { color: #969696; } .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 { text-decoration: none; color: #80AD48; }
.linktitle a:hover { color: #F57900; } .linktitle a:hover { color: #F57900; }
.linkdate, .linkarchive { font-size: 8pt; color: #888; } .linkdate, .linkarchive { font-size: 8pt; color: #888; }
.linkdate a, .linkarchive a { color:#E28E3F; } .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 {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; } .linkdate a:hover { color: #F57900 }
.linkdate a:hover, .linkarchive a:hover { color: #F57900 }
.linkurl { font-size: 8pt; color: #4BAA74; } .linkurl { font-size: 8pt; color: #4BAA74; }
.linkdescription { color: #000; margin-top: 0; margin-bottom: 12px; font-weight: normal; max-height: 400px; overflow: auto; } .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 { text-decoration: none; color: #3465A4; }
.linkdescription a:hover { color: #F57900; } .linkdescription a:hover { color: #F57900; }
.linktaglist { padding-top: 10px; line-height: 200%; } .linktaglist { padding-top: 10px; line-height: 200%; }
.linktag { .linktag {
font-size: 9pt; font-size: 9pt;
background-color: #F2F2F2; background-color: #F2F2F2;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#F2F2F2), to(#ffffff)); 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_col2 { float: left; position: relative; width: 33%; }
#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;
@ -366,15 +364,13 @@ div.dailyAbout
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;
@ -382,8 +378,7 @@ div.dailyDate
} }
/* Individual entries in "Daily": */ /* Individual entries in "Daily": */
div.dailyEntry div.dailyEntry {
{
margin: 5px 10px 2px 5px; margin: 5px 10px 2px 5px;
font-size: 11pt; font-size: 11pt;
border-top: 1px solid #555; border-top: 1px solid #555;
@ -391,16 +386,14 @@ 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;