diff --git a/assets/scss/_events.scss b/assets/scss/_events.scss index f9b67ac..1934ee4 100644 --- a/assets/scss/_events.scss +++ b/assets/scss/_events.scss @@ -2,19 +2,22 @@ div.events { margin: 0 auto; padding: 20px 30px; background: transparent; - p, a{ + p{ color: $font_default; font-size: $font_size_default; } + a, a:link, a:visited { + text-decoration: none; + color: $font_accent_4; + } + a:hover, a:active { + color: $font_accent_3; + } code { color: $font_accent_4; font-size: $font_size_code; } - h1 { - color: $font_accent_3; - text-shadow: 0px 0px 1px black; - } .headline a { color: $font_accent_3; font-size: $font_size_h2; @@ -35,4 +38,9 @@ div.events { color: $font_accent_3; text-shadow: 0px 0px 1px black; } + img { + max-width: 94%; + margin: 3%; + box-shadow: 5px 5px 4px 3px grey; + } } diff --git a/assets/scss/_general.scss b/assets/scss/_general.scss index 09ebdf8..00c6169 100644 --- a/assets/scss/_general.scss +++ b/assets/scss/_general.scss @@ -2,10 +2,4 @@ body { font-family: $main_font, sans-serif; margin: 25px 25px 50px 25px; background: $background_accent_2; - a { - color: $font_accent_2; - } - a:hover { - color: $font_accent_3; - } } diff --git a/assets/scss/_header.scss b/assets/scss/_header.scss index 9a493e1..39ca4da 100644 --- a/assets/scss/_header.scss +++ b/assets/scss/_header.scss @@ -16,6 +16,12 @@ header { list-style: none; margin: 0; padding: 0; + a, a:link, a:visited { + color: $font_accent_2; + } + a:hover, a:active { + color: $font_accent_3; + } li { display: inline; margin: 0 8px 0 0; diff --git a/templates/blog-post.html b/templates/blog-post.html index 6f24d52..382ca6f 100644 --- a/templates/blog-post.html +++ b/templates/blog-post.html @@ -4,3 +4,9 @@ {% block body %} {{ render_blog_post(this) }} {% endblock %} +{%- block class -%} + events +{%- endblock -%} +{%- block scss -%} + css/events.min.css +{%- endblock -%} diff --git a/templates/blog.html b/templates/blog.html index cb79934..619d1af 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -9,3 +9,9 @@ {{ render_pagination(this.pagination) }} {% endblock %} +{%- block class -%} + events +{%- endblock -%} +{%- block scss -%} + css/events.min.css +{%- endblock -%} diff --git a/templates/macros/blog.html b/templates/macros/blog.html index 3e539ac..d966f90 100644 --- a/templates/macros/blog.html +++ b/templates/macros/blog.html @@ -1,9 +1,9 @@ {% macro render_blog_post(post, from_index=false) %}