From e527fb5590c76cffe8a07ef2e68fee120cfca4e8 Mon Sep 17 00:00:00 2001 From: Kev Quirk Date: Tue, 14 Mar 2023 09:52:02 +0000 Subject: [PATCH] Added button and notice classes --- README.md | 2 +- package.json | 4 ++-- simple.css | 25 +++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2f199e3..7d52002 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Simple.css {} -Simple.css is a classless CSS template that allows you to make a good looking website really quickly. +Simple.css is a CSS template that allows you to make a good looking website really quickly. **Find out more at [https://simplecss.org](https://simplecss.org).** diff --git a/package.json b/package.json index 3f77f40..13c38fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "simpledotcss", - "version": "2.1.1", - "description": "Simple.css is a classless CSS template that allows you to make a good looking website really quickly.", + "version": "2.2", + "description": "Simple.css is a CSS template that allows you to make a good looking website really quickly.", "main": "simple.css", "files": [ "simple.css", diff --git a/simple.css b/simple.css index f2af367..8b02b22 100644 --- a/simple.css +++ b/simple.css @@ -623,3 +623,28 @@ progress::-moz-progress-bar { progress:indeterminate::-moz-progress-bar { background-color: var(--accent-bg); } + +/* Classes for buttons and notices */ +.button { + border: none; + border-radius: 5px; + background: var(--accent); + font-size: 1rem; + color: var(--bg); + padding: 0.7rem 0.9rem; + margin: 0.5rem 0; +} + +.button:hover, +.button:focus { + filter: brightness(1.4); + cursor: pointer; +} + +.notice { + background: var(--accent-bg); + border: 2px solid var(--border); + border-radius: 5px; + padding: 1.5rem; + margin: 2rem 0; +} \ No newline at end of file