Merge pull request #18 from AlexITA1100/resize-fix

Resize fix
This commit is contained in:
Starystars67 2024-01-17 19:39:58 +00:00 committed by GitHub
commit 19abd94069
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 8 deletions

View File

@ -235,10 +235,6 @@ nav li {
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.text {
display: none;
}
.logo-link { .logo-link {
display: flex; display: flex;
height: 100%; height: 100%;
@ -262,9 +258,10 @@ nav li {
align-items: center; align-items: center;
width: 100%; width: 100%;
height: calc(100vh - 80px); height: calc(100vh - 80px);
overflow: hidden; overflow: auto;
background: linear-gradient(-45deg, rgba(22, 25, 35, 0.35) 0%, rgba(22, 25, 35, 0.95) 100%) center center/100%, url(../img/beamng-mp-landing.png) center top/cover; background: linear-gradient(-45deg, rgba(22, 25, 35, 0.35) 0%, rgba(22, 25, 35, 0.95) 100%) center center/100%, url(../img/beamng-mp-landing.png) center top/cover;
color: #fefee1; color: #fefee1;
min-height: 700px;
} }
.main-content .introduction { .main-content .introduction {
@ -352,12 +349,37 @@ img.os-icon {
margin-left: 0 !important; margin-left: 0 !important;
} }
div.col-md-4.col-md-4 {
max-height: inherit;
}
div.col-md-8.col-md-8 {
max-height: inherit;
}
a.logo-img {
max-height: inherit;
}
div.logo-image {
max-height: inherit;
}
div.player-count {
width: max-content;
}
#button {
min-width: 297px;
}
/*
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
#button { #button {
display: none; display: none;
} }
} }
*/
/* --------- Features ---------*/ /* --------- Features ---------*/
.features article.col-lg-3 { .features article.col-lg-3 {

View File

@ -1,5 +1,5 @@
<div class="container"> <div class="container">
<div class="row center-xs"> <div class="row center-xs" style="max-height: 80px;">
<div class="col-md-4 col-sm-4"> <div class="col-md-4 col-sm-4">
<a class="logo-img" href="/"> <a class="logo-img" href="/">
<div class="logo-image"> <div class="logo-image">

View File

@ -71,7 +71,7 @@
With a smooth and enjoyable experience. With a smooth and enjoyable experience.
</div> </div>
<div id="button" class="col-lg-4 col-md-4 col-sm-4 buttons-wrapper hidden-xs"> <div id="button" class="col-lg-4 col-md-4 col-sm-4 buttons-wrapper hidden-xs">
<div> <div class="player-count">
<h2>Players Online: <span id="ONLINE-PLAYERS"></span></h2> <h2>Players Online: <span id="ONLINE-PLAYERS"></span></h2>
</div> </div>
<div class="buttons mt-3"> <div class="buttons mt-3">