mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
make back to top and big headings only for tablets and up
This commit is contained in:
parent
dd533aaaf0
commit
1a546278b9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user