Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * this does not require a reset.css or normalize.css
- * normally placed before
- * don't use: font-size: larger/smaller; font-weight: bolder; filter:
- *
- * BODY FONT-SIZE 13PX
- * http://riddle.pl/emcalc/
- * -----------------------------------
- * Pixels EMs Percent Points
- * 1px 0.077em
- * 2px 0.154em
- * 3px 0.231em
- * 4px 0.308em
- * 5px 0.385em
- * 6px 0.462em 46.2% 5pt
- * 7px 0.538em 53.8% 5pt
- * 8px 0.615em 61.5% 6pt
- * 9px 0.692em 69.2% 7pt
- * 10px 0.769em 76.9% 8pt
- * 11px 0.846em 84.6% 8pt
- * 12px 0.923em 92.3% 9pt
- * 13px 1em 100% 10pt
- * 14px 1.077em 107.7% 11pt
- * 15px 1.154em 115.4% 11pt
- * 16px 1.231em 123.1% 12pt
- * 17px 1.308em 130.8% 13pt
- * 18px 1.385em 138.5% 14pt
- * 19px 1.462em 146.2% 14pt
- * 20px 1.538em 153.8% 15pt
- * 21px 1.615em 161.5% 16pt
- * 22px 1.692em 169.2% 17pt
- * 23px 1.769em 176.9% 17pt
- * 24px 1.846em 184.6% 18pt
- * 25px 1.923em
- * 28px 2.154em
- * 29px 2.231em
- * 32px 2.462em
- * 36px 2.769em
- * 37px 2.846em
- * 38px 2.923em
- * 39px 3.077em
- * 40px 3em
- * ----------------------------------
- * MODULAR SCALE
- * http://modularscale.com/scale/?px1=13&px2=11&ra1=1.5&ra2=0
- * ----------------------
- * 13px @ 1:1.5
- * 11px @ 1:1.5
- * ----------------------
- * Pixels Ems % of 13
- * 1,124.483 86.499 8,649.869
- * 951.483 73.191 7,319.100
- * 749.655 57.666 5,766.577
- * 634.322 48.794 4,879.400
- * 499.770 38.444 3,844.385
- * 422.881 32.529 3,252.931
- * 333.180 25.629 2,562.923
- * 281.921 21.686 2,168.623
- * 222.120 17.086 1,708.615
- * 187.947 14.457 1,445.746
- * 148.080 11.391 1,139.077
- * 125.298 9.638 963.831
- * 98.720 7.594 759.385
- * 83.532 6.426 642.554
- * 65.813 5.063 506.254
- * 55.688 4.284 428.369
- * 43.875 3.375 337.500
- * 37.125 2.856 285.577
- * 29.250 2.25 225.000
- * 24.750 1.904 190.385
- * 19.500 1.5 150.000
- * 16.500 1.269 126.923
- * 13.000 1 100.000
- * 11.000 0.846 84.615
- * 8.667 0.667 66.669
- * 7.333 0.564 56.408
- * 5.778 0.444 44.446
- * 4.889 0.376 37.608
- * 3.852 0.296 29.631
- * 3.259 0.251 25.069
- * 2.568 0.198 19.754
- * 2.173 0.167 16.715
- * 1.712 0.132 13.169
- * 1.449 0.111 11.146
- * 1.141 0.088 8.777
- */
- a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote,
- body, canvas, caption, center, cite, code, dd, del, details, dfn, dialog, div,
- dl, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3,
- h4, h5, h6, header, hgroup, hr, html, i, iframe, img, ins, kbd, label, legend,
- li, mark, menu, meter, nav, object, ol, output, p, pre, progress, q, rp, rt,
- ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table,
- tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video, xmp {
- border: 0;
- font-size: 100%;
- margin: 0;
- padding: 0;
- }
- article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
- section, summary {
- display: block;
- }
- html {
- font: 100.01% sans-serif;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%;
- }
- body {
- font: 13px/1.538 "Open Sans", "DejaVu Sans", sans-serif;
- background: #fff;
- color: #333;
- }
- html,
- body {
- height: 100%;
- }
- [hidden] {
- display: none;
- }
- /* ANCHORS */
- a {
- color: #0066cd;
- text-decoration: none;
- }
- a:active,
- a:hover {
- outline: 0;
- }
- a:focus {
- outline: thin dotted;
- }
- a:focus,
- a:hover {
- color: #ce7b1f;
- }
- a:hover {
- text-decoration: underline;
- }
- /* HEADINGS */
- h1 {
- font-size: 284.6%;
- /* line-height: 1.385; */
- }
- h1 img,
- h2 img,
- h3 img,
- h4 img,
- h5 img,
- h6 img {
- margin: 0;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: inherit;
- font-weight: 600;
- }
- h2 {
- font-size: 153.8%;
- }
- h3,
- h4,
- h5,
- h6 {
- font-size: 130.8%;
- }
- /* IMAGES */
- img {
- font-size: 0;
- border: 0;
- color: transparent;
- vertical-align: middle;
- -ms-interpolation-mode: bicubic;
- }
- svg:not(:root) {
- overflow: hidden;
- }
- figure {
- margin: 0;
- }
- /* AUDIO AND VIDEO */
- audio,
- canvas,
- video {
- display: inline-block;
- }
- audio:not([controls]) {
- display: none;
- height: 0;
- }
- /* LISTS */
- dd,
- li {
- margin-left: 2em;
- }
- dl dt {
- font-size: 130.8%;
- font-weight: 600;
- }
- dl,
- ul,
- ol {
- margin-left: 0;
- margin-right: 0;
- margin-top: 0;
- padding-left: 0;
- }
- li {
- display: list-item;
- }
- ol {
- list-style: decimal;
- }
- ul {
- list-style: disc;
- }
- p {
- font-weight: 400;
- }
- /* ADDRESS AND BLOCKQUOTE */
- address,
- blockquote {
- font-style: italic;
- font-weight: 400;
- }
- blockquote {
- margin-left: 2em;
- }
- /* PRE AND SPAN */
- pre {
- overflow: auto;
- white-space: pre;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- pre,
- pre code {
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- padding: 5px 7px;
- }
- pre,
- pre code,
- pre a {
- font: 92.3% "Ubuntu Mono", "Consolas", "Menlo", "Monaco", "Lucida Console",
- "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
- "Courier New", monospace, serif;
- }
- /* INLINE TEXT FORMATTING */
- abbr,
- abbr[title],
- acronym {
- border-bottom: 1px dotted #d1cfcf;
- }
- dfn {
- font-style: italic;
- }
- em,
- i,
- cite,
- dfn {
- font-style: italic;
- font-weight: 400;
- }
- mark {
- background: #f5f5f5;
- color: inherit;
- }
- q {
- quotes: "\201C" "\201D" "\2018" "\2019";
- }
- q:before,
- q:after {
- content: "";
- }
- strong,
- b,
- dfn {
- font-size: 123.1%;
- font-weight: 600;
- }
- sub {
- bottom: -.25em;
- }
- sub,
- sup {
- line-height: 0;
- position: relative;
- vertical-align: baseline;
- }
- sub,
- sup,
- small {
- font-size: 76.9%;
- }
- sup {
- top: -.5em;
- }
- tt,
- kbd,
- samp {
- font: 92.3% "Ubuntu Mono", "Consolas", "Menlo", "Monaco", "Lucida Console",
- "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
- "Courier New", monospace, serif;
- }
- /* TABLES */
- table {
- border-collapse: collapse;
- border-spacing: 0;
- width: auto;
- }
- td table {
- font-size: 100%;
- margin-bottom: 0;
- }
- th,
- td {
- border-collapse: collapse;
- }
- caption,
- th,
- td {
- font-size: 92.3%;
- font-weight: 400;
- padding: 5px 7px;
- text-align: left;
- vertical-align: top;
- }
- caption,
- th,
- tfoot {
- font-style: italic;
- }
- /* MARK-UP */
- hr {
- border: 0 #D1CFCF solid;
- border-top-width: 1px;
- clear: both;
- height: 0;
- }
- /* FORM */
- /**
- * to have equal height for button, input, select:
- * 1) box-sizing: border-box; (for buttons, text inputs, and select)
- * 2) height: 31px; (for buttons and select)
- * 3) line-height: inherit; (for buttons, text inputs, and select
- * - maybe not needed)
- * 4) padding: 3px 5px; (for buttons, text inputs, and select)
- * 5) -webkit-appearance: none; (for select in Safari)
- */
- button,
- html input[type="button"],
- input[type="reset"],
- input[type="submit"] {
- cursor: pointer;
- -webkit-appearance: button;
- }
- button,
- input,
- select {
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- line-height: inherit;
- vertical-align: middle;
- }
- button,
- input,
- select,
- textarea {
- margin: 0;
- }
- button,
- input[type="password"],
- input[type="text"],
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- input[type="file"] {
- display: inline-block;
- margin: 0 0 0 6px;
- vertical-align: middle;
- width: auto;
- }
- button,
- input[type="submit"],
- input[type="reset"],
- input[type="button"] {
- background: #fcfcfc;
- background: -moz-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(224,224,224,1) 100%);
- background: -webkit-gradient(linear,left top,left bottom,
- color-stop(0%,rgba(252,252,252,1)),color-stop(100%,rgba(224,224,224,1)));
- background: -webkit-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(224,224,224,1) 100%);
- background: -o-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(224,224,224,1) 100%);
- background: -ms-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(224,224,224,1) 100%);
- background: linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(224,224,224,1) 100%);
- color: inherit;
- cursor: pointer;
- display: inline-block;
- left: 0;
- overflow: visible;
- position: relative;
- text-decoration: none;
- text-shadow: 0 1px 0 #fff;
- top: 0;
- vertical-align: middle;
- width: auto;
- zoom: 1;
- }
- button,
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- input[type="password"],
- input[type="text"],
- select {
- height: 31px;
- }
- button,
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- input[type="password"],
- input[type="text"],
- select,
- textarea,
- fieldset,
- legend {
- border: 1px solid #d1cfcf;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- padding: 3px 5px;
- }
- button::-moz-focus-inner,
- input::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
- button:hover,
- input[type="submit"]:hover,
- input[type="reset"]:hover,
- input[type="button"]:hover {
- background: #fcfcfc;
- background: -moz-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(237,237,237,1) 100%);
- background: -webkit-gradient(linear,left top,left bottom,
- color-stop(0%,rgba(252,252,252,1)),color-stop(100%,rgba(237,237,237,1)));
- background: -webkit-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(237,237,237,1) 100%);
- background: -o-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(237,237,237,1) 100%);
- background: -ms-linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(237,237,237,1) 100%);
- background: linear-gradient(top,rgba(252,252,252,1) 0%,
- rgba(237,237,237,1) 100%);
- }
- button[disabled],
- input[disabled] {
- cursor: default;
- }
- fieldset {
- background: #f5f5f5;
- border: 1px solid #d1cfcf;
- left: 0;
- margin-left: 0;
- margin-right: 0;
- margin-top: 0;
- padding: 5px 7px;
- position: relative;
- top: 0;
- }
- fieldset p:last-child {
- margin-bottom: 0;
- }
- fieldset,
- select,
- textarea,
- button,
- input {
- font-family: inherit;
- font-size: 100%;
- font-weight: 400;
- }
- form {
- margin: 0;
- padding: 0;
- }
- input {
- display: inline-block;
- }
- input::-moz-focus-inner {
- border: 0;
- }
- input::-webkit-input-placeholder,
- input:-moz-placeholder {
- color: #d1cfcf;
- }
- input[disabled="disabled"] {
- background: #f5f5f5;
- color: #999;
- box-shadow: inset 0 1px 2px #ddd;
- -moz-box-shadow: inset 0 0 2px #ddd;
- -webkit-box-shadow: inset 0 1px 2px #ddd;
- }
- input[type="checkbox"],
- input[type="radio"] {
- background: none;
- border: 0;
- display: inline-block;
- margin: 0 0 0 6px;
- padding: 0;
- vertical-align: baseline;
- width: auto;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: content-box;
- }
- input[type="file"] {
- box-shadow: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- }
- input[type="search"] {
- box-sizing: content-box;
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box;
- -webkit-appearance: textfield;
- }
- input[type="search"]::-webkit-search-cancel-button,
- input[type="search"]::-webkit-search-decoration,
- select {
- -webkit-appearance: none;
- }
- input[type="submit"] img,
- input[type="reset"] img,
- input[type="button"] img {
- display: inline;
- margin: 0;
- padding: 0;
- vertical-align: middle;
- }
- label {
- display: inline-block;
- font-size: 76.9%;
- font-weight: 400;
- margin-left: 6px;
- margin-top: 0;
- }
- legend {
- background: #f5f5f5;
- border: 1px solid #d1cfcf;
- font-family: inherit;
- font-weight: 400;
- margin-bottom: 0;
- margin-top: 0;
- padding: 3px 5px;
- }
- select,
- textarea {
- display: inline-block;
- width: auto;
- }
- textarea {
- height: auto;
- overflow: auto;
- vertical-align: top;
- }
- textarea,
- input[type="text"],
- input[type="password"] {
- background: #fff;
- }
- textarea:focus,
- select:focus,
- input[type="text"]:focus,
- input[type="password"]:focus {
- border-color: #ce7b1f;
- }
- /* SHOULD BE AT THE BOTTOM */
- p, dl, h1, h2, h3, h4, h5, h6, hr, ol, ul, pre, pre code, table, address,
- fieldset, figure {
- margin-bottom: 20px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement