X-Git-Url: https://harishankar.org/repos/?a=blobdiff_plain;f=templates%2Fstyle.tpl.css;h=0abf5c6c699cb51642d25c5f6813f35cf0e0c97b;hb=HEAD;hp=d1688cada0c44941c3b1b44fe9ad75c529b3454c;hpb=eda0b06c5328e232e12e0535528a528493caa90a;p=biaweb2.git diff --git a/templates/style.tpl.css b/templates/style.tpl.css index d1688ca..0abf5c6 100644 --- a/templates/style.tpl.css +++ b/templates/style.tpl.css @@ -1,13 +1,17 @@ body { background-color:white; color: black; - font-family:Verdana, Geneva, Tahoma, sans-serif; - font-size: 0.9em; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; + font-size: 1em; margin: 0; padding: 0; -} +} h1, h2, h3, h4, h5, h6 { font-family: Georgia, 'Times New Roman', Times, serif; + background-color: whitesmoke; +} +header h1 { + background: none; } header { width: 100%; @@ -16,28 +20,37 @@ header { float: left; text-align: center; } - +.doclisttable { + width: 100%; + text-align: left; +} +.doclisttable thead { + font-weight: bold; +} +.doclisttable tbody { + color: #3f3f3f; +} +.doclisttable td { + padding:0.2em; +} .inlinelist { display: inline-block; padding: 0em; margin: 0em; } - .inlinelist li { display: inline-block; margin-right: 0.9em; } - div#modification { width: 100%; color:darkgray; font-size: 0.8em; - float:left; } div#navbit { width: 100%; - float: left; font-size: 0.8em; + background: none; } footer { width: 100%; @@ -53,7 +66,9 @@ nav#sidebar { width: 30%; padding: 1%; } - +nav#sidebar h2 { + background: none; +} section#content { width: 63%; margin-right:1%; @@ -62,3 +77,30 @@ section#content { line-height: 150%; text-align: justify; } +/* for small screens */ +@media only screen and (max-width: 600px) { + section#content { + width: 99%; + float: none; + margin-left: 0.5%; + margin-right: 0.5%; + text-align: left; + padding: 0; + } + img { + max-width: 100%; + height: auto; + } + header { + float: none; + } + footer { + float: none; + } + nav#sidebar { + float: none; + width: 99%; + margin-left: 0.5%; + margin-right: 0.5%; + } +} \ No newline at end of file