diff options
Diffstat (limited to 'src/koszko_org_website/static/pure-base.css')
-rw-r--r-- | src/koszko_org_website/static/pure-base.css | 38 |
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; +} |