diff options
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/components/_hero.scss (renamed from assets/css/components/_page-header.scss) | 2 | ||||
| -rw-r--r-- | assets/css/components/_page.scss | 14 | ||||
| -rw-r--r-- | assets/css/style.scss | 2 |
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 | ||
