X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc%2Fstyle.css;h=9cb0659e3a9772d9eef452c6b99df1bd379d76ed;hp=a163694af1f06d35afddfad6f0cf34575c45e563;hb=8808be96beb5502d13c0cd957b9fc3cec72ac6e3;hpb=ae7aaf86959f7de9213bc8f5f0fa5308b932a624 diff --git a/doc/style.css b/doc/style.css index a163694..9cb0659 100644 --- a/doc/style.css +++ b/doc/style.css @@ -3,6 +3,12 @@ body { margin-right: 12em; color: black; background-color: #EEE; + font-family: sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + color: navy; + background-color: inherit; } h1, h2 { @@ -26,13 +32,13 @@ table.menu, table.menu th, table.menu td { h2 { padding: 0.25em; - color: white; - background-color: navy; + border: 2px solid navy; } .contents { background-color: #DDF; border: 4px double #000; + padding: 0.5em 1em 0.5em 1em; } .contents h2 { @@ -41,6 +47,10 @@ h2 { background-color: #DDF; } +.contents li { + list-style-type: none; +} + .shortcontents { background-color: #DDF; border: 4px double #000; @@ -67,7 +77,6 @@ h2.shortcontents-heading{ } h3, h4, h5 { - color: navy; margin-left: -1em; } @@ -86,11 +95,9 @@ 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%; + border: 1px solid #CCC; } a { @@ -102,22 +109,17 @@ blockquote { border: 1px solid #00F; } -kbd { - font-family: monospace; -} - -em { - font-weight: bold; +kbd, code, .file, var { font-style: normal; -} - -kbd, code, .file { - margin-left:0.5em; - margin-right: 0.5em; + font-weight: normal; + font-family: monospace; + font-size: 120%; + margin-left:0.25em; + margin-right: 0.25em; } table, th, td { - border: 1px solid #888; + border: 1px solid black; border-collapse: collapse; /* 枠線の表示方法 */ margin-bottom: 1em; } @@ -129,8 +131,9 @@ table.cartouche, table.cartouche th, table.cartouche td { pre.example .command, pre.example .option, pre.example kbd { font-weight: bold; font-family: monospace; + font-size: 110%; background-color: inherit; - color: white; + font-style: normal; margin-left:0; margin-right: 0; } @@ -140,10 +143,20 @@ pre.example strong { border: 2px solid green; } -dt { +th, em { + font-style: normal; font-weight: bold; + font-family: sans-serif; +} + +th { + text-align: center; } dfn { font-style: normal; -} \ No newline at end of file +} + +.header, .menu { + display: none; +}