@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;1,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: #F5F51A; --text: 17, 17, 17; --text-light: 85, 85, 85; --foreground: 255, 255, 255; --background: #efefef; --dark-shade: #dadada; font-size: 16px; color: rgba(var(--text), 1); background: rgba(var(--foreground), 1); } body[data-theme='dark']{ --text: 238, 238, 238; --text-light: 170, 170, 170; --foreground: 20, 20, 20; --background: #111; --dark-shade: #1a1a1a; } .transition{ transition: all 0.6s; } h5{ font-weight: 500; } 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: 1px solid rgba(var(--text), 0.2); border-radius: 0.2em; text-transform: uppercase; font-weight: 600; letter-spacing: 0.06em; background: transparent; cursor: pointer; padding: 1em 1.5em; color: rgba(var(--text), 1); } .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-all; } .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: 1rem; position: relative; } .circle{ border-radius: 1rem; 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; } } .padding{ padding: 0 1.5rem; } .top-bottom-padding{ padding: 1.5rem 0; } .margin{ margin: 0 1.5rem; } .margin-left-auto{ margin-left: auto; } .card{ padding: 2rem 1.5rem; border-radius: 1rem; border: solid 1px rgba(var(--text), 0.1); margin: 1.5rem 0; h4{ margin-bottom: 0.5rem; font-weight: 400; } } .label{ font-family: 'Montserrat' ,sans-serif; text-transform: capitalize; font-size: 0.8rem; margin-bottom: 0.5rem; line-height: 1.4em; opacity: 0.6; margin-top: 1.5rem; &:first-of-type{ margin-top: 0; } } .header{ display: flex; align-items: center; padding: 2em 0; h1{ font-size: 1.2rem; text-transform: capitalize; } .montserrat{ font-weight: 600; } } #logo{ display: inline-flex; letter-spacing: 0.1em; align-items: center; h4{ font-weight: 400; } #main_logo{ height: 1.2rem; width: 1.2rem; margin-right: 0.2rem; fill: rgba(var(--text), 1); } } #first_section{ display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; } #main_search{ position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; p{ opacity: 0.6; text-align: left; margin: 1rem 1.5rem 1.5rem 1.5rem; } h1{ font-size: 4rem; padding: 0 1.5rem; text-align: left; margin-top: 2rem; } .input{ position: relative; display: grid; grid-template-columns: auto 1fr; z-index: 1; width: calc(100% - 3rem); margin: 1rem; align-items: center; padding: 1rem; gap: 1em; border-radius: 1rem; background: rgba(var(--text), 0.06); //border: solid 1px rgba(var(--text), 0.6); } input{ border: none; width: 100%; background: transparent; outline: none; font-size: 1rem; color: rgba(var(--text), 1); } } .icon{ height: 1.2em; overflow: visible; width: 1.5em; fill: none; stroke: rgba(var(--text), 1); stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; stroke-width: 6; &.search line{ stroke-width: 8; } &#back_btn{ margin-right: 1rem; } } #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{ padding: 1.5rem; border-radius: 1rem; background: rgba(var(--foreground), 1); border: 1px solid rgba(var(--text), 0.2); .label{ margin-top: 3rem; } h1{ font-size: 2rem; letter-spacing: 0.1rem; font-weight: 500; text-transform: uppercase; } &:first-of-type,&:nth-of-type(2){ cursor: pointer; } &:first-of-type{ text-transform: uppercase; } &:nth-of-type(2){ text-transform: capitalize; } &: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; } } } .montserrat{ font-family: 'montserrat', sans-serif; font-weight: normal; letter-spacing: 0.06em; } #top_transaction_container{ display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1.5em; padding-bottom: 2em; padding-top: 2em; } .transaction{ flex-direction: column; padding: 1.5rem; border-radius: 1rem; border: solid 1px rgba(var(--text), 0.1); .transaction-header{ margin-bottom: 2em; grid-template-columns: auto 1fr; h5{ text-transform: capitalize; } h2{ text-transform: uppercase; margin-top: 0.2em; letter-spacing: 0.06em; } .icon{ display: flex; svg{ height: 1.5em; width: 1.5em; opacity: 0.6; margin-left: auto; cursor: pointer; fill: rgba(var(--text), 1); &:hover{ opacity: 1; } } } } h5{ text-transform: uppercase; margin-bottom: 0.4em; opacity: 0.8; font-size: 0.8em; } h4{ cursor: pointer; margin-bottom: 1.5em; font-weight: 500; &:hover{ filter: brightness(150%); } } h3{ margin-top: 2em; text-align: right; } } #latest_transaction_section{ background: rgba(var(--foreground), 1); header{ grid-template-columns: 1fr auto; position: sticky; top: 0; background: inherit; z-index: 2; } } #page_header{ padding: 1.5rem 0; align-items: center; font-family: 'Montserrat', sans-serif; } .page{ padding: 1.5rem 0; h2.heading{ margin-top: 2rem; font-family: 'Montserrat', sans-serif; } } p{ overflow-wrap: break-word; line-height: 1.6em; text-transform: capitalize; } .balance-card{ background: linear-gradient(135deg, #5E35B1 60%,#7E57C2 10%,#311B92); color: white; border-radius: 1rem; box-shadow: 0 0.5rem 1rem rgba($color: #5E35B1, $alpha: 0.4); padding: 2rem 1.5rem; .flo-logo{ fill: white; height: 1.5rem; width: 1.5rem; opacity: 0.8; margin-bottom: 1rem; } h2,h4{ display: inline-block; width: auto; } h4{ margin-left: 0.5rem; font-weight: 400; } p{ margin-top: 1.5rem; opacity: 0.8; letter-spacing: 0.1em; } } .status{ padding: 0.5rem; border-radius: 1rem; display: inline-flex; align-items: center; &.done{ background: #00C853; svg{ margin-right: 0.5rem; height: 1em; width: 1em; } } &.closed{ background: rgba(var(--foreground), 1); border: solid 1px rgba(var(--text), 0.1); } } @media only screen and (min-width: 640px){ .padding{ padding: 0 6vw; } .margin{ margin: 0 6vw; } .input{ width: 80vw !important; } .watermark{ font-size: 16vw !important; line-height: 0.6em; } 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{ } @media only screen and (min-width: 1280px){ .padding{ padding: 0 8vw; } .margin{ margin: 0 8vw; } .input{ width: 50vw !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; } .padding{ padding: 0 12vw; } .margin{ margin: 0 12vw; } } @media only screen and (min-width: 2048px){ body{ font-size: 24px; } .padding{ padding: 0 24vw; } .margin{ margin: 0 24vw; } #first_section{ min-height: auto; } } @media only screen and (max-width: 320px){ body{ font-size: 14px; } } @media (hover:hover){ button{ transition: background-color 0.3s; &:hover{ background: rgba(var(--text), 1); color: var(--background); } } #logo{ cursor: pointer; } }