diff --git a/changelog.html b/changelog.html index e929351..368d90f 100644 --- a/changelog.html +++ b/changelog.html @@ -7,6 +7,7 @@
         # Changelog
+        [v0.1.6] - November 4, 2024: Disabled antialiasing for images in body, added imood and swatch time.
         [v0.1.5] - November 3, 2024: Removed boba manor, added geekring button. Changed to green retro terminal inspired colorscheme but left passable christams colors in comments in case I ever want to switch back. Added night before implementation poem, changed english header font to Terminess Nerd Font and chinese header font to Zpix, body font to ProggyClean Nerd Font, pre font to GohuFont uni11 Nerd Font(currently just the night before implementation poem uses this) and footer font to Silkscreen. Also added a smilies emoticon, and moved underconstruction sign to right before poem, after about me.
         [v0.1.4] - November 2, 2024: Christmas Neko and colorscheme. More buttons!
         [v0.1.3] - October 30, 2024: Fixed sizing bugs with strava and lastfm widgets, added hackclub webring, added geek code, added hack club spooky boba manor. Also added neko!
diff --git a/index.html b/index.html
index 9901f94..98eae50 100644
--- a/index.html
+++ b/index.html
@@ -21,8 +21,18 @@ 

Lennier Mulder

San Francisco, CA

Email: lenniermulder [at] icloud [dot] com

Geek Code v3.12: GU d- s:- a?(---) C++ U+>++++ P L>+ E--- W++ N o? K w--- O? M++ V? PS++ PE- Y+ PGP? t 5 X?>+ R>+ tv+ b+>+++ DI(+) D+ G e- h! !r y

+

Swatch time:

+ + +

I'm feelingThe current mood of kirito139 at www.imood.com

Welcome to my little corner of the internet! Feel free to look around, it's pretty empty right now but I'll probably add more... eventually. This site was made with the help of a large dose of procrastination.

-

About me: I'm a sophomore at Lowell HS, and I run on the XC/TF teams (though I'm currently dealing with shin splints sigh ). I code in python (preferred) and java.

+

About me: I'm Class of '27 at Lowell HS, and I run on the XC/TF teams (though I'm currently dealing with shin splints sigh ). I code in python (preferred) and java.

Under heavy construction
 'TWAS THE NIGHT BEFORE IMPLEMENTATION
@@ -147,11 +157,11 @@ 

Lennier Mulder

- Questionable Content + Questionable Content - Calvin & Hobbes + Calvin & Hobbes diff --git a/index.js b/index.js new file mode 100644 index 0000000..caa787b --- /dev/null +++ b/index.js @@ -0,0 +1,21 @@ +// Returns the current Swatch beat +function GetSwatchTime(showDecimals = true) { + // get date in UTC/GMT + var date = new Date(); + var hours = date.getUTCHours(); + var minutes = date.getUTCMinutes(); + var seconds = date.getUTCSeconds(); + var milliseconds = date.getUTCMilliseconds(); + // add hour to get time in Switzerland + hours = hours == 23 ? 0 : hours + 1; + // time in seconds + var timeInMilliseconds = ((hours * 60 + minutes) * 60 + seconds) * 1000 + milliseconds; + // there are 86.4 seconds in a beat + var millisecondsInABeat = 86400; + // calculate beats to two decimal places + if (showDecimals) { + return Math.abs(timeInMilliseconds / millisecondsInABeat).toFixed(2); + } else { + return Math.floor(Math.abs(timeInMilliseconds / millisecondsInABeat)); + } +} diff --git a/styles.css b/styles.css index 03c0896..aa38243 100644 --- a/styles.css +++ b/styles.css @@ -82,11 +82,17 @@ body { color: var(--text-color); font-family: var(--main-font); font-weight: normal; + font-size: 16px; margin: 0; padding: 0; -webkit-font-smoothing: none; -moz-osx-font-smoothing: unset; font-smooth: never; + image-rendering: -webkit-optimize-contrast; + image-rendering: -moz-crisp-edges; + image-rendering: -o-crisp-edges; + image-rendering: pixelated; + -ms-interpolation-mode: nearest-neigbor; } pre { font-family: 'GohuFont uni11 Nerd Font', sans-serif; @@ -102,6 +108,12 @@ footer { -webkit-font-smoothing: none; -moz-osx-font-smoothing: unset; font-smooth: never; + image-rendering: -webkit-optimize-contrast; + image-rendering: -moz-crisp-edges; + image-rendering: -o-crisp-edges; + image-rendering: pixelated; + -ms-interpolation-mode: nearest-neigbor; + } .container {