X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fcss%2Fapp.css;h=5abbe55abe3dfe7301c0dd04096c679b3c6d9db2;hb=1bc084d882bf5792634c5fd08c35eff78de26b02;hp=84cefd0dd3d707e7deec630eb38764c8eb6aeed9;hpb=d26989c791fc8af686619457925bf7391944f316;p=ardour-manual diff --git a/source/css/app.css b/source/css/app.css index 84cefd0..5abbe55 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -1,9 +1,28 @@ +@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; + font-family: 'junge-regular'; font-size: 16px; line-height: 2ex; } +div.clearer { + clear:both; +} + +ul.inside li, ol.inside li { + left: 1em; + position: relative; + padding-right: 1em; +} + #tree { background-color: #212A30; line-height: 1.8ex; @@ -26,6 +45,15 @@ body { font-weight: normal; } +#tree dl { + margin-left: 1em; +} + +#tree ul { + padding-left: 1em; + list-style-type: none; +} + #tree h1.title a:hover { border-bottom: none; } @@ -85,7 +113,9 @@ body { #content p, #content li, #content dt, -#content dd { +#content dd, +#content td, +#content th{ line-height: 2em; } @@ -97,6 +127,13 @@ body { padding-bottom: .3ex; } +#content h1.clear, +#content h2.clear, +#content h3.clear, +#content h4.clear { + clear:both; +} + #content h1.title { font-size: 1.8em; margin: 0 0 2ex 0; @@ -152,9 +189,17 @@ body { #content table th { margin: 0; padding: .5em; +} + +#content table th { + font-weight: bold; +} + +#content table td { font-weight: normal; } + #content table th.sub1 { padding-left: 2em; } @@ -170,12 +215,13 @@ body { #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%; } @@ -235,6 +281,8 @@ body { display: table-caption; caption-side: bottom; font-style: italic; + padding-top: 0.5em; + padding-bottom: 1em; } #content figcaption.center { @@ -297,6 +345,11 @@ kbd { text-transform:capitalize; } +kbd.def { + font-weight:bolder; + margin-right:.2em; +} + kbd.input, kbd.cmd, kbd.osc { @@ -441,6 +494,15 @@ samp:after { clear: both; } +#content img.mini { + width:200px; +} + +#content img.mini:hover { + width: 100%; + /*transition: width .5s ease; doesn't work on right-floated figures */ +} + #content p.center { text-align:center; } @@ -526,25 +588,6 @@ samp:after { .mac .mod14n:before { content: "Cmd Opt";} .mac .mod23n:before { content: "Ctrl Shift";} -/* google search : reset style for the search field */ -#search table, -#search input, -#search tr, -#search td, -#search th, -#search thead, -#search tbody{ - margin: inherit; - padding: inherit; - color: inherit; - border: inherit; - background: inherit; - line-height: inherit; - font-size: inherit; - font-weight: inherit; - box-shadow: inherit; -} - @media (max-width: 800px) { #tree { position: relative; @@ -559,12 +602,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; } +.container { position: relative; border: none; } +.hoverimg { position: absolute; border: none; } .hoverimg:hover{ z-index:100; box-shadow: 0 0 .2em .2em lightgreen; }