Added aside, article and section per #76

This commit is contained in:
Kev Quirk
2022-05-07 09:27:07 +01:00
parent ca85115fdb
commit bde5407178
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "simpledotcss",
"version": "2.0.7",
"version": "2.1.0",
"description": "Simple.css is a classless CSS template that allows you to make a good looking website really quickly.",
"main": "simple.css",
"files": [
+28
View File
@@ -271,6 +271,34 @@ header > nav a:last-child {
}
}
aside {
width: 30%;
padding: 0 15px;
margin-left: 15px;
float: right;
background: var(--accent-bg);
border: 1px solid var(--border);
border-radius: 5px;
}
article {
border: 1px solid var(--border);
padding: 1rem;
border-radius: 5px;
}
article h2:first-child,
section h2:first-child {
margin-top: 1rem;
}
section {
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
padding: 2rem 1rem;
margin: 3rem 0;
}
/* Format the expanding box */
details {
background: var(--accent-bg);