diff options
Diffstat (limited to 'docs-assets/css')
| -rw-r--r-- | docs-assets/css/docs.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 86fcfc6da..fa472f080 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -379,6 +379,39 @@ body { } } +/* Homepage variations */ +.bs-docs-home .carbonad { + margin: 0 -15px 40px !important; +} +@media screen and (min-width: 480px) { + .bs-docs-home .carbonad { + width: 330px !important; + margin: 0 auto 40px !important; + border-radius: 4px; + } +} +@media screen and (min-width: 768px) { + .bs-docs-home .carbonad { + float: left; + width: 330px !important; + margin: 0 0 30px !important; + } + .bs-docs-home .bs-social, + .bs-docs-home .bs-masthead-links { + margin-left: 350px; + } +} +@media screen and (min-width: 992px) { + .bs-docs-home .carbonad { + position: static; + } +} +@media screen and (min-width: 1170px) { + .bs-docs-home .carbonad { + margin-top: -25px !important; + } +} + /* * Callout for 2.3.2 docs |
