mirror of
https://github.com/ivabus/www
synced 2024-11-26 04:05:06 +03:00
More mobile optimization
This commit is contained in:
parent
68bfc41e0d
commit
dfa456b41f
4 changed files with 709 additions and 120 deletions
|
@ -28,7 +28,7 @@
|
|||
<div class="traffic-light"></div>
|
||||
</div>
|
||||
<div class="p-5">
|
||||
<div>
|
||||
<div class="terminal-content">
|
||||
<p id="terminal-output"></p>
|
||||
<p id="terminal-input"></p>
|
||||
</div>
|
||||
|
@ -45,6 +45,8 @@
|
|||
|
||||
<style>
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
||||
.term-icon{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
|
@ -124,6 +126,359 @@
|
|||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.terminal-content{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||
|
||||
.term-icon{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.term-btn{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#tryIt{
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: white;
|
||||
font-familY: "pp-neue-machina";
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.traffic-light{
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 1px solid gray;
|
||||
border-radius: 100px;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.terminal{
|
||||
height: auto;
|
||||
min-height: 449px;
|
||||
width: 58.594vw;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top:-0.3vw;
|
||||
margin-bottom: -8.371vw;
|
||||
border-radius: 10px;
|
||||
background-color: #1a1a1a;
|
||||
border: 1px solid gray;
|
||||
box-shadow: 0px 10px 18px rgba(10, 05, 05, .5);
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.terminal-bar{
|
||||
height: 30px;
|
||||
border-radius: 8px 8px 0px 0px;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
#terminal-input:after {
|
||||
content: "|";
|
||||
color: green;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#terminal-output {
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
}
|
||||
#terminal-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.terminal-content{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
.term-icon{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.term-btn{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#tryIt{
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: white;
|
||||
font-familY: "pp-neue-machina";
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.traffic-light{
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 1px solid gray;
|
||||
border-radius: 100px;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.terminal{
|
||||
height: auto;
|
||||
min-height: 449px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top:-0.3vw;
|
||||
margin-bottom: -8.371vw;
|
||||
border-radius: 10px;
|
||||
background-color: #1a1a1a;
|
||||
border: 1px solid gray;
|
||||
box-shadow: 0px 10px 18px rgba(10, 05, 05, .5);
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.terminal-bar{
|
||||
height: 30px;
|
||||
border-radius: 8px 8px 0px 0px;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
#terminal-input:after {
|
||||
content: "|";
|
||||
color: green;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#terminal-output {
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
}
|
||||
#terminal-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.terminal-content{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
||||
|
||||
.term-icon{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.term-btn{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#tryIt{
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: white;
|
||||
font-familY: "pp-neue-machina";
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.traffic-light{
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 1px solid gray;
|
||||
border-radius: 100px;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.terminal{
|
||||
height: auto;
|
||||
min-height: 449px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top:-0.3vw;
|
||||
margin-bottom: -8.371vw;
|
||||
border-radius: 10px;
|
||||
background-color: #1a1a1a;
|
||||
border: 1px solid gray;
|
||||
box-shadow: 0px 10px 18px rgba(10, 05, 05, .5);
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.terminal-bar{
|
||||
height: 30px;
|
||||
border-radius: 8px 8px 0px 0px;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
#terminal-input:after {
|
||||
content: "|";
|
||||
color: green;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#terminal-output {
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
}
|
||||
#terminal-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.terminal-content{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.term-icon{
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.term-btn{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#tryIt{
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
background-color: #8000ff;
|
||||
border: none;
|
||||
color: white;
|
||||
font-familY: "pp-neue-machina";
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.traffic-light{
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
border: 1px solid gray;
|
||||
border-radius: 100px;
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.terminal{
|
||||
height: auto;
|
||||
min-height: 449px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top:-0.3vw;
|
||||
margin-bottom: -8.371vw;
|
||||
border-radius: 10px;
|
||||
background-color: #1a1a1a;
|
||||
border: 1px solid gray;
|
||||
box-shadow: 0px 10px 18px rgba(10, 05, 05, .5);
|
||||
animation: float 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.terminal-bar{
|
||||
height: 30px;
|
||||
border-radius: 8px 8px 0px 0px;
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
#terminal-input:after {
|
||||
content: "|";
|
||||
color: green;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
animation: blink 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#terminal-output {
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
}
|
||||
#terminal-input {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.terminal-content{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
@ -142,17 +497,17 @@
|
|||
<div class="row">
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12">
|
||||
<i class="icon-pattern-random-15 black display-6"></i><br><br>
|
||||
<h3 class="black display-6">Integrate multiple tools</h3>
|
||||
<h3 class="black display-6">Integrate Multiple Tools</h3>
|
||||
<p class="black">Tea can easily integrate different tools and languages. This allows users to throw together scripts that use entirely separate tools and languages and share them with others with just a simple one-liner command.</p>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12">
|
||||
<i class="icon-pattern-random-15 black display-6"></i><br><br>
|
||||
<h3 class="black display-6">UNIVERSAL<br>BINARY</h3>
|
||||
<h3 class="black display-6">Universal Binary</h3>
|
||||
<p class="black">tea is a standalone, binary download that can be used on multiple different devices and operating systems. This makes it easy to use Tea on a variety of different devices, without the need to worry about compatibility issues.</p>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12">
|
||||
<i class="icon-pattern-random-15 black display-6"></i><br><br>
|
||||
<h3 class="black display-6">All-inclusive<br>Packaging</h3>
|
||||
<h3 class="black display-6">All-inclusive Packaging</h3>
|
||||
<p class="black">tea is a unified packaging infrastructure, providing access to the entire open source ecosystem. This means that Tea users can easily find and use a wide variety of software packages.</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<hr>
|
||||
<div class="row button-container flex">
|
||||
<a href="https://github.com/teaxyz/cli" class="ps-0 pe-0 btn-div" >
|
||||
<a href="https://github.com/teaxyz/cli" class="ps-0 pe-0 btn-div" id="btn-div-top" >
|
||||
<button class="sbtn sb-fill-top">GIVE US A STAR (<span class="stargazers" style="text-transform: lowercase;"></span>)</button>
|
||||
</a>
|
||||
<a href="https://github.com/teaxyz/cli" class="ps-0 pe-0 btn-div" id="btn-div" >
|
||||
|
@ -11,6 +11,8 @@
|
|||
|
||||
<style>
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
||||
.btn-div{
|
||||
width: 50%;
|
||||
border-left: 2px solid #949494;
|
||||
|
@ -63,4 +65,235 @@
|
|||
transition: color 0.2s ease 0s, background 0s ease 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||
|
||||
.btn-div{
|
||||
width: 50%;
|
||||
border-left: 2px solid #949494;
|
||||
}
|
||||
|
||||
#btn-div{
|
||||
border-right: 2px solid #949494;
|
||||
}
|
||||
|
||||
.sbtn {
|
||||
font-family: "pp-neue-machina";
|
||||
background-color: #1a1a1a;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
height: 8.8vw !important;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: rgb(225, 225, 225);
|
||||
white-space: nowrap;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sb-fill-top::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
background: rgb(6, 255, 208);
|
||||
transition-duration: 0.2s;
|
||||
z-index: -1;
|
||||
inset: auto auto 0px 0px;
|
||||
width: 100%;
|
||||
height: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover::before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover {
|
||||
color: rgb(10, 5, 5);
|
||||
background: rgb(255, 255, 255);
|
||||
transition: color 0.2s ease 0s, background 0s ease 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
.btn-div{
|
||||
width: 50%;
|
||||
border-left: 2px solid #949494;
|
||||
}
|
||||
|
||||
#btn-div{
|
||||
border-right: 2px solid #949494;
|
||||
}
|
||||
|
||||
.sbtn {
|
||||
font-family: "pp-neue-machina";
|
||||
background-color: #1a1a1a;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
height: 8.8vw !important;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: rgb(225, 225, 225);
|
||||
white-space: nowrap;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sb-fill-top::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
background: rgb(6, 255, 208);
|
||||
transition-duration: 0.2s;
|
||||
z-index: -1;
|
||||
inset: auto auto 0px 0px;
|
||||
width: 100%;
|
||||
height: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover::before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover {
|
||||
color: rgb(10, 5, 5);
|
||||
background: rgb(255, 255, 255);
|
||||
transition: color 0.2s ease 0s, background 0s ease 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
||||
|
||||
.btn-div{
|
||||
width: 50%;
|
||||
border-left: 2px solid #949494;
|
||||
}
|
||||
|
||||
#btn-div{
|
||||
border-right: 2px solid #949494;
|
||||
}
|
||||
|
||||
.sbtn {
|
||||
font-family: "pp-neue-machina";
|
||||
background-color: #1a1a1a;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
height: 8.8vw !important;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: rgb(225, 225, 225);
|
||||
white-space: nowrap;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sb-fill-top::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
background: rgb(6, 255, 208);
|
||||
transition-duration: 0.2s;
|
||||
z-index: -1;
|
||||
inset: auto auto 0px 0px;
|
||||
width: 100%;
|
||||
height: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover::before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover {
|
||||
color: rgb(10, 5, 5);
|
||||
background: rgb(255, 255, 255);
|
||||
transition: color 0.2s ease 0s, background 0s ease 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.btn-div{
|
||||
width: 100%;
|
||||
border-left: 2px solid #949494;
|
||||
}
|
||||
|
||||
#btn-div{
|
||||
border-right: 2px solid #949494;
|
||||
}
|
||||
|
||||
#btn-div-top{
|
||||
border-right: 2px solid #949494;
|
||||
border-bottom: 2px solid #949494;
|
||||
}
|
||||
|
||||
.sbtn {
|
||||
font-family: "pp-neue-machina";
|
||||
background-color: #1a1a1a;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
height: 10.938vw !important;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
color: rgb(225, 225, 225);
|
||||
white-space: nowrap;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.sb-fill-top::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
background: rgb(6, 255, 208);
|
||||
transition-duration: 0.2s;
|
||||
z-index: -1;
|
||||
inset: auto auto 0px 0px;
|
||||
width: 100%;
|
||||
height: 0px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover::before {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.sb-fill-top:hover {
|
||||
color: rgb(10, 5, 5);
|
||||
background: rgb(255, 255, 255);
|
||||
transition: color 0.2s ease 0s, background 0s ease 0.3s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
@ -249,7 +249,7 @@
|
|||
}
|
||||
|
||||
.button-container{
|
||||
padding: 0vw 7vw !important;
|
||||
padding: 0vw 13vw !important;
|
||||
}
|
||||
|
||||
.dev-count{
|
||||
|
|
|
@ -227,10 +227,11 @@ a:hover{
|
|||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.impact{
|
||||
font-size: 12vw !important;
|
||||
line-height: 13.3vw!important;
|
||||
margin-top: 0vw !important;
|
||||
margin-bottom: 2vw !important;
|
||||
font-size: 11vw !important;
|
||||
line-height: 11.2vw!important;
|
||||
margin-top: 1.2vw !important;
|
||||
margin-bottom: 2.8vw !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
h1{
|
||||
|
|
Loading…
Reference in a new issue