From 2c88dd4ad89c1c0938ef28cac950dac7905854e1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 8 Nov 2021 17:33:42 +0300 Subject: css: misc.css -> fix_bootstrap.css --- assets/css/common/fix_bootstrap.css | 34 ++++++++++++++++++++++++++++++++++ assets/css/common/misc.css | 34 ---------------------------------- assets/css/main.css | 2 +- 3 files changed, 35 insertions(+), 35 deletions(-) create mode 100644 assets/css/common/fix_bootstrap.css delete mode 100644 assets/css/common/misc.css 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 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
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  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;
+}
diff --git a/assets/css/common/misc.css b/assets/css/common/misc.css
deleted file mode 100644
index 91f7941..0000000
--- a/assets/css/common/misc.css
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Links become blue inside of  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 
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  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;
-}
diff --git a/assets/css/main.css b/assets/css/main.css
index d37def0..68c6414 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -1,5 +1,5 @@
+@import 'common/fix_bootstrap.css';
 @import 'common/footer.css';
-@import 'common/misc.css';
 @import 'common/posts.css';
 @import 'common/utils.css';
 @import 'snippets.css';
-- 
cgit v1.2.3