summaryrefslogtreecommitdiff
path: root/src/koszko_org_website/static/pure-base.css
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-16 18:52:53 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-16 21:43:50 +0100
commit08f4d63f450ccd96f5077bc60774d8f1fecec92c (patch)
tree7f09941d62ca23737bc0b1f616d2d50eb7dd14af /src/koszko_org_website/static/pure-base.css
downloadkoszko-org-website-08f4d63f450ccd96f5077bc60774d8f1fecec92c.tar.gz
koszko-org-website-08f4d63f450ccd96f5077bc60774d8f1fecec92c.zip
initial commitv2022.11.16
Diffstat (limited to 'src/koszko_org_website/static/pure-base.css')
-rw-r--r--src/koszko_org_website/static/pure-base.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/koszko_org_website/static/pure-base.css b/src/koszko_org_website/static/pure-base.css
new file mode 100644
index 0000000..ea5512d
--- /dev/null
+++ b/src/koszko_org_website/static/pure-base.css
@@ -0,0 +1,38 @@
+/*
+SPDX-License-Identifier: LicenseRef-Yahoo-BSD-3
+
+Copyright 2013 Yahoo! Inc.
+
+See https://git.koszko.org/koszko-org-website/tree/LICENSES/ for details.
+*/
+
+/* ==========================================================================
+ Pure Base Extras
+ ========================================================================== */
+
+/**
+ * Extra rules that Pure adds on top of Normalize.css
+ */
+
+html {
+ font-family: sans-serif;
+}
+
+/**
+ * Always hide an element when it has the `hidden` HTML attribute.
+ */
+
+.hidden,
+[hidden] {
+ display: none !important;
+}
+
+/**
+ * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
+ * aspect ratio.
+ */
+.pure-img {
+ max-width: 100%;
+ height: auto;
+ display: block;
+}