Minor CSS changes.

This commit is contained in:
Kremitzl 2019-05-06 17:57:34 +02:00
parent a584528f5a
commit 31f9a431b6
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@ section {
--primary-dark: #928c1b; --primary-dark: #928c1b;
--secondary: #bbd6ec; --secondary: #bbd6ec;
--secondary-dark: #3f5d75; --secondary-dark: #3f5d75;
--secondary-light: #eaf2f9;
--margin: 0.1; } --margin: 0.1; }
/* basic layout */ /* basic layout */
@ -326,6 +327,7 @@ h1 {
h2 { h2 {
line-height: 1.2; } line-height: 1.2; }
p[data-category]::before,
h2[data-category]::before { h2[data-category]::before {
content: attr(data-category); content: attr(data-category);
font-size: .7em; font-size: .7em;

View File

@ -14,6 +14,7 @@ section {
--primary-dark: #928c1b; --primary-dark: #928c1b;
--secondary: #bbd6ec; --secondary: #bbd6ec;
--secondary-dark: #3f5d75; --secondary-dark: #3f5d75;
--secondary-light: #eaf2f9;
--margin: 0.1; --margin: 0.1;
} }
@ -410,6 +411,7 @@ h2 {
line-height: 1.2; line-height: 1.2;
} }
p[data-category]::before,
h2[data-category]::before { h2[data-category]::before {
content: attr(data-category); content: attr(data-category);
font-size: .7em; font-size: .7em;