OSPedia banner

OSPedia

58 devlogs
69h 56m 6s

An encyclopedia of Operating Systems! Learn as much as you can (or as much as I can put)! The history of Windows and macOS, with visuals, demos, and more OSes on the way!
request: PLEASE report issues on the issue page

Loading README...

Keyboard1000n17

so i was trying to get a blur on div.content‘s bg, but for some reason ::before and ::after simply wouldn’t work well. like there would be issues like a ghostly sidebar (1st pic), or a blurred scrollbar (2nd pic), so i just undid the changes (3rd pic). in fact, i think i’ll nuke the working tree.
for the 3rd pic, you can see blur becausebackdrop-filter is directly applied to the element instead of a pseudo-element. i was trying to do this because i wanted #info‘s blur to be nicely visible, but it just doesn’t work properly if the parent has blur too

Attachment
Attachment
0
Keyboard1000n17

heyo! here you get… details elements in the sidebar! the content appearing is animated too! i’ll push this to https://unstable--ospedia.netlify.app! please do check it out and create issues on github if there are any issues 🙏

Attachment
0
Keyboard1000n17

styling changes! it brings:

  • a fix for the div.links links not actually scrolling to the heading! it happened cuz the event listeners were added before repositioning the element on screens with width < 1440px, so the event listeners would be on a non-existent element
  • i added details tags to the aside element so that the links for the specific OS are displayed and the rest are hidden in an unopened details tag

do check out the styling changes on the unstable deploy! and give me feedback ON THE GITHUB ISSUES PAGE :cat-gun: (other than the fact that the details tags are basically styleless i’ll do that after i wake up 12:25 AM for me atm :heavysob:)

Attachment
0
Keyboard1000n17

hi guys, i’m back! you probably already know what happened.
anyways, i got started with some styling changes! here’s a changelog:

  • changed the 1366px breakpoint to 1440px
  • fixed the back to top button
  • fixed div.contents links not actually going anywhere (only for screens greater than 1440px???)
Attachment
0
Keyboard1000n17

a devlog before bed! this devlog brings some ui changes and i committed too! it deployed too! if you know me, you’ll know that there’s always something bad when i commit. so, i created an unstable branch and set up netlify branch deploys for unstable too! check out the ui changes at branch deploy and make an issue for any visual bugs!!! :yay:

Attachment
0
Keyboard1000n17

would you look at that, it was backdrop-filter: blur(5px)! for some reason it made it black asf. not sure why but ok. also, i simply don’t get it but whatever. anyways, will commit soon so you can see the style’s true glory!

Attachment
Attachment
0
Keyboard1000n17

why does css wanna pmo me so hard 🙏
i’ve been trying for a while to get the pure black bg off div.content (the black bg section you can see in the middle). it just won’t go away even after removing div.content { background-color: rgba(0, 0, 0, 0.75); }. i know it’s not some other style on the element causing this cuz i can’t find it. anyways, i’ve been working on the styles for a bit and i know i did something other than just styling but i can’t remember TT

Attachment
0
Keyboard1000n17

hey guys! i have’t been here in a week cuz my mom took away my laptop because i was grinding too hard TT

so i found out that im not supposed to put my windows hd images directly in my repo or else i might get dmca striked so uhh i’ll have to rewrite commit history. also, for this purpose, i set up a separate site (no link for u bcuz copyright) with all the windows hd images. also, if you like this project, PLEASE star my repo PLEASE it’s kinda STARLESS 😭

image caption: localhost loading my index page and being slow because 120+% cpu usage because of compiling cling in the bg

Attachment
0
Keyboard1000n17

50th devlog!

for 50 minutes!

this devlog brings refactored scss! now all the styles are defined in one mixin and colors change according to defined variables! also, i added blur in front of the background and made the content column wider alongside scrollbars with transparent backgrounds (the problem was ::webkit-scrollbar-* bs didn’t work but scrollbar-width and scrollbar-color did)! overall, it just looks better! i do have to change some stuff but i’ll do that tomorrow since my mom isn’t liking my grind v_v

Attachment
1

Comments

alarixfr
alarixfr 15 days ago

keep going!

Keyboard1000n17

HELP SASS IS FIGHTING ME OVER VARIABLES 😭😭😭 CHATGPT FAILED ME SO HARD :heavysob:

Attachment
0
Keyboard1000n17

so many issues!
did some ux improvements, don’t feel like listing them here rn.

Attachment
0
Keyboard1000n17

no devlogmaxxing!
here’s what changed:

  • i got windows 1.01, windows 2.03, windows 3.0 and windows 3.1 working in the browser. 95 will just not work because of protected mode limitations or sum shit. i’ll have to either switch to qemu compiled for wasm (it exists lmfao) or make a custom version of windows 95 that doesn’t use protected mode calls or anything
  • i embedded system 1.0-7.0, mac os 8.0 and mac os 9 in the website too. it was surprisingly easy
  • i made an index page for the demos (WIP)
Attachment
Attachment
0
Keyboard1000n17

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO WINDOWS 95 WONT WORK IN THE BROWSER WITHOUT QEMU COMPILED FOR WASM NOOOOOOOOOOOOOOO

I MANAGED TO DO 1.01, 2.03, 3.0, 3.1 BUT NO 95
oh well looks like i’ll just have to do that later
i’ll get started with an index page and infinite mac embeds

Attachment
1

Comments

therandomperson__

if it works at pcjs it probably works here

Keyboard1000n17

i’m going to reduce my devlogs because i need to really focus on this. today, i’ve been trying to get windows 3.0 in the webpage all day and it just won’t even boot. help me


(img is cdrom image from the v86 website after my own hda image refused to boot but it literally doesn’t have enough space for install)

Attachment
0
Keyboard1000n17

added some styles for the demo pages!

of course, this is barely any modification. and the only visible change is that div.contents (aka the table of contents) is not there and the page isn’t centered vertically but that’s because i couldn’t figure out what i should do–spontaneously thinking of the design while implementing it isn’t ideal for efficiency–and also i was modifying the layout in base.njk. here’s what i added:

    <main>
      {{ content | safe }}
      <div id="screen_container">
        <div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
        <canvas style="display: none; width: 100%; height: 100%"></canvas>
      </div>
      <script src="./libv86.js"></script>
      <script>
        var emulator = new V86({
          screen_container: document.querySelector("#screen_container"),
          bios: {
            url: "./seabios.bin",
          },
          vga_bios: {
            url: "./vgabios.bin",
          },
          {{disk}}: {
          url: "{{ url }}",
        },
        wasm_path: "./v86.wasm",
          autostart: true,
        });
        document.querySelector("#screen_container").addEventListener("click", () => {
          document.querySelector("#screen_container").requestPointerLock();
        });
      </script>
    </main>
    {% else %}
<!-- other stuff... -->

remember, i use eleventy to manage all my pages. also, it may seem strange that the h1 is white in light mode, but i’ll fix that tomorrow. i have to go sleep now (11:00 PM in GMT +3:00)

tl;dr

just modified some styles and changed layout for demo pages only, took a while because i didn’t plan layout beforehand.

Attachment
0
Keyboard1000n17

so apparently the real problem was a bad structure and it automatically worked when i pasted the structure from the example page. so it went from:
<div class="screen"><canvas></canvas></div>
to:

  <div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
  <canvas style="display: none; width: 100%; height: 100%"></canvas>
</div>

welp, that wasn’t nice. looks like i’ll make a template.html and point the V86 README point to it. also, it’s running now!

Attachment
0
Keyboard1000n17

holy shit if you know how to use v86, please send me a dm on slack.

changes:

  • the theme toggle works perfectly and even persists across pages (cookie!)
  • updated the light theme to match with the dark theme in layout
  • started with embedding demos inside the browser
Attachment
0
Keyboard1000n17

so i had a really bad bug where text would come on top of other text. chatgpt didn’t help. then i thought of removing .div-level-two which applied 20px of padding-right. that took a while v_v
in other news:

  • made a dark mode logo with white text
  • fixed a bug where clicking on one of the links under Contents would take you to the top of the page.
    • this happened because in the piece of code below, i forgot to change main to main div.content:

let b = document.querySelector("main div.content").scrollHeight - document.querySelector("main div.content").clientHeight;

  • added a dark background over the background wallpaper (yay!)

that’s all for now! next up, i’m going to implement a theme switcher, and then i’ll add os demos. i’ll add more themes later because i’m putting these demos for a school exhibition.
edit: i didn’t even realize i’ve done 50 hours!

Attachment
0
Keyboard1000n17

40th devlog!

i keep doing other stuff for some reason!

here’s what changed:

  • there’s now an improvement to the contents sidebar where subheadings are indented to clearly indicate that they are second-level headings (see screenshot)
  • i made the text in aside.tree (the thing with the links to all the pages) white

not much of course, but making detailed devlogs like this feels good :yay:

Attachment
Attachment
0
Keyboard1000n17

(a devlog with effort put into it?!)

so apparently i simply don’t know how mask images work. i was going mad cuz the search icon and search text were coming as a very dark grey. after half an hour or so, i figured that putting:

&::placeholder,
&::-webkit-input-placeholder,
&::-moz-placeholder {
  color: white !important;
  opacity: 0.8 !important;
}

instead of:

&::placeholder {
  color: white !important;
  opacity: 0.8 !important;
}
&::-webkit-input-placeholder {
  color: white !important;
  opacity: 0.8 !important;
}
&::-moz-placeholder {
  color: white !important;
  opacity: 0.8 !important;
}

somehow, that was the problem. why? how? idk :(
then after another half an hour, i simply gave up and asked chatgpt. apparently, the problem was i had a gray background color on the .pagefind-ui__search-input::before pseudo-element which was making it gray. it was there only because i had copied it from pagefind-ui.css so i could adjust the styles easily in my own stylesheet. rookie mistakes am i right.

do y’all like this yappity yap yap of a devlog? should i make more devlogs like this? also pls follow ^^

Attachment
0
Keyboard1000n17

it’s like someone put an invisibility potion on the search bar!

Attachment
1

Comments

averytoad65
averytoad65 23 days ago

ohh i love how that looks!

Keyboard1000n17

wtf?

so i’ve started with what i promised–themes! atm i’m just trying to finish up this dark mode.

Attachment
Attachment
Attachment
0
Keyboard1000n17

WHY WON’T THE SCROLLBARS WORK ON ASIDE.TREE?!?!?!

Attachment
0
Keyboard1000n17

extra styling! next up: scrollbars

Attachment
0
Keyboard1000n17

OSPedia logo
added an animation to the homepage yay! also why is obs studio so hard to use 😭

0
Keyboard1000n17

OSPedia logo

i’ve added a back to top button! i also did some other stuff but can’t remember right now. next up on the fix list, the homepage!

Attachment
0
Keyboard1000n17

fixed up the search bar which i’ve been putting off and removing the singular media query partial. i’ve been putting media queries here and there to make it easier for me to find where i have to change stuff. also added another element for the contents box to insert itself before, so if the page doesn’t have #info or .info, it will insert itself before an element with the ID #insertHere. next up, i’ll be adding #insertHere where ever applicable.

Attachment
0
Keyboard1000n17

this is good right? i’m going to change the background color of the scrollbars and fix up the index page and then i’ll finally commit!!!

Attachment
Attachment
Attachment
0
Keyboard1000n17

YAY MY HOURS ARE BACK
also js coming in clutch (css aint tho)

Attachment
0
Keyboard1000n17

i don’t think this is ideal… i’ll have to change it then

Attachment
0
Keyboard1000n17

help what did i do i only remember that i set grid-row of main to 1 instead of 2 in the media query

Attachment
0
Keyboard1000n17

save me

now srsly, is this fine? cuz i dont think it is. also i dont think ive actually refactored anything but whatever, i added sass variables.

Attachment
0
Keyboard1000n17

help i cant do this anymore PLEASE

Attachment
0
Keyboard1000n17

started refactoring. will take a while. after this i’ll add themes… and DEMOS!!! commit will be after a while tho.

Attachment
0
Keyboard1000n17

w chatgpt it told me how to fix that clipping problem! i wasnt gonna figure it out myself

Attachment
0
Keyboard1000n17

commit dropping in 1 or 2 days!!!!! now have to fix:

  • everything going up when i click on the last link in the toc
  • media queries to make it good for everyone : )
Attachment
0
Keyboard1000n17

yall im cooking a bg for the entire website and changing the scrollbars

Attachment
0
Keyboard1000n17

better now! so close!!!!

Attachment
1

Comments

Rei
Rei 28 days ago

umm i recommend to add a dark mode cuz my eyes hurt now :pf:

Keyboard1000n17

getting somwhere… follow for updates :)

Attachment
0
Keyboard1000n17

help i think i have to rewrite the styling from scratch

Attachment
0
Keyboard1000n17

lotta styling. also removed all the details tags and changed all the summary tags to h2 tags. i also worked on this quick links thing.

Attachment
0
Keyboard1000n17

help it took so long pls follow to make it worth it

Attachment
2

