Added button and notice classes

This commit is contained in:
Kev Quirk
2023-03-14 09:52:02 +00:00
parent 588e6e971d
commit e527fb5590
3 changed files with 28 additions and 3 deletions
+1 -1
View File
@@ -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).**
+2 -2
View File
@@ -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",
+25
View File
@@ -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;
}