summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-07 08:50:48 +0100
committerVolpeon <git@volpeon.ink>2021-01-07 08:50:48 +0100
commitad478954cf77842364d03e1d5ee85e366e699ee7 (patch)
tree90359dfec83694a758878b37510d9dca1493ef43 /assets
parentImproved subpage organization code in metadata filter (diff)
downloadvolpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.tar.gz
volpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.tar.bz2
volpeon.ink-ad478954cf77842364d03e1d5ee85e366e699ee7.zip
Improved general structure, resolve category name in metadata filter, added hideable nav items, added header for page layout
Diffstat (limited to 'assets')
-rw-r--r--assets/css/components/_hero.scss (renamed from assets/css/components/_page-header.scss)2
-rw-r--r--assets/css/components/_page.scss14
-rw-r--r--assets/css/style.scss2
3 files changed, 16 insertions, 2 deletions
diff --git a/assets/css/components/_page-header.scss b/assets/css/components/_hero.scss
index e97aaf7..7fa79e1 100644
--- a/assets/css/components/_page-header.scss
+++ b/assets/css/components/_hero.scss
@@ -1,4 +1,4 @@
1.c-page-header { 1.c-hero {
2 margin-bottom: $line-height * 2em; 2 margin-bottom: $line-height * 2em;
3 margin-left: -1 * $page--item-prefix--width; 3 margin-left: -1 * $page--item-prefix--width;
4 padding-left: $page--item-prefix--width; 4 padding-left: $page--item-prefix--width;
diff --git a/assets/css/components/_page.scss b/assets/css/components/_page.scss
index bccf069..ce67f7e 100644
--- a/assets/css/components/_page.scss
+++ b/assets/css/components/_page.scss
@@ -1,4 +1,18 @@
1.c-page { 1.c-page {
2 &__header {
3 margin-bottom: $line-height * 1em;
4
5 &__title {
6 margin-top: 0;
7 }
8
9 &__meta {
10 margin-top: 0;
11 color: var(--fg-hi);
12 font-weight: normal;
13 }
14 }
15
2 &__content { 16 &__content {
3 padding-left: $page--item-prefix--width; 17 padding-left: $page--item-prefix--width;
4 18
diff --git a/assets/css/style.scss b/assets/css/style.scss
index e89cbd6..9f3bb31 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -6,7 +6,7 @@
6@import 'components/hlist'; 6@import 'components/hlist';
7@import 'components/nav'; 7@import 'components/nav';
8@import 'components/page'; 8@import 'components/page';
9@import 'components/page-header'; 9@import 'components/hero';
10 10
11@import 'layouts/container'; 11@import 'layouts/container';
12 12