mirror of
https://github.com/kevquirk/simple.css.git
synced 2026-11-30 16:48:18 +01:00
Added aside, article and section per #76
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user