X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fcss%2Fapp.css;h=28c2a15edd7dbd9573372ce3b2bcd2a18c27121f;hb=6b48dc5dbf67b2e40893d208e33d26c16543cdc2;hp=3043faf3f36a7633ad8d84972e8bb53d8ca5b3c8;hpb=733f66fecd72602218808e41751fe43f802e43eb;p=ardour-manual diff --git a/source/css/app.css b/source/css/app.css index 3043faf..28c2a15 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -1,21 +1,41 @@ +@font-face { + font-family: 'junge-regular'; + src: url('junge-regular-webfont.woff2') format('woff2'), + url('junge-regular-webfont.woff') format('woff'), + url('junge-regular-webfont.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +body { + font-family: 'junge-regular'; + font-size: 16px; + line-height: 2ex; +} + +div.clearer { + clear:both; +} + #tree { background-color: #212A30; + line-height: 1.8ex; height: 100%; overflow: scroll; position: fixed; top: 0; bottom: 0; left: 0; - width: 300px; + width: 20em; } #tree-inner { - padding: 15px 20px 30px 30px; + padding: 1em 1em 2em 1.5em; } #tree h1.title { - font-size: 28px; - margin-bottom: 20px; + font-size: 1.75em; + margin-bottom: 1em; font-weight: normal; } @@ -23,11 +43,6 @@ border-bottom: none; } -#tree a { - font-size: 14px; - line-height: 28px; -} - #tree dd.other { display: none; } @@ -48,36 +63,14 @@ display: none; } - -#search { - height: 70px; -} - -#content { - padding: 10px 30px 30px 350px; - margin-left: 0; -} - -#content-main { - padding-top: 10px; - padding-left: 10px; -} - -#content p, -#content li, -#content dt, -#content dd, -#content table { - font-size: 16px; - line-height: 28px; -} - #tree a { display: inline !important; + font-size: 0.88em; font-weight: normal; + line-height: 2em; color: #E4E4E4; border-bottom: 1px solid transparent; - padding-bottom: 2px; + padding-bottom: .1ex; } #tree a:hover { @@ -91,8 +84,24 @@ border-bottom: 1px solid #FFF; } -#content, #tree { - font-family: Junge; +#content { + padding: 1em 2em 2ex 21em; + margin-left: 0; +} + +#content-main { + padding-top: 1ex; + padding-left: .5em; +} + + +#content p, +#content li, +#content dt, +#content dd, +#content td, +#content th{ + line-height: 2em; } #content h1, @@ -100,41 +109,42 @@ #content h3, #content h4 { font-weight: normal; + padding-bottom: .3ex; } #content h1.title { + font-size: 1.8em; + margin: 0 0 2ex 0; + padding-bottom: .8ex; border-bottom: 2px solid #ccc; - padding-bottom: 10px; - margin-bottom: 40px; } #content h2 { - margin: 30px 0 20px 0; - padding-bottom: 5px; - font-size: 22px; + font-size: 1.3em; + margin: 2ex 0 1ex 0; border-bottom: 2px solid #ddd; } #content h3 { - margin: 20px 0 10px 0; - padding-bottom: 5px; - font-size: 20px; + font-size: 1.2em; + margin: 1.5ex 0 1ex 0; border-bottom: 1px solid #eee; } #content h4 { - font-size: 18px; - margin: 20px 0 10px 0; - padding-bottom: 10px; + font-size: 1.1em; + margin: 1.5ex 0 .5ex 0; border-bottom: 1px solid #eee; } -#content table { +#content table, +#content table.dl { width:100%; margin: 1em 0; padding: 0; font-weight: normal; text-align: left; + line-height: 2ex; } #content table tr { @@ -153,9 +163,10 @@ background-color: #F2F9FF; } -#content table td, th { +#content table td, +#content table th { margin: 0; - padding: 5px; + padding: .5em; font-weight: normal; } @@ -174,11 +185,13 @@ #content table.dl th { /* dl class (definition list) is for 2-columns tables that describe properties: maximmizes the width of the 2nd (description) column */ - min-width: 20%; vertical-align: top; + min-width: 20%; + white-space:nowrap } #content table.dl td { + vertical-align: top; width: 100%; } @@ -198,11 +211,12 @@ clear:both; } -#content dt, #content dd { +#content dt, +#content dd { border-top: 2px solid #eee; float: left; margin: 0; - padding: 5px; + padding: .5em; font-weight: normal; } @@ -261,6 +275,10 @@ clear: left; } +#content figure.left.olist { + margin-right: 2em; +} + #content figure.center { margin: 1em auto 1em auto; clear: both; @@ -289,9 +307,6 @@ kbd { text-decoration: none; border-radius: .3em; cursor: default; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; background: rgb(250, 250, 250); background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255)); background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255))); @@ -302,7 +317,9 @@ kbd { text-transform:capitalize; } -kbd.input,kbd.cmd,kbd.osc { +kbd.input, +kbd.cmd, +kbd.osc { font-family:mono; border-width:0; text-transform:none; @@ -339,20 +356,21 @@ kbd.cmd.win:before { color:#999999; } -kbd.optoff, kbd.option { +kbd.optoff, +kbd.option { border:none; background:none; } kbd.optoff:before { content:url('/images/checkbox-unchecked.png'); - margin: 0 5px 0 0; + margin: 0 1em 0 0; vertical-align:middle; } kbd.option:before { content:url('/images/checkbox-checked.png'); - margin: 0 5px 0 0; + margin: 0 1em 0 0; vertical-align:middle; } @@ -372,7 +390,9 @@ kbd.osc { text-align:left; } -kbd.fader, kbd.knob, kbd.button { +kbd.fader, +kbd.knob, +kbd.button { background: rgb(174, 174, 217); background: -moz-linear-gradient(top, rgb(174, 174, 217), rgb(221, 221, 255)); background: -webkit-gradient(linear, left top, left bottom, from(rgb(174, 174, 217)), to(rgb(221, 221, 255))); @@ -402,8 +422,8 @@ samp { font-style:italic; color:#333333; background-color:transparent; - margin-left: 1ex; - margin-right: 1ex; + margin-left: 1em; + margin-right: 1em; } samp:before { @@ -415,7 +435,6 @@ samp:after { } #subtopics ul { - font-size:20px; font-weight:bold; } @@ -446,10 +465,12 @@ samp:after { text-align:center; } -#content .note,.warning,.fixme { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; +#content .note, +#content .warning, +#content .fixme { + min-height: 1.5ex; + padding: 1em; + margin-bottom: 1em; border-style: solid; border-width: 1px 1px 1px 8px; -webkit-border-radius: 4px; @@ -461,7 +482,7 @@ samp:after { } #content code { - font-size: 14px; + font-size: .9em; color: #555; } @@ -484,12 +505,10 @@ samp:after { .fixme:before { content:'FIXME: '; font-style: italic; - font-size:200%; + font-size:2em; } - /* Keyboard modifiers */ - .mod1:before { content: "Ctrl ";} .mod2:before { content: "Alt ";} .mod3:before { content: "Shift ";} @@ -527,11 +546,6 @@ samp:after { .mac .mod14n:before { content: "Cmd Opt";} .mac .mod23n:before { content: "Ctrl Shift";} -#gs_tti0 { - padding-top: 2px; - padding-bottom: 0; -} - @media (max-width: 800px) { #tree { position: relative; @@ -546,12 +560,18 @@ samp:after { } /* for the TOC */ +#chapter, +#subchapter, +#section, +#subsection { + line-height:1.5em; +} #chapter { padding-top: 1em; padding-left: 1em; } #subchapter { padding-left: 4em; } #section { padding-left: 6em; } #subsection { padding-left: 8em; } /* for images sliced in divs, as in http://manual.ardour.org/ardours-interface/about/ */ -.container { position:relative; border: none;} -.hoverimg { position: absolute; border: none; } -.hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; } +.container { position: relative; border: none; } +.hoverimg { position: absolute; border: none; } +.hoverimg:hover{ z-index:100; box-shadow: 0 0 .2em .2em lightgreen; }