aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css/common/fix_bootstrap.css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 17:33:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-08 17:48:23 +0300
commit2c88dd4ad89c1c0938ef28cac950dac7905854e1 (patch)
treecf71cd18eab04d6bc17c1842132b0c4417d58222 /assets/css/common/fix_bootstrap.css
parentcss: split misc.css (diff)
downloadjekyll-theme-2c88dd4ad89c1c0938ef28cac950dac7905854e1.tar.gz
jekyll-theme-2c88dd4ad89c1c0938ef28cac950dac7905854e1.zip
css: misc.css -> fix_bootstrap.css
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;
+}