aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-12-13 20:16:01 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-12-13 20:16:01 +0300
commit756beb6a5f31d451416ae3bc35f79bef4fe3763f (patch)
tree9fedfd1a1db7422f7710532487fd19680f782d3a /sass
parentfb6ee4494275528de1ef55e5135cb2562d09a7c0 (diff)
downloadyaroslavps.com-756beb6a5f31d451416ae3bc35f79bef4fe3763f.tar.gz
yaroslavps.com-756beb6a5f31d451416ae3bc35f79bef4fe3763f.zip
Happy holidays season 2024-2025!HEADmaster
And some minor changes here and there.
Diffstat (limited to 'sass')
-rw-r--r--sass/css/_holidays.scss9
-rw-r--r--sass/css/yaroslavps.scss11
2 files changed, 17 insertions, 3 deletions
diff --git a/sass/css/_holidays.scss b/sass/css/_holidays.scss
index e94a080..9e1b59e 100644
--- a/sass/css/_holidays.scss
+++ b/sass/css/_holidays.scss
@@ -1,5 +1,7 @@
body {
background-image: url("/img/snowfall.gif");
+ background-color: rgba(0, 0, 0, 0.25);
+ background-blend-mode: darken;
}
.holiday-greetings {
@@ -12,3 +14,10 @@ body {
font-weight: 500;
}
+.holiday-garland {
+ display: block;
+ width: 100%;
+ height: 65px;
+ background: url("/img/xmas-garland.gif") repeat-x;
+ background-position: top;
+}
diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss
index 1f8390d..ff33b42 100644
--- a/sass/css/yaroslavps.scss
+++ b/sass/css/yaroslavps.scss
@@ -1,12 +1,11 @@
@import "colors";
@import "fonts";
+.holiday-garland,
.holiday-greetings {
display: none;
}
-// @import "holidays";
-
* {
box-sizing: border-box;
}
@@ -20,6 +19,8 @@ html, body {
background-color: $bg0;
}
+@import "holidays";
+
ul,
ol,
li,
@@ -192,7 +193,7 @@ span.publish-date {
}
.header-container {
- padding: 0 2em;
+ padding: 0.1em 2em;
}
.header-container .nav-container {
@@ -342,6 +343,10 @@ pre.literal {
font-size: 16px;
}
+ .holiday-garland {
+ display: none;
+ }
+
h1,
h2,
h3,