]> Shamusworld >> Repos - ardour-manual/blobdiff - source/css/app.css
Restyling, typos
[ardour-manual] / source / css / app.css
index 0802831ecd928d12b7f472a96184454a0494d270..8fe18fe0f2978026ca933e0e5c9e78bdef1d30b6 100644 (file)
 
 #content figcaption {
        display: table-caption;
-       caption-side: bottom ;
+       caption-side: bottom;
+       font-style: italic;
+}
+
+#content figcaption.center {
+       display: table-caption;
+       text-align: center;
+       caption-side: bottom;
+       font-style: italic;
 }
 
 #content figcaption.titleover {
 
 #content figure.right {
     margin: 0 0 1em 1em;
-    float:right;
-    clear:right;
+    float: right;
+    clear: right;
 }
 
 #content figure.left {
     margin: 0 1em 1em 0;
-    float:left;
-    clear:left;
+    float: left;
+    clear: left;
+}
+
+#content figure.center {
+    margin: 1em auto 1em auto;
+    clear: both;
 }
 
 .multicol2 {
 }
 
 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:2px 2px 4px 4px;
-    color:#000000;
-    padding:1px 2px;
-    white-space:nowrap;
-    text-transform:capitalize;
+  display: inline;
+  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;
+  -moz-border-radius: .3em;
+  -webkit-border-radius: .3em;
+  border-radius: .3em;
+  border: none;
+  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);
+  -moz-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);
+  -webkit-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);
+  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 {
@@ -353,6 +379,14 @@ kbd.cmd {
     width:100%;
     margin-bottom:1ex;
     text-transform:none;
+    background: rgb(220, 220, 220);
+    text-shadow: none;
+    -moz-box-shadow: none;
+    -webkit-box-shadow: none;
+    box-shadow: none;
+    text-align:left;
+
+
 }
 
 kbd.cmd.lin:before {
@@ -370,36 +404,30 @@ kbd.cmd.win:before {
     color:#999999;
 }
 
-kbd.mouse {
-    -moz-border-radius:10px;
-    border-radius:10px;
-}
-
-/*
-.mouse:after {
-    position:relative;
-    top:-1em;
-    left:-1em;
-    content:url('/images/mouse-tail.png');
-}
-*/
-
 kbd.optoff, kbd.option {
     border:none;
-    background-color:transparent;
+    background:none;
+    /*-moz-box-shadow: none;
+    -webkit-box-shadow: none;
+    box-shadow: none;*/
+
 }
 
-kbd.optoff:after {
+kbd.optoff:before {
     content:url('/images/checkbox-unchecked.png');
+    margin: 0 5px 0 0;
+    vertical-align:middle;
 }
 
-kbd.option:after {
+kbd.option:before {
     content:url('/images/checkbox-checked.png');
+    margin: 0 5px 0 0;
+    vertical-align:middle;
 }
 
 kbd.menu {
     border:none;
-    background-color:transparent;
+    background:none;
     font-weight:bold;
     font-stretch:extra-condensed;
     white-space:normal;
@@ -433,6 +461,12 @@ kbd.button {
     border-width: 1px 1px 3px 3px;
 }
 
+kbd.mouse {
+    -moz-border-radius:10px;
+    border-radius:10px;
+}
+
+
 samp {
     font-family:mono;
     font-style:italic;
@@ -480,6 +514,12 @@ samp:after {
     clear:left;
 }
 
+#content img.center {
+    display: block;
+    margin:1em auto 1em auto;
+       clear: both;
+}
+
 #content p.center {
        text-align:center;
 }
@@ -522,7 +562,7 @@ samp:after {
 }
 
 
-
+/* Keyboard modifiers */
 
 .mod1:before {
     content: "Ctrl ";
@@ -552,6 +592,36 @@ samp:after {
     content: "Keypad ";
 }
 
+/* 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 ";
 }
@@ -577,6 +647,34 @@ samp:after {
     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 {
 
   padding-top: 2px;
@@ -598,8 +696,9 @@ samp:after {
 }
 
 #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; }