css * Description: sets typography, basic grids, and standard formstyles * Version: 1.0.0 (2012-06-16) * Author: Ryan Martinez == INDEX =============================================== $__generic classes classes used globally, should be at bottom to prevent semantic inheritance ------------------------------------------------------------*/ /*-------------------------------------*/ /* RESET */ /*-------------------------------------*/ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } html, button, input, select, textarea { font-family: sans-serif; color: #222; } /* * Remove text-shadow in selection highlight: h5bp.com/i * These selection declarations have to be separate * Also: hot pink! (or customize the background color to match your design) */ ::-moz-selection { background: rgba(2,139,255,1); /* blue */ color: #fff; text-shadow: none; } ::selection { background: rgba(2,139,255,1); /* blue */ color: #fff; text-shadow: none; } /* Improve readability of pre-formatted text in all browsers */ pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } /* Position subscript and superscript content without affecting line-height: h5bp.com/k */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } body { color: #444; font-size: 12px; line-height: 18px; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ -webkit-text-size-adjust: 100%; } /*-------------------------------------*/ /* HEADER STYLES */ /*-------------------------------------*/ h1, h2, h3, h4, h5, h6 { display: block; color: #333; font-family: Arial, Helvetica, sans-serif; font-weight: bold; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } h1 { font-size: 38px; line-height: 54px; letter-spacing: normal; margin-top: 8px; margin-bottom: 10px; } h2 { font-size: 32px; line-height: 36px; letter-spacing: normal; margin-top: 8px; margin-bottom: 10px; } h3 { font-size: 28px; line-height: 36px; letter-spacing: normal; margin-top: 8px; margin-bottom: 10px; } h4 { font-size: 22px; line-height: 36px; letter-spacing: normal; } h5 { font-size: 16px; line-height: 18px; letter-spacing: normal; } h6 { font-size: 14px; line-height: 18px; letter-spacing: normal; } /* Module titles */ .Head { display: inline-block; margin-bottom: 6px; } /* Some old forge modules use .Head, .SubHead, .SubSubHead in table td, We keep this to be compatible */ td.Head, td.SubHead, td.SubSubHead { display: table-cell; margin-bottom: 0; } input[type="image"] + span.Head, input[type="image"] + span.SubHead { display: inline; } /*-------------------------------------*/ /* PARAGRAPH STYLES */ /*-------------------------------------*/ p { margin: 0 0 18px 0; } /* margin bottom is equal to line-height */ p img { margin: 0; } em, i { font-style: italic; } strong, b { font-weight: bold; } small { font-size: 80%; } /* Set text size in modules*/ .Normal, .NormalDisabled, .NormalDeleted { color: #444; font-size: 12px; font-weight: normal; line-height: 18px; word-wrap: break-word; } /* disabled text styles */ .NormalDisabled, .NormalDeleted { color: #999; } /* text style used for help text rendered by modules */ .Help { padding: 2px; border: #000 1px solid; background-color: #ff9; font-weight: normal; font-size: 11px; color: #000; } /* text style used for rendered text which requires emphasis */ .NormalBold { font-weight: bold; color: #222; } /* text style used for error messages */ .NormalRed { font-weight: bold; color: red; } /* text style used for rendered text which should appear deleted */ .NormalDeleted { text-decoration: line-through; } /* Blockquotes */ blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } blockquote cite { display: block; font-size: 12px; color: #555; } blockquote cite:before { content: "\2014 \0020"; } blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } hr { clear: both; margin: 17px 0 17px; height: 0; border: solid #ddd; border-width: 1px 0 0; } /*-------------------------------------*/ /* ANCHOR STYLES */ /*-------------------------------------*/ a, a:visited { color: rgb(2,139,255); /*blue*/ text-decoration: underline; outline: 0; } a:hover, a:focus, a:active { color: #222; outline: 0; } p a, p a:visited { line-height: inherit; } /*-------------------------------------*/ /* IMAGE STYLES */ /*-------------------------------------*/ img.dnn-scale-img { max-width: 100%; height: auto; } img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; } #dnn_dnnLOGO_imgLogo { border: 0; } /*-------------------------------------*/ /* lIST STYLES */ /*-------------------------------------*/ ul, ol { margin-bottom: 18px; margin-left: 18px; } ul { list-style: square outside; } ol { list-style: decimal; } /* Nested Styles */ ul ul, ul ol, ol ol, ol ul { margin-left: 18px; margin-bottom: 0; } ol ol { list-style: lower-roman; } li p { line-height: 18px; } /*-------------------------------------*/ /* MESSAGE STYLES */ /*-------------------------------------*/ .dnnFormMessage { display: block; padding: 17px 18px; margin-bottom: 18px; border: 1px solid rgba(2,139,255,0.2); /* blue */ background: rgba(2,139,255,0.15); /* blue */ -webkit-border-radius: 3px; border-radius: 3px; max-width: 980px; } .dnnFormMessage.dnnFormError, .dnnFormMessage.dnnFormValidationSummary { background-color: rgba(255,0,0,0.15); /* red */ border-color: rgba(255,0,0,0.2); /* red */ } .dnnFormMessage.dnnFormWarning { background-color: rgba(255,255,0,0.15); /* yellow */ border-color: #CDB21F; /* yellow */ } .dnnFormMessage.dnnFormSuccess { background-color: rgba(0,255,0,0.15); /* green */ border-color: rgba(0,255,0,0.5); /* green */ } /*-------------------------------------*/ /* TABLE STYLES */ /*-------------------------------------*/ .dnnTableHeader { display: block; padding: 15px; background: none repeat scroll 0 0 #E3E3E5; } .dnnTableHeader a, .dnnTableHeader input, .dnnTableHeader select{ margin: 0; } .dnnTableDisplay { margin-bottom: 18px; border: 1px solid #d1d1d1; border-left: 0; border-bottom: 0; } .dnnTableDisplay td, .dnnTableDisplay th { padding: 5px 9px; border-bottom: 1px solid #d1d1d1; } .dnnTableDisplay th { padding: 0; border-left: 1px solid #d1d1d1; -webkit-box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.9); box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.9); } .dnnTableDisplay th > span, .dnnTableDisplay th > a { display: block; padding: 5px 9px; } .dnnTableDisplay td:first-child { border-left: 1px solid #cfcfcf; } .dnnTableDisplay label { display: inline; padding-left: 5px; } .dnnTableDisplay caption { display: none; } /* thead styles */ .dnnTableDisplay th { background: -moz-linear-gradient(top, #f5f5f5 0%, #dfdfdf 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#dfdfdf)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #f5f5f5 0%,#dfdfdf 100%);