X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=doc%2Fstyle.css;h=82ecca8b46fea4fdd062f92112fbc345a0b2be35;hp=6e9bcfe73388a6b5a70fd3aa673209fd519bed47;hb=3aab1400bc11c15975b3094ac44e02c73a8c3d04;hpb=08e463e73b83bebd0155bc2691f7fd87be4f75ee diff --git a/doc/style.css b/doc/style.css index 6e9bcfe..82ecca8 100644 --- a/doc/style.css +++ b/doc/style.css @@ -9,10 +9,14 @@ h1, h2 { margin-left: -2em; } +.node{ + margin-left: -3em; +} + h2 { + padding: 0.25em; color: white; background-color: navy; - padding: 0.25em; } h3, h4 { @@ -35,19 +39,17 @@ a:hover { font-family: monospace; } +table.cartouche { + width: 60%; +} + pre.example { - width: 100%; padding: 0.5em 1em 0.5em 1em; color: #CCC; background: black; font-size: 90%; } -pre.example b { - color: white; - background-color: black; -} - a { text-decoration: none; } @@ -62,3 +64,18 @@ table, th, td { border: 1px solid #CCC; border-collapse: collapse; /* 枠線の表示方法 */ } + +table.cartouche, table.cartouche th, table.cartouche td { + border: none; +} + +pre.example .command, pre.example .option { + font-weight: bold; + background-color: inherit; + color: white; +} + +pre.example strong { + font: inherit; + border: 2px solid green; +}