Skip to content

Commit

Permalink
Fixed small height long width display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
UmairK5669 committed Feb 27, 2024
1 parent 08ff39a commit d242b32
Showing 1 changed file with 158 additions and 20 deletions.
178 changes: 158 additions & 20 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{{ define "main" }}
<link rel="preconnect" href="https://use.fontawesome.com" crossorigin />
<link rel="dns-prefetch" href="https://use.fontawesome.com" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
Expand Down Expand Up @@ -46,7 +44,8 @@ <h1>COMING SOON</h1>
<p class="text">RIAHUB is built on top of the <a href="https://github.com/qoherent/ria">RIA project</a> and <a href="https://github.com/go-gitea/gitea">Gitea</a>.</p>
<p class="text">Sign up for our early access program below:</p>
<br>
<div class="form-div"><script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<div class="form-div">
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
Expand Down Expand Up @@ -216,7 +215,8 @@ <h1>COMING SOON</h1>
font-size:30px;
padding: 10px;
}
@media screen AND (max-width:600px) {

@media screen and (max-width:600px) {
.middle h1{
font-size: 35px;
}
Expand Down Expand Up @@ -313,15 +313,50 @@ <h1>COMING SOON</h1>
}
}

@media screen and (max-width: 650px) {
.bottomleft {
display: none;
}
}

@media screen and (max-width: 585px) {

.bgimg {
height: 150vh;
}
}

@media screen and (max-width: 420px) {
.bgimg {
height: 150vh;
}

.middle {
top: 15%;
}
}

@media screen and (max-width: 385px) {
.bgimg {
height: 170vh;
}
}

@media screen and (max-width: 300px) {
.bgimg {
height: 225vh;
}
}

@media screen and (max-height: 800px) {
.bgimg {
height: 150vh;
}
}

@media screen and (max-height: 650px) {
@media screen and (max-height: 675px) {
.bgimg {
height: 200vh;
height: 220vh;
}
}

Expand All @@ -331,38 +366,141 @@ <h1>COMING SOON</h1>
}
}

@media screen and (max-width: 585px) {
.bottomleft {
display: none;
@media screen and (max-height: 425px) {
.bgimg {
height: 275vh;
}
}

@media screen and (max-height: 375px) {
.bgimg {
height: 150vh;
height: 300vh;
}
}

@media screen and (max-width: 420px) {
@media screen and (max-height: 315px) {
.bgimg {
height: 150vh;
height: 325vh;
}
}

@media screen and (max-height: 285px) {
.bgimg {
height: 365vh;
}
}

.middle {
top: 15%;
@media screen and (max-height: 250px) {
.bgimg {
height: 500vh;
}
}
@media screen and (max-width: 385px) {

@media screen and (max-height: 200px) {
.bgimg {
height: 170vh;
height: 700vh;
}
}

@media screen and (max-width: 300px) {
@media screen and (max-width: 425px) and (max-height:443px) {
.bgimg {
height: 225vh;
height: 300vh;
}
}


@media screen and (max-width: 320px) and (max-height:443px) {
.bgimg {
height: 325vh;
}
}

@media screen and (max-width: 1024px) and (max-height:700px) {
.bgimg {
height: 200vh;
}
}

@media screen and (max-width: 425px) and (max-height:600px) {
.bgimg {
height: 230vh;
}
}

@media screen and (max-width: 320px) and (max-height:600px) {
.bgimg {
height: 350vh;
}
}

@media screen and (max-width: 1050px) and (max-height:500px) {
.bgimg {
height: 275vh;
}
}

@media screen and (max-width: 320px) and (max-height:500px) {
.bgimg {
height: 385vh;
}
}

@media screen and (max-width: 1024px) and (max-height:400px) {
.bgimg {
height: 350vh;
}
}

@media screen and (max-width: 320px) and (max-height:400px) {
.bgimg {
height: 500vh;
}
}

@media screen and (max-width: 1440px) and (max-height:300px) {
.bgimg {
height: 400vh;
}
}

@media screen and (max-width: 375px) and (max-height:300px) {
.bgimg {
height: 500vh;
}
}

@media screen and (max-width: 320px) and (max-height:300px) {
.bgimg {
height: 600vh;
}
}

@media screen and (max-width: 1440px) and (max-height:200px) {
.bgimg {
height: 600vh;
}
}

@media screen and (max-width: 375px) and (max-height:200px) {
.bgimg {
height: 700vh;
}
}

@media screen and (max-width: 320px) and (max-height:200px) {
.bgimg {
height: 850vh;
}
}

/*
.form-div input.hs-submit {
background-color: black;
}
#hbspt-form-ab101d82-605f-4a6b-84b4-569fc940feb7 input{
background: #0e0e10;
}*/

</style>

{{ end }}

0 comments on commit d242b32

Please sign in to comment.