X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fcss%2Fapp.css;h=28741c50ebb472f8ceaa13aad57e3acc1b2cf50d;hb=bdabd959ccc29a7eddeccfd7922425101b3f9ef7;hp=3043faf3f36a7633ad8d84972e8bb53d8ca5b3c8;hpb=733f66fecd72602218808e41751fe43f802e43eb;p=ardour-manual diff --git a/source/css/app.css b/source/css/app.css index 3043faf..28741c5 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -1,83 +1,52 @@ +@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; +} + +.clear { + clear:both; +} + #tree { background-color: #212A30; + line-height: 1.8ex; height: 100%; overflow: scroll; position: fixed; top: 0; bottom: 0; left: 0; - width: 300px; -} - -#tree-inner { - padding: 15px 20px 30px 30px; + width: 20em; + padding: 1em 1em 2em 1.5em; } -#tree h1.title { - font-size: 28px; - margin-bottom: 20px; +#tree h1 { + font-size: 1.75em; + margin-bottom: 1em; font-weight: normal; } -#tree h1.title a:hover { - border-bottom: none; -} - -#tree a { - font-size: 14px; - line-height: 28px; -} - -#tree dd.other { - display: none; -} - -#tree .level-1, -#tree .parent, -#tree .child, -#tree .parent *, -#tree .child * { - display: inherit; - color: inherit; -} - -#tree dd.child-1, -#tree .child-2, -#tree .child-3, -#tree .child-4 { - 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 ul { + padding-left: 1em; + list-style-type: none; } #tree a { display: inline !important; - font-weight: normal; + font-size: 0.88em; + line-height: 2em; color: #E4E4E4; border-bottom: 1px solid transparent; - padding-bottom: 2px; } #tree a:hover { @@ -87,12 +56,13 @@ #tree .active > a { display: inline; - color: #da0808; - border-bottom: 1px solid #FFF; + color: #FF8080; } -#content, #tree { - font-family: Junge; +#content { + padding: 1em 2em 2ex 21em; + margin-left: 0; + line-height: 2em; } #content h1, @@ -100,32 +70,31 @@ #content h3, #content h4 { font-weight: normal; + padding-bottom: .3ex; } -#content h1.title { +#content h1 { + 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; } @@ -153,10 +122,14 @@ background-color: #F2F9FF; } -#content table td, th { +#content table td, +#content table th { margin: 0; - padding: 5px; - font-weight: normal; + padding: .5em; +} + +#content table th { + font-weight: bold; } #content table th.sub1 { @@ -174,61 +147,21 @@ #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%; } -#content dl -{ - float:none; - clear:both; - width:100%; - margin: 1em 0; - padding: 0; - display:inline-block; +#content ul, +#content ol { + overflow: hidden; } -#content dl:after { - content:' '; - display:block; - clear:both; -} - -#content dt, #content dd { - border-top: 2px solid #eee; - float: left; - margin: 0; - padding: 5px; - font-weight: normal; -} - -#content dt { - clear: left; - width: 25%; -} - -#content dd { - width: 65%; -} - -#content dt.sub1 { - padding-left: 2em; -} - -#content dt.sub2 { - padding-left: 4em; -} - -#content dt:first-child, -#content dd:nth-child(2) { - border-top: none; -} - - #content figure { display: table; } @@ -237,11 +170,12 @@ display: table-caption; caption-side: bottom; font-style: italic; + padding-top: 0.5em; + padding-bottom: 1em; } #content figcaption.center { text-align: center; - caption-side: bottom; } #content figcaption.titleover { @@ -266,35 +200,16 @@ clear: both; } -.multicol2 { - width: 48%; - float:left; - padding:0 0 0 2%; - margin:0; -} - -.multicol3 { - width: 31%; - float:left; - padding:0 0 0 2%; - margin:0; -} - kbd { display: inline-block; min-width: 1em; padding: .2em .3em; - font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif; + font: normal .8em/1 sans-serif; text-align: center; 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))); + background: linear-gradient(to top, rgb(210, 210, 210), rgb(255, 255, 255)); color: rgb(50, 50, 50); text-shadow: 0 0 2px rgb(255, 255, 255); box-shadow: inset 0 0 1px rgb(255, 255, 255), inset 0 0 .4em rgb(200, 200, 200), 0 .1em 0 rgb(130, 130, 130), 0 .11em 0 rgba(0, 0, 0, .4), 0 .1em .11em rgba(0, 0, 0, .9); @@ -302,7 +217,14 @@ kbd { text-transform:capitalize; } -kbd.input,kbd.cmd,kbd.osc { +kbd.def { + font-weight:bolder; + margin-right:.2em; +} + +kbd.input, +kbd.cmd, +kbd.osc { font-family:mono; border-width:0; text-transform:none; @@ -339,20 +261,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,10 +295,11 @@ 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))); + background: linear-gradient(to top, rgb(174, 174, 217), rgb(221, 221, 255)); color:#000044; } @@ -399,24 +323,10 @@ kbd.mouse { samp { font-family:mono; - font-style:italic; - color:#333333; - background-color:transparent; - margin-left: 1ex; - margin-right: 1ex; -} - -samp:before { - content:"\BB"; -} - -samp:after { - content:"\AB"; -} - -#subtopics ul { - font-size:20px; - font-weight:bold; + color:#666666; + background-color:#EBEBEB; + margin-left: .5em; + margin-right: .5em; } #content dfn { @@ -424,44 +334,30 @@ samp:after { font-style: normal; } -#content img.right { - margin: 0 0 1em 1em; - float:right; - clear:right; -} - -#content img.left { - margin:0 1em 1em 0; - float:left; - clear:left; +#content img.mini { + width: 200px; } -#content img.center { - display: block; - margin:1em auto 1em auto; - clear: both; +#content img.mini:hover { + width: 100%; } #content p.center { 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; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); } #content code { - font-size: 14px; + font-size: .9em; color: #555; } @@ -484,12 +380,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 +421,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 +435,18 @@ samp:after { } /* for the TOC */ -#chapter { padding-top: 1em; padding-left: 1em; } -#subchapter { padding-left: 4em; } -#section { padding-left: 6em; } -#subsection { padding-left: 8em; } +#content p.chapter, +#content p.subchapter, +#content p.section, +#content p.subsection { + line-height:1em; +} +#content p.chapter { padding-top: 1em; padding-left: 1em; padding-bottom:1em; } +#content p.subchapter { padding-left: 4em; } +#content p.section { padding-left: 6em; } +#content p.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; }