From c7cae0942d6cbc5efbf186fdbf6ea3c614a4f762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 13 Sep 2022 01:54:44 +0300 Subject: Style changes, once more MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I guess I'll never settle for a concrete stylesheet ¯\_(ツ)_/¯ --- sass/css/yaroslavps.scss | 38 ++++++++++++++++++++++++++++++-------- static/img/grid.png | Bin 0 -> 244 bytes templates/index.html | 24 ++++++++++++------------ 3 files changed, 42 insertions(+), 20 deletions(-) create mode 100644 static/img/grid.png diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss index bec28b6..ff9c239 100644 --- a/sass/css/yaroslavps.scss +++ b/sass/css/yaroslavps.scss @@ -12,10 +12,9 @@ html, body { width: 100%; min-height: 100vh; font-size: 14px; - background: linear-gradient(to left, #000, #18214a 30%, #18214a 70%, #000); - // background: no-repeat center fixed url("/img/wave.jpg"); - // background: #000 repeat center/20% fixed url("/img/stars.jpg"); - // background-image: linear-gradient(to left, #00000000, #18214a 40%, #18214a 60%, #00000000), url("/img/stars.jpg"); + background: $bg0; + // background: linear-gradient(to left, #000, #18214a 30%, #18214a 70%, #000); + // background: #000 repeat center fixed url("/img/grid.png"); // background-size: auto, 20%; } @@ -163,7 +162,8 @@ span.publish-date { margin: 1em auto; min-height: 90vh; height: auto; - border: 2px outset $gray1; + border-top: 1px solid $white; + border-bottom: 1px solid $white; } .landing-page-container { @@ -197,10 +197,27 @@ span.publish-date { .landing-page-container, .content-container, -.sidebar-container, +.sidebar-container { + background-color: $bg0; +} + .foot-container { - border: 2px outset $gray1; - background-color: $bg1; + background: #000 repeat center fixed url("/img/grid.png"); + border-top: 1px solid $white; +} + +.foot-container p { + display: inline-block; + background: $bg0; +} + +.foot-container p::after { + content: '\A'; + white-space: pre; +} + +.sidebar-container { + border-left: 1px solid $white; } .new-year { @@ -364,6 +381,11 @@ pre.literal { grid-column-end: 3; } + .sidebar-container { + border-top: 1px solid $white; + border-left: 0; + } + .sidebar-container, .foot-container { grid-row-start: auto; diff --git a/static/img/grid.png b/static/img/grid.png new file mode 100644 index 0000000..27a69d3 Binary files /dev/null and b/static/img/grid.png differ diff --git a/templates/index.html b/templates/index.html index e018b04..21578af 100644 --- a/templates/index.html +++ b/templates/index.html @@ -31,13 +31,13 @@

Иногда я также выкладываю то, что мне кажется интересным или полезным в этом сайте, хоть и не так часто как хотелось. Иногда пишу на русском, но - по большей части пишу на английском. Что можно найти на моём сайте: + по большей части пишу на английском. Вот что можно найти на моём сайте:

{% elif lang == "es" %}

- Bienvenido a mi pequeño rincón de internet. Yo soy Yaroslav. Me gano la - vida escribiendo software, aunque también es mi pasatiempo. Actualmente - trabajo escribiendo software para tecnologías LTE y 5G NR. + Bienvenido a mi pequeño rincón de internet. Yo soy Yaroslav. Programo + para ganarme la vida y por diversión. Actualmente trabajo escribiendo + software para tecnologías LTE y 5G NR.

A veces también publico cosas que me parecen interesantes o de valor a @@ -48,8 +48,8 @@ {% else %}

Welcome to my little corner of the internet. I'm Yaroslav. I write - software for a living, and also as a hobby. Currently working on - software for LTE and 5G NR technologies. + software for a living, and also for fun. Currently working on software + for LTE and 5G NR technologies.

I also sometimes post things that I think are interesting or of value to @@ -66,10 +66,10 @@ {% set latest_weblog = weblog.pages[0] %}

{% if lang == "en" %} - My thoughts on different matters and some things that I would like to + My musings on different matters and some things that I would like to remember. {% elif lang == "es" %} - Mis pensamientos acerca de diferentes temas y ciertas cosas que quisiera + Mis reflexiones acerca de diferentes temas y ciertas cosas que quisiera recordar. {% elif lang == "ru" %} Мои мысли о разных предметах и то, что мне бы хотелось запомнить. @@ -142,11 +142,11 @@ - - + + - - + + -- cgit v1.2.3