Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/niklasbuschmann/contrast-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorNiklas Buschmann <niklasbuschmann@users.noreply.github.com>2019-07-31 22:22:41 +0300
committerNiklas Buschmann <niklasbuschmann@users.noreply.github.com>2019-07-31 22:22:41 +0300
commitd486ffb6dc894c4f9898de2f2fb56042518f2397 (patch)
treedc45c1b15a5d7dd1c8241235978a82a4b36bab44 /static
parent32946ff59e4857c0908b1f9abf462bda976bf266 (diff)
small improvements
Diffstat (limited to 'static')
-rw-r--r--static/css/index.css3
-rw-r--r--static/css/theme.css13
2 files changed, 6 insertions, 10 deletions
diff --git a/static/css/index.css b/static/css/index.css
index 0cd2ec8..ecb7371 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -2,7 +2,7 @@ body > header h1 {
font-size: 1.6em;
}
-article header h1 {
+article h1 {
font-size: 1.7em;
}
@@ -13,6 +13,7 @@ header p {
.bright {
box-shadow: 0 0 .6em #3c3c3c0f;
+ border-bottom: 1px solid #9494941f;
}
.dark {
diff --git a/static/css/theme.css b/static/css/theme.css
index 274c48c..8b6b286 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -79,7 +79,7 @@ th, td {
}
pre {
- background: #94949414;
+ background: #94949422;
border-radius: 2px;
font-size: .8em;
margin: 1.5em 0;
@@ -96,11 +96,10 @@ p code {
padding: .2em .4em;
}
-body > header, body > footer {
+body > header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
- align-items: center;
}
header h1 {
@@ -115,16 +114,12 @@ nav a {
margin: 0 .8em;
}
-article, body > footer {
- border-top: 1px solid #9494941f;
-}
-
-body > header, article, body > footer {
+body > header, article {
padding: 1.5em 1em;
}
@media (min-width: 40em) {
- body > header, article, body > footer {
+ body > header, article {
padding: 1.5em calc(34% - 12rem);
}
}