Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-12-15 03:22:53 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-12-15 03:22:53 +0300
commit0bbd14de56ef118c27a42aa89623cca5edeec94c (patch)
treec6e46da05a1b1793627f623b65c42a0e2848816b /assets/stylesheets/bootstrap/_type.scss
parent303a643224ff1190ba5062fee6834ca2012684eb (diff)
Update to upstream alpha 2
Diffstat (limited to 'assets/stylesheets/bootstrap/_type.scss')
-rw-r--r--assets/stylesheets/bootstrap/_type.scss47
1 files changed, 20 insertions, 27 deletions
diff --git a/assets/stylesheets/bootstrap/_type.scss b/assets/stylesheets/bootstrap/_type.scss
index 23ed540..f770d20 100644
--- a/assets/stylesheets/bootstrap/_type.scss
+++ b/assets/stylesheets/bootstrap/_type.scss
@@ -92,12 +92,12 @@ mark,
// Inline turns list items into inline-block
.list-inline {
@include list-unstyled;
- margin-left: -5px;
+}
+.list-inline-item {
+ display: inline-block;
- > li {
- display: inline-block;
- padding-right: 5px;
- padding-left: 5px;
+ &:not(:last-child) {
+ margin-right: $list-inline-padding;
}
}
@@ -125,24 +125,16 @@ mark,
margin-bottom: $spacer;
font-size: $blockquote-font-size;
border-left: .25rem solid $blockquote-border-color;
+}
- p,
- ul,
- ol {
- &:last-child {
- margin-bottom: 0;
- }
- }
-
- footer {
- display: block;
- font-size: 80%; // back to default font-size
- line-height: $line-height;
- color: $blockquote-small-color;
+.blockquote-footer {
+ display: block;
+ font-size: 80%; // back to default font-size
+ line-height: $line-height;
+ color: $blockquote-small-color;
- &::before {
- content: "\2014 \00A0"; // em dash, nbsp
- }
+ &::before {
+ content: "\2014 \00A0"; // em dash, nbsp
}
}
@@ -153,12 +145,13 @@ mark,
text-align: right;
border-right: .25rem solid $blockquote-border-color;
border-left: 0;
+}
- // Account for citation
- footer {
- &::before { content: ""; }
- &::after {
- content: "\00A0 \2014"; // nbsp, em dash
- }
+.blockquote-reverse .blockquote-footer {
+ &::before {
+ content: "";
+ }
+ &::after {
+ content: "\00A0 \2014"; // nbsp, em dash
}
}