htdocs/site/css: reindent

This commit is contained in:
XhmikosR 2012-11-15 00:31:56 +02:00 committed by Daniel Marjamäki
parent 912d93b5c3
commit f8c99ce065
3 changed files with 102 additions and 88 deletions

View File

@ -1,157 +1,168 @@
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: Calibri,Verdana,sans-serif; font-family: Calibri, Verdana, sans-serif;
color: #000; color: #000;
background: #eee; background: #eee;
} }
dt { dt {
font-weight: bold; font-weight: bold;
} }
/* Default link style */ /* Default link style */
a:link { color:#036; text-decoration:underline; } a:link { color:#036; text-decoration:underline; }
a:visited { color:#036; text-decoration:underline; } a:visited { color:#036; text-decoration:underline; }
a:focus { color:#369; text-decoration:none; } a:focus { color:#369; text-decoration:none; }
a:link:hover, a:visited:hover { color:#369; text-decoration:none; } a:link:hover,
a:active { color:#369; text-decoration:none; } a:visited:hover { color:#369; text-decoration:none; }
a:active { color:#369; text-decoration:none; }
/* Header */ /* Header */
#header { #header {
color: #69c; color: #69c;
background: #036; background: #036;
} }
#header h1 { #header h1 {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: Orbitron, Calibri, Verdana, sans-serif; font-family: Orbitron, Calibri, Verdana, sans-serif;
} }
#header p { #header p {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: larger; font-size: larger;
} }
/* Tabs */ /* Tabs */
#tabs { #tabs {
color: #eee; color: #eee;
background: #369; background: #369;
border-top: 1px solid #000; border-top: 1px solid #000;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
} }
#tabs ul { #tabs ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
font-size: larger; font-size: larger;
} }
#tabs ul li { #tabs ul li {
display: inline; display: inline;
margin: 0; margin: 0;
padding: 0 .5em; padding: 0 .5em;
border-right: 1px solid #000; border-right: 1px solid #000;
} }
#tabs ul li:first-child { #tabs ul li:first-child {
padding-left: 0; padding-left: 0;
} }
#tabs ul li:last-child { #tabs ul li:last-child {
border: none; border: none;
} }
#tabs a:link { color:#eee; text-decoration:none; }
#tabs a:link { color:#eee; text-decoration:none; }
#tabs a:visited { color:#eee; text-decoration:none; } #tabs a:visited { color:#eee; text-decoration:none; }
#tabs a:focus { color:#fff; text-decoration:underline; } #tabs a:focus { color:#fff; text-decoration:underline; }
#tabs a:hover { color:#fff; text-decoration:underline; } #tabs a:hover { color:#fff; text-decoration:underline; }
#tabs a:active { color:#fff; text-decoration:underline; } #tabs a:active { color:#fff; text-decoration:underline; }
/* Anchors */ /* Anchors */
#anchors ul { #anchors ul {
margin: 0; margin: 0;
padding: .5em 0; padding: .5em 0;
list-style-type: none; list-style-type: none;
font-size: smaller; font-size: smaller;
} }
#anchors ul li { #anchors ul li {
display: inline; display: inline;
margin: 0; margin: 0;
padding: 0 .5em; padding: 0 .5em;
} }
#anchors ul li:first-child { #anchors ul li:first-child {
padding-left: 0; padding-left: 0;
} }
#anchors .wrap { #anchors .wrap {
padding: 0; padding: 0;
} }
/* Wrap */ /* Wrap */
.wrap { .wrap {
width: 50em; width: 50em;
margin: 0 auto; margin: 0 auto;
padding: .5em; padding: .5em;
} }
/* RSS feed items */ /* RSS feed items */
.rssfeeditems em { .rssfeeditems em {
margin-left: .5em; margin-left: .5em;
color: #888; color: #888;
font-size: smaller; font-size: smaller;
} }
/* "Download Now!" link */ /* "Download Now!" link */
a.downloadnow { a.downloadnow {
display: block; display: block;
width: 12em; width: 12em;
margin: 0; margin: 0;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
color: white; color: white;
background: #060; background: #060;
border: 1px solid #060; border: 1px solid #060;
/* border-radius */ /* border-radius */
border-radius: .5em; border-radius: .5em;
-moz-border-radius: .5em; -moz-border-radius: .5em;
-khtml-border-radius: .5em; -khtml-border-radius: .5em;
-webkit-border-radius: .5em; -webkit-border-radius: .5em;
} }
a.downloadnow:link, a.downloadnow:link,
a.downloadnow:visited { a.downloadnow:visited {
text-decoration: none; text-decoration: none;
color: white; color: white;
} }
a.downloadnow:focus, a.downloadnow:focus,
a.downloadnow:hover { a.downloadnow:hover {
text-decoration: none; text-decoration: none;
color: white; color: white;
background: #090; background: #090;
} }
a.downloadnow strong { a.downloadnow strong {
display: block; display: block;
font-size: larger; font-size: larger;
font-weight: bold; font-weight: bold;
} }
a.downloadnow em { a.downloadnow em {
display: block; display: block;
font-size: smaller; font-size: smaller;
font-style: normal; font-style: normal;
} }
/* Command */ /* Command */
pre.cmd { pre.cmd {
padding: .5em; padding: .5em;
background: #f7f7f7; background: #f7f7f7;
border: 1px solid #c0c0c0; border: 1px solid #c0c0c0;
border-left: 10px solid #c0c0c0; border-left: 10px solid #c0c0c0;
} }
/* Printing */ /* Printing */
@media print { @media print {
#header { color: black; border-bottom: 1px solid black; } #header { color: black; border-bottom: 1px solid black; }
#tabs { display: none; } #tabs { display: none; }
#resultsTable th { background: white; border: 1px solid black; } #resultsTable th { background: white; border: 1px solid black; }
#resultsTable td { background: white; border: 1px solid black; } #resultsTable td { background: white; border: 1px solid black; }
} }

