summaryrefslogtreecommitdiff
path: root/css/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/base.css')
-rw-r--r--css/base.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/css/base.css b/css/base.css
new file mode 100644
index 0000000..94b4b59
--- /dev/null
+++ b/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.math,span.math,td.math {
+ font-size: calc(3rem / 2);
+ padding: calc(1rem / 3) 0;
+ user-select:none;
+}
+
+a,a:visited {
+ color: var(--colour);
+ text-decoration:none;
+}
+
+a:hover {
+ color:var(--foregroundColour);
+}
+
+table {
+ border-collapse:collapse;
+ border-color: var(--foregroundColour);
+ border-style: solid;
+ border-width: calc(1rem / 12);
+}
+
+table tr td,table tr th {
+ padding:calc(1rem / 12) calc(2rem / 12);
+}
+
+table tr th {
+ background-color:var(--foregroundColour);
+ color: var(--backgroundColour);
+ text-align: center;
+}
+
+ul li,ol li {
+ margin-left:1rem;
+}