mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.1 KiB
63 lines
1.1 KiB
._bootstrap {
|
|
@extend %simple;
|
|
|
|
h4 > code, h5 > code, strong > code { @extend %label; }
|
|
|
|
h2 > small {
|
|
color: $textColorLight;
|
|
float: right;
|
|
}
|
|
|
|
.bs-callout { @extend %note; }
|
|
.bs-callout-info { @extend %note-blue; }
|
|
.bs-callout-danger { @extend %note-red; }
|
|
.bs-callout > h4, .bs-callout > h5 { margin-top: .25rem; }
|
|
|
|
.text-danger { @extend %label, %label-red; }
|
|
|
|
.bs-example {
|
|
padding: .375rem .625rem;
|
|
line-height: 1.5;
|
|
@extend %heading-box;
|
|
}
|
|
|
|
div.bs-example {
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
|
|
+ pre {
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
border-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
a.thumbnail {
|
|
display: block;
|
|
padding: .25em;
|
|
@extend %box;
|
|
|
|
&:after { content: none; }
|
|
+ h4 { margin: .75em 0 .5em; }
|
|
> img { display: block; }
|
|
}
|
|
|
|
.col { margin-bottom: 1.5em; }
|
|
|
|
@media (min-width: 800px) {
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.col {
|
|
flex: 0 1 auto;
|
|
padding: 0 1em;
|
|
width: 33.33%;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
}
|