1
0

fixed header logo not fitting on smaller screen

fixed icon padding
This commit is contained in:
Jeddunk 2021-01-07 14:28:00 +01:00
parent 832a52b82a
commit dd183a3b42
2 changed files with 13 additions and 3 deletions

View File

@ -4,16 +4,25 @@
<style> <style>
.logo { .logo {
height: 5.65rem;
-ms-interpolation-mode: nearest-neighbor; -ms-interpolation-mode: nearest-neighbor;
image-rendering: -moz-crisp-edges; image-rendering: -moz-crisp-edges;
image-rendering: pixelated; image-rendering: pixelated;
} }
@media screen and (min-width: 768px){
.logo {
height: 5.65rem;
}
}
@media screen and (max-width: 767px){
.logo {
width: 100%;
}
}
</style> </style>
<div class="jumbotron"> <div class="jumbotron">
<div class="container"> <div class="container">
<img src="{logo}" class="logo" alt=""> <img src="{logo}" class="img-fluid logo" alt="">
</div> </div>
</div> </div>

View File

@ -7,11 +7,12 @@
.custom-link, .custom-link:hover { .custom-link, .custom-link:hover {
color:#EBEBEB; color:#EBEBEB;
text-decoration: none; text-decoration: none;
padding: 1em;
} }
.container-extra { .container-extra {
background-color: rgb(39, 56, 73); background-color: rgb(39, 56, 73);
padding: 2em; padding: 1em 2em;
} }
.hvr-float { .hvr-float {