File tree Expand file tree Collapse file tree 4 files changed +253
-147
lines changed Expand file tree Collapse file tree 4 files changed +253
-147
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ This project is open source and available under the [MIT License](LICENSE).
9292
9393## Acknowledgments (Standing on the Shoulders of Giants)
9494
95- - Inspired by [ nohello.net] ( https://nohello.net/ ) by [ @ notjosh ] ( https://github.com/notjosh ) (the OG of polite internet education)
95+ - Inspired by [ nohello.net] ( https://nohello.net/ )
9696- Built for all the computers that desperately need a digital nap
9797- Vibe coded with ❤️ and several strategic restarts during development
9898- Special thanks to all the overworked computers that inspired this project
Original file line number Diff line number Diff line change @@ -45,18 +45,24 @@ <h2 class="lead">
4545 existence without restarts! Even machines need their beauty sleep, and frankly, your laptop is starting to look a bit
4646 rough around the edges 💻😴
4747 </ h2 >
48- <!-- Important notice about closing laptop lids -->
48+ </ header >
49+
50+ <!-- Important notice card - separate from header with its own breathing room -->
51+ < section class ="container notice-section " aria-labelledby ="lid-notice-heading ">
52+ < div class ="important-notice-card ">
4953 < div class ="important-notice ">
5054 < div class ="notice-icon "> ⚠️</ div >
5155 < div class ="notice-content ">
52- < strong > Important:</ strong > Closing your laptop lid is NOT the same as restarting!
53- Your computer is just taking a nap, not getting the fresh start it desperately needs.
54- Sleep mode keeps everything running in the background - think of it as your computer pretending to sleep while
55- secretly binge-watching Netflix.
56- </ div >
56+ < h3 id ="lid-notice-heading " class ="notice-title "> Hold up there, lid-closer!</ h3 >
57+ < p > < strong > Important:</ strong > Closing your laptop lid is NOT the same as restarting!</ p >
58+ < p > Your computer is just taking a nap, not getting the fresh start it desperately needs.
59+ Sleep mode keeps everything running in the background - think of it as your computer pretending to sleep while
60+ secretly binge-watching Netflix.</ p >
61+ </ div >
5762 </ div >
58- </ header >
59- </ div >
63+ </ div >
64+ </ section >
65+ </ div >
6066
6167 < main id ="main-content ">
6268 < section class ="container nonos " aria-labelledby ="problems-heading ">
Original file line number Diff line number Diff line change @@ -97,6 +97,18 @@ function activateRestartMode() {
9797 if ( notice ) {
9898 notice . style . cssText = 'background: #000 !important; border: 2px solid #00ff00 !important; color: #00ff00 !important; box-shadow: 0 0 20px #00ff00 !important;' ;
9999 }
100+
101+ // Style the notice card container
102+ const noticeCard = document . getElementsByClassName ( 'important-notice-card' ) [ 0 ] ;
103+ if ( noticeCard ) {
104+ noticeCard . style . cssText = 'background: #000 !important; box-shadow: 0 0 30px #00ff00 !important;' ;
105+ }
106+
107+ // Style the notice title
108+ const noticeTitle = document . getElementsByClassName ( 'notice-title' ) [ 0 ] ;
109+ if ( noticeTitle ) {
110+ noticeTitle . style . cssText = 'color: #00ff00 !important;' ;
111+ }
100112}
101113
102114// Add keydown event listener for the easter egg
You can’t perform that action at this time.
0 commit comments