-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathReadiumCSS-user_variables.css
39 lines (28 loc) · 1.75 KB
/
ReadiumCSS-user_variables.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* Readium CSS
User settings
A reference for user settings variables
Don’t use this stylesheet
Repo: https://github.com/readium/readium-css */
:root {
--USER__colCount: ; /* integer */
--USER__lineLength: ; /* any value property max-width|height accepts */
--USER__backgroundColor: ; /* Custom color (not preset mode) */
--USER__textColor: ; /* Custom color (not preset mode) */
--USER__textAlign: ; /* left, justify */
--USER__bodyHyphens: ; /* none, auto */
--USER__fontFamily: ; /* font stacks e.g. var(--RS__oldStyleTf) */
--USER__fontSize: ; /* 12 = 75%, 14 = 87.5%, 16 = 100%, 18 = 112.5%, 22 = 137.5%, 24 = 150%, 26 = 162.5%, 28 = 175%, 32 = 200%, 36 = 225%, 40 = 250% */
--USER__lineHeight: ; /* may depend on font size? */
--USER__paraSpacing: ; /* 0, 0.375rem, 0.75rem, 1rem, 1.25rem, 1.5rem, 1.65rem, 1.75rem, 2rem */
--USER__paraIndent: ; /* 0.5rem, 1rem, 1.25rem, 1.5rem, 2rem, 2.5rem, 3rem */
--USER__wordSpacing: ; /* (0.0675rem,) 0.125rem, (0.1875rem,) 0.25rem, (0.3125rem,) 0.375rem, (0.4375rem,) 0.5rem */
--USER__letterSpacing: ; /* 0.0675rem, 0.125rem, 0.1875rem */
--USER__blendImages: ; /* readium-blend-on */
--USER__darkenImages: ; /* readium-darken-on | percentage */
--USER__invertImages: ; /* readium-invert-on | percentage */
--USER__invertGaiji: ; /* readium-invertGaiji-on | percentage */
--USER__ligatures: ; /* none | common-ligatures */
--USER__fontOpticalSizing: ; /* none | auto */
--USER__fontWeight: ; /* number */
--USER__fontWidth: ; /* ultra-condensed | extra-condensed | condensed | semi-condensed | normal | semi-expanded | expanded | extra-expanded | ultra-expanded | percentage */
}