aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-14 00:23:23 -0800
committerMark Otto <[email protected]>2013-02-14 00:23:23 -0800
commit5f0ecb740a71814c4b17bc2252a451548f329342 (patch)
treee68dde10047434dcbb423f7ab56988657dbcaa1f /docs/assets/css/docs.css
parentd709dba284180679accb6e164686249bdf243211 (diff)
downloadbootstrap-5f0ecb740a71814c4b17bc2252a451548f329342.tar.xz
bootstrap-5f0ecb740a71814c4b17bc2252a451548f329342.zip
Start pygmentizing css.html; add new theme for pygments
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css21
1 files changed, 17 insertions, 4 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index c45eb01b9..ac04b339c 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -214,7 +214,8 @@ section > ul li {
}
/* Tweak display of the examples */
-.bs-docs-example + .prettyprint {
+.bs-docs-example + .prettyprint,
+.bs-docs-example + .highlight {
margin-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
@@ -486,9 +487,12 @@ input.focused {
}
.highlight {
+ padding: 9px 14px;
margin-bottom: 14px;
- padding: 14px;
- border-radius: 5px;
+ background-color: #f7f7f9;
+ border: 1px solid #e1e1e8;
+ border-radius: 4px;
+ box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}
.highlight pre {
padding: 0;
@@ -497,7 +501,16 @@ input.focused {
border: 0;
}
.highlight pre code {
- color: #ccc;
+ font-size: inherit;
+ color: #333; /* Effectively the base text color */
+}
+.highlight pre .lineno {
+ display: inline-block;
+ width: 18px;
+ padding-right: 5px;
+ margin-right: 10px;
+ text-align: right;
+ color: #bebec5;
}