From adb9b3fe169a92ea2da7b8c804c8b91f966c21a4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 7 May 2020 01:48:11 +0000 Subject: remove everything except Jekyll theme stuff I tagged the previous commit to explain what's going on. --- assets/css/common/footer.css | 30 ++++++++++++++++++++++++++ assets/css/common/misc.css | 50 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 assets/css/common/footer.css create mode 100644 assets/css/common/misc.css (limited to 'assets/css/common') diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css new file mode 100644 index 0000000..1e05c57 --- /dev/null +++ b/assets/css/common/footer.css @@ -0,0 +1,30 @@ +html, body { + height: 100%; + width: 100%; +} +.top-level-footer-wrapper { + height: 100%; + width: 100%; + display: table; + + /* + * Without this property, scrollbars inside
 elements don't work if
+   * display's width is less than 750px.
+   * God, I hate CSS.
+   */
+  table-layout: fixed;
+}
+.footer-wrapper-collapse {
+  display: table-row;
+  height: 1px;
+}
+.footer-wrapper-expand {
+  display: table-row;
+  height: auto;
+}
+footer {
+  margin-top: 20px;
+  padding: 15px 0 15px;
+  border-width: 1px 0;
+  border-style: solid;
+}
diff --git a/assets/css/common/misc.css b/assets/css/common/misc.css
new file mode 100644
index 0000000..4bf362b
--- /dev/null
+++ b/assets/css/common/misc.css
@@ -0,0 +1,50 @@
+/* Utility classes to prevent blocks from expanding unreasonably. */
+.wide-enough {
+  max-width: 400px;
+}
+.wider {
+  max-width: 600px;
+}
+/* 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;
+}
+/* Lighter background for 
 and  elements. */
+pre {
+  font-size: inherit;
+  background-color: #fbfbfb;
+}
+.highlight {
+  background-color: #fbfbfb !important;
+}
+code {
+  color: inherit;
+  background-color: #fbfbfb;
+  font-size: inherit;
+}
+/* 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;
+}
-- 
cgit v1.2.3