Skip to content

Commit e3af79d

Browse files
committed
Home page now matches rest of site
1 parent 7eb1685 commit e3af79d

File tree

2 files changed

+44
-8
lines changed

2 files changed

+44
-8
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113
</div>
114114
<br>
115115
<br>
116-
<div class="didYouKnow" style="margin-top: -35px; border: 2px solid black; outline: 2px solid rgba(255, 255, 255, 0.5); image-rendering: pixelated;">
117-
<div class="didYouKnowHeader">Did you know?</div>
116+
<div class="didYouKnow" style="margin-top: -35px; image-rendering: pixelated;">
117+
<div class="didYouKnowHeader"><img src="/img/gui/oreui/other.png">Did you know?</div>
118118
<div class="didYouKnowBody">
119119
<i>Minecraft: New Nintendo 3DS Edition</i> was announced and released on the same day - September 13th, 2017, during a Nintendo Direct.
120120
</div>
121121
</div>
122122
<div style="position: relative; bottom: 35px; width: calc(70% - 15px); padding-top: 7px; border: 2px solid black; outline: 2px solid rgba(255, 255, 255, 0.5); image-rendering: pixelated;" class="featuredVideo">
123-
Featured Video<br>
123+
<span class="featuredHeader"><img src="/img/gui/oreui/worlds.png"> Featured Video<br></span>
124124
<!--wyndchyme was here. Let it be known Pizza has been forgiven for his crimes by providing links for the mods page. Thanks, Pizza.-->
125125
<iframe src="https://www.youtube.com/embed/qqUPaUAleYs?si=glkFwQhPKF6vMVot" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="display: block; margin: 0 auto;"></iframe>
126126
</div>

style.css

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ body {
219219

220220
.didYouKnow {
221221
width: 30%;
222-
background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5)), url(img/bg/netherrack.png);
222+
background-color: rgba(181, 207, 255, 0.35);
223223
background-size: 32px;
224224
position: absolute;
225225
right: 0;
@@ -233,14 +233,38 @@ body {
233233
}
234234

235235
.didYouKnowHeader {
236-
color: rgb(255, 214, 202);
237-
padding-top: 3px;
238-
padding-bottom: 3px;
239-
background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.1)), url(img/bg/nether_bricks.png);
236+
text-align: center;
237+
color: white;
238+
padding-top: 5px;
239+
padding-bottom: 5px;
240+
background-color: rgba(255, 255, 255, 0.35);
240241
background-size: 32px;
241242
image-rendering: pixelated;
242243
font-size: 16pt;
243244
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.75);
245+
text-indent: 0 !important;
246+
display: flex;
247+
justify-content: center;
248+
gap: 8px;
249+
}
250+
251+
.didYouKnowHeader img {
252+
height: 24px;
253+
width: auto;
254+
flex-shrink: 0;
255+
flex-grow: 0;
256+
image-rendering: pixelated;
257+
position: absolute;
258+
top: 7px;
259+
left: 7px;
260+
}
261+
262+
.featuredHeader {
263+
display: flex;
264+
justify-content: left;
265+
margin-left: 10px;
266+
text-indent: 0;
267+
gap: 10px;
244268
}
245269

246270
@media (max-width: 1000px) {
@@ -258,6 +282,12 @@ body {
258282
}
259283
}
260284

285+
@media (max-width: 1200px) {
286+
.didYouKnowHeader img {
287+
display: none;
288+
}
289+
}
290+
261291
.didYouKnowBody {
262292
padding-left: 15px;
263293
padding-right: 15px;
@@ -368,6 +398,12 @@ body {
368398
.didYouKnowHeader {
369399
font-size: 14pt !important;
370400
}
401+
.didYouKnowHeader img {
402+
display: block;
403+
position: absolute;
404+
top: 5px;
405+
left: 7px;
406+
}
371407
.didYouKnowBody {
372408
font-size: 17pt !important;
373409
}

0 commit comments

Comments
 (0)