Commit ce51fec3 authored by caijulong's avatar caijulong
Browse files

从源更新

parents 07d4055b e1431142
/* iCheck plugin Square skin, pink
----------------------------------- */
.icheckbox_square-pink,
.iradio_square-pink {
display: inline-block;
*display: inline;
vertical-align: middle;
margin: 0;
padding: 0;
width: 22px;
height: 22px;
background: url(pink.png) no-repeat;
border: none;
cursor: pointer;
}
.icheckbox_square-pink {
background-position: 0 0;
}
.icheckbox_square-pink.hover {
background-position: -24px 0;
}
.icheckbox_square-pink.checked {
background-position: -48px 0;
}
.icheckbox_square-pink.disabled {
background-position: -72px 0;
cursor: default;
}
.icheckbox_square-pink.checked.disabled {
background-position: -96px 0;
}
.iradio_square-pink {
background-position: -120px 0;
}
.iradio_square-pink.hover {
background-position: -144px 0;
}
.iradio_square-pink.checked {
background-position: -168px 0;
}
.iradio_square-pink.disabled {
background-position: -192px 0;
cursor: default;
}
.iradio_square-pink.checked.disabled {
background-position: -216px 0;
}
/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icheckbox_square-pink,
.iradio_square-pink {
background-image: url(pink@2x.png);
-webkit-background-size: 240px 24px;
background-size: 240px 24px;
}
}
\ No newline at end of file
/* iCheck plugin Square skin, purple
----------------------------------- */
.icheckbox_square-purple,
.iradio_square-purple {
display: inline-block;
*display: inline;
vertical-align: middle;
margin: 0;
padding: 0;
width: 22px;
height: 22px;
background: url(purple.png) no-repeat;
border: none;
cursor: pointer;
}
.icheckbox_square-purple {
background-position: 0 0;
}
.icheckbox_square-purple.hover {
background-position: -24px 0;
}
.icheckbox_square-purple.checked {
background-position: -48px 0;
}
.icheckbox_square-purple.disabled {
background-position: -72px 0;
cursor: default;
}
.icheckbox_square-purple.checked.disabled {
background-position: -96px 0;
}
.iradio_square-purple {
background-position: -120px 0;
}
.iradio_square-purple.hover {
background-position: -144px 0;
}
.iradio_square-purple.checked {
background-position: -168px 0;
}
.iradio_square-purple.disabled {
background-position: -192px 0;
cursor: default;
}
.iradio_square-purple.checked.disabled {
background-position: -216px 0;
}
/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icheckbox_square-purple,
.iradio_square-purple {
background-image: url(purple@2x.png);
-webkit-background-size: 240px 24px;
background-size: 240px 24px;
}
}
\ No newline at end of file
/* iCheck plugin Square skin, red
----------------------------------- */
.icheckbox_square-red,
.iradio_square-red {
display: inline-block;
*display: inline;
vertical-align: middle;
margin: 0;
padding: 0;
width: 22px;
height: 22px;
background: url(red.png) no-repeat;
border: none;
cursor: pointer;
}
.icheckbox_square-red {
background-position: 0 0;
}
.icheckbox_square-red.hover {
background-position: -24px 0;
}
.icheckbox_square-red.checked {
background-position: -48px 0;
}
.icheckbox_square-red.disabled {
background-position: -72px 0;
cursor: default;
}
.icheckbox_square-red.checked.disabled {
background-position: -96px 0;
}
.iradio_square-red {
background-position: -120px 0;
}
.iradio_square-red.hover {
background-position: -144px 0;
}
.iradio_square-red.checked {
background-position: -168px 0;
}
.iradio_square-red.disabled {
background-position: -192px 0;
cursor: default;
}
.iradio_square-red.checked.disabled {
background-position: -216px 0;
}
/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icheckbox_square-red,
.iradio_square-red {
background-image: url(red@2x.png);
-webkit-background-size: 240px 24px;
background-size: 240px 24px;
}
}
\ No newline at end of file
/* iCheck plugin Square skin, black
----------------------------------- */
.icheckbox_square,
.iradio_square {
display: inline-block;
*display: inline;
vertical-align: middle;
margin: 0;
padding: 0;
width: 22px;
height: 22px;
background: url(square.png) no-repeat;
border: none;
cursor: pointer;
}
.icheckbox_square {
background-position: 0 0;
}
.icheckbox_square.hover {
background-position: -24px 0;
}
.icheckbox_square.checked {
background-position: -48px 0;
}
.icheckbox_square.disabled {
background-position: -72px 0;
cursor: default;
}
.icheckbox_square.checked.disabled {
background-position: -96px 0;
}
.iradio_square {
background-position: -120px 0;
}
.iradio_square.hover {
background-position: -144px 0;
}
.iradio_square.checked {
background-position: -168px 0;
}
.iradio_square.disabled {
background-position: -192px 0;
cursor: default;
}
.iradio_square.checked.disabled {
background-position: -216px 0;
}
/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icheckbox_square,
.iradio_square {
background-image: url(square@2x.png);
-webkit-background-size: 240px 24px;
background-size: 240px 24px;
}
}
\ No newline at end of file
/* iCheck plugin Square skin, yellow
----------------------------------- */
.icheckbox_square-yellow,
.iradio_square-yellow {
display: inline-block;
*display: inline;
vertical-align: middle;
margin: 0;
padding: 0;
width: 22px;
height: 22px;
background: url(yellow.png) no-repeat;
border: none;
cursor: pointer;
}
.icheckbox_square-yellow {
background-position: 0 0;
}
.icheckbox_square-yellow.hover {
background-position: -24px 0;
}
.icheckbox_square-yellow.checked {
background-position: -48px 0;
}
.icheckbox_square-yellow.disabled {
background-position: -72px 0;
cursor: default;
}
.icheckbox_square-yellow.checked.disabled {
background-position: -96px 0;
}
.iradio_square-yellow {
background-position: -120px 0;
}
.iradio_square-yellow.hover {
background-position: -144px 0;
}
.iradio_square-yellow.checked {
background-position: -168px 0;
}
.iradio_square-yellow.disabled {
background-position: -192px 0;
cursor: default;
}
.iradio_square-yellow.checked.disabled {
background-position: -216px 0;
}
/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
.icheckbox_square-yellow,
.iradio_square-yellow {
background-image: url(yellow@2x.png);
-webkit-background-size: 240px 24px;
background-size: 240px 24px;
}
}
\ No newline at end of file
.calendar-content {
display: inline-block;
position: relative;
vertical-align: middle;
white-space: normal;
width: 210px;
height: 230px;
background-color: white;
}
.calendar-content.calendar_days > .calendar-days {
display: block;
}
.calendar-content.calendar_months .calendar-months {
display: block;
}
.calendar-content.calendar_years .calendar-years {
display: block;
}
.calendar-days,
.calendar-months,
.calendar-years,
.calendar-buttons {
display: none;
}
.calendar-row,
.calendar-head {
display: table;
width: 100%;
}
.calendar-row > span,
.calendar-head > span {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.calendar-header {
display: table;
width: 100%;
height: 15%;
}
.calendar-header > div {
display: table-cell;
height: 100%;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.calendar-prev,
.calendar-next {
width: 20%;
}
.calendar-caption {
width: 60%;
}
.calendar-days,
.calendar-months,
.calendar-years {
height: 85%;
}
.calendar-head {
height: 13%;
}
.calendar-head span {
cursor: default;
}
.calendar-body {
height: 87%;
}
.calendar-body .calendar-row {
height: 16.66666667%;
}
.calendar-body span {
width: 14.28%;
height: 100%;
cursor: pointer;
}
.calendar-body span.calendar_otherMonth,
.calendar-body span.calendar_untouchable {
cursor: default;
}
.calendar-months .calendar-row,
.calendar-years .calendar-row {
height: 25%;
}
.calendar-months span,
.calendar-years span {
height: 100%;
width: 33.3%;
cursor: pointer;
}
.calendar-months span.calendar_untouchable,
.calendar-years span.calendar_untouchable {
cursor: default;
}
.calendar_hide {
display: none !important;
}
.calendar_show {
display: block !important;
}
.calendar-wrap {
white-space: nowrap;
display: none;
position: absolute;
}
.calendar-wrap,
.calendar-wrap *:focus {
outline: none;
}
.calendar-wrap * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.calendar-wrap.calendar_isMobile {
z-index: 99999;
position: fixed;
width: 80%;
height: 80%;
line-height: 1;
}
.calendar-wrap.calendar_isMobile .calendar-title {
width: 100%;
text-align: center;
position: absolute;
top: -1.5em;
left: 0;
}
.calendar-wrap.calendar_isMobile .calendar-content {
display: none;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.calendar-wrap.calendar_isMobile .calendar-content.calendar_show {
display: block;
}
.calendar-wrap.calendar_isMobile .calendar-header {
height: 11%;
}
.calendar-wrap.calendar_isMobile .calendar-days,
.calendar-wrap.calendar_isMobile .calendar-months,
.calendar-wrap.calendar_isMobile .calendar-years {
height: 78%;
}
.calendar-wrap.calendar_isMobile .calendar-buttons {
display: table;
height: 11%;
width: 100%;
}
.calendar-wrap.calendar_isMobile .calendar-buttons > div {
display: table-cell;
width: 50%;
height: 100%;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.calendar-cover {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
z-index: 9999;
}
.calendar-input {
border: 1px solid green;
}
.calendar-icon {
background-color: gray;
border: 1px solid green;
}
.calendar_active .calendar-input {
border: 1px solid red;
}
.calendar_active .calendar-icon {
border: 1px solid red;
}
.calendar-content {
background-color: white;
border: 1px solid #ebebeb;
color: #777777;
border-radius: 3px;
font-family: 'Proxima Nova';
}
.calendar-content span {
border: 1px dashed transparent;
}
.calendar-content span.calendar_active {
background-color: #32b8e2 !important;
color: white !important;
border: 1px solid rgba(0, 0, 0, 0.15) !important;
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) inset;
text-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}
.calendar-content span.calendar_otherMonth,
.calendar-content span.calendar_untouchable {
color: #c8c8c8;
background-color: inherit;
}
.calendar-content span.calendar_otherMonth:hover,
.calendar-content span.calendar_untouchable:hover,
.calendar-content span.calendar_otherMonth:active,
.calendar-content span.calendar_untouchable:active,
.calendar-content span.calendar_otherMonth.calendar_active,
.calendar-content span.calendar_untouchable.calendar_active {
background-color: inherit;
color: #c8c8c8;
}
.calendar-content span.calendar_inRange {
background-color: #e0f4fb;
}
.calendar-content span.calendar_inRange:hover {
background-color: inherit;
}
.calendar-content span.calendar_otherMonth.calendar_inRange:hover {
background-color: #e0f4fb;
}
.calendar-content span.calendar_focus {
border: 1px solid rgba(0, 0, 0, 0.1);
color: #32b8e2;
}
.calendar-header {
border-bottom: 1px solid #ebebeb;
}
.calendar-prev,
.calendar-next {
color: transparent;
background-repeat: no-repeat;
background-position: center;
}
.calendar-prev {
background-image: url('../images/calendar-prev.png');
}
.calendar-prev.calendar_blocked,
.calendar-prev.calendar_blocked:hover {
background-image: none;
cursor: auto;
}
.calendar-prev:hover {
background-image: url('../images/calendar-prev-hover.png');
}
.calendar-next {
background-image: url('../images/calendar-next.png');
}
.calendar-next.calendar_blocked,
.calendar-next.calendar_blocked:hover {
background-image: none;
cursor: auto;
}
.calendar-next:hover {
background-image: url('../images/calendar-next-hover.png');
}
.calendar-caption {
color: #696969;
}
.calendar-caption:hover {
color: #000000;
}
.calendar-caption.calendar_blocked,
.calendar-caption.calendar_blocked:hover {
color: #696969;
cursor: auto;
}
.calendar-head {
background-color: #f6f6f6;
padding-left: 6px;
padding-right: 6px;
}
.calendar-head span {
-webkit-box-shadow: inset 0 1px 0 #fbfbfb;
box-shadow: inset 0 1px 0 #fbfbfb;
}
.calendar-body,
.calendar-months,
.calendar-years {
padding: 6px;
}
.calendar-body span:hover,
.calendar-months span:hover,
.calendar-years span:hover {
background-color: #e0f4fb;
}
.calendar-buttons {
border-top: 1px solid #ebebeb;
}
.calendar_active .calendar-input{border-color:#f59942;}
.calendar-content{border:0;width:230px;color:#555;}
.calendar-content span.calendar_otherMonth, .calendar-content span.calendar_untouchable{color:#aaa;}
.calendar-content span.calendar_focus{border:0;}
.calendar-content span.calendar_active{background-color:#3C8DBC!important;}
.calendar-header > div {font-weight:bold;}
.calendar-icon, .calendar_active .calendar-icon{border:0}
\ No newline at end of file
/*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */
html,
button,
input,
select,
textarea {
color: #222;
}
body {
font-size: 1em;
line-height: 1.4;
}
/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
/*
* Remove the gap between images and the bottom of their containers: h5bp.com/i/440
*/
img {
vertical-align: middle;
}
/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}
/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}
/* ==========================================================================
Chrome Frame prompt
========================================================================== */
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0;
}
/* ==========================================================================
Author's custom styles
========================================================================== */
body {
padding:30px;
font-weight: normal;
color: #3E4349;
font-size: 14px;
line-height: 1.5em;
background-color: #F7F7F7;
}
h1,h2,h3,h4,h5,h6 {
color: #222;
font-family: "NeutonRegular",sans-serif;
font-weight: normal;
margin: 30px 0px 10px 0px;
padding: 5px 0;
}
h1 {
font-size: 35px;
margin-bottom: 0.5em;
line-height: 1;
}
h2 {
font-size: 28px;
line-height: 1;
margin-bottom: 0.75em;
}
h3 {
font-size: 21px;
line-height: 1;
margin-bottom: 1.00em;
}
h4 {
font-size: 16px;
line-height: 1;
margin-bottom: 1.25em;
}
h5 {
font-size: 14px;
font-weight: bold;
margin-bottom: 1.75em;
}
h6 {
font-size: 12px;
font-weight: bold;
margin-bottom: 2.00em;
}
p {
font-size: 14px;
line-height: 1.5em;
margin: 14px 0;
font-family: sans-serif;
}
article .main {
display: block;
margin: 0 0 0 230px;
width: 1200px;
border: 1px solid #ddd;
padding: 0 0 20px 30px;
}
a {
color: #1B61D6;
text-decoration: none;
font-family: sans-serif;
}
a:hover {
text-decoration: underline;
}
section.toctree-page a,
section.toctree-page a .pre {
color: #1B61D6;
}
section li,
section dd,
section dt {
line-height: 1.5em;
}
section.sidebar-page div.sidebar {
background-color: #E6EFC2;
border: 2px solid #C6D880;
font-family: sans-serif;
margin: 0 0 7px 14px;
padding: 10px 20px;
float: right;
width: 40%;
}
section.sidebar-page p.sidebar-title {
font-weight: bold;
}
.toctree-wraper ul,
.toctree-wraper ol {
margin:0;
padding:0 0 0 40px;
}
.example a em {
font-style: italic;
}
section dl {
margin: 14px 0 15px 0;
}
section dt {
font-weight: bold;
}
section dd {
margin: 3px 0 10px 30px;
}
pre {
background: none repeat scroll 0 0 #F0F9F0;
border: 2px solid #C0D0C0;
color: #006000;
line-height: 1.3em;
/*margin-left: 25px;*/
padding: 11px;
}
pre.wrong {
background-color: #F9F0F0;
border: 2px solid #D0C0C0;
color: #600000;
}
/* example */
.container {
margin: 0 20px 0 190px;
}
.has-example {
margin-bottom: 0 !important;
}
.example {
background-color: #eee;
border: 3px solid #e0e0e0;
border-top: none;
padding: 1em;
margin-bottom:2em;
}
/* toc */
#toc {
top: 0px;
left: 0px;
height: 100%;
position: fixed;
background: #333;
box-shadow: inset -5px 0 5px 0px #000;
width: 170px;
padding-top: 20px;
color: #fff;
}
#toc ul {
margin: 0;
padding: 0;
list-style: none;
}
#toc li {
padding: 5px 10px;
}
#toc a {
color: #fff;
text-decoration: none;
display: block;
}
#toc .toc-h2 {
padding-left: 10px;
}
#toc .toc-h3 {
padding-left: 20px;
}
#toc .toc-active {
background: #336699;
box-shadow: inset -5px 0px 10px -5px #000;
}
/* ==========================================================================
Helper classes
========================================================================== */
/*
* Image replacement
*/
.ir {
background-color: transparent;
border: 0;
overflow: hidden;
/* IE 6/7 fallback */
*text-indent: -9999px;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 150%;
}
/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
display: none !important;
visibility: hidden;
}
/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
visibility: hidden;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.clearfix {
*zoom: 1;
}
/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links for images, or javascript/internal links
*/
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group; /* h5bp.com/t */
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Prevent system color scheme's background color being used in Firefox, IE,
* and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
* Opera.
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 4. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
background: #fff; /* 1 */
color: #000; /* 2 */
font-size: 100%; /* 3 */
-webkit-text-size-adjust: 100%; /* 4 */
-ms-text-size-adjust: 100%; /* 4 */
}
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/**
* Address margins handled incorrectly in IE 6/7.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 6/7/8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address margins set differently in IE 6/7.
*/
p,
pre {
margin: 1em 0;
}
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
/**
* Address CSS quotes not supported in IE 6/7.
*/
q {
quotes: none;
}
/**
* Address `quotes` property not supported in Safari 4.
*/
q:before,
q:after {
content: '';
content: none;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
*/
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0; /* 1 */
padding: 0;
white-space: normal; /* 2 */
*margin-left: -7px; /* 3 */
}
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improve appearance and consistency in all browsers.
*/
button,
input,
select,
textarea {
font-size: 100%; /* 1 */
margin: 0; /* 2 */
vertical-align: baseline; /* 3 */
*vertical-align: middle; /* 3 */
}
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
*overflow: visible; /* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment