Add banner system again
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
66aca45c88
commit
82ba712394
2 changed files with 15 additions and 2 deletions
|
@ -35,10 +35,11 @@
|
|||
</div>
|
||||
|
||||
<div class="header" style="margin-top: 2cm;">
|
||||
|
||||
<!-- <div class="banner">
|
||||
📢 Announcement goes here
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
|
||||
<div class="grid-container">
|
||||
|
||||
<div class="middle-large">
|
||||
|
|
12
style.css
12
style.css
|
@ -28,6 +28,15 @@ h1 {margin-top: 3vh;}
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.banner {
|
||||
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 0.2cm;
|
||||
border-radius:10px;
|
||||
}
|
||||
|
||||
.name {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -238,6 +247,7 @@ h1 {margin-top: 3vh;}
|
|||
/* For phone screens */
|
||||
@media only screen and (max-width: 750px) {
|
||||
h1 {margin-top: 8vh;}
|
||||
.banner {margin-top: 1cm;}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
|
@ -255,6 +265,7 @@ h1 {margin-top: 3vh;}
|
|||
.itemcard-stealth:hover {background-color: #e0e0e0;}
|
||||
.infocard {background-color: var(--white);}
|
||||
.separator {background-color: rgba(237, 237, 237, 1);}
|
||||
.banner {background-color: #BFD7F3;}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
@ -269,4 +280,5 @@ h1 {margin-top: 3vh;}
|
|||
.itemcard-stealth:hover {background-color: #4a4a4a;}
|
||||
.infocard {background-color: #303030;}
|
||||
.separator {background-color: #232323;}
|
||||
.banner {background-color: #29415E;}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue