mirror of
https://github.com/kevquirk/simple.css.git
synced 2026-11-30 16:48:18 +01:00
Fixing #31 - hindsight is a wonderful thing. 🙃
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simpledotcss",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"description": "Simple.css is a classless CSS template that allows you to make a good looking website really quickly.",
|
||||
"main": "simple.css",
|
||||
"files": [
|
||||
|
||||
+4
-4
@@ -62,7 +62,7 @@ body>* {
|
||||
}
|
||||
|
||||
/* Make the header bg full width, but the content inline with body */
|
||||
header {
|
||||
body > header {
|
||||
background: var(--accent-bg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
text-align: center;
|
||||
@@ -71,12 +71,12 @@ header {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
body > header h1 {
|
||||
max-width: 1200px;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
|
||||
header p {
|
||||
body > header p {
|
||||
max-width: 40rem;
|
||||
margin: 1rem auto;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ main {
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
body > footer {
|
||||
margin-top: 4rem;
|
||||
padding: 2rem 1rem 1.5rem 1rem;
|
||||
color: var(--text-light);
|
||||
|
||||
Reference in New Issue
Block a user