2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

center example sites in docs on mobile

This commit is contained in:
Mark Otto
2011-12-11 01:58:06 -08:00
parent 95048c271e
commit 401f84a7ec
3 changed files with 31 additions and 2 deletions
+20
View File
@@ -323,6 +323,11 @@ h2 + table {
-------------------------------------------------- */
@media (max-width: 480px) {
/* Reduce padding above jumbotron */
body {
padding-top: 70px;
}
/* Change up some type stuff */
h1 small {
display: block;
@@ -362,6 +367,21 @@ h2 + table {
.quick-links {
margin: 40px 0 0;
}
/* hide the bullets on mobile since our horizontal space is limited */
.quick-links .divider {
display: none;
}
/* center example sites */
.example-sites {
margin-left: 0;
}
.example-sites a {
float: none;
display: block;
max-width: 300px;
margin: 0 auto 18px;
}
}