You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some minor changes with font-size and possibly additional styles for Markdown checkboxes. I'm using some edits of the original Print First CSS due to Verdana font being a bit too big at default --font-size.
Note: make sure rem is behaving properly (i.e. not inflating the font size with child elements)
Some way to quickly spot a piece of code we're talking about (like the cloze deletion css)
It shouldn't be difficult to add (searching for a specific line of code once compiled is too slow)
rem only calculates from the default font-size which is set in :root (the --font-size variables are set in print-first-css (or override in anki themes) @ style/modules/variables/typography.less. Tested in Codepen2 — more rem notes
Before
After
image
image
More examples of --font-size issues:
Footnotes
The code is currently doing some (slightly odd) font reduction as Verdana was too big at the root font-size. ↩
There is the question whether :root is the correct element to set the base font-size, perhaps html element is more appropriate, but fuck it, it seems to work fine. According to this root is practically the same as html↩
The text was updated successfully, but these errors were encountered:
Start here ...
Some very old CSS changes
code block
s[...]
and[...]+
buttons #132 (duplicate Anki cloze field[...]
button screws up Pandoc's code #131) (write it manually, don't use the button)★ Key point
stands out more? #129Other things:
code block
smaller--font-size
when viewed in AnkiMobile? (There's a lot of scrolling involved)pre block
? #66img
inside code block?New functionality?
Back to the start ... priority changes
rem
sizing and cascade (Codepen)code
is large!1<code>
such as thisSome not-so-essential changes
<i>
and<b>
but there's also<mark>
Some
rem
testsMore examples of
--font-size
issues:Footnotes
The
code
is currently doing some (slightly odd) font reduction as Verdana was too big at the root font-size. ↩There is the question whether
:root
is the correct element to set the base font-size, perhapshtml
element is more appropriate, but fuck it, it seems to work fine. According to thisroot
is practically the same ashtml
↩The text was updated successfully, but these errors were encountered: