mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
stylelint the examples
This commit is contained in:
parent
3c2f8bafac
commit
ccd7742397
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable selector-list-comma-newline-after, property-no-vendor-prefix */
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
@ -15,7 +17,7 @@ h5, .h5,
|
||||
h6, .h6 {
|
||||
margin-top: 0;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@ -59,7 +61,7 @@ h6, .h6 {
|
||||
.blog-nav .active {
|
||||
color: #fff;
|
||||
}
|
||||
.blog-nav .active:after {
|
||||
.blog-nav .active::after {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
@ -86,7 +88,7 @@ h6, .h6 {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 0;
|
||||
font-size: 60px;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
.blog-description {
|
||||
font-size: 20px;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* GLOBAL STYLES
|
||||
-------------------------------------------------- */
|
||||
/* Padding below the footer and lighter body text */
|
||||
* Padding below the footer and lighter body text
|
||||
* -------------------------------------------------- */
|
||||
|
||||
body {
|
||||
padding-bottom: 40px;
|
||||
@ -42,9 +42,8 @@ body {
|
||||
height: 500px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
/* Since positioning the image, we need to help out the caption */
|
||||
.carousel-caption {
|
||||
z-index: 10;
|
||||
z-index: 10; /* Since positioning the image, we need to help out the caption */
|
||||
}
|
||||
|
||||
/* Declare heights because of positioning of img element */
|
||||
@ -70,7 +69,7 @@ body {
|
||||
text-align: center;
|
||||
}
|
||||
.marketing h2 {
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
.marketing .col-lg-4 p {
|
||||
margin-right: 10px;
|
||||
@ -108,11 +107,7 @@ body {
|
||||
.navbar-wrapper .navbar {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* The navbar becomes detached from the top, so we round the corners */
|
||||
.navbar-wrapper .navbar {
|
||||
border-radius: 4px;
|
||||
border-radius: 4px; /* The navbar becomes detached from the top, so we round the corners */
|
||||
}
|
||||
|
||||
/* Bump up size of carousel content */
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable property-no-vendor-prefix */
|
||||
|
||||
/*
|
||||
* Globals
|
||||
*/
|
||||
@ -77,7 +79,7 @@ body {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
font-weight: 700;
|
||||
color: #fff; /* IE8 proofing */
|
||||
color: rgba(255, 255, 255, .75);
|
||||
border-bottom: 2px solid transparent;
|
||||
@ -114,7 +116,7 @@ body {
|
||||
}
|
||||
.cover .btn-lg {
|
||||
padding: 10px 20px;
|
||||
font-weight: bold;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
@ -142,11 +144,9 @@ body {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
/* Start the vertical centering */
|
||||
.site-wrapper-inner {
|
||||
vertical-align: middle;
|
||||
vertical-align: middle; /* Start the vertical centering */
|
||||
}
|
||||
/* Handle the widths */
|
||||
.masthead,
|
||||
.mastfoot,
|
||||
.cover-container {
|
||||
|
@ -17,11 +17,10 @@ body {
|
||||
padding-bottom: 20px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
/* Make the masthead heading the same height as the navigation */
|
||||
.header h3 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
line-height: 40px;
|
||||
line-height: 40px; /* Make the masthead heading the same height as the navigation */
|
||||
}
|
||||
|
||||
/* Custom page footer */
|
||||
@ -68,11 +67,9 @@ body {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
/* Space out the masthead */
|
||||
.header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
/* Remove the bottom border on the jumbotron for visual effect */
|
||||
.jumbotron {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable value-no-vendor-prefix, function-name-case, property-no-vendor-prefix */
|
||||
|
||||
body {
|
||||
padding-top: 20px;
|
||||
}
|
||||
@ -30,7 +32,7 @@ body {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 0;
|
||||
font-weight: bold;
|
||||
font-weight: 700;
|
||||
color: #777;
|
||||
text-align: center;
|
||||
background-color: #e5e5e5; /* Old browsers */
|
||||
@ -38,8 +40,8 @@ body {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e5e5e5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
|
||||
background-repeat: repeat-x; /* Repeat the gradient */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5f5f5", endColorstr="#e5e5e5", GradientType=0); /* IE6-9 */
|
||||
border-bottom: 1px solid #d5d5d5;
|
||||
}
|
||||
.nav-justified > .active > a,
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable selector-max-class, selector-max-combinators, selector-max-compound-selectors, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix */
|
||||
|
||||
/* Template-specific stuff
|
||||
*
|
||||
* Customizations just for the template; these are not necessary for anything
|
||||
@ -70,14 +72,12 @@ body,
|
||||
padding-bottom: 0;
|
||||
overflow: visible !important;
|
||||
visibility: visible !important;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.navbar-toggle {
|
||||
display: none;
|
||||
}
|
||||
.navbar-collapse {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
margin-left: -15px;
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable property-no-vendor-prefix */
|
||||
|
||||
/*
|
||||
* Style tweaks
|
||||
* --------------------------------------------------
|
||||
@ -33,13 +35,11 @@ footer {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.row-offcanvas-right
|
||||
.sidebar-offcanvas {
|
||||
.row-offcanvas-right .sidebar-offcanvas {
|
||||
right: -50%; /* 6 columns */
|
||||
}
|
||||
|
||||
.row-offcanvas-left
|
||||
.sidebar-offcanvas {
|
||||
.row-offcanvas-left .sidebar-offcanvas {
|
||||
left: -50%; /* 6 columns */
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* stylelint-disable selector-no-qualifying-type, property-no-vendor-prefix */
|
||||
|
||||
body {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
@ -14,14 +16,14 @@ body {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form-signin .checkbox {
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
.form-signin .form-control {
|
||||
position: relative;
|
||||
height: auto;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
@ -5,22 +5,20 @@ html {
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
margin-bottom: 60px; /* Margin bottom by footer height */
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
height: 60px; /* Set the fixed height of the footer here */
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
/* Custom page CSS
|
||||
-------------------------------------------------- */
|
||||
/* Not required for template or sticky footer method. */
|
||||
* Not required for template or sticky footer method.
|
||||
* -------------------------------------------------- */
|
||||
|
||||
body > .container {
|
||||
padding: 60px 15px 0;
|
||||
|
@ -5,22 +5,20 @@ html {
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
margin-bottom: 60px; /* Margin bottom by footer height */
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
height: 60px; /* Set the fixed height of the footer here */
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
/* Custom page CSS
|
||||
-------------------------------------------------- */
|
||||
/* Not required for template or sticky footer method. */
|
||||
* Not required for template or sticky footer method.
|
||||
* -------------------------------------------------- */
|
||||
|
||||
.container {
|
||||
width: auto;
|
||||
|
Loading…
x
Reference in New Issue
Block a user