Skip to content

Commit 9f4dc19

Browse files
committed
Fancified news header
1 parent 15a6390 commit 9f4dc19

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129

130130
</div>
131131
<div class="sidebar">
132-
<div class="newsHeader">Latest News</div>
132+
<div class="newsHeader"><img src="/img/gui/oreui/resourcepacks.png">Latest News</div>
133133
<div>
134134
<div class="news">
135135
<h1 id="2025"><u>2025</u></h1>

style.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ body {
361361
.newsHeader {
362362
position: relative;
363363
top: 0px;
364-
padding-top: 0px !important;
364+
padding-top: 3px !important;
365365
}
366366
.main-text {
367367
margin-left: 0;
@@ -429,15 +429,27 @@ body {
429429
position: relative;
430430
z-index: 6;
431431
bottom: 4px;
432-
padding-bottom: 3px;
432+
padding-bottom: 5px;
433433
padding-top: 10px;
434434
font-size: 18pt;
435435
font-family: 'Minecraft Regular';
436-
color: white;
437-
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url(img/bg/stone_bricks.png);
436+
color: rgba(0, 0, 0, 0.8);
437+
background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.4)), url(img/bg/stone_bricks.png);
438438
background-size: 32px;
439439
padding-left: 10px;
440440
filter: drop-shadow(0 2px 2px black);
441+
display: flex;
442+
gap: 8px;
443+
}
444+
445+
.newsHeader img {
446+
height: 24px;
447+
width: auto;
448+
flex-shrink: 0;
449+
flex-grow: 0;
450+
image-rendering: pixelated;
451+
position: relative;
452+
top: 3px;
441453
}
442454

443455
gallerysubtitle {

0 commit comments

Comments
 (0)