summaryrefslogtreecommitdiff
path: root/reference/css/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'reference/css/base.css')
-rw-r--r--reference/css/base.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/reference/css/base.css b/reference/css/base.css
new file mode 100644
index 0000000..16de65a
--- /dev/null
+++ b/reference/css/base.css
@@ -0,0 +1,43 @@
+div.page * + p,* + ol,* + table,* + ul {
+ margin-top:1rem;
+}
+
+li p + ul,li p + ol {
+ margin-top:0;
+}
+
+p a,p a:visited {
+ color: var(--colour);
+ font-weight: bold;
+ text-decoration:none;
+}
+
+p a:hover {
+ color:var(--foregroundColour);
+}
+
+p.math,span.math,td.math {
+ font-size:calc(3rem / 2);
+ padding: calc(1rem / 3) 0;
+}
+
+table {
+ border-collapse:collapse;
+ border-color: var(--foregroundColour);
+ border-style: solid;
+ border-width: calc(1rem / 12);
+}
+
+td,th {
+ padding:calc(1rem / 12) calc(1rem / 4);
+}
+
+th {
+ background-color:var(--foregroundColour);
+ color: var(--backgroundColour1);
+ text-align: center;
+}
+
+ul li,ol li {
+ margin-left:1rem;
+}