diff --git a/sass/_sponsors.scss b/sass/_sponsors.scss new file mode 100644 index 0000000..61c037d --- /dev/null +++ b/sass/_sponsors.scss @@ -0,0 +1,19 @@ +.sponsors { + display: flex; + gap: 5em; + justify-content: center; + flex-wrap: wrap; + + a { + display: block; + width: 100%; + max-width: 10em; + } +} + + +@media (prefers-color-scheme: dark) { + .sponsors img[src$=".svg"] { + filter: invert(100%); + } +} diff --git a/sass/style.scss b/sass/style.scss index 117995b..a380701 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -3,6 +3,7 @@ @import "grid"; @import "personnel"; @import "gallery"; +@import "sponsors"; * { box-sizing: border-box; @@ -13,6 +14,10 @@ html, body, h1, h2, h3, p, ul, li { padding: 0; } +h2 { + margin-bottom: 2em; +} + body { font-family: "Noto Sans", Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; diff --git a/static/img/sponsors/albi.svg b/static/img/sponsors/albi.svg new file mode 100644 index 0000000..27c24a3 --- /dev/null +++ b/static/img/sponsors/albi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/sponsors/pragoprojekt.svg b/static/img/sponsors/pragoprojekt.svg new file mode 100644 index 0000000..e139d67 --- /dev/null +++ b/static/img/sponsors/pragoprojekt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/sponsors/protivin.png b/static/img/sponsors/protivin.png new file mode 100644 index 0000000..94708ee Binary files /dev/null and b/static/img/sponsors/protivin.png differ diff --git a/static/img/sponsors/skocice.png b/static/img/sponsors/skocice.png new file mode 100644 index 0000000..da7cc0e Binary files /dev/null and b/static/img/sponsors/skocice.png differ diff --git a/templates/index.html b/templates/index.html index 5d1ba2c..5d0ae57 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,11 +8,13 @@ -
-

Poslední příspěvek

-
- -
- Popisky +
+

Sponzoři

+
+ Pragoprojekt + Protivín + Skočice + Albi +
{% endblock %}