Skip to content

Commit 9473e69

Browse files
committed
finally fixed the wrong background of the pages
1 parent 12d3f4a commit 9473e69

7 files changed

Lines changed: 24 additions & 19 deletions

File tree

buttons/archive.gif

3.85 KB
Loading

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Projects</h2>
7878
</article>
7979
</main>
8080
<hr>
81-
<p>This page was last updated on <time datetime="2024-07-18">Thursday, July 18, 2024</time></p>
81+
<p>This page was last updated on <time datetime="2026-03-06">Friday, March 6, 2026</time></p>
8282
<div>
8383
<a href="https://firefox.com" target="_blank"><img src="buttons/firefox_best.gif" alt="nuh uh"></a>
8484
<a href="https://smokepowered.com/" target="_blank"><img src="buttons/smoke.gif"
@@ -88,11 +88,13 @@ <h2>Projects</h2>
8888
alt=""></a>
8989
<a href="https://archlinux.org/" target="_blank"><img src="buttons/powered-by-arch.png" alt=""></a>
9090
<a href="https://code.visualstudio.com/" target="_blank"><img src="buttons/vscbutton.gif" alt=""></a>
91+
<a href="https://archive.org/about/" target="_blank"><img src="buttons/archive.gif" alt=""></a>
9192
<img src="buttons/best viewed with.gif" alt="">
9293
</div>
9394
<span><small><a href="pages/buttons.html">What are these buttons?</a></small></span>
9495
</div>
95-
<footer class="main-bg">
96+
97+
<footer class="">
9698
<span id="copyright"></span>
9799
</footer>
98100
</div>

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
window.onload = function () {
22
var footer_text = document.getElementById("copyright");
33
footer_text.textContent = "\u00A9 2020-" + new Date().getFullYear() + " DevDoctor";
4-
if(localStorage.getItem('stars')) {
4+
if(localStorage.getItem('stars') && !this.document.getElementById("nostars")) {
55
stars();
66
}
77
};

pages/about.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<body>
1717
<input type="button" id="stars" onclick="setStars()" value="">
18-
<div class="container" id="main-container">
18+
<div class="container main-bg" id="">
1919
<header>
2020
<nav class="centered">
2121
<a href="../index.html">Home</a>
@@ -27,8 +27,7 @@
2727
<main>
2828
<h1>About</h1>
2929
<article>
30-
<p>I am currently studying Computer Science at <a href="https://www.uninsubria.it/"
31-
target="_blank">Uninsubria</a>.</p>
30+
<p>I currently suspended my studies at University for an existential crisis.</p>
3231
<h2>Contents</h2>
3332
<ul>
3433
<li>

pages/blog.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515

1616
<body>
17-
<div class="container">
17+
<div class="container main-bg">
1818
<header>
1919
<nav>
2020
<a href="../index.html">Home</a>
@@ -33,7 +33,7 @@ <h1>Blog</h1>
3333
</main>
3434
</div>
3535

36-
<footer>
36+
<footer class="main-bg">
3737
<span id="copyright"></span>
3838
</footer>
3939
</body>

pages/theMasterpiece.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ <h1 id="page-title">A Timeless Masterpiece</h1>
4343
crucify it. The hype surrounding the so-called “revolutionary” first-person shooter had grown to
4444
seemingly unrealistic levels during its five-year production period. Early reviews heralded it as
4545
the video game to end all video games; a cinematic, life-changing experience that would alter the
46-
very nature of the industry; and a goddamned masterful work of capital-A Art — it seemed practically
47-
destined to disappoint.
46+
very nature of the industry; and a goddamned masterful work of capital-A Art.
4847
</p>
4948
<p>
49+
It seemed practically destined to disappoint.
5050
Yet, the funny thing is, it somehow didn’t.
5151
</p>
5252
<p>BioShock not only lived up to these sky-high expectations, it surpassed them. Critics and players
@@ -84,8 +84,8 @@ <h2><i>“We all make choices, but in the end, our choices make us.”</i></h2>
8484
</p>
8585
<p>
8686
In any other game, the natural progression of events would be simple: You fight off the Big Daddy,
87-
harvest the ADAM from the Little Sisters perhaps feel a little squeamish about killing them in the
88-
process, but do it anyway because you have no choice — and then continue about the game, life force
87+
harvest the ADAM from the Little Sisters, perhaps feel a little squeamish about killing them in the
88+
process, but do it anyway because you have no choice, then continue about the game, life force
8989
replenished. But this is where BioShock begins to undeniably stand apart from its predecessors.
9090
After you have vanquished the Big Daddy, you’re faced with a seemingly strange choice as you gaze
9191
upon the quivering face of the Little Sister: HARVEST or RESCUE?
@@ -97,13 +97,13 @@ <h2><i>“We all make choices, but in the end, our choices make us.”</i></h2>
9797
worth your while.
9898
</p>
9999
<p>
100-
It seems like such a simple choice: It’s a character in a video game — why wouldn’t you harvest her
100+
It seems like such a simple choice: It’s a character in a video game. Why wouldn’t you harvest her
101101
and reap the rewards? Cute as she may be, the Little Sister doesn’t exist; your choice doesn’t have
102102
any actual consequence in the real world. Yet, there’s something undeniably visceral that takes over
103103
when you’re sitting there, controller in hand, staring up at the face of a whimpering, scared little
104-
girl. By requiring you to make the decisionharvest or rescue the game has made you think about
105-
her as something more than just another NPC. She all of a sudden becomes unmistakably real. And if
106-
you’re like me you can’t bring yourself to click harvest without triggering an existential crisis
104+
girl. By requiring you to make the decision, harvest or rescue, the game has made you think about
105+
her as something more than just another NPC. She all of a sudden becomes unmistakably real. And, if
106+
you’re like me, you can’t bring yourself to click harvest without triggering an existential crisis
107107
of epic proportions.
108108
</p>
109109
<p>
@@ -119,6 +119,7 @@ <h2><i>“We all make choices, but in the end, our choices make us.”</i></h2>
119119
<iframe src="https://store.steampowered.com/widget/409720/127633/" frameborder="0" width="100%" height="190"></iframe>
120120
</article>
121121
</main>
122+
<div id="nostars"></div>
122123
</div>
123124
<footer>
124125
<span id="copyright"></span>

style/main.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,13 @@ footer {
6565
font-family: 'Courier New', Courier, monospace;
6666
color: var(--comments-text-color);
6767

68-
max-width: 800px;
68+
width: 100%;
6969

70-
margin-left: auto;
71-
margin-right: auto;
70+
padding-left: 12px;
71+
padding-right: 12px;
72+
73+
margin-left: 0;
74+
margin-right: 0;
7275
}
7376

7477
hr {

0 commit comments

Comments
 (0)