diff --git a/config/plugins/automagic-images.yaml b/config/plugins/automagic-images.yaml new file mode 100644 index 0000000..bc11441 --- /dev/null +++ b/config/plugins/automagic-images.yaml @@ -0,0 +1 @@ +enabled: false diff --git a/themes/natascha/css/custom.css b/themes/natascha/css/custom.css index 5133f1c..c5bafb7 100644 --- a/themes/natascha/css/custom.css +++ b/themes/natascha/css/custom.css @@ -10,19 +10,24 @@ font-display: swap; } +:root { + --color-brand: #0081c4; + --color-text: #293236; + --color-text-light: #909090; +} + .funky-font { font-family: 'Hobo Std', Helvetica, Verdana, Arial; } -.text-color-blue { color: #0081c4; } -.text-color-white { color: #ffffff; } -.text-color-dark-grey { color: #293236; } -.text-color-light-grey { color: #909090; } +.text-color-blue { color: var(--color-brand); } +.text-color-white { color: #ffffff; } +.text-color-dark-grey { color: var(--color-text); } +.text-color-light-grey { color: var(--color-text-light); } html, body { font-family: Helvetica, Verdana, Arial; - color: #293236; - font-weight: bold; + color: var(--color-text); min-height: 100%; } @@ -41,7 +46,7 @@ body { } #main-menu { - background-color: #0081c4; + background-color: var(--color-brand); padding-left: 8px; padding-right: 8px; } @@ -66,7 +71,7 @@ body { #main-menu a.active, #main-menu a:hover { - color: #293236; + color: var(--color-text); } #main-menu .navbar-toggler { @@ -88,7 +93,7 @@ body { } #main-menu .dropdown-menu { - background-color: #0081c4; + background-color: var(--color-brand); border-color: #fff; min-width: 0; } @@ -98,8 +103,8 @@ body { } #main-menu .dropdown-menu .dropdown-item:hover { - background-color: #0081c4; - color: #293236; + background-color: var(--color-brand); + color: var(--color-text); } img.social-icon { @@ -112,10 +117,10 @@ a:hover img.social-icon { } #main-outline { - border: 8px solid #0081c4; + border: 8px solid var(--color-brand); border-top: none; min-height: 50vh; - background-color: rgba(255, 255, 255, 0.6); + background-color: rgba(255, 255, 255, 0.88); margin-left: 0; margin-right: 0; } @@ -134,7 +139,7 @@ a:hover img.social-icon { .main-header { font-size: 1.8em; - color: #0081c4; + color: var(--color-brand); } @media (min-width: 768px) { @@ -151,7 +156,7 @@ a:hover img.social-icon { footer { text-align: center; - text-shadow: 1px 1px #293236; + text-shadow: 1px 1px var(--color-text); } .gallery-item { diff --git a/themes/natascha/templates/cv.html.twig b/themes/natascha/templates/cv.html.twig index 22ec858..702a4c0 100644 --- a/themes/natascha/templates/cv.html.twig +++ b/themes/natascha/templates/cv.html.twig @@ -11,6 +11,6 @@
{% set img_logo = page.header.image_logo ? page.media[page.header.image_logo].url : url('theme://images/logo-blauw.png') %} - Logo Galerie Groot Welsden + Logo Galerie Groot Welsden
{% endblock %} diff --git a/themes/natascha/templates/galerie.html.twig b/themes/natascha/templates/galerie.html.twig index 93e6276..a341fc6 100644 --- a/themes/natascha/templates/galerie.html.twig +++ b/themes/natascha/templates/galerie.html.twig @@ -3,7 +3,7 @@ {% endblock %} {% block extra_js %} - + {% endblock %} {% block content %}
@@ -16,7 +16,7 @@ {% for i in 1..12 %}
- +
{% endfor %} diff --git a/themes/natascha/templates/home.html.twig b/themes/natascha/templates/home.html.twig index 5fd5357..f2ca48e 100644 --- a/themes/natascha/templates/home.html.twig +++ b/themes/natascha/templates/home.html.twig @@ -5,7 +5,7 @@ {% set img_main = page.header.image_main ? page.media[page.header.image_main].url : url('theme://images/portret-2.jpg') %} {% set img_secondary = page.header.image_secondary ? page.media[page.header.image_secondary].url : url('theme://images/portret-1.jpg') %} Portret Natascha Rieter - Portret Natascha Rieter + Portret Natascha Rieter

{{ page.title }}

@@ -13,6 +13,6 @@
{% set img_logo = page.header.image_logo ? page.media[page.header.image_logo].url : url('theme://images/logo-blauw.png') %} - Logo Galerie Groot Welsden + Logo Galerie Groot Welsden
{% endblock %} diff --git a/themes/natascha/templates/partials/base.html.twig b/themes/natascha/templates/partials/base.html.twig index beb43f1..82f9f12 100644 --- a/themes/natascha/templates/partials/base.html.twig +++ b/themes/natascha/templates/partials/base.html.twig @@ -1,13 +1,22 @@ - + {% if page.title %}{{ page.title }} – {% endif %}Natascha Rieter + + + + + + {% block extra_css %}{% endblock %} + + + {% block extra_js %}{% endblock %} @@ -25,8 +34,5 @@ - -{% block extra_js %}{% endblock %} - diff --git a/themes/natascha/templates/werk-in-detail.html.twig b/themes/natascha/templates/werk-in-detail.html.twig index d2eb43b..e90970d 100644 --- a/themes/natascha/templates/werk-in-detail.html.twig +++ b/themes/natascha/templates/werk-in-detail.html.twig @@ -3,7 +3,7 @@ {% endblock %} {% block extra_js %} - + {% endblock %} {% block content %}
@@ -13,7 +13,7 @@ {% for i in 1..8 %}
- +
{% endfor %}