Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaron Schwartz <xaprb@users.noreply.github.com>2019-01-21 20:49:38 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2019-01-21 20:49:38 +0300
commite220c091afc51e07d37de0dfe3f67db92e7f2ac0 (patch)
tree529922929f7725033cc8c31ef04091bd1bd257c6
parent88c9ab109dddb7b4d9c67ab394f5674d0c208a2e (diff)
fix font size rendering bug; fix #66
-rw-r--r--static/css/apron.css3
-rw-r--r--static/css/apron.less5
2 files changed, 8 insertions, 0 deletions
diff --git a/static/css/apron.css b/static/css/apron.css
index 0edc920..ff1aba7 100644
--- a/static/css/apron.css
+++ b/static/css/apron.css
@@ -1,3 +1,6 @@
+html {
+ font-size: 16px;
+}
.remark-slide {
display: block;
box-sizing: border-box;
diff --git a/static/css/apron.less b/static/css/apron.less
index baf65d2..21725b9 100644
--- a/static/css/apron.less
+++ b/static/css/apron.less
@@ -49,6 +49,11 @@
}
}
+// Counters the user's possible changes to default font sizes.
+html {
+ font-size: 16px;
+}
+
// Globals, resets, and fixes. Remark sets display:table and display:table-cell,
// apparently to make things like vertical-align:middle work. But those
// mess with a bunch of other things, and make them hard/impossible. An example