aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-26 21:28:29 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-26 21:28:29 +0100
commit6682690a1c8a05bcffc24bcef3c89a14c1762d85 (patch)
tree1c02b2df5f0678853cd4979125e03e65b7a66501 /styles
parent12b41df69ad0bb3e2697071d55e9023026a0c59a (diff)
image and button components
Diffstat (limited to 'styles')
-rw-r--r--styles/button.css25
-rw-r--r--styles/image.css16
2 files changed, 41 insertions, 0 deletions
diff --git a/styles/button.css b/styles/button.css
new file mode 100644
index 0000000..ff5ecec
--- /dev/null
+++ b/styles/button.css
@@ -0,0 +1,25 @@
+.button {
+ background-color: var(--fire-opal);
+ color: var(--fg) !important;
+
+ padding: 12px;
+ min-width: 200px;
+ text-align: center;
+ width: min-content;
+
+ display: block !important;
+ margin: 0 auto var(--page-margins) auto;
+
+ font-size: 1rem;
+ font-family: "Inter", sans-serif;
+ font-weight: 600;
+
+ border-radius: 8px;
+ border: 0;
+
+ cursor: pointer;
+}
+
+a.button { min-width: calc(200px - 2 * 12px); }
+a.button::after { display: none; }
+
diff --git a/styles/image.css b/styles/image.css
new file mode 100644
index 0000000..d354ab9
--- /dev/null
+++ b/styles/image.css
@@ -0,0 +1,16 @@
+.image,
+.image img {
+ width: 100%;
+ max-width: 500px;
+}
+
+.image {
+ margin: 0 auto var(--page-margins) auto;
+}
+
+.image p {
+ text-align: left;
+ opacity: .8;
+ font-style: italic;
+ margin-top: 12px;
+}