diff options
| author | Mark Otto <[email protected]> | 2013-12-14 16:20:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-14 16:20:19 -0800 |
| commit | 83c60ef3eec234b3dac94c841fd1f13f94aab36f (patch) | |
| tree | 0d896dedbbd47723ab769b139b63a5a58778e578 /docs-assets/css/docs.css | |
| parent | 3bfa630d2afe70452861b2466daab78daa47dda8 (diff) | |
| parent | 4afcebe0e71aafd0cfb501548a6591effdbe2e70 (diff) | |
| download | bootstrap-83c60ef3eec234b3dac94c841fd1f13f94aab36f.tar.xz bootstrap-83c60ef3eec234b3dac94c841fd1f13f94aab36f.zip | |
Merge branch 'master' into pr/11107
Conflicts:
docs-assets/js/raw-files.js
Diffstat (limited to 'docs-assets/css/docs.css')
| -rw-r--r-- | docs-assets/css/docs.css | 86 |
1 files changed, 56 insertions, 30 deletions
diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 80784d97e..28d93e4e9 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1,3 +1,11 @@ +/*! + * Copyright 2013 Twitter, Inc. + * + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. + */ + + /* * Bootstrap Documentation * Special styles for presenting Bootstrap's documentation and code examples. @@ -553,20 +561,10 @@ h1[id] { /* Common styles for all types */ .bs-callout { - /*position: relative;*/ margin: 20px 0; padding: 20px; border-left: 3px solid #eee; - /*border-width: 1px 1px 1px 10px;*/ } -/*.bs-callout:before { - position: absolute; - top: 0; - left: -20px; - color: #fff; - width: 20px; - height: 20px; -}*/ .bs-callout h4 { margin-top: 0; margin-bottom: 5px; @@ -574,10 +572,6 @@ h1[id] { .bs-callout p:last-child { margin-bottom: 0; } -.bs-callout code, -.bs-callout .highlight { - /*background-color: #fff;*/ -} /* Variations */ .bs-callout-danger { @@ -592,15 +586,44 @@ h1[id] { border-color: #faebcc; } .bs-callout-warning h4 { - color: #c09853; + color: #8a6d3b; } .bs-callout-info { background-color: #f4f8fa; border-color: #bce8f1; } .bs-callout-info h4 { - color: #3a87ad; + color: #34789a; +} + + +/* + * Color swatches + * + * Color swatches and associated values for our grayscale and brand colors. + */ + +.color-swatches { + margin: 0 -5px; + overflow: hidden; /* clearfix */ } +.color-swatch { + float: left; + width: 100px; + height: 100px; + margin: 0 5px; + border-radius: 3px; +} +.color-swatches .gray-darker { background-color: #222; } +.color-swatches .gray-dark { background-color: #333; } +.color-swatches .gray { background-color: #555; } +.color-swatches .gray-light { background-color: #999; } +.color-swatches .gray-lighter { background-color: #eee; } +.color-swatches .brand-primary { background-color: #428bca; } +.color-swatches .brand-success { background-color: #5cb85c; } +.color-swatches .brand-warning { background-color: #f0ad4e; } +.color-swatches .brand-danger { background-color: #d9534f; } +.color-swatches .brand-info { background-color: #5bc0de; } /* @@ -927,7 +950,6 @@ h1[id] { */ .highlight { - display: none; /* hidden by default, until >480px */ padding: 9px 14px; margin-bottom: 14px; background-color: #f7f7f9; @@ -955,13 +977,6 @@ h1[id] { color: #bebec5; } -/* Show code snippets when we have the space */ -@media (min-width: 481px) { - .highlight { - display: block; - } -} - /* * Responsive tests @@ -1043,11 +1058,12 @@ h1[id] { */ .bs-glyphicons { + margin: 0 -19px 20px -16px; + overflow: hidden; +} +.bs-glyphicons-list { padding-left: 0; - padding-bottom: 1px; - margin-bottom: 20px; list-style: none; - overflow: hidden; } .bs-glyphicons li { float: left; @@ -1055,23 +1071,33 @@ h1[id] { height: 115px; padding: 10px; margin: 0 -1px -1px 0; - font-size: 12px; + font-size: 10px; line-height: 1.4; text-align: center; border: 1px solid #ddd; } .bs-glyphicons .glyphicon { - display: block; - margin: 5px auto 10px; + margin-top: 5px; + margin-bottom: 10px; font-size: 24px; } +.bs-glyphicons .glyphicon-class { + display: block; + text-align: center; + word-wrap: break-word; /* Help out IE10+ with class names */ +} .bs-glyphicons li:hover { background-color: rgba(86,61,124,.1); } @media (min-width: 768px) { + .bs-glyphicons { + margin-left: 0; + margin-right: 0; + } .bs-glyphicons li { width: 12.5%; + font-size: 12px; } } |
