fixing css, redoing build
Signed-off-by: Ash Entwisle <ash.entwisle@protonmail.com>issue/index
parent
c185778570
commit
09cebfe9aa
|
@ -4,8 +4,9 @@
|
|||
|
||||
<header>
|
||||
<div class="header-l">
|
||||
<a href="/" class="header-image">
|
||||
<img src="/logo.svg" alt="HullCSS">
|
||||
<a href="/">
|
||||
<img src="/logo.svg" alt="HullCSS" class="header-image-1">
|
||||
<img src="/favicon.svg" alt="HullCSS" class="header-image-2">
|
||||
</a>
|
||||
</div>
|
||||
<div class="header-r">
|
||||
|
|
|
@ -24,6 +24,8 @@ header {
|
|||
|
||||
// set height
|
||||
height: 75px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
|
||||
// set colors
|
||||
@apply bg-mono_4;
|
||||
|
@ -32,14 +34,39 @@ header {
|
|||
.header-l {
|
||||
height: 100%;
|
||||
|
||||
.header-image {
|
||||
img {
|
||||
height: 90%;
|
||||
width: 90%;
|
||||
}
|
||||
.header-image-1 {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-image-2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// if screen is less than 800px, hide image 1 and show image 2
|
||||
@media only screen and (max-width: 800px) {
|
||||
.header-image-1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-image-2 {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: 90%;
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
||||
// if screen is less than 600px hide header-l
|
||||
@media only screen and (max-width: 600px) {
|
||||
.header-l {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.header-r {
|
||||
// flex links in col
|
||||
display: flex;
|
||||
|
@ -68,6 +95,21 @@ header {
|
|||
}
|
||||
}
|
||||
|
||||
// if screen is less than 600px, center header-r and max width
|
||||
@media only screen and (max-width: 600px) {
|
||||
.header-r {
|
||||
justify-content: center;
|
||||
width: 100vw;
|
||||
margin: 0px;
|
||||
|
||||
a {
|
||||
font-size: large;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
Loading…
Reference in New Issue