Skip to content

Commit

Permalink
Added aside, article and section per #76
Browse files Browse the repository at this point in the history
  • Loading branch information
kevquirk committed May 7, 2022
1 parent ca85115 commit bde5407
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
28 changes: 28 additions & 0 deletions simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bde5407

Please sign in to comment.