Some mobile optimization

This commit is contained in:
Thomas Smith 2023-02-02 12:43:13 -05:00
parent 8c0c96e2a5
commit 3e2341f9e4
3 changed files with 28 additions and 91 deletions

View file

@ -11,6 +11,15 @@
background-size: cover !important; background-size: cover !important;
} }
@media only screen and (max-width: 576px) {
.hero{
background-image: none !important;
}
}
.stats-top{ .stats-top{
background-image: url("/Images/gen-art/orange-pattern.jpg") !important; background-image: url("/Images/gen-art/orange-pattern.jpg") !important;
background-attachment: fixed; background-attachment: fixed;
@ -55,13 +64,17 @@
<h1 class="display-1" style="z-index:3; position: relative;"><span class="inner-glow">Invisible</span> yet <span class="callout white">powerful</span></h1> <h1 class="display-1" style="z-index:3; position: relative;"><span class="inner-glow">Invisible</span> yet <span class="callout white">powerful</span></h1>
<p class="lead">Upgrade to Tea - the revolutionary, cross-platform package manager. Say goodbye to slow & clunky, and say hello to fast & smooth updates. From the creator of Brew.</p> <p class="lead">Upgrade to Tea - the revolutionary, cross-platform package manager. Say goodbye to slow & clunky, and say hello to fast & smooth updates. From the creator of Brew.</p>
<p class="mb-5">Introducing tea, the cross-platform package manager of the future. Say goodbye to slow package managers. With tea, simply type commands and it takes care of the rest. Get the latest version easily and support specific tool versions for different projects. Encoding dependencies in the README makes it readable by humans and tea, providing easier access for users. Experience better package management with tea.</p> <p class="mb-5">Introducing tea, the cross-platform package manager of the future. Say goodbye to slow package managers. With tea, simply type commands and it takes care of the rest. Get the latest version easily and support specific tool versions for different projects. Encoding dependencies in the README makes it readable by humans and tea, providing easier access for users. Experience better package management with tea.</p>
<div class="flex-start mb-3"> <div class="row mb-3">
<a href="https://github.com/teaxyz/cli" class="me-3"> <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 mb-3">
<button class="hbtn hb-fill-right"><i class="icon-tea-logo-iconasset-1"></i>INSTALL TEA (<span class="release" style="text-transform: lowercase;"></span>)</button> <a href="https://github.com/teaxyz/cli">
</a> <button class="hbtn hb-fill-right" style="width:100% !important;"><i class="icon-tea-logo-iconasset-1"></i>INSTALL TEA (<span class="release" style="text-transform:lowercase;"></span>)</button>
<a href="https://github.com/teaxyz/cli"> </a>
<button class="hbtn-light hb-light-fill-right"><i class="icon-github" style="position:relative;top:2px;"></i>GITHUB (&#9734;<span class="stargazers" style="text-transform: lowercase;"></span>)</button> </div>
</a> <div class="col">
<a href="https://github.com/teaxyz/cli">
<button class="hbtn-light hb-light-fill-right" style="width:100%;"><i class="icon-github" style="position:relative;top:2px;"></i>GITHUB (&#9734;<span class="stargazers" style="text-transform: lowercase;"></span>)</button>
</a>
</div>
</div> </div>
<p class="small dark-gray mb-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p class="small dark-gray mb-5">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div> </div>
@ -762,9 +775,7 @@
</div> </div>
</section> </section>
<div class="full-width-cta-container"> <hr>
{{- partial "full-width-cta-split.html" . -}}
</div>
<style> <style>

View file

@ -1,96 +1,21 @@
/* General/Utilities */ /* General/Utilities */
@media only screen and (min-width: 1792px) {
html,body{ html,body{
background-color: #1a1a1a; background-color: #1a1a1a;
max-width: 1920px; max-width: none;
overflow-x: hidden; overflow-x: hidden;
margin-top:30px;
} }
.container{ .container{
max-width: none; max-width: none;
padding: 4.5vw 8.371vw 4.185vw 8.371vw; padding: 8.371vw 4.5vw;
} }
.hero{
} height: 100vh;
@media only screen and (min-width: 1200px) and (max-width: 1792px) {
html,body{
background-color: #1a1a1a;
max-width: 1920px;
overflow-x: hidden;
} }
.container{
max-width: 1920px;
padding: 4.5vw 8.371vw 4.185vw 8.371vw;
}
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
html,body{
background-color: #1a1a1a;
max-width: 1920px;
overflow-x: hidden;
}
.container{
max-width: 1920px;
padding: 4.2vw 10vw 4.185vw 10vw !important;
}
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
html,body{
background-color: #1a1a1a;
max-width: 1920px;
overflow-x: hidden;
}
.container{
max-width: 1920px;
padding: 4.185vw 5.040vw 4.185vw 5.040vw !important;
}
}
@media only screen and (min-width: 576px) and (max-width: 768px) {
html,body{
background-color: #1a1a1a;
max-width: 1920px;
overflow-x: hidden;
}
.container{
max-width: 1920px;
padding: 4.185vw 6.510vw 4.185vw 6.510vw;
}
}
@media only screen and (max-width: 576px) {
html,body{
background-color: #1a1a1a;
max-width: 1920px;
overflow-x: hidden;
}
section{
padding-left: 4vw !important;
padding-right: 4vw !important;
}
.container{
max-width: 1920px;
padding: 5.5vw 3vw !important;
}
}
/* Brand Colors */ /* Brand Colors */
.teal{color:#00ffd0;} .teal{color:#00ffd0;}

View file

@ -4,9 +4,10 @@
position: fixed; position: fixed;
width:100%; width:100%;
padding: 0px !important; padding: 0px !important;
height: 60px; height: 62px;
background-color: #1a1a1a !important; background-color: #1a1a1a !important;
text-transform: uppercase; text-transform: uppercase;
border-bottom: 2px solid gray;
} }
.top-logo{ .top-logo{