diff options
Diffstat (limited to 'reference/css/root.css')
-rw-r--r-- | reference/css/root.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/reference/css/root.css b/reference/css/root.css new file mode 100644 index 0000000..b7d29e9 --- /dev/null +++ b/reference/css/root.css @@ -0,0 +1,34 @@ +:root { + --black: #1B1A1A; /* 7/32 */ + --darkgrey: #232121; /* 8/32 */ + --lightgrey:#ECEAEA; /* 30/32 */ + --white: #F6F4F4; /* 31/32 */ + --blue: #5F7C9C; /* oklch(62.5% 0.118 259.065) */ + + --backgroundColour0:var(--black); + --backgroundColour1:var(--darkgrey); + --foregroundColour: var(--white); + --colour: var(--blue); + + --minimumPageWidth:10rem; /* 12rem including body padding. */ + --maximumPageWidth:74rem; + + font-family:"Liberation Serif","serif"; + font-size: calc(1000mm / 1728 * 8); +} + +* { + box-sizing:border-box; + margin: 0; + padding: 0; +} + +body { + background-color:var(--backgroundColour0); + color: var(--foregroundColour); + padding: 1rem; +} + +p { + line-height:1em; +} |