aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/css/common/footer.css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-07-01 02:57:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-07-01 02:57:35 +0300
commit50c1dbeb3af0a0849202ef765c7be2771307856d (patch)
tree0b08f68f185a835d3cf4a23047efc89bd6233677 /css/common/footer.css
parentlighter background-color of <pre> and <code> (diff)
downloadegor-tensin.github.io-50c1dbeb3af0a0849202ef765c7be2771307856d.tar.gz
egor-tensin.github.io-50c1dbeb3af0a0849202ef765c7be2771307856d.zip
css: update common/
Merge css/common/*.css from cpp-notes (my other project). It includes things like horizontal scrollbars inside <pre>s, lighter background inside <pre> and <code>, etc.
Diffstat (limited to '')
-rw-r--r--css/common/footer.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/common/footer.css b/css/common/footer.css
index 417b3d9..1e05c57 100644
--- a/css/common/footer.css
+++ b/css/common/footer.css
@@ -6,6 +6,13 @@ html, body {
height: 100%;
width: 100%;
display: table;
+
+ /*
+ * Without this property, scrollbars inside <pre> 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;