From 08f4d63f450ccd96f5077bc60774d8f1fecec92c Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 16 Nov 2022 18:52:53 +0100 Subject: initial commit --- src/koszko_org_website/static/pure-base.css | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/koszko_org_website/static/pure-base.css (limited to 'src/koszko_org_website/static/pure-base.css') 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; +} -- cgit v1.2.3