diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
commit | 87ed76dd20431eb2a4216f9356b6da417fe003ce (patch) | |
tree | c2c5f650f2714c0364fbd8207cfe8b72e2a17e56 /97suifang-front/assets/css/normalize.css | |
parent | 755463eed74ed7de9a3c1a12495d2dad655d31d5 (diff) | |
download | 97dev-87ed76dd20431eb2a4216f9356b6da417fe003ce.tar.bz2 |
added '97suifang-front'
Diffstat (limited to '97suifang-front/assets/css/normalize.css')
-rw-r--r-- | 97suifang-front/assets/css/normalize.css | 817 |
1 files changed, 817 insertions, 0 deletions
diff --git a/97suifang-front/assets/css/normalize.css b/97suifang-front/assets/css/normalize.css new file mode 100644 index 0000000..ab1eadb --- /dev/null +++ b/97suifang-front/assets/css/normalize.css @@ -0,0 +1,817 @@ +/* normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */ +/* ============================================================================= + Normalize.css is intended to be used as an alternative to CSS resets. + + It is suggested that you read through the normalize.css file and customise it + to meet the design requirements of a project rather including it as a "black + box". @see http://nicolasgallagher.com/about-normalize-css/ + + Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/ + @see http://snook.ca/archives/html_and_css/no_css_reset/ + ========================================================================== */ +/* ============================================================================= + HTML5 display definitions + ========================================================================== */ +/* + * Corrects block display not defined in IE6/7/8/9 & FF3 + */ +/* line 36, ../../../sass/sass/normalize.scss */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section, +summary { + display: block; +} + +/* + * Corrects inline-block display not defined in IE6/7/8/9 & FF3 + */ +/* line 46, ../../../sass/sass/normalize.scss */ +audio, +canvas, +video { + display: inline-block; +} + +/* + * Prevents modern browsers from displaying 'audio' without controls + * Remove excess height in iOS5 devices + */ +/* line 59, ../../../sass/sass/normalize.scss */ +audio:not([controls]) { + display: none; + height: 0; +} + +/* + * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4 + * Known issue: no IE6 support + */ +/* line 69, ../../../sass/sass/normalize.scss */ +[hidden] { + display: none; +} + +/* ============================================================================= + Base + ========================================================================== */ +/* Instead of relying on the fonts that are available on a user's computer, you + can use web fonts which, like images, are resources downloaded to the user's + browser. Because of the bandwidth and rendering resources required, web fonts + should be used with care. + + Numerous resources for web fonts can be found on Google. Here are a few + websites where you can find Open Source fonts to download: + - http://www.fontsquirrel.com/fontface + - http://www.theleagueofmoveabletype.com + + In order to use these fonts, you will need to convert them into formats + suitable for web fonts. We recommend the free-to-use Font Squirrel's + Font-Face Generator: + http://www.fontsquirrel.com/fontface/generator + + The following is an example @font-face declaration. This font can then be + used in any ruleset using a property like this: font-family: Example, serif; + + Since we're using Sass, you'll need to declare your font faces here, then you + can add them to the font variables in the _base.scss partial. +*/ +/* +@font-face { + font-family: 'Example'; + src: url('../fonts/example.eot'); + src: url('../fonts/example.eot?iefix') format('eot'), + url('../fonts/example.woff') format('woff'), + url('../fonts/example.ttf') format('truetype'), + url('../fonts/example.svg#webfontOkOndcij') format('svg'); + font-weight: normal; + font-style: normal; +} +*/ +/* + * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units + * http://clagnut.com/blog/348/#c790 + * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom + * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ + */ +/* line 120, ../../../sass/sass/normalize.scss */ +html { + font-size: 87.5%; + /* 1 */ + -webkit-text-size-adjust: 100%; + /* 2 */ + -ms-text-size-adjust: 100%; + /* 2 */ + /* Establishes a vertical rhythm unit using $base-line-height. */ + color: #5c5c5c; + line-height: 1.42857em; +} + +/* + * Addresses font-family inconsistency between 'textarea' and other form elements. + */ +/* line 137, ../../../sass/sass/normalize.scss */ +html, +button, +input, +select, +textarea { + font-family: "TIBch", "ClassicGrotesqueW01-Rg", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "WenQuanYi Micro Hei", "Microsoft YaHei", SimSun, sans-serif; +} + +/* + * Addresses margins handled incorrectly in IE6/7 + */ +/* line 145, ../../../sass/sass/normalize.scss */ +body { + margin: 0; +} + +/* ============================================================================= + Links + ========================================================================== */ +/* + * The order of link states are based on Eric Meyer's article: + * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states + */ +/* line 162, ../../../sass/sass/normalize.scss */ +a { + color: #006699; + text-decoration: none; +} + +/* line 167, ../../../sass/sass/normalize.scss */ +a:visited { + color: #006699; +} + +/* line 172, ../../../sass/sass/normalize.scss */ +a:hover, +a:focus { + text-decoration: underline; +} + +/* + * Addresses outline displayed oddly in Chrome + */ +/* line 184, ../../../sass/sass/normalize.scss */ +a:focus { + outline: thin dotted; +} + +/* + * Improves readability when focused and also mouse hovered in all browsers + * people.opera.com/patrickl/experiments/keyboard/test + */ +/* line 194, ../../../sass/sass/normalize.scss */ +a:hover, +a:active { + outline: 0; +} + +/* ============================================================================= + Typography + + To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins + so that the line height of our base font becomes the basic unit of vertical + measurement. We use multiples of that unit to set the top and bottom margins + for our block level elements and to set the line heights of any fonts. + For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm + ========================================================================== */ +/* + * Addresses font sizes and margins set differently in IE6/7 + * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5 + */ +/* line 214, ../../../sass/sass/normalize.scss */ +h1 { + /* Sets the font-size and line-height while keeping a proper vertical rhythm. */ + font-size: 1.57143em; + line-height: 1.36364em; + /* Sets 1 unit of vertical rhythm on the top and bottom margins. */ + margin-top: 0.45455em; + margin-bottom: 0.72727em; +} + +/* line 223, ../../../sass/sass/normalize.scss */ +h2 { + font-size: 1.4em; + line-height: 2.04082em; + margin-top: 0.5102em; + margin-bottom: 0.30612em; +} + +/* line 229, ../../../sass/sass/normalize.scss */ +h3 { + font-size: 1.17em; + line-height: 2.442em; + margin-top: 1.221em; + margin-bottom: 0.3663em; +} + +/* line 235, ../../../sass/sass/normalize.scss */ +h4 { + font-size: 1em; + line-height: 1.42857em; + margin-top: 1.14286em; + margin-bottom: 0.57143em; +} + +/* line 241, ../../../sass/sass/normalize.scss */ +h5 { + font-size: 0.83em; + line-height: 1.72117em; + margin-top: 0.51635em; + margin-bottom: 0.86059em; +} + +/* line 247, ../../../sass/sass/normalize.scss */ +h6 { + font-size: 0.75em; + line-height: 1.90476em; + margin-top: 0.57143em; + margin-bottom: 0.95238em; +} + +/* Thematic break */ +/* line 254, ../../../sass/sass/normalize.scss */ +hr { + height: 1px; + border: 1px solid #666; + padding-bottom: -1px; + margin: 1.42857em 0; +} + +/* + * Addresses styling not present in IE7/8/9, S5, Chrome + */ +/* line 265, ../../../sass/sass/normalize.scss */ +abbr[title] { + border-bottom: 1px dotted; + cursor: help; + white-space: nowrap; +} + +/* + * Addresses style set to 'bolder' in FF3+, S4/5, Chrome +*/ +/* line 276, ../../../sass/sass/normalize.scss */ +b, +strong { + font-weight: bold; +} + +/* line 280, ../../../sass/sass/normalize.scss */ +blockquote { + /* Sets 1 unit of vertical rhythm on the top and bottom margin. */ + margin: 1.42857em 30px; +} + +/* + * Addresses styling not present in S5, Chrome + */ +/* line 289, ../../../sass/sass/normalize.scss */ +dfn { + font-style: italic; +} + +/* + * Addresses styling not present in IE6/7/8/9 + */ +/* line 297, ../../../sass/sass/normalize.scss */ +mark { + background: #ff0; + color: #000; +} + +/* + * Addresses margins set differently in IE6/7 + */ +/* line 307, ../../../sass/sass/normalize.scss */ +p, +pre { + /* Sets 1 unit of vertical rhythm on the top and bottom margin. */ + margin-bottom: 0.71429em; + margin-top: 0; +} + +/* + * Corrects font family set oddly in IE6, S4/5, Chrome + * en.wikipedia.org/wiki/User:Davidgothberg/Test59 + */ +/* line 323, ../../../sass/sass/normalize.scss */ +pre, +code, +kbd, +samp, +tt, +var { + font-family: "Courier New", "DejaVu Sans Mono", monospace, sans-serif, "STHeiti", "WenQuanYi Micro Hei", "Microsoft YaHei", SimSun, sans-serif; + /* The $font-monospace value ends with ", serif". */ + font-size: 1em; + line-height: 1.42857em; +} + +/* + * Improves readability of pre-formatted text in all browsers + */ +/* line 335, ../../../sass/sass/normalize.scss */ +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +/* + * 1. Addresses CSS quotes not supported in IE6/7 + * 2. Addresses quote property not supported in S4 + */ +/* 1 */ +/* line 348, ../../../sass/sass/normalize.scss */ +q { + quotes: none; +} + +/* 2 */ +/* line 355, ../../../sass/sass/normalize.scss */ +q:before, +q:after { + content: ''; + content: none; +} + +/* @todo Determine how big element affects vertical rhythm. */ +/* line 361, ../../../sass/sass/normalize.scss */ +small { + font-size: 75%; +} + +/* + * Prevents sub and sup affecting line-height in all browsers + * gist.github.com/413930 + */ +/* line 371, ../../../sass/sass/normalize.scss */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +/* line 378, ../../../sass/sass/normalize.scss */ +sup { + top: -0.5em; +} + +/* line 382, ../../../sass/sass/normalize.scss */ +sub { + bottom: -0.25em; +} + +/* ============================================================================= + Lists + ========================================================================== */ +/* + * Addresses margins set differently in IE6/7 + */ +/* line 399, ../../../sass/sass/normalize.scss */ +dl, +menu, +ol, +ul, +.item-list ul { + /* Sets 1 unit of vertical rhythm on the top and bottom margin. */ + margin: 1.42857em 0; +} + +/* line 404, ../../../sass/sass/normalize.scss */ +.item-list ul li { + /* Drupal override */ + margin: 0; +} + +/* line 408, ../../../sass/sass/normalize.scss */ +dd { + margin: 0 0 0 30px; + /* LTR */ +} + +/* line 413, ../../../sass/sass/normalize.scss */ +ul ul, ul ol, ol ul, ol ol, .item-list ul ul, .item-list ul ol, .item-list ol ul, .item-list ol ol { + margin: 0; + /* Turn off margins on nested lists. */ +} + +/* + * Addresses paddings set differently in IE6/7 + */ +/* line 425, ../../../sass/sass/normalize.scss */ +menu, +ol, +ul, +.item-list ul { + padding: 0 0 0 30px; + /* LTR */ +} + +/* + * Corrects list images handled incorrectly in IE7 + */ +/* line 434, ../../../sass/sass/normalize.scss */ +nav ul, +nav ol { + list-style: none; + list-style-image: none; +} + +/* ============================================================================= + Embedded content + ========================================================================== */ +/* + * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3 + * 2. Improves image quality when scaled in IE7 + * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ + */ +/* line 450, ../../../sass/sass/normalize.scss */ +img { + border: 0; + /* 1 */ + -ms-interpolation-mode: bicubic; + /* 2 */ + /* vertical-align: bottom; */ + /* Suppress the space beneath the baseline */ + /* Responsive images */ + /* @todo Add responsive embedded video. */ + max-width: 100%; + height: auto; +} + +/* + * Corrects overflow displayed oddly in IE9 + */ +/* line 466, ../../../sass/sass/normalize.scss */ +svg:not(:root) { + overflow: hidden; +} + +/* ============================================================================= + Figures + ========================================================================== */ +/* + * Addresses margin not present in IE6/7/8/9, S5, O11 + */ +/* line 479, ../../../sass/sass/normalize.scss */ +figure { + margin: 0; +} + +/* ============================================================================= + Forms + ========================================================================== */ +/* + * Corrects margin displayed oddly in IE6/7 + */ +/* line 492, ../../../sass/sass/normalize.scss */ +form { + margin: 0; +} + +/* + * Define consistent border, margin, and padding + */ +/* line 500, ../../../sass/sass/normalize.scss */ +fieldset { + border-color: #c0c0c0; + margin: 0 2px; + /* Apply borders and padding that keep the vertical rhythm. */ + border-top-style: solid; + border-top-width: 0.07143em; + padding-top: 0.42857em; + border-bottom-style: solid; + border-bottom-width: 0.07143em; + padding-bottom: 0.85714em; + border-left-style: solid; + border-left-width: 0.07143em; + padding-left: 0.85714em; + border-right-style: solid; + border-right-width: 0.07143em; + padding-right: 0.85714em; +} + +/* + * 1. Corrects color not being inherited in IE6/7/8/9 + * 2. Corrects text not wrapping in FF3 + * 3. Corrects alignment displayed oddly in IE6/7 + */ +/* line 516, ../../../sass/sass/normalize.scss */ +legend { + border: 0; + /* 1 */ + padding: 0; + white-space: normal; + /* 2 */ +} + +/* + * 1. Corrects font size not being inherited in all browsers + * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome + * 3. Improves appearance and consistency in all browsers + */ +/* line 534, ../../../sass/sass/normalize.scss */ +button, +input, +select, +textarea { + font-size: 100%; + /* 1 */ + margin: 0; + /* 2 */ + vertical-align: baseline; + /* 3 */ +} + +/* + * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet + */ +/* line 548, ../../../sass/sass/normalize.scss */ +button, +input { + line-height: normal; + /* 1 */ +} + +/* + * 1. Improves usability and consistency of cursor style between image-type 'input' and others + * 2. Corrects inability to style clickable 'input' types in iOS + * 3. Removes inner spacing in IE7 without affecting normal text inputs + * Known issue: inner spacing remains in IE6 + */ +/* line 562, ../../../sass/sass/normalize.scss */ +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + /* 1 */ + -webkit-appearance: button; + /* 2 */ +} + +/* line 574, ../../../sass/sass/normalize.scss */ +.button, +button, +input[type="submit"], +input[type="button"], +input[type="reset"] { + cursor: pointer; + -webkit-appearance: none; + background-color: #99cc33; + border: 1px solid #f3f2f0; + -webkit-box-shadow: 0px 0px 2px white; + -moz-box-shadow: 0px 0px 2px white; + box-shadow: 0px 0px 2px white; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -ms-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; + color: white; + padding-left: 0.8em; + padding-right: 0.8em; + height: 2.1em; + line-height: 2.1em; + vertical-align: middle; +} +/* line 588, ../../../sass/sass/normalize.scss */ +.button:hover, +button:hover, +input[type="submit"]:hover, +input[type="button"]:hover, +input[type="reset"]:hover { + background-color: #93c431; +} +/* line 591, ../../../sass/sass/normalize.scss */ +.button:active, +button:active, +input[type="submit"]:active, +input[type="button"]:active, +input[type="reset"]:active { + background-color: #8ab82e; + -webkit-box-shadow: inset 0px 0px 10px rgba(85, 85, 85, 0.5); + -moz-box-shadow: inset 0px 0px 10px rgba(85, 85, 85, 0.5); + box-shadow: inset 0px 0px 10px rgba(85, 85, 85, 0.5); +} +/* line 595, ../../../sass/sass/normalize.scss */ +.button.disabled, +button.disabled, +input[type="submit"].disabled, +input[type="button"].disabled, +input[type="reset"].disabled { + cursor: default; +} +/* line 598, ../../../sass/sass/normalize.scss */ +.button.disabled:active, .button.disabled:hover, +button.disabled:active, +button.disabled:hover, +input[type="submit"].disabled:active, +input[type="submit"].disabled:hover, +input[type="button"].disabled:active, +input[type="button"].disabled:hover, +input[type="reset"].disabled:active, +input[type="reset"].disabled:hover { + background-color: #99cc33; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +/* line 611, ../../../sass/sass/normalize.scss */ +a.button, +a.button:hover, +a.button:active, +a.button:visited { + text-decoration: none; +} + +/* line 615, ../../../sass/sass/normalize.scss */ +.button { + text-align: center; +} + +/* line 619, ../../../sass/sass/normalize.scss */ +input[type="text"] { + background-color: #8b8885; + border: 1px solid white; + -webkit-box-shadow: 0px 0px 2px white; + -moz-box-shadow: 0px 0px 2px white; + box-shadow: 0px 0px 2px white; + padding-left: 0.5em; + padding-right: 0.5em; + padding-top: 0; + padding-bottom: 0; + line-height: 1.95em; + height: 1.95em; + color: white; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"].placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus.placeholder { + color: transparent; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"].input-placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus.input-placeholder { + color: transparent; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"]:-moz-placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus:-moz-placeholder { + color: transparent; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"]::-webkit-input-placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus::-webkit-input-placeholder { + color: transparent; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"]::-moz-placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus::-moz-placeholder { + color: transparent; +} +/* line 65, ../../../sass/sass/_custom.scss */ +input[type="text"]:-ms-input-placeholder { + color: #eeeeee; +} +/* line 68, ../../../sass/sass/_custom.scss */ +input[type="text"]:focus:-ms-input-placeholder { + color: transparent; +} + +/* + * Re-set default cursor for disabled elements + */ +/* line 641, ../../../sass/sass/normalize.scss */ +button[disabled], +input[disabled] { + cursor: default; +} + +/* + * 1. Addresses box sizing set to content-box in IE8/9 + * 2. Removes excess padding in IE8/9 + * 3. Removes excess padding in IE7 + Known issue: excess padding remains in IE6 + */ +/* line 653, ../../../sass/sass/normalize.scss */ +input[type="checkbox"], +input[type="radio"] { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* 1 */ + padding: 0; + /* 2 */ +} + +/* + * 1. Addresses appearance set to searchfield in S5, Chrome + * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof) + */ +/* line 667, ../../../sass/sass/normalize.scss */ +input[type="search"] { + -webkit-appearance: textfield; + /* 1 */ + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + /* 2 */ +} + +/* + * Removes inner padding and search cancel button in S5, Chrome on OS X + */ +/* line 677, ../../../sass/sass/normalize.scss */ +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} + +/* + * Removes inner padding and border in FF3+ + * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ + */ +/* line 687, ../../../sass/sass/normalize.scss */ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/* + * 1. Removes default vertical scrollbar in IE6/7/8/9 + * 2. Improves readability and alignment in all browsers + */ +/* line 697, ../../../sass/sass/normalize.scss */ +textarea { + overflow: auto; + /* 1 */ + vertical-align: top; + /* 2 */ +} + +/* ============================================================================= + Tables + ========================================================================== */ +/* + * Remove most spacing between table cells + */ +/* line 711, ../../../sass/sass/normalize.scss */ +table { + border-collapse: collapse; + border-spacing: 0; + /* width: 100%; */ + /* Prevent cramped-looking tables */ + /* Add vertical rhythm margins. */ + margin-top: 1.42857em; + margin-bottom: 1.42857em; +} + +/* + * Drupal provides table styling which is only useful for its admin section + * forms, so we override this default CSS. (We set it back in forms.css.) + */ +/* line 725, ../../../sass/sass/normalize.scss */ +th { + text-align: left; + /* LTR */ + padding: 0; + border-bottom: none; +} + +/* line 731, ../../../sass/sass/normalize.scss */ +tbody { + border-top: none; +}
\ No newline at end of file |