aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/common/fix_bootstrap.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/common/fix_bootstrap.css')
-rw-r--r--assets/css/common/fix_bootstrap.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/css/common/fix_bootstrap.css b/assets/css/common/fix_bootstrap.css
new file mode 100644
index 0000000..91f7941
--- /dev/null
+++ b/assets/css/common/fix_bootstrap.css
@@ -0,0 +1,34 @@
+/* Links become blue inside of <hN> elements otherwise. */
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a {
+ color: inherit;
+}
+/* Link captions might become too close to badges on the sidebar. */
+span.badge {
+ margin-left: .5em;
+}
+/* Add horizontal scrollbars to <pre>s and don't wrap the code inside. */
+pre {
+ overflow-x: auto;
+}
+pre code {
+ white-space: pre;
+ word-wrap: normal;
+}
+/* Fixup syntax.css, which sets the code background to white. */
+.highlight {
+ background-color: #fafafa !important;
+}
+/* Prevent <code> elements from standing out from alerts. */
+.alert code {
+ padding: 0;
+ background-color: inherit;
+}
+/* Don't color category links blue. */
+.text-muted a.category {
+ color: inherit;
+}