mirror of
https://github.com/kevquirk/simple.css.git
synced 2026-11-30 16:48:18 +01:00
Added button and notice classes
This commit is contained in:
@@ -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
@@ -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
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user