X-Git-Url: http://rtime.felk.cvut.cz/gitweb/edu/osp-wiki.git/blobdiff_plain/b568060a484dbee0db87da407b7008a05b7512c6..979a514ef2966731dbd5a8c4629ae56d47d4c378:/local.css diff --git a/local.css b/local.css index dac87160..e48bb84e 100644 --- a/local.css +++ b/local.css @@ -14,8 +14,15 @@ hr { border-style:none; } -code,pre { +code,pre,pre.hl { background:#eee; + border: 1px solid #d8d8d8; + padding: 0px 2px; + border-radius: 2px; +} +pre code { + border: none; + padding: 0; } pre { @@ -42,6 +49,12 @@ body { left: 0; } +#pagebody { + position: absolute; + top: 107px; + width: 100%; +} + .pageheader .header { padding: 1em 1em 1em 1em; } @@ -76,13 +89,12 @@ body { margin:1em 2em; } -.pagefooter, .inlinefooter { +.pagefooter, .inlinefooter, .comment-header { color: gray; font-size: 70%; } #content { - margin-top: 107px; padding-top: 1ex; max-width: 60em; } @@ -189,13 +201,18 @@ a[href$=.pdf] { clear:both; margin-bottom:1em; border-bottom:1px solid #e8e5d6; - background:#f0ecdc; + background:#f8f8f8; position:relative; border-radius:.6em; -moz-border-radius:.6em; padding:.7em 1.4em; } +.comment code, .comment pre, .comment pre.hl { + background:#ddd; +} + + .inlinepage h2,.inlinepage h3 { font-size:100%; } @@ -233,7 +250,7 @@ legend { padding: 0 1ex 0 0.5ex; } -#sidebar { +.sidebar { position: absolute; bottom: 0px; width: 100%; @@ -242,22 +259,29 @@ legend { padding-left: 1em; float: none; background-color: transparent; + border: 0px; +} + +.pageheader #google_translate_element { + position: absolute; + top: 3ex; + right: 10px; } -#sidebar ul { +.sidebar ul { margin:0; padding:0; } -#sidebar li { +.sidebar li { display: inline; list-style:none; padding: 0; margin: 0; } -#sidebar ul li a, #sidebar ul li span { +.sidebar ul li a, .sidebar ul li span { color: #FFF; background-color: #206cbc; display: inline-block; @@ -273,10 +297,10 @@ legend { border-radius:.3em .3em 0 0; -moz-border-radius: .3em .3em 0 0; } -#sidebar ul li a:hover { +.sidebar ul li a:hover { background-color: #7faede; } -#sidebar ul li span.selflink { +.sidebar ul li span.selflink { background-color: white; color: black; // border: 1px solid #eee; @@ -284,21 +308,33 @@ legend { } .toc { - line-height: 3ex; width: 30ex; float: right; margin-left: 40px; margin-bottom: 40px; padding: 2ex 2ex; background: #bbdbfa; - border: 1px solid #206cbc; - -moz-border-radius: 0.5ex; + border: none; + border-radius: 0.5ex; + box-shadow: 3px 3px 5px #aaa; +} + +.toc ol ol { + padding-left: 2.5ex; } .toc li { margin-bottom: 0.5ex; } +li.L1 { + list-style: decimal; +} + +li.L2 { + list-style: lower-alpha; +} + table { margin: 1ex 0ex; } @@ -323,3 +359,22 @@ table.borders th, table.borders td { ol.lower-alpha { list-style-type: lower-alpha; } + +ol ol { + list-style-type: lower-alpha; +} + +blockquote { + font-style:italic; + color: #666; + border-left: 2px solid gray; + margin-left: 0; + margin-right: 0; + padding-left: 1em; +} + +.twitter-logo { + height: 1.5ex; + width: auto; + vertical-align: baseline; +}