871 lines
19 KiB
SCSS
871 lines
19 KiB
SCSS
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');
|
|
*,
|
|
::before,
|
|
::after{
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
body{
|
|
--primary-color: #1565C0;
|
|
--text: 17, 17, 17;
|
|
--text-light: 100, 100, 100;
|
|
--foreground: 255, 255, 255;
|
|
--background: #e8e8e8;
|
|
--dark-shade: #dadada;
|
|
font-size: 16px;
|
|
color: rgba(var(--text), 1);
|
|
background: rgba(var(--foreground), 1);
|
|
background-size: cover;
|
|
}
|
|
body[data-theme='dark']{
|
|
--primary-color: #2196F3;
|
|
--text: 218, 218, 218;
|
|
--text-light: 170, 170, 170;
|
|
--foreground: 20, 20, 20;
|
|
--background: #0a0a0a;
|
|
--dark-shade: #1a1a1a;
|
|
}
|
|
input[type=text]::-ms-clear { display: none; width : 0; height: 0; }
|
|
input[type=text]::-ms-reveal { display: none; width : 0; height: 0; }
|
|
input[type="search"]::-webkit-search-decoration,
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
input[type="search"]::-webkit-search-results-button,
|
|
input[type="search"]::-webkit-search-results-decoration { display: none; }
|
|
input[type=number] {
|
|
-moz-appearance:textfield;
|
|
}
|
|
input:invalid{
|
|
outline: none;
|
|
box-shadow: none;
|
|
}
|
|
::-moz-focus-inner{
|
|
border: none;
|
|
}
|
|
button{
|
|
border: none;
|
|
border-radius: 0.2em;
|
|
text-transform: uppercase;
|
|
font-weight: 500;
|
|
letter-spacing: 0.06em;
|
|
background: none;
|
|
cursor: pointer;
|
|
padding: 0.6rem 1rem;
|
|
color: var(--primary-color);
|
|
align-self: center;
|
|
}
|
|
h1{
|
|
font-size: 4rem;
|
|
}
|
|
h2{
|
|
font-size: 2rem;
|
|
font-weight: 500;
|
|
}
|
|
h3{
|
|
font-size: 1.5rem;
|
|
}
|
|
.flex{
|
|
display: flex;
|
|
}
|
|
.grid{
|
|
display: grid;
|
|
}
|
|
.grid-2{
|
|
grid-template-columns: auto auto;
|
|
gap: 1em;
|
|
}
|
|
.hide{
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
.hide-completely{
|
|
display: none !important;
|
|
}
|
|
.breakable{
|
|
word-break: break-word;
|
|
font-weight: 500;
|
|
letter-spacing: 0.06rem;
|
|
}
|
|
.other-font{
|
|
font-family: 'Barlow', sans-serif;
|
|
}
|
|
.uppercase{
|
|
text-transform: uppercase !important;
|
|
}
|
|
.capitalise{
|
|
text-transform: capitalize !important;
|
|
}
|
|
.toggle{
|
|
position: relative;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
input[type='checkbox']{
|
|
display: none;
|
|
}
|
|
.switch{
|
|
overflow: hidden;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-items: center;
|
|
padding: 0.2rem;
|
|
min-height: 1.6rem;
|
|
max-height: 1.6rem;
|
|
border-radius: 0.5rem;
|
|
position: relative;
|
|
}
|
|
.circle{
|
|
border-radius: 0.5rem;
|
|
transition: transform 0.3s;
|
|
&:first-of-type{
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
fill: rgba(var(--text), 0.8);
|
|
overflow: visible;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
line{
|
|
stroke: rgba(var(--text), 0.8);
|
|
stroke-width: 6;
|
|
}
|
|
}
|
|
input:checked ~ .switch .circle{
|
|
transform: translateY(-1.7rem);
|
|
}
|
|
}
|
|
section{
|
|
position: relative;
|
|
.dark-background{
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
}
|
|
ul{
|
|
&[type='circle']{
|
|
padding: 1.5rem 2.5rem;
|
|
list-style: circle;
|
|
li{
|
|
margin-bottom: 1rem;
|
|
&:last-of-type{
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
&{
|
|
list-style: none;
|
|
.balance{
|
|
margin-bottom: 2rem;
|
|
&:last-of-type{
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.top-bottom-padding{
|
|
padding: 1.5rem 0;
|
|
}
|
|
.margin, .page{
|
|
margin: 0 1.5rem;
|
|
}
|
|
.margin-left-auto{
|
|
margin-left: auto;
|
|
}
|
|
.card{
|
|
padding: 2rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
background: rgba(var(--text), 0.06);
|
|
margin: 1.5rem 0;
|
|
h4{
|
|
margin-bottom: 0.4rem;
|
|
font-weight: 400;
|
|
text-transform: capitalize;
|
|
}
|
|
h2{
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
.transaction-container{
|
|
display: grid;
|
|
margin-top: 1.5rem;
|
|
gap: 1.5rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
|
}
|
|
.label{
|
|
text-transform: capitalize;
|
|
font-size: 0.8rem;
|
|
margin-bottom: 0.3rem;
|
|
line-height: 1.4em;
|
|
color: rgba(var(--text-light), 1);
|
|
margin-top: 1.5rem;
|
|
font-weight: 400;
|
|
&:first-of-type{
|
|
margin-top: 0;
|
|
}
|
|
&+h4:not(.address){
|
|
text-transform: capitalize;
|
|
}
|
|
}
|
|
.header{
|
|
justify-items: center;
|
|
flex-direction: column;
|
|
}
|
|
#logo{
|
|
display: inline-flex;
|
|
letter-spacing: 0.1em;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
h4{
|
|
font-weight: 400;
|
|
}
|
|
#main_logo{
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
margin-right: 0.2rem;
|
|
fill: rgba(var(--text), 1);
|
|
}
|
|
}
|
|
#homepage{
|
|
padding-top: 0;
|
|
}
|
|
#first_section{
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
min-height: calc(100vh - 8rem);
|
|
}
|
|
header.grid-2{
|
|
margin-top: 2rem;
|
|
}
|
|
#search_page{
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
z-index: 20;
|
|
margin: 0;
|
|
background: rgba(var(--foreground), 1);
|
|
padding: 1.5rem 8vw;
|
|
header{
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 2rem;
|
|
.icon{
|
|
margin: 0;
|
|
cursor: pointer;
|
|
height: 2.2rem;
|
|
width: 2.2rem;
|
|
padding: 0.6rem;
|
|
}
|
|
}
|
|
h1{
|
|
font-weight: 500;
|
|
font-size: 3rem;
|
|
}
|
|
.input{
|
|
animation: fade 0.4s;
|
|
input:valid ~ #suggestions{
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
transform: none;
|
|
}
|
|
}
|
|
#suggestions{
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(-0.5rem);
|
|
transition: transform 0.3s, opacity 0.3s;
|
|
position: absolute;
|
|
top: 100%;
|
|
width: 100%;
|
|
background: var(--background);
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem 0;
|
|
max-height: 30vh;
|
|
overflow-y: auto;
|
|
&:empty{
|
|
padding: 0;
|
|
}
|
|
margin-top: 0.5rem;
|
|
}
|
|
.suggestion{
|
|
padding: 0.6rem 1.5rem 0.6rem 3rem;
|
|
opacity: 0.8;
|
|
cursor: pointer;
|
|
&:hover, &:focus{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
#main_search{
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
h2{
|
|
margin-top: 2rem;
|
|
align-self: flex-start;
|
|
font-size: 4rem;
|
|
letter-spacing: 0.1em;
|
|
font-weight: 600;
|
|
}
|
|
h4{
|
|
line-height: 1.4em;
|
|
margin-top: 2rem;
|
|
font-weight: 400;
|
|
color: rgba(var(--text-light), 1);
|
|
}
|
|
label{
|
|
position: relative;
|
|
}
|
|
}
|
|
.input{
|
|
border-radius: 0.2rem;
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
z-index: 1;
|
|
width: 100%;
|
|
margin: 1.5rem 0;
|
|
align-items: center;
|
|
padding: 0.8rem;
|
|
gap: 1em;
|
|
background: var(--background);
|
|
input{
|
|
border: none;
|
|
width: 100%;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 1rem;
|
|
color: rgba(var(--text), 1);
|
|
}
|
|
}
|
|
.icon{
|
|
height: 1rem;
|
|
overflow: visible;
|
|
width: 1rem;
|
|
fill: none;
|
|
stroke: rgba(var(--text), 1);
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 6;
|
|
}
|
|
.copy-row{
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
.icon{
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
#textCopied{
|
|
padding: 1rem;
|
|
border-radius: 2rem;
|
|
background: rgba(var(--text), 0.2);
|
|
color: rgba(var(--text), 1);
|
|
position: fixed;
|
|
bottom: 0;
|
|
pointer-events: none;
|
|
margin: 2rem 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
transition: 0.3s opacity ease;
|
|
z-index: 20;
|
|
}
|
|
@keyframes flyInLeft{
|
|
from{
|
|
opacity: 0;
|
|
transform: translateX(-0.5rem);
|
|
}
|
|
to{
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
@keyframes flyInRight{
|
|
from{
|
|
opacity: 0;
|
|
transform: translateX(0.5rem);
|
|
}
|
|
to{
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
@keyframes flyOutLeft{
|
|
from{
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
to{
|
|
opacity: 0;
|
|
transform: translateX(-0.5rem);
|
|
}
|
|
}
|
|
@keyframes flyOutRight{
|
|
from{
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
to{
|
|
opacity: 0;
|
|
transform: translateX(0.5rem);
|
|
}
|
|
}
|
|
.fly-in-from-left{
|
|
animation: flyInLeft 0.2s forwards;
|
|
}
|
|
.fly-in-from-right{
|
|
animation: flyInRight 0.2s forwards;
|
|
}
|
|
.fly-out-to-left{
|
|
animation: flyOutLeft 0.2s forwards;
|
|
}
|
|
.fly-out-to-right{
|
|
animation: flyOutRight 0.2s forwards;
|
|
}
|
|
#highlights{
|
|
padding: 1.5rem 0;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-areas: 'token token'
|
|
'total wallet'
|
|
'contract contract';
|
|
gap: 1.5rem;
|
|
.highlight-item{
|
|
opacity: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.5rem;
|
|
border-left: 0.1rem solid rgba(var(--text), 0.2);
|
|
.label{
|
|
margin-top: auto;
|
|
}
|
|
h1{
|
|
font-size: 2rem;
|
|
letter-spacing: 0.1rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
overflow-wrap: break-word;
|
|
}
|
|
&:first-of-type{
|
|
text-transform: uppercase;
|
|
}
|
|
&:nth-of-type(2){
|
|
text-transform: capitalize;
|
|
}
|
|
&:first-of-type{
|
|
grid-area: token;
|
|
animation: flyInLeft 0.4s 0.2s forwards;
|
|
}
|
|
&:nth-of-type(2){
|
|
grid-area: total;
|
|
animation: flyInLeft 0.4s 0.4s forwards;
|
|
}
|
|
&:nth-of-type(3){
|
|
grid-area: wallet;
|
|
animation: flyInLeft 0.4s 0.6s forwards;
|
|
}
|
|
&:last-of-type{
|
|
grid-area: contract;
|
|
animation: flyInLeft 0.4s 0.8s forwards;
|
|
}
|
|
}
|
|
}
|
|
#latest_transaction_section,
|
|
#latest_blocks_section{
|
|
background: rgba(var(--foreground), 1);
|
|
header{
|
|
grid-template-columns: 1fr auto;
|
|
background: inherit;
|
|
z-index: 2;
|
|
}
|
|
}
|
|
#main_header{
|
|
& > .flex:first-of-type{
|
|
margin-top: 1.5rem;
|
|
}
|
|
height: 8rem;
|
|
}
|
|
#page_header{
|
|
padding: 1rem 0;
|
|
align-items: center;
|
|
h3{
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
}
|
|
.icon{
|
|
height: 1.8rem;
|
|
width: 1.8rem;
|
|
cursor: pointer;
|
|
}
|
|
.icon:first-of-type{
|
|
margin-right: 1rem;
|
|
padding: 0.4rem 0.4rem 0.4rem 0;
|
|
}
|
|
.icon:nth-of-type(2){
|
|
padding: 0.4rem 0 0.4rem 0.4rem;
|
|
}
|
|
#secondary_search_btn{
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
.page{
|
|
padding: 0 0 1rem 0;
|
|
h3.heading{
|
|
text-transform: capitalize;
|
|
font-weight: 500;
|
|
}
|
|
& > h3.heading{
|
|
margin-top: 2rem;
|
|
}
|
|
}
|
|
p{
|
|
overflow-wrap: break-word;
|
|
line-height: 1.6em;
|
|
text-transform: capitalize;
|
|
}
|
|
.balance-card{
|
|
display: inline-grid;
|
|
grid-template-columns: auto auto;
|
|
grid-template-areas: 'labl logo'
|
|
'balance logo'
|
|
'address address';
|
|
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' style='fill:none; stroke: %23ffffff08'%3E%3Ccircle cx='3.5' cy='3.5' r='2.12'/%3E%3Ccircle cx='5' cy='10' r='1'/%3E%3Ccircle cx='8.5' cy='4.5' r='1.5'/%3E%3Ccircle cx='6' cy='33' r='2'/%3E%3Ccircle cx='14' cy='29' r='1'/%3E%3Ccircle cx='9.5' cy='22.5' r='1.5'/%3E%3Ccircle cx='29.5' cy='17.5' r='4.5'/%3E%3Ccircle cx='22' cy='8' r='1'/%3E%3Ccircle cx='15.5' cy='12.5' r='2.5'/%3E%3Ccircle cx='27.5' cy='30.5' r='0.5'/%3E%3Ccircle cx='18.5' cy='35.5' r='2.5'/%3E%3Ccircle cx='32' cy='36' r='1'/%3E%3Ccircle cx='35' cy='25' r='1'/%3E%3Ccircle cx='23' cy='21' r='2'/%3E%3Ccircle cx='36.5' cy='1.5' r='0.5'/%3E%3Ccircle cx='30.5' cy='3.5' r='1.5'/%3E%3Ccircle cx='34.5' cy='6.5' r='1.5'/%3E%3C/svg%3E"),
|
|
linear-gradient(135deg, rgb(77, 32, 167),rgb(33, 16, 110));
|
|
background-size: cover;
|
|
color: white;
|
|
border-radius: 0.5rem;
|
|
padding: 2rem 1.5rem;
|
|
margin-bottom: 1rem;
|
|
.flo-logo{
|
|
grid-area: logo;
|
|
fill: white;
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
opacity: 0.8;
|
|
justify-self: flex-end;
|
|
}
|
|
h3,h4{
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
h3{
|
|
grid-area: balance;
|
|
font-weight: 400;
|
|
opacity: 0.8;
|
|
}
|
|
h4{
|
|
font-weight: 400;
|
|
}
|
|
p{
|
|
font-size: 0.8rem;
|
|
grid-area: address;
|
|
opacity: 0.8;
|
|
letter-spacing: 0.1em;
|
|
margin-top: 3rem;
|
|
}
|
|
.label{
|
|
grid-area: labl;
|
|
color: white;
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
.choice,.status{
|
|
padding: 0.5rem 0.8rem;
|
|
border-radius: 2rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
text-transform: capitalize;
|
|
}
|
|
.choice-container{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
.choice{
|
|
border: solid 1px rgba(var(--text), 0.2);
|
|
&:last-of-type{
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
.status{
|
|
font-size: 0.8rem;
|
|
&.closed{
|
|
background: rgba(var(--foreground), 1);
|
|
border: solid 1px rgba(var(--text), 0.2);
|
|
}
|
|
}
|
|
.address, .token, .hash, .contract, .block-height{
|
|
cursor: pointer;
|
|
color: var(--primary-color);
|
|
}
|
|
.address{
|
|
text-transform: none !important;
|
|
word-break: break-all;
|
|
}
|
|
.tabs{
|
|
position: sticky;
|
|
top: 0;
|
|
padding: 1rem 0 1rem 0;
|
|
background: rgba(var(--foreground), 1);
|
|
z-index: 2;
|
|
display: flex;
|
|
overflow-x: auto;
|
|
.tab{
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
margin-right: 1.5rem;
|
|
-webkit-tap-highlight-color: transparent;
|
|
white-space: nowrap;
|
|
font-size: 1.1rem;
|
|
&:last-of-type{
|
|
margin-right: 0;
|
|
}
|
|
&.active{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.line{
|
|
position: absolute;
|
|
height: 0.12rem;
|
|
background: rgba(var(--text), 1);
|
|
width: 1px;
|
|
bottom: 0;
|
|
transition: transform 0.4s, width 0.4s;
|
|
}
|
|
}
|
|
.contract-choice{
|
|
display: grid;
|
|
gap: 0.5rem 1rem;
|
|
margin-bottom: 2rem;
|
|
&:last-of-type{
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
@keyframes fade{
|
|
from{
|
|
opacity: 0;
|
|
transform: translateY(1rem);
|
|
}
|
|
to{
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
.transaction{
|
|
display: grid;
|
|
gap: 2rem 1rem;
|
|
padding: 2rem;
|
|
border-radius: 0.5rem;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-template-rows: auto 1fr;
|
|
background: rgba(var(--text), 0.06);
|
|
grid-template-areas: '. .'
|
|
'info info';
|
|
.contract-info{
|
|
grid-area: info;
|
|
align-items: flex-start;
|
|
}
|
|
h4{
|
|
font-weight: 500;
|
|
}
|
|
& > .icon:first-of-type{
|
|
stroke-width: 4;
|
|
justify-self: center;
|
|
height: 3rem;
|
|
width: 3rem;
|
|
padding: 0.8rem;
|
|
border-radius: 1rem;
|
|
background: rgba(var(--foreground), 1);
|
|
}
|
|
}
|
|
#loader_page{
|
|
display: grid;
|
|
place-content: center;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
text-align: center;
|
|
position: fixed;
|
|
z-index: 10;
|
|
background: rgba(var(--foreground), 1);
|
|
h4{
|
|
margin-top: 1.5rem;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
#loader{
|
|
justify-self: center;
|
|
height: 2.5rem;
|
|
width: 2.5rem;
|
|
transform-origin: center;
|
|
stroke-dashoffset: 200;
|
|
stroke-dasharray: 200;
|
|
animation: load 2s infinite linear;
|
|
stroke: var(--primary-color);
|
|
}
|
|
@keyframes load{
|
|
50%{
|
|
stroke-dashoffset: 0;
|
|
}
|
|
100%{
|
|
stroke-dashoffset: -200;
|
|
transform: rotate(360deg);
|
|
}
|
|
|
|
}
|
|
#all_blocks_page, #top_blocks_container, #token_balance_container{
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
|
|
margin-top: 1rem;
|
|
.card{
|
|
margin: 0;
|
|
}
|
|
}
|
|
#token_balance_container{
|
|
margin-top: 1.5rem;
|
|
}
|
|
@media only screen and (min-width: 640px){
|
|
.margin, .page{
|
|
margin: 0 4vw;
|
|
}
|
|
.input{
|
|
width: 60% !important;
|
|
}
|
|
section{
|
|
header{
|
|
h1{
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
}
|
|
#main_search{
|
|
h1{
|
|
font-size: 6rem;
|
|
text-align: center;
|
|
}
|
|
}
|
|
#highlights{
|
|
gap: 2rem;
|
|
grid-template-columns: repeat(2, auto);
|
|
grid-template-areas: 'token total' ' wallet contract';
|
|
.highlight-item{
|
|
h1{
|
|
font-size: 2.5rem;
|
|
}
|
|
&:first-of-type{
|
|
grid-area: token;
|
|
}
|
|
&:nth-of-type(2){
|
|
grid-area: total;
|
|
}
|
|
&:nth-of-type(3){
|
|
grid-area: wallet;
|
|
}
|
|
&:last-of-type{
|
|
grid-area: contract;
|
|
}
|
|
}
|
|
}
|
|
#page_header{
|
|
padding: 1.5rem 0;
|
|
}
|
|
#transaction_page{
|
|
display: grid;
|
|
gap: 0 1.5rem;
|
|
grid-template-columns: 40% 60%;
|
|
grid-template-areas: 'header header'
|
|
'. .';
|
|
.head{
|
|
grid-area: header;
|
|
}
|
|
}
|
|
.contract-choice{
|
|
grid-template-columns: 2fr 1fr 1fr;
|
|
align-items: center;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1280px){
|
|
.margin, .page{
|
|
margin: 0 12vw;
|
|
}
|
|
.input{
|
|
width: 50% !important;
|
|
}
|
|
#highlights{
|
|
grid-template-columns: repeat(4, auto);
|
|
grid-template-areas: 'token total wallet contract';
|
|
.highlight-item{
|
|
&:first-of-type{
|
|
grid-area: token;
|
|
}
|
|
&:nth-of-type(2){
|
|
grid-area: total;
|
|
}
|
|
&:nth-of-type(3){
|
|
grid-area: wallet;
|
|
}
|
|
&:last-of-type{
|
|
grid-area: contract;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
@media only screen and (min-width: 1920px){
|
|
body{
|
|
font-size: 24px;
|
|
}
|
|
.margin, .page{
|
|
margin: 0 16vw;
|
|
}
|
|
#search_page{
|
|
padding: 1.5rem 12vw;
|
|
}
|
|
.input{
|
|
width: 40% !important;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 2048px){
|
|
body{
|
|
font-size: 24px;
|
|
}
|
|
.margin, .page{
|
|
margin: 0 26vw;
|
|
}
|
|
#search_page{
|
|
padding: 1.5rem 24vw;
|
|
}
|
|
#first_section{
|
|
min-height: auto;
|
|
}
|
|
.input{
|
|
width: 30% !important;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 320px){
|
|
body{
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
@media (hover:hover){
|
|
button{
|
|
transition: background-color 0.3s;
|
|
&:hover{
|
|
background: var(--primary-color);
|
|
color: rgba(var(--foreground), 1)
|
|
}
|
|
}
|
|
.hover{
|
|
cursor: pointer;
|
|
}
|
|
.tab{
|
|
transition: opacity 0.3s;
|
|
&:hover{
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|