X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fcss%2Flilypond-manuals.css;h=8950b847a712bdf7f169793a833c5ebe7ec57fee;hb=e7aa6c445f463844dbaa52d38ea4aac2882b5601;hp=b5e7a0cf9312e0bf2532ee44e4531dcd46909b68;hpb=e143ac8597c24de5caf62ac49786f77a04996665;p=lilypond.git diff --git a/Documentation/css/lilypond-manuals.css b/Documentation/css/lilypond-manuals.css index b5e7a0cf93..8950b847a7 100644 --- a/Documentation/css/lilypond-manuals.css +++ b/Documentation/css/lilypond-manuals.css @@ -1,3 +1,27 @@ +/**********************************************************/ +/* GENERAL INFORMATION */ +/**********************************************************/ + +/* It has been requested that each web manual be styled using a + different color. To faciliate that, each manual is being + assigned a hue value on the HSB color chart. All specific + colors for a manual will be shades and tints of that hue. + + Manual Color Hue + learning green 120 + music-glossary + essay + + notation blue 205 + usage yellow 50 + snippets + + changes + extending red 0 + internals purple 280 + + contributor black doesn't matter - desat + /**********************************************************/ /* PAGE-WIDE SETTINGS */ /**********************************************************/ @@ -24,7 +48,7 @@ body { .appendix, .appendixsec, .appendixsubsec, .unnumbered, .unnumberedsec, .unnumberedsubsec, .unnumberedsubsubsec, .subheading, .subsubheading { - color: #204a87; + color: #black; border-bottom: 1px dashed black; padding-bottom: 0.15em; margin-top: 0.6em; @@ -32,15 +56,23 @@ body { } .settitle { - background: #b1d281; + background: #657f40; + color: white; font-size: 2em; text-align: center; padding: 0.4em 0.5em; - border: solid #7b925a; + border: solid black; border-width: 1px 0; - margin: 0; + margin: 0 0 10px 0; } +body.learning .settitle { background-color: #407f40; } +body.notation .settitle { background-color: #40657f; } +body.usage .settitle { background-color: #7f7f33; } +body.extending .settitle { background-color: #7f4040; } +body.internals .settitle { background-color: #6a407f; } +body.contributor .settitle { background-color: #000000; } + .chapter, .appendix, .unnumbered { font-size: 1.8em; } @@ -99,8 +131,16 @@ blockquote, .smallexample { border: solid #b1d281; border-width: 1px 1px 1px 5px; margin: 1em auto; + background-color: white; } +body.learning blockquote, body.learning .smallexample { border-color: #00ff00; } +body.notation blockquote, body.notation .smallexample { border-color: #0095ff; } +body.usage blockquote, body.usage .smallexample { border-color: #ffff00; } +body.extending blockquote, body.extending .smallexample { border-color: #ff0000; } +body.internals blockquote, body.internals .smallexample { border-color: #aa00ff; } +body.contributor blockquote, body.contributor .smallexample { border-color: #000000; } + blockquote p, pre.smallexample { padding: 1em; margin: 0; @@ -133,6 +173,13 @@ table.cartouche { margin: 0 auto 1em; } +body.learning table.cartouche { background-color: #cfe5cf; border: 2px solid #7db27d; } +body.notation table.cartouche { background-color: #cfdce5; border: 2px solid #7d9cb2; } +body.usage table.cartouche { background-color: #e5e2b8; border: 2px solid #b2b27d; } +body.extending table.cartouche { background-color: #e5cfcf; border: 2px solid #b27d7d; } +body.internals table.cartouche { background-color: #decfe5; border: 2px solid #a17db2; } +body.contributor table.cartouche { background-color: #e5e5e5; border: 2px solid #b2b2b2; } + table.cartouche p { padding: 1em; margin: 0; @@ -208,13 +255,20 @@ div#tocframe { padding: 0; margin: 0; overflow: auto; - background: #f5f5dc; + background: #dce35cf; z-index: 100; list-style-type: none; font-size: 0.83em; line-height: 1.3; } +body.learning div#tocframe { background-color: #cfe5cf; } +body.notation div#tocframe { background-color: #cfdce5; } +body.usage div#tocframe { background-color: #e5e5b8; } +body.extending div#tocframe { background-color: #e5cfcf; } +body.internals div#tocframe { background-color: #decfe5; } +body.contributor div#tocframe { background-color: #e5e5e5; } + @media screen { body > div#tocframe { position: fixed @@ -222,12 +276,12 @@ div#tocframe { } div#tocframe a:link, div#tocframe a:visited { - color: #454532; + color: black; text-decoration: none; } div#tocframe a:hover { - color: #232b16; + color: #666666; text-decoration: underline; } @@ -236,7 +290,7 @@ div#tocframe p.toc_uplink { line-height: 1.125; background: #c9ccc4; padding: 0.25em 1em 0.25em 0.5em; - border-bottom: 1px solid #a0a087; + border-bottom: 1px solid black; margin: 0; } @@ -382,16 +436,24 @@ table .title { } .footer { - background: #e5f5ce; + background: #657f40; font-size: 0.8em; padding: 0.2em 0; - border: solid #b1d281; + border: solid white; border-width: 0 0 5px 0; margin: 0; + color: white; } +body.learning .footer { background-color: #407f40; } +body.notation .footer { background-color: #40657f; } +body.usage .footer { background-color: #7f7f33; } +body.extending .footer { background-color: #7f4040; } +body.internals .footer { background-color: #6a407f; } +body.contributor .footer { background-color: #000000; } + .footer a:link { - color: #0308fc; + color: white; } .footer p { @@ -408,9 +470,10 @@ table.menu { /***********************************************************/ @media print { - /* Hide the sidebar: */ - body { padding-left: 0; } - #tocframe { display: none; } + /* Hide the sidebar and make the main contents take up the full width */ + div#main { position: static; overflow: visible; left: 0; } + div#tocframe { display: none; } + /* Also don't show the navigation toolbars between all sections */ .nav_table { display: none; } } @@ -455,6 +518,14 @@ div#search p, div#search form { margin: 1em; } +body.learning .warning { border-color: #00ff00; } +body.notation .warning { border-color: #0095ff; } +body.usage .warning { border-color: #ffff00; } +body.extending .warning { border-color: #ff0000; } +body.internals .warning { border-color: #aa00ff; } +body.contributor .warning { border-color: #000000; } + + .advanced { background: #eeffcc; text-align: left;