aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-04-09 10:20:50 -0700
committerMark Otto <[email protected]>2013-04-09 10:20:50 -0700
commit1a546278b93a08817152736247469c1155ae3ae2 (patch)
tree2faff2501db110ca71c639495aefe9f44f40ed6c /docs/assets/css/docs.css
parentdd533aaaf0c4d7162d5746948b02b9c710a1df66 (diff)
downloadbootstrap-1a546278b93a08817152736247469c1155ae3ae2.tar.xz
bootstrap-1a546278b93a08817152736247469c1155ae3ae2.zip
make back to top and big headings only for tablets and up
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css51
1 files changed, 26 insertions, 25 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 0f20ec6d4..b6117e927 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -32,26 +32,6 @@ body {
padding-right: 15px;
}
-/* Back to top link */
-.bs-docs-top {
- float: left;
- padding: 7px 15px;
- font-weight: 500;
- color: #999;
- background-color: #eee;
- border-radius: 4px;
-}
-.bs-docs-top:hover {
- color: #fff;
- text-decoration: none;
- background-color: #999;
-}
-.bs-docs-top.affix {
- position: fixed;
- right: 15px;
- bottom: 15px;
-}
-
/* Side notes for calling out things */
.bs-docs-sidenote {
margin: 20px 0;
@@ -92,11 +72,6 @@ section > ul li {
color: #b94a48;
border-bottom: 5px solid #b94a48;
}
-.bs-docs-section-header h1 {
- font-size: 80px;
- font-size: 8rem;
- line-height: 1;
-}
/* Base class */
.bs-docs-jumbotron {
@@ -728,6 +703,32 @@ input.focused {
/* Tablets and up */
@media screen and (min-width: 768px) {
+ /* Back to top link */
+ .bs-docs-top {
+ float: left;
+ padding: 7px 15px;
+ font-weight: 500;
+ color: #999;
+ background-color: #eee;
+ border-radius: 4px;
+ }
+ .bs-docs-top:hover {
+ color: #fff;
+ text-decoration: none;
+ background-color: #999;
+ }
+ .bs-docs-top.affix {
+ position: fixed;
+ right: 15px;
+ bottom: 15px;
+ }
+
+ .bs-docs-section-header h1 {
+ font-size: 80px;
+ font-size: 8rem;
+ line-height: 1;
+ }
+
/* Account for fixed navbar (which is static to start) */
.bs-docs-docs {
padding-left: 260px;