diff options
| author | Mark Otto <[email protected]> | 2014-07-09 00:15:20 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-09 00:15:20 -0700 |
| commit | a8625f452ef45fb1a59c049cf02608408303e817 (patch) | |
| tree | c7c7119d744f73f505e63563600ee279d6eccfcb /docs/assets/css/src | |
| parent | f380ca21e207e688e40a8cbef6d0b5a2c2a00472 (diff) | |
| download | bootstrap-a8625f452ef45fb1a59c049cf02608408303e817.tar.xz bootstrap-a8625f452ef45fb1a59c049cf02608408303e817.zip | |
Badges, navs, and more
Diffstat (limited to 'docs/assets/css/src')
| -rw-r--r-- | docs/assets/css/src/docs.css | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 0c5e0e918..f4040bf27 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -949,32 +949,41 @@ h1[id] { .bs-example { position: relative; - padding-top: 3rem; + padding: 1.5rem; margin-top: 1rem; + margin-bottom: -1rem; + border: solid #f7f7f9; + border-width: .2rem 0 0; } /* Echo out a label for the example */ .bs-example:before { position: absolute; top: 0; - display: inline-block; - padding: .5rem .75rem; - font-size: .8rem; + display: none; + padding: .4rem .75rem; + font-size: .75rem; font-weight: bold; color: #fff; text-transform: uppercase; letter-spacing: .1rem; content: "Example"; - background-color: #818a91; + background-color: #eb4c82; border-radius: .2rem; } /* Tweak display of the code snippets when following an example */ .bs-example + .highlight:before { - position: absolute; +/* position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; +*/} + +@media (min-width: 480px) { + .bs-example { + border-width: .2rem; + } } /* Undo width of container */ |
