aboutsummaryrefslogtreecommitdiff
path: root/sass
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-02-05 00:27:43 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2024-02-05 00:30:28 +0300
commit08f5c17072388dc68b30405b138997b48ff92243 (patch)
treea7e29a9e0000a65c08c80efe0eef7079a193b97c /sass
parent8a25e8c4ddc19773f80928ccc9804ae3f12dcd39 (diff)
downloadyaroslavps.com-08f5c17072388dc68b30405b138997b48ff92243.tar.gz
yaroslavps.com-08f5c17072388dc68b30405b138997b48ff92243.zip
End of holidays (a little bit late maybe? :))
Hope you enjoyed your holidays! Also made it easier to "turn on and off" the holiday greetings.
Diffstat (limited to 'sass')
-rw-r--r--sass/css/_holidays.scss14
-rw-r--r--sass/css/_newyear.scss7
-rw-r--r--sass/css/yaroslavps.scss16
3 files changed, 21 insertions, 16 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;
}