From 1bf09de79a7492b68b912a1b0fb0e903512aab5e Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 19 Feb 2025 16:33:22 +1100 Subject: make text more readable and randomise left images --- template.txt | 114 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 88 insertions(+), 26 deletions(-) diff --git a/template.txt b/template.txt index bbf10ad..6ff3b99 100644 --- a/template.txt +++ b/template.txt @@ -138,23 +138,23 @@ td {text-align: center;} #links a { font-family: 'allys_sad_handwritingregular', Arial; -padding: 2px 8px; +padding: 0.15em 0.6em; color: #281b38; text-shadow: - -1px -1px 0 white, - 1px -1px 0 white, - -1px 1px 0 white, - 1px 1px 0 white; + -0.08em -0.08em 0 white, + 0.08em -0.08em 0 white, + -0.08em 0.08em 0 white, + 0.08em 0.08em 0 white; transition: all 0.2s; } #links a:hover { color: white; text-shadow: - -1px -1px 0 #281b38, - 1px -1px 0 #281b38, - -1px 1px 0 #281b38, - 1px 1px 0 #281b38; + -0.08em -0.08em 0 #281b38, + 0.08em -0.08em 0 #281b38, + -0.08em 0.08em 0 #281b38, + 0.08em 0.08em 0 #281b38; } .running-sprite { @@ -181,6 +181,17 @@ z-index: 1; transform: scaleX(1); z-index: 1; cursor: pointer; + user-select: none; +} + +.running-sprite2::before { + content: ''; + position: absolute; + top: 0; + left: -30px; + right: -30px; + height: 100%; + pointer-events: all; } .running-sprite2.jumping { @@ -325,14 +336,26 @@ to { } } -.leftimages -{ +.leftimages { z-index: -1; position: fixed; left: 0%; - bottom: -0px; + top: 0; + bottom: 0; width: 100px; - height: auto; + height: 100vh; + overflow: hidden; +} + +.leftimages .gif-container { + display: flex; + flex-direction: column; + align-items: flex-start; + padding-left: 5px; +} + +.leftimages img { + margin: 5px 0; } .hide-on-small { @@ -518,20 +541,59 @@ document.addEventListener('DOMContentLoaded', () => {
-
- - - - -
- - - - - - -
+
+
-- cgit v1.2.3