manual/source/css/app.css

691 lines
10 KiB
CSS
Raw Normal View History

2013-01-29 19:26:36 -05:00
#tree {
2015-06-07 22:17:53 -04:00
background-color: #212A30;
2013-01-29 19:26:36 -05:00
height: 100%;
overflow: scroll;
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 300px;
}
#tree-inner {
padding: 15px 20px 30px 30px;
}
2013-01-29 19:26:36 -05:00
#tree h1.title {
font-size: 28px;
margin-bottom: 20px;
font-weight: normal;
}
#tree h1.title a:hover {
2013-03-11 15:02:24 -04:00
border-bottom: none;
2013-01-29 19:26:36 -05:00
}
#tree a {
font-size: 14px;
2013-01-29 19:26:36 -05:00
line-height: 28px;
}
#tree dd.other {
display: none;
}
#tree .level-1,
#tree .parent,
#tree .child,
#tree .parent *,
#tree .child * {
display: inherit;
2013-03-11 15:02:24 -04:00
color: inherit;
2013-01-29 19:26:36 -05:00
}
#tree dd.child-1,
#tree .child-2,
#tree .child-3,
#tree .child-4 {
display: none;
2013-01-29 19:26:36 -05:00
}
#search {
height: 70px;
}
2013-01-29 19:26:36 -05:00
#content {
padding: 10px 30px 30px 350px;
2013-01-29 19:26:36 -05:00
margin-left: 0;
}
#content-main {
padding-top: 10px;
padding-left: 10px;
}
2013-01-29 19:26:36 -05:00
#content p,
#content li,
#content dt,
#content dd {
font-size: 16px;
line-height: 28px;
2013-01-29 19:26:36 -05:00
}
#tree a {
display: inline !important;
font-weight: normal;
2015-06-07 22:17:53 -04:00
color: #E4E4E4;
2013-01-29 19:26:36 -05:00
border-bottom: 1px solid transparent;
padding-bottom: 2px;
}
#tree a:hover {
text-decoration: none;
border-bottom: 1px solid #aaa;
}
#tree .active > a {
display: inline;
2015-06-07 22:17:53 -04:00
color: #da0808;
border-bottom: 1px solid #FFF;
2013-01-29 19:26:36 -05:00
}
#content,
#tree {
font-family: Junge;
}
#content h1,
#content h2,
#content h3,
#content h4 {
font-weight: normal;
}
#content h1.title {
border-bottom: 2px solid #ccc;
padding-bottom: 10px;
margin-bottom: 40px;
}
#content h2 {
margin: 30px 0 20px 0;
padding-bottom: 5px;
font-size: 22px;
2013-01-29 19:26:36 -05:00
border-bottom: 2px solid #ddd;
}
#content h3 {
margin: 20px 0 10px 0;
2013-01-29 19:26:36 -05:00
padding-bottom: 5px;
font-size: 20px;
2013-01-29 19:26:36 -05:00
border-bottom: 1px solid #eee;
}
#content h4 {
font-size: 18px;
margin: 20px 0 10px 0;
2013-01-29 19:26:36 -05:00
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
#content code {
font-size: 14px;
color: #555;
}
#content dl
{
float:none;
clear:both;
width:100%;
2013-01-29 19:26:36 -05:00
margin: 1em 0;
padding: 0;
}
#content dl:after {
content:' ';
display:block;
clear:both;
}
2013-01-29 19:26:36 -05:00
#content dt
{
clear: left;
float: left;
width: 25%;
margin: 0;
padding: 5px;
font-weight: normal;
}
2013-01-29 19:26:36 -05:00
#content dd
{
float: left;
width: 65%;
margin: 0;
padding: 5px;
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;
}
2013-01-29 19:26:36 -05:00
/* Keyboard binding layout */
#content dl.bindings
{
float: left;
width: 100%;
margin: 1em 0;
padding: 0;
}
2013-01-29 19:26:36 -05:00
#content .bindings dt
{
clear: left;
float: left;
width: 65%;
2013-01-29 19:26:36 -05:00
margin: 0;
padding: 0px;
font-size: 100%;
font-family: "Trebuchet MS", "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
}
2013-01-29 19:26:36 -05:00
#content .bindings dd
{
float: left;
width: 30%;
2013-01-29 19:26:36 -05:00
margin: 0;
padding: 0px;
font-size: 110%;
font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;
font-weight: normal;
}
#content dl.wide-table
{
float: left;
width: 100%;
margin: 1em 0;
padding: 0;
}
2013-01-29 19:26:36 -05:00
#content .wide-table dt
{
font-weight: normal;
clear: left;
float: left;
width: 30%;
margin: 0;
padding: 5px;
}
#content dt,
#content dd {
border-top: 2px solid #eee;
}
#content dt:first-child,
#content dd:nth-child(2) {
border-top: none;
}
2013-01-29 19:26:36 -05:00
#content .wide-table dd
{
float: left;
width: 60%;
margin: 0;
padding: 5px;
}
#content dl.narrower-table
{
float: left;
width: 100%;
margin: 1em 0;
padding: 0;
}
2013-01-29 19:26:36 -05:00
#content .narrower-table dt
{
clear: left;
float: left;
width: 20%;
margin: 0;
padding: 5px;
}
2013-01-29 19:26:36 -05:00
#content .narrower-table dd
{
float: left;
width: 70%;
margin: 0;
padding: 5px;
}
kbd {
2013-01-29 19:26:36 -05:00
-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;
2013-01-29 19:26:36 -05:00
color:#000000;
padding:1px 2px;
2013-01-29 19:26:36 -05:00
white-space:nowrap;
text-transform:capitalize;
2013-01-29 19:26:36 -05:00
}
2014-02-05 18:59:35 -05:00
kbd.input,kbd.cmd,kbd.osc {
font-family:mono;
border-width:0;
text-transform:none;
}
kbd.cmd {
display:block;
width:100%;
margin-bottom:1ex;
text-transform:none;
}
kbd.cmd.lin:before {
content: 'user@linux:~ ';
color:#999999;
}
kbd.cmd.mac:before {
content: 'MacBook:~/Desktop User\$ ';
color:#999999;
}
kbd.cmd.win:before {
content: 'C:\\Users\\myAccount> ';
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;
}
kbd.optoff:after {
content:url('/images/checkbox-unchecked.png');
}
kbd.option:after {
content:url('/images/checkbox-checked.png');
}
kbd.menu {
border:none;
background-color:transparent;
font-weight:bold;
font-stretch:extra-condensed;
white-space:normal;
}
2014-02-05 18:59:35 -05:00
kbd.osc {
}
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 {
-moz-border-radius:12px;
border-radius:12px;
border-width: 1px 1px 9px 9px;
}
kbd.button {
-moz-border-radius:8px;
border-radius:8px;
border-width: 1px 1px 3px 3px;
}
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;
}
2014-02-06 16:15:03 -05:00
#content img.right {
margin: 0 0 1em 1em;
float:right;
2014-02-06 16:15:03 -05:00
clear:right;
}
2014-02-06 16:15:03 -05:00
#content img.left {
margin:0 1em 1em 0;
float:left;
2014-02-06 16:15:03 -05:00
clear:left;
}
#content img.center {
display: block;
margin:1em auto 1em auto;
clear: both;
}
#content p.center {
text-align:center;
}
2014-02-05 05:19:59 -05:00
#content .note,.warning,.fixme {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
2014-02-05 05:19:59 -05:00
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);
2014-02-05 05:19:59 -05:00
}
#content .note {
border-color: #e3e3e3;
background-color: #f5f5f5;
}
#content .warning {
2014-02-05 05:19:59 -05:00
border-color: #995555;
background-color: #ffeeee;
}
2013-01-29 19:26:36 -05:00
2014-02-05 05:19:59 -05:00
#content .fixme {
border-color: #999944;
background-color: #f0f0e0;
2014-02-05 06:05:41 -05:00
font-weight:bold;
2014-02-05 05:19:59 -05:00
}
.fixme:before {
content:'FIXME: ';
font-style: italic;
2014-02-05 06:05:41 -05:00
font-size:200%;
2014-02-05 05:19:59 -05:00
}
/* Keyboard modifiers */
2013-01-29 19:26:36 -05:00
.mod1:before {
content: "Ctrl ";
2013-01-29 19:26:36 -05:00
}
.mod2:before {
content: "Alt ";
2013-01-29 19:26:36 -05:00
}
.mod3:before {
content: "Shift ";
}
2013-01-29 19:26:36 -05:00
.mod4:before {
content: "Win ";
2013-01-29 19:26:36 -05:00
}
.mod12:before {
content: "Ctrl Alt ";
2013-01-29 19:26:36 -05:00
}
.mod13:before {
2014-02-04 14:06:25 -05:00
content: "Ctrl Shift ";
2013-01-29 19:26:36 -05:00
}
.mod14:before {
content: "Ctrl Win ";
2013-01-29 19:26:36 -05:00
}
2014-02-06 18:04:38 -05:00
.mod23:before {
content: "Alt Shift ";
}
.kp:before {
content: "Keypad ";
}
2013-01-29 19:26:36 -05:00
/* 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 */
2013-01-29 19:26:36 -05:00
.mac .mod1:before {
content: "Cmd ";
2013-01-29 19:26:36 -05:00
}
.mac .mod2:before {
content: "Ctrl ";
2013-01-29 19:26:36 -05:00
}
.mac .mod3:before {
content: "Shift ";
}
2013-01-29 19:26:36 -05:00
.mac .mod4:before {
content: "Opt ";
2013-01-29 19:26:36 -05:00
}
.mac .mod12:before {
content: "Cmd Ctrl ";
2013-01-29 19:26:36 -05:00
}
.mac .mod13:before {
content: "Cmd Shift ";
2013-01-29 19:26:36 -05:00
}
.mac .mod14:before {
content: "Cmd Opt ";
2013-01-29 19:26:36 -05:00
}
2014-02-06 18:04:38 -05:00
.mac .mod23:before {
content: "Ctrl Shift ";
}
2013-01-29 19:26:36 -05:00
/* 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;
padding-bottom: 0;
}
@media (max-width: 800px) {
#tree {
position: relative;
height: 250px;
width: 100%;
margin-top: 20px;
}
#content {
padding-left: 20px;
margin-top: 0px;
}
}
2013-01-29 19:26:36 -05:00
#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; }