Comments

cspythoncoder
cspythoncoder about 1 month ago

hey got a small bug on macOs 10.14.6 using brave browser Brave 1.59.64 Chromium: 116.0.5845.163.

when I am opening the website there is a huge glassmorphism thingy which is blocking the view…

Toni
Toni 30 days ago

really love the idea, the website looks great - sadly also experienced the glass thingy blocking your view bug

Keyboard1000n17

finally done with the homepage for the windows section

Attachment
0
Keyboard1000n17

help i cant even remember what i did pls follow to save me

Attachment
0
Keyboard1000n17

here’s my progress so far!

Attachment
0
Keyboard1000n17

started revamping the ui. i had a really good idea last night. i want to do something like the mdn docs! once its finished, you will see :). so far:

  • i figured out why the js i wrote to get the inner height of the browser window wasn’t applying, it was because it only applied whenever the browser would resize (how did i not catch that?).
  • i’ve added max-width: 70ch; to the main element
  • i’m switching to a mobile-first stylesheet so that i don’t need a bunch of rules just to set display: none;
    it’s gonna take a while. pls follow and star my repo and project : )
Attachment
0
Keyboard1000n17

added a close button for the hamburger menu. i have no idea how tf it took me 31 minu-oh wait, i forgot i was styling it too and that took a bit. im finally gonna commit.
edit: wtf what happened to the images? oh well go to the website and open devtools and use that device emulator or if you’re on a phone, just open the site and open and close the menu

Attachment
Attachment
0
Keyboard1000n17

lmfao i was trying to figure out why my menu wasn’t aligning to the right and why right: -15px; seemed to work and eventually i pasted the code into chatgippity and i had another ruleset targeting the same element and there was margin-right: 1rem; there i’m so blind even with glasses that have +3.5 power 😭

Attachment
0
Keyboard1000n17

so i’ve worked on improvements for the hamburger menu because there’s no blur. it took this long because of something about stacking context making the blur container go above the hamburger menu drawer (asked chatgippity after looking at it for 15 minutes without any progress whatsoever). i moved the hamburger menu part out of the nav element, only leaving the menu icon that opens the menu when you click it.
tldr: my blur was going above my hamburger menu because stacking context

Attachment
0
Keyboard1000n17

so it was because i nested a tags… what did i expect i guess i deserved that

Attachment
0
Keyboard1000n17

so my plan was just to modify the pagefind ui styling so that it doesn’t go off the damn phone screen and become a minor constituent of the air and i decided i’d do some homepage improvements too, and now… i think the screenshot tells it all

Attachment
0
Keyboard1000n17

Just added a blur behind the OS logos lol. It took like 5 minutes but the time logged is 5^2 because I couldn’t figure out why tf my overlay styles weren’t working. It was because I was using > instead of <space>. The difference is that <space> means anywhere within an element, and > means a direct descendant of the element. Rookie mistake on my part I thought the Eleventy watch server was tripping lmfao : ).

Attachment
0
Keyboard1000n17

SO much improvement!

  • Finished the fluentUI.scss stylesheet WITH media query
  • Added the html-minifier-next package after checking out other packages
  • Added a bunch of scripts in package.json
  • NEW!: Minified the (built) site! (was painful and the time didn’t even get logged 😭🙏
Attachment
0
Keyboard1000n17

Shipped this project!

Hours: 10.57
Cookies: 🍪 219
Multiplier: 20.68 cookies/hr

So far, it’s been coming well. I feel that even with only two devlogs, the project is at shipping quality. I’ve worked on it before and after Summer of Making. I mean, I only join these YSWSs to enjoy some conversation and get rewards for stuff I’d do anyway.

Keyboard1000n17

just worked further on the scss. dont mind the disgusting diffs, it’s minified lol.

Attachment
0
Keyboard1000n17

nearly 10h! (???)
i don’t know why 10h but i’ll take it! i’ve begun finally implementing SCSS on my website. my files aren’t linked to it yet because it’s not complete and i’m planning to do that soon. meanwhile, during the gap between Summer or Making and joining Flavortown:

  • i implemented a unified eleventy template for ALL my website files
  • i also added a convenient table management system for my release history tables that uses JSON to generate a table. i’m thinking about going back though because it’s super unoptimized. like, using the JSON to build a table and then pasting the output into the file.
  • i’ve changed the landing page a little
  • did i mention a search bar?
    go check out everything on the website!
Attachment
0