diff options
-rw-r--r-- | sass/css/_holidays.scss | 14 | ||||
-rw-r--r-- | sass/css/_newyear.scss | 7 | ||||
-rw-r--r-- | sass/css/yaroslavps.scss | 16 | ||||
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/index.html | 6 |
5 files changed, 25 insertions, 20 deletions
diff --git a/sass/css/_holidays.scss b/sass/css/_holidays.scss new file mode 100644 index 0000000..e94a080 --- /dev/null +++ b/sass/css/_holidays.scss @@ -0,0 +1,14 @@ +body { + background-image: url("/img/snowfall.gif"); +} + +.holiday-greetings { + display: block; + text-align: center; + color: $green; + font-family: $font_serif; + font-size: 2em; + font-variant-caps: small-caps; + font-weight: 500; +} + diff --git a/sass/css/_newyear.scss b/sass/css/_newyear.scss deleted file mode 100644 index 181d807..0000000 --- a/sass/css/_newyear.scss +++ /dev/null @@ -1,7 +0,0 @@ -.newyear-msg { - text-align: center; - font-size: 1.6em; - font-variant-caps: small-caps; - font-family: $font_serif; - color: $red; -} diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss index 52a9064..5b56d1d 100644 --- a/sass/css/yaroslavps.scss +++ b/sass/css/yaroslavps.scss @@ -1,6 +1,11 @@ @import "colors"; @import "fonts"; -@import "newyear"; + +.holiday-greetings { + display: none; +} + +// @import "holidays"; * { box-sizing: border-box; @@ -13,7 +18,6 @@ html, body { min-height: 100vh; font-size: 14px; background-color: $bg0; - background-image: url("/img/snowfall.gif"); } ul, @@ -33,7 +37,7 @@ p { line-height: 1.4; font-family: $font_mono; } -.new-year, + h1 { color: $red; font-family: $font_serif; @@ -200,12 +204,6 @@ span.publish-date { min-height: 90vh; } -.new-year { - text-align: center; - color: $green; - font-size: 2em; -} - .album-container { padding: 1em 2em; } diff --git a/templates/base.html b/templates/base.html index 9a6874f..eb09f8c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -82,7 +82,7 @@ <!-- <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>. --> <!-- </p> --> <p> - © 2018—2023 Yaroslav de la Peña Smirnov. + © 2018—2024 Yaroslav de la Peña Smirnov. </p> <!-- <br> --> <!-- <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"></a> --> diff --git a/templates/index.html b/templates/index.html index bf7be5d..62d382e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,7 +31,7 @@ {% set weblog = get_section(path=weblog_path) %} {% set recipes = get_section(path=recipes_path) %} {% if lang == "ru" %} - <p class="new-year"> + <p class="holiday-greetings"> С Новым 2024 Годом и Рождеством! </p> <p> @@ -46,7 +46,7 @@ по большей части пишу на английском. Вот что можно найти на моём сайте: </p> {% elif lang == "es" %} - <p class="new-year"> + <p class="holiday-greetings"> ¡Feliz Navidad y un Prospero 2024! </p> <p> @@ -62,7 +62,7 @@ contenido está en inglés. Esto es lo que puedes encontrar en mi sitio: </p> {% else %} - <p class="new-year"> + <p class="holiday-greetings"> Merry Christmas and a Happy New Year 2024! </p> <p> |