//***************************************************************************** // Styles that bring an Apple-like look to your applications' help files. // // * Used in conjunction with normalize.css to establish sane defaults. // * We have *structural* containers and *styling* containers. // * There's no such thing as padding and margins on anything unless they're // part of a styling container, or inside of a styling container that // sets them for them. // * Structural containers only have size and position and visibility. // * Styling containers set styles for elements inside of them. // * This is a "minimal" version of this file intended for very basic // support of Gem documentation. //***************************************************************************** //************************************* // Mixins //************************************* // Easily include backgrounds for multiple browsers, just in case. // You might require Compass in your own projects, instead. @mixin background( $property ) { background: -o-#{$property}; background: -moz-#{$property}; background: -webkit-#{$property}; background: #{$property}; } //************************************* // GENERAL STYLES //************************************* $interMargins: 1.5ex; $linkColor: rgb(99,136,193); $strongColor: rgb(75,75,75); $standard_border: 1px solid #bfbfbf; * { margin: 0; padding: 0; } html { font-size: 11pt; height: 100%; } body { font-family: -apple-system-font, -webkit-system-font, "HelveticaNeue", "Helvetica Neue", "Helvetica", sans-serif; height: 100%; min-width: 600px; } h1 { font-size: 1.7em; font-weight: normal; } h2 { font-size: 1.5em; font-weight: normal; } h3 { font-size: 1.3em; font-weight: normal; } p { font-size: 1.0em; line-height: 1.6em; } a { text-decoration: none; font-size: 1.05em; color: $linkColor; &:visited { color: $linkColor; } &:hover { text-decoration: underline; } } strong { color: $strongColor; } hr { text-decoration: none; border: none; border-bottom: $standard_border; margin: ($interMargins * 2) 10% ($interMargins * 2) 10%; } // "standard" img should always be a block and centered // and assume 100% width. Can set max-width to prevent // oversized images in another class. img { display: block; //width: 100%; margin: 0 auto 0 auto; } // "standard" dl only spaces the items. Set the
in // a styling container if you want padding or margins. dl { dt code { font-weight: bold; } dd { margin: 0.8ex 0 0.8ex 3em; } } // "standard" ul has no margins or padding, except left margin. ul { list-style: square outside; margin-left: 2em; } // "standard" li only spaces the items. Set the