aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-13 12:47:24 -0700
committerMark Otto <[email protected]>2014-07-13 12:47:24 -0700
commit2211af5ed1d8b766b8a7e889c557ca8594273208 (patch)
tree0efb0b76fe2e78d87b12f80b7b6b4628ee57eb90 /docs
parent3d3622761619b27821b1a86dad06844529229beb (diff)
downloadbootstrap-2211af5ed1d8b766b8a7e889c557ca8594273208.tar.xz
bootstrap-2211af5ed1d8b766b8a7e889c557ca8594273208.zip
more rems in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/docs.min.css43
-rw-r--r--docs/assets/less/docs.less45
2 files changed, 45 insertions, 43 deletions
diff --git a/docs/assets/css/docs.min.css b/docs/assets/css/docs.min.css
index 987d1255b..409f516c2 100644
--- a/docs/assets/css/docs.min.css
+++ b/docs/assets/css/docs.min.css
@@ -277,6 +277,7 @@ body {
}
.bs-docs-footer {
margin-top: 6rem;
+ font-size: 85%;
color: #777;
text-align: center;
border-top: 1px solid #e5e5e5;
@@ -412,7 +413,7 @@ body {
}
@media (min-width: 768px) {
.bs-docs-header {
- font-size: 24px;
+ font-size: 1.5rem;
text-align: left;
}
.bs-docs-header h1 {
@@ -433,8 +434,8 @@ body {
.carbonad {
width: auto !important;
height: auto !important;
- padding: 20px !important;
- margin: 30px -30px -31px !important;
+ padding: 1.25rem !important;
+ margin: 2rem -2rem -2rem !important;
overflow: hidden;
/* clearfix */
font-size: 13px !important;
@@ -491,10 +492,10 @@ body {
@media (min-width: 992px) {
.carbonad {
position: absolute;
- top: 30px;
- right: 60px;
+ top: 2rem;
+ right: 4rem;
width: 330px !important;
- padding: 15px !important;
+ padding: 1rem !important;
margin: 0 !important;
}
.bs-docs-masthead .carbonad {
@@ -502,9 +503,9 @@ body {
}
}
.bs-docs-featurette {
- padding-top: 40px;
- padding-bottom: 40px;
- font-size: 16px;
+ padding-top: 3rem;
+ padding-bottom: 3rem;
+ font-size: 1rem;
line-height: 1.5;
color: #555;
text-align: center;
@@ -516,45 +517,45 @@ body {
border-top: 0;
}
.bs-docs-featurette-title {
- margin-bottom: 5px;
- font-size: 30px;
+ margin-bottom: .5rem;
+ font-size: 2rem;
font-weight: normal;
color: #333;
}
.half-rule {
- width: 100px;
- margin: 40px auto;
+ width: 6rem;
+ margin: 2.5rem auto;
}
.bs-docs-featurette h3 {
- margin-bottom: 5px;
+ margin-bottom: .5rem;
font-weight: normal;
color: #333;
}
.bs-docs-featurette-img {
display: block;
- margin-bottom: 20px;
+ margin-bottom: 1.25rem;
color: #333;
}
.bs-docs-featurette-img:hover {
- color: #428bca;
+ color: #027de7;
text-decoration: none;
}
.bs-docs-featurette-img img {
display: block;
- margin-bottom: 15px;
+ margin-bottom: 1rem;
}
@media (min-width: 480px) {
.bs-docs-featurette .img-responsive {
- margin-top: 30px;
+ margin-top: 2rem;
}
}
@media (min-width: 768px) {
.bs-docs-featurette {
- padding-top: 100px;
- padding-bottom: 100px;
+ padding-top: 6rem;
+ padding-bottom: 6rem;
}
.bs-docs-featurette-title {
- font-size: 40px;
+ font-size: 2.5rem;
}
.bs-docs-featurette .lead {
max-width: 80%;
diff --git a/docs/assets/less/docs.less b/docs/assets/less/docs.less
index 6447547c8..a514ced02 100644
--- a/docs/assets/less/docs.less
+++ b/docs/assets/less/docs.less
@@ -134,6 +134,7 @@ body {
.bs-docs-footer {
margin-top: 6rem;
+ font-size: 85%;
color: #777;
text-align: center;
border-top: 1px solid #e5e5e5;
@@ -293,7 +294,7 @@ body {
@media (min-width: 768px) {
.bs-docs-header {
- font-size: 24px;
+ font-size: 1.5rem;
text-align: left;
}
.bs-docs-header h1 {
@@ -321,8 +322,8 @@ body {
.carbonad {
width: auto !important;
height: auto !important;
- padding: 20px !important;
- margin: 30px -30px -31px !important;
+ padding: 1.25rem !important;
+ margin: 2rem -2rem -2rem !important;
overflow: hidden; /* clearfix */
font-size: 13px !important;
line-height: 16px !important;
@@ -367,7 +368,7 @@ body {
// }
// .bs-docs-header .carbonad-text a,
// .bs-docs-header .carbonad-tag a {
-// color: #563d7c !important;
+// color: @bs-purple !important;
// }
@media (min-width: 480px) {
@@ -392,10 +393,10 @@ body {
@media (min-width: 992px) {
.carbonad {
position: absolute;
- top: 30px;
- right: 60px; // 15px instead of 0 since box-sizing
+ top: 2rem;
+ right: 4rem;
width: 330px !important;
- padding: 15px !important;
+ padding: 1rem !important;
margin: 0 !important;
}
.bs-docs-masthead .carbonad {
@@ -409,9 +410,9 @@ body {
//
.bs-docs-featurette {
- padding-top: 40px;
- padding-bottom: 40px;
- font-size: 16px;
+ padding-top: 3rem;
+ padding-bottom: 3rem;
+ font-size: 1rem;
line-height: 1.5;
color: #555;
text-align: center;
@@ -424,46 +425,46 @@ body {
}
.bs-docs-featurette-title {
- margin-bottom: 5px;
- font-size: 30px;
+ margin-bottom: .5rem;
+ font-size: 2rem;
font-weight: normal;
color: #333;
}
.half-rule {
- width: 100px;
- margin: 40px auto;
+ width: 6rem;
+ margin: 2.5rem auto;
}
.bs-docs-featurette h3 {
- margin-bottom: 5px;
+ margin-bottom: .5rem;
font-weight: normal;
color: #333;
}
.bs-docs-featurette-img {
display: block;
- margin-bottom: 20px;
+ margin-bottom: 1.25rem;
color: #333;
}
.bs-docs-featurette-img:hover {
- color: #428bca;
+ color: @brand-primary;
text-decoration: none;
}
.bs-docs-featurette-img img {
display: block;
- margin-bottom: 15px;
+ margin-bottom: 1rem;
}
@media (min-width: 480px) {
.bs-docs-featurette .img-responsive {
- margin-top: 30px;
+ margin-top: 2rem;
}
}
@media (min-width: 768px) {
.bs-docs-featurette {
- padding-top: 100px;
- padding-bottom: 100px;
+ padding-top: 6rem;
+ padding-bottom: 6rem;
}
.bs-docs-featurette-title {
- font-size: 40px;
+ font-size: 2.5rem;
}
.bs-docs-featurette .lead {
max-width: 80%;