X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=index.css;h=0f33468f9d5a4f88c1eb8bf18110aaab3227172b;hb=bce1cf3b57202eb1bfbf6c2db05e823f8e48c4f0;hp=b61f51524d4aab89e33dbcc172c0471168c094c4;hpb=13943464c255c79c2038c4c63ad5af34331af088;p=mdref%2Fmdref diff --git a/index.css b/index.css index b61f515..0f33468 100644 --- a/index.css +++ b/index.css @@ -2,16 +2,38 @@ font-size: 99.9%; } +body, code { + font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace; +} body { - font-family: monospace; font-size: 1.5em; margin: 0; - padding: 4em 0 0 0; + padding: 0; + color: #3f3f3f; } body>* { + margin-left: 1em; +} +body>ul { margin-left: 2em; - margin-right: 2em; +} + +.sidebar { + font-size: .9em; + float: right; + background: #f0f0f0; + border-bottom-left-radius: 10px; + padding: 0; + width: auto; + padding-right: 1em; +} +.sidebar>ul { +} +.sidebar ul { + margin-left: 1em; + padding: 0; + list-style-type: none; } code { @@ -23,51 +45,108 @@ code { box-shadow: 0 0 1px #999; } -h1 { - position: fixed; - top: 0; - left: 0; - width: 100%; - margin: 0; +code code { + display: inline; + padding: 0; + background: transparent; + border: none; + box-shadow: none; +} + +pre>code { padding: 1em; } -p { - color: #3f3f3f; - margin: 1em; +pre>code, pre>code code { + background: #333; + color: #eee; } -blockquote { - padding: 1em; - border-radius: 4px; - max-width: 1000px; +p, pre { + margin: 1em 2em; } -blockquote, blockquote p { - color: #f0f0f0; + +blockquote { + border-top: 1px solid #800000; + border-bottom: 1px solid #800000; + background: #ffe4e1; + margin: 2em 0; } + ul { margin-bottom: 2em; } li { margin-bottom: .5em; } -a { +a, h1 code>a { color: #2f4f4f; } +a:hover { + text-decoration: none; +} .var { color: #800000; } +.constant { + color: #2e8b57; +} -.invert, h1, blockquote, blockquote p { - background: #030303; - color: #f0f0f0; +h1 { + line-height: 1.5; +} +h1 code { + font-weight: normal; + font-size: .9em; + line-height: 1.33; +} + +footer, h1, li h3 { + background: #708090; + color: #f5f5dc; } -.invert .var, h1 .var, blockquote .var { +footer, h1 { + margin: 0; + padding: 1em; +} + +li h3 { + border-radius: 4px; + display: inline-block; + width: auto; + padding: .2em; + margin: .5em 0 0 0; +} + +h1 .constant, pre>code .consant, li h3 .constant { + color: #98fb98; +} + +h1 .var, pre>code .var, li h3 .var { color: #f4a460; } -.invert a, h1 a, blockquote a { +footer a, h1 a, pre>code a, li h3 a { color: #b0e0e6; } +li h3 a { + text-decoration: none; +} +li h3 a:hover { + text-decoration: underline; +} + +#disqus_thread { + margin-top: 8em; + margin-right: 2em; +} + +footer { + font-size: smaller; + text-align: center; + word-spacing: 1em; + clear: both; + margin-top: 8em; +}