[Return]

Report a post

Preview
Thread moved to Site Discussion

If u wanna have the styling of one theme but with a different font, u can do this:
:root {
  --font-family-main: "Times New Roman", serif;
  --font-size-main: 12pt;
}


Change the font-family to whatever u want - left is highest priority and to the right are fallbacks (will get used when a higher priority font either doesn't exist on ur system or doesn't contain a glyph that the fallback does). Separate each entry with a comma, and put quotes around font names that have spaces. U may also want to adjust --font-size-main depending on the font u choose

I also made sum presets u can use instead - these are used by the various different kokonotsuba styles, and have a bunch of fallbacks built in:
--font-family-serif (Times New Roman/serif family with MS PGothic-like fallbacks for Japanese)
--font-family-sans-serif (your system's default font/Arial/sans-serif family with Meiryo-like fallbacks for Japanese)
--font-family-msgothic (Ayashhi World-like - MS Gothic with various Japanese monospace fallbacks)
--font-family-mspgothic (2ch-like - MS PGothic with various Mona-compatible fallbacks)
--font-family-aa-2ch: (same as above but also contains a fallback hosted on Heyuri with a 12pt-only aliased MS PGothic-like font fallback - this one is only really intended for correctly displaying 2ch-style AA)

To use the presets, do this:
:root {
  --font-family-main: --font-family-serif;
  --font-size-main: 12pt;
}
Post number No.68709
Board Site Discussion@Heyuri
Optional. Describe what's wrong with it.