From: j8takagi Date: Mon, 13 Jan 2014 08:26:37 +0000 (+0900) Subject: スタイルシートで、実行例の背景色を黒から白へ X-Git-Tag: v0.2p29~8 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89130a2cdd8893e1ac379b6e10ec97b7d27ae7d;p=YACASL2.git スタイルシートで、実行例の背景色を黒から白へ --- diff --git a/doc/style.css b/doc/style.css index a163694..2036085 100644 --- a/doc/style.css +++ b/doc/style.css @@ -86,10 +86,8 @@ a:hover { text-decoration: underline; } -pre.example { +pre.example, pre.verbatim { padding: 0.5em 1em 0.5em 1em; - color: #CCC; - background: black; font-size: 90%; } @@ -102,22 +100,16 @@ blockquote { border: 1px solid #00F; } -kbd { - font-family: monospace; -} - -em { - font-weight: bold; +kbd, code, .file, var { font-style: normal; -} - -kbd, code, .file { + font-family: monospace; + font-size: 90%; margin-left:0.5em; margin-right: 0.5em; } table, th, td { - border: 1px solid #888; + border: 1px solid #CCC; border-collapse: collapse; /* 枠線の表示方法 */ margin-bottom: 1em; } @@ -131,6 +123,7 @@ pre.example .command, pre.example .option, pre.example kbd { font-family: monospace; background-color: inherit; color: white; + font-style: normal; margin-left:0; margin-right: 0; } @@ -146,4 +139,8 @@ dt { dfn { font-style: normal; -} \ No newline at end of file +} + +.header, .menu { + display: none; +}