View File

@ -1 +1 @@
body{margin:0;padding:0;font-family:Calibri,Verdana,sans-serif;color:#000;background:#eee}dt{font-weight:700}a:link{color:#036;text-decoration:underline}a:visited{color:#036;text-decoration:underline}a:focus{color:#369;text-decoration:none}a:link:hover,a:visited:hover{color:#369;text-decoration:none}a:active{color:#369;text-decoration:none}#header{color:#69c;background:#036}#header h1{margin:0;padding:0;font-family:Orbitron,Calibri,Verdana,sans-serif}#header p{margin:0;padding:0;font-size:larger}#tabs{color:#eee;background:#369;border-top:1px solid #000;border-bottom:1px solid #000}#tabs ul{margin:0;padding:0;list-style-type:none;font-size:larger}#tabs ul li{display:inline;margin:0;padding:0 .5em;border-right:1px solid #000}#tabs ul li:first-child{padding-left:0}#tabs ul li:last-child{border:0}#tabs a:link{color:#eee;text-decoration:none}#tabs a:visited{color:#eee;text-decoration:none}#tabs a:focus{color:#fff;text-decoration:underline}#tabs a:hover{color:#fff;text-decoration:underline}#tabs a:active{color:#fff;text-decoration:underline}#anchors ul{margin:0;padding:.5em 0;list-style-type:none;font-size:smaller}#anchors ul li{display:inline;margin:0;padding:0 .5em}#anchors ul li:first-child{padding-left:0}#anchors .wrap{padding:0}.wrap{width:50em;margin:0 auto;padding:.5em}.rssfeeditems em{margin-left:.5em;color:#888;font-size:smaller}a.downloadnow{display:block;width:12em;margin:0;padding:5px;text-align:center;text-decoration:none;color:#fff;background:#060;border:1px solid #060;border-radius:.5em;-moz-border-radius:.5em;-khtml-border-radius:.5em;-webkit-border-radius:.5em}a.downloadnow:link,a.downloadnow:visited{text-decoration:none;color:#fff}a.downloadnow:focus,a.downloadnow:hover{text-decoration:none;color:#fff;background:#090}a.downloadnow strong{display:block;font-size:larger;font-weight:700}a.downloadnow em{display:block;font-size:smaller;font-style:normal}pre.cmd{padding:.5em;background:#f7f7f7;border:1px solid #c0c0c0;border-left:10px solid #c0c0c0}@media print{#header{ color:#000;border-bottom:1px solid black}#tabs{display:none}#resultsTable th{background:#fff;border:1px solid black}#resultsTable td{background:#fff;border:1px solid black}} body{margin:0;padding:0;font-family:Calibri,Verdana,sans-serif;color:#000;background:#eee}dt{font-weight:700}a:link{color:#036;text-decoration:underline}a:visited{color:#036;text-decoration:underline}a:focus{color:#369;text-decoration:none}a:link:hover,a:visited:hover{color:#369;text-decoration:none}a:active{color:#369;text-decoration:none}#header{color:#69c;background:#036}#header h1{margin:0;padding:0;font-family:Orbitron,Calibri,Verdana,sans-serif}#header p{margin:0;padding:0;font-size:larger}#tabs{color:#eee;background:#369;border-top:1px solid #000;border-bottom:1px solid #000}#tabs ul{margin:0;padding:0;list-style-type:none;font-size:larger}#tabs ul li{display:inline;margin:0;padding:0 .5em;border-right:1px solid #000}#tabs ul li:first-child{padding-left:0}#tabs ul li:last-child{border:0}#tabs a:link{color:#eee;text-decoration:none}#tabs a:visited{color:#eee;text-decoration:none}#tabs a:focus{color:#fff;text-decoration:underline}#tabs a:hover{color:#fff;text-decoration:underline}#tabs a:active{color:#fff;text-decoration:underline}#anchors ul{margin:0;padding:.5em 0;list-style-type:none;font-size:smaller}#anchors ul li{display:inline;margin:0;padding:0 .5em}#anchors ul li:first-child{padding-left:0}#anchors .wrap{padding:0}.wrap{width:50em;margin:0 auto;padding:.5em}.rssfeeditems em{margin-left:.5em;color:#888;font-size:smaller}a.downloadnow{display:block;width:12em;margin:0;padding:5px;text-align:center;text-decoration:none;color:#fff;background:#060;border:1px solid #060;border-radius:.5em;-moz-border-radius:.5em;-khtml-border-radius:.5em;-webkit-border-radius:.5em}a.downloadnow:link,a.downloadnow:visited{text-decoration:none;color:#fff}a.downloadnow:focus,a.downloadnow:hover{text-decoration:none;color:#fff;background:#090}a.downloadnow strong{display:block;font-size:larger;font-weight:700}a.downloadnow em{display:block;font-size:smaller;font-style:normal}pre.cmd{padding:.5em;background:#f7f7f7;border:1px solid #c0c0c0;border-left:10px solid #c0c0c0}@media print{#header{color:#000;border-bottom:1px solid black}#tabs{display:none}#resultsTable th{background:#fff;border:1px solid black}#resultsTable td{background:#fff;border:1px solid black}}

View File

@ -9,17 +9,20 @@
#resultsTable { #resultsTable {
border-collapse: collapse; border-collapse: collapse;
} }
#resultsTable th { #resultsTable th {
padding: .25em; padding: .25em;
text-align: left; text-align: left;
background: #e2e2e2; background: #e2e2e2;
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
} }
#resultsTable td { #resultsTable td {
padding: .25em; padding: .25em;
background: #f7f7f7; background: #f7f7f7;
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
} }
#resultsTable .center { #resultsTable .center {
text-align: center; text-align: center;
} }
@ -70,4 +73,4 @@
.cpp.geshicode .nu19 {color:#800080;} .cpp.geshicode .nu19 {color:#800080;}
.cpp.geshicode .me1 {color:#007788;} .cpp.geshicode .me1 {color:#007788;}
.cpp.geshicode .me2 {color:#007788;} .cpp.geshicode .me2 {color:#007788;}
.cpp.geshicode span.xtra {display:block;} .cpp.geshicode span.xtra {display:block;}