X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fcss%2Fapp.css;h=a1f961913645be0c955570a9f645c8eb88395343;hb=49e5d68129377abe690f4d07e7b8cc5b12c2831c;hp=f78a6c2d0541e75d771356440ec3d211cc1e3073;hpb=005661191bcd3c4568c2b687e9bc219e1c7f8fd3;p=ardour-manual diff --git a/source/css/app.css b/source/css/app.css index f78a6c2..a1f9619 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -1,5 +1,5 @@ #tree { - background-color: #eee; + background-color: #212A30; height: 100%; overflow: scroll; position: fixed; @@ -10,7 +10,7 @@ } #tree-inner { - padding: 15px 20px 30px 30px; + padding: 15px 20px 30px 30px; } #tree h1.title { @@ -24,7 +24,7 @@ } #tree a { - font-size: 14px; + font-size: 14px; line-height: 28px; } @@ -37,7 +37,7 @@ #tree .child, #tree .parent *, #tree .child * { - display: inherit; + display: inherit; color: inherit; } @@ -45,7 +45,7 @@ #tree .child-2, #tree .child-3, #tree .child-4 { - display: none; + display: none; } @@ -68,14 +68,14 @@ #content dt, #content dd { font-size: 16px; - line-height: 28px; + line-height: 28px; } #tree a { display: inline !important; - font-weight: normal; - color: #666; + font-weight: normal; + color: #E4E4E4; border-bottom: 1px solid transparent; padding-bottom: 2px; } @@ -87,8 +87,8 @@ #tree .active > a { display: inline; - color: #000; - border-bottom: 1px solid #555; + color: #da0808; + border-bottom: 1px solid #FFF; } @@ -118,7 +118,7 @@ } #content h3 { - margin: 20px 0 10px 0; + margin: 20px 0 10px 0; padding-bottom: 5px; font-size: 20px; border-bottom: 1px solid #eee; @@ -127,7 +127,7 @@ #content h4 { font-size: 18px; - margin: 20px 0 10px 0; + margin: 20px 0 10px 0; padding-bottom: 10px; border-bottom: 1px solid #eee; } @@ -139,12 +139,19 @@ #content dl { - float: left; - width: 100%; + float:none; + clear:both; + width:100%; margin: 1em 0; padding: 0; } - + +#content dl:after { + content:' '; + display:block; + clear:both; +} + #content dt { clear: left; @@ -154,7 +161,7 @@ padding: 5px; font-weight: normal; } - + #content dd { float: left; @@ -164,6 +171,81 @@ font-weight: normal; } +#content dt.sub1 { + padding-left: 2em; +} + +#content dt.sub2 { + padding-left: 4em; +} + + +#content figure { + display: table; +} + +#content figcaption { + display: table-caption; + caption-side: bottom; + font-style: italic; +} + +#content figcaption.center { + display: table-caption; + text-align: center; + caption-side: bottom; + font-style: italic; +} + +#content figcaption.titleover { + caption-side: top ; +} + +#content figure.right { + margin: 0 0 1em 1em; + float: right; + clear: right; +} + +#content figure.left { + margin: 0 1em 1em 0; + float: left; + clear: left; +} + +#content figure.center { + margin: 1em auto 1em auto; + 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; +} + +.multicol4 { + width: 23%; + float:left; + padding:0 0 0 2%; + margin:0; +} + +.multicol5 { + width: 18%; + float:left; + padding:0 0 0 2%; + margin:0; +} + /* Keyboard binding layout */ #content dl.bindings { @@ -172,23 +254,23 @@ margin: 1em 0; padding: 0; } - + #content .bindings dt { clear: left; float: left; - width: 30%; + width: 65%; margin: 0; padding: 0px; font-size: 100%; font-family: "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif; font-weight: normal; } - + #content .bindings dd { float: left; - width: 65%; + width: 30%; margin: 0; padding: 0px; font-size: 110%; @@ -204,10 +286,10 @@ margin: 1em 0; padding: 0; } - + #content .wide-table dt { - font-weight: normal; + font-weight: normal; clear: left; float: left; width: 30%; @@ -224,7 +306,7 @@ #content dd:nth-child(2) { border-top: none; } - + #content .wide-table dd { float: left; @@ -240,7 +322,7 @@ margin: 1em 0; padding: 0; } - + #content .narrower-table dt { clear: left; @@ -249,7 +331,7 @@ margin: 0; padding: 5px; } - + #content .narrower-table dd { float: left; @@ -258,68 +340,328 @@ padding: 5px; } -#content kbd { - -moz-background-clip:border; - -moz-background-inline-policy:continuous; - -moz-background-origin:padding; - background:#EEEEEE none repeat scroll 0 0; - border-color:#CCCCCC #AAAAAA #888888 #BBBBBB; - border-style:solid; - border-width:1px 1px 2px 2px; - color:#000000; - padding:2px 1px; - white-space:nowrap; +kbd { + display: inline-block; + min-width: 1em; + padding: .2em .3em; + font: normal .85em/1 "Lucida Grande", Lucida, Arial, 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))); + 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); + } +kbd.input,kbd.cmd,kbd.osc { + font-family:mono; + border-width:0; + text-transform:none; +} -.mod1:before { - content: "Ctrl-"; +kbd.input { + background:none; + border-radius: 0; } -.mod2:before { - content: "Alt-"; +kbd.cmd { + display:block; + width:100%; + margin-bottom:1ex; + text-transform:none; + background: rgb(220, 220, 220); + text-shadow: none; + box-shadow: none; + text-align:left; } -.mod4:before { - content: "Win-"; +kbd.cmd.lin:before { + content: 'user@linux:~ '; + color:#999999; } -.mod12:before { - content: "Ctrl-Alt-"; +kbd.cmd.mac:before { + content: 'MacBook:~/Desktop User\$ '; + color:#999999; } -.mod13:before { - content: "Ctrl-Shift-"; +kbd.cmd.win:before { + content: 'C:\\Users\\myAccount> '; + color:#999999; +} + +kbd.optoff, kbd.option { + border:none; + background:none; +} + +kbd.optoff:before { + content:url('/images/checkbox-unchecked.png'); + margin: 0 5px 0 0; + vertical-align:middle; +} + +kbd.option:before { + content:url('/images/checkbox-checked.png'); + margin: 0 5px 0 0; + vertical-align:middle; +} + +kbd.menu { + border:none; + background:none; + font-weight:bold; + font-stretch:extra-condensed; + white-space:normal; +} + +kbd.osc { + border:none; + background:none; + font-stretch:extra-condensed; + white-space:normal; + text-align:left; +} + +kbd.fader, kbd.knob, kbd.button { + border-color:#ccccff #aaaadd #8888bb #bbbbee; + background-color:#ddddff; + color:#000044; +} + +kbd.fader { + border-width: 1px 1px 9px 9px; +} + +kbd.knob { + border-radius:12px; + border-width: 1px 1px 9px 9px; +} + +kbd.button { + border-radius:8px; + border-width: 1px 1px 3px 3px; +} + +kbd.mouse { + border-radius:10px; +} + + +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"; +} + +#content td { + padding: 0 1em 0 1em; +} + +#content .small { + width:150px; +} + +#subtopics ul { + font-size:20px; + font-weight:bold; +} + +#content dfn { + font-weight: bold; + 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.center { + display: block; + margin:1em auto 1em auto; + clear: both; +} + +#content p.center { + text-align:center; +} + +#content .note,.warning,.fixme { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + 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 .note { + border-color: #e3e3e3; + background-color: #f5f5f5; +} + +#content .warning { + border-color: #995555; + background-color: #ffeeee; +} + +#content .fixme { + border-color: #999944; + background-color: #f0f0e0; + font-weight:bold; +} + +.fixme:before { + content:'FIXME: '; + font-style: italic; + font-size:200%; +} + + +/* Keyboard modifiers */ + +.mod1:before { + content: "Ctrl "; +} +.mod2:before { + content: "Alt "; +} +.mod3:before { + content: "Shift "; +} +.mod4:before { + content: "Win "; +} +.mod12:before { + content: "Ctrl Alt "; +} +.mod13:before { + content: "Ctrl Shift "; +} .mod14:before { - content: "Ctrl-Win-"; + content: "Ctrl Win "; +} +.mod23:before { + content: "Alt Shift "; +} +.kp:before { + content: "Keypad "; } -.mac .mod1:before { - content: "Cmd-"; +/* Variants *without* space after them (yes, these are needed!) */ + +.mod1n:before { + content: "Ctrl"; +} +.mod2n:before { + content: "Alt"; +} +.mod3n:before { + content: "Shift"; +} +.mod4n:before { + content: "Win"; +} +.mod12n:before { + content: "Ctrl Alt"; +} +.mod13n:before { + content: "Ctrl Shift"; +} +.mod14n:before { + content: "Ctrl Win"; +} +.mod23n:before { + content: "Alt Shift"; } + +/* Automagic translation for Mac based display */ + +.mac .mod1:before { + content: "Cmd "; +} .mac .mod2:before { - content: "Ctrl-"; + content: "Ctrl "; +} +.mac .mod3:before { + content: "Shift "; } - .mac .mod4:before { - content: "Opt-"; + content: "Opt "; } - .mac .mod12:before { - content: "Cmd-Ctrl-"; + content: "Cmd Ctrl "; } - .mac .mod13:before { - content: "Cmd-Shift-"; + content: "Cmd Shift "; } - .mac .mod14:before { - content: "Cmd-Opt-"; + content: "Cmd Opt "; +} +.mac .mod23:before { + content: "Ctrl Shift "; } +/* No space variants (Mac based) */ + +.mac .mod1n:before { + content: "Cmd"; +} +.mac .mod2n:before { + content: "Ctrl"; +} +.mac .mod3n:before { + content: "Shift"; +} +.mac .mod4n:before { + content: "Opt"; +} +.mac .mod12n:before { + content: "Cmd Ctrl"; +} +.mac .mod13n:before { + content: "Cmd Shift"; +} +.mac .mod14n:before { + content: "Cmd Opt"; +} +.mac .mod23n:before { + content: "Ctrl Shift"; +} #gs_tti0 { @@ -329,7 +671,30 @@ } - - - - +@media (max-width: 800px) { + #tree { + position: relative; + height: 250px; + width: 100%; + margin-top: 20px; + } + #content { + padding-left: 20px; + margin-top: 0px; + } +} + +#chapter { padding-top: 1em; padding-left: 1em; } +#subchapter { padding-left: 4em; } +#section { padding-left: 6em; } +#subsection { padding-left: 8em; } + +#content table.alternate{ border-collapse:collapse; } +.alternate td{ padding:7px; border:#4e95f4 1px solid; } +.alternate tr{ background: #b8d1f3; } +.alternate tr:nth-child(odd){ background: #b8d1f3; } +.alternate tr:nth-child(even){ background: #dae5f4; } + +.container { position:relative; border: none;} +.hoverimg { position: absolute; border: none; } +.hoverimg:hover{ z-index:100; box-shadow: 0 0 5px 5px lightgreen; }