forked from UniverseBow/wa2k.com-Website
finished major foundations
This commit is contained in:
parent
086d160b28
commit
7537c67e43
5 changed files with 134 additions and 20 deletions
|
|
@ -13,17 +13,18 @@ body {
|
|||
.banner {
|
||||
position: relative;
|
||||
width: 99%;
|
||||
max-height: 280px;
|
||||
overflow: hidden;
|
||||
margin: 5px 5px 10px 5px;
|
||||
border-radius: 25px;
|
||||
display: flex;
|
||||
border: 4px solid rgba(196, 214, 226, 0.9); /* eww .box border */
|
||||
align-items: center; /* Vertically centre the image within the container */
|
||||
border: 4px solid rgba(196, 214, 226, 0.9);
|
||||
align-items: center;
|
||||
max-height: 30vh; /* % of the viewport height */
|
||||
}
|
||||
|
||||
.banner img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center center;
|
||||
display: block;
|
||||
|
|
@ -255,6 +256,6 @@ p {
|
|||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: rgba(137, 180, 250, 1); /* eww $primary-neon on hover */
|
||||
color: rgb(0, 0, 0); /* eww $primary-neon on hover */
|
||||
background: rgba(196, 214, 226, 0.25); /* soft eww border colour tint */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue