@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;600;700&display=swap'); *, ::before, ::after{ padding: 0; margin: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; } body{ --primary-color: #1E88E5; --text: 17, 17, 17; --text-light: 85, 85, 85; --foreground: 255, 255, 255; --background: #e8e8e8; --dark-shade: #dadada; font-size: 14px; color: rgba(var(--text), 1); background: rgba(var(--foreground), 1); } body[data-theme='dark']{ --text: 238, 238, 238; --text-light: 170, 170, 170; --foreground: 26, 26, 26; --background: #111; --dark-shade: #1a1a1a; } h5{ font-weight: 400; } 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: var(--primary-color); overflow: visible; stroke-linecap: round; stroke-linejoin: round; height: 1.2rem; width: 1.2rem; line{ stroke: var(--primary-color); stroke-width: 6; } } input:checked ~ .switch .circle{ transform: translateY(-1.8rem); } } section{ position: relative; header{ display: flex; align-items: center; padding: 2em 0; #logo{ display: inline-block; } h1{ font-size: 1.5rem; } .border{ height: 0.3rem; width: 50%; background: linear-gradient(to right, #8E24AA,#2962FF, #18FFFF); } } .dark-background{ display: grid; grid-template-rows: auto 1fr; } } .padding{ padding: 0 1rem; } .margin{ margin: 0 1rem; } #main_logo{ height: 2rem; width: 2rem; margin-right: 0.5rem; fill: rgba(var(--text), 1); } #first_section{ display: grid; grid-template-rows: 1fr auto; min-height: 100vh; } #main_search{ position: relative; display: grid; place-items: center; padding: 1em; /*#floscout_illustration{ margin-bottom: 1em; fill: none; height: 12rem; width: 12rem; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; .magni-glass-color{ stroke: var(--primary-color); } .cube-color{ stroke: rgba(var(--text), 1); } }*/ .input{ position: relative; display: grid; grid-template-columns: auto 1fr; z-index: 1; width: 100%; align-items: center; background: rgba(var(--foreground), 1); padding: 1em; gap: 1em; border-radius: 0.4em; border: 1px solid rgba(var(--text), 0.2); } input{ border: none; width: 100%; background: transparent; outline: none; font-size: 1rem; letter-spacing: 0.06em; font-weight: 500; color: rgba(var(--text), 1); } .icon{ height: 1.2em; overflow: visible; width: 1.5em; fill: none; stroke: rgba(var(--text), 1); opacity: 0.5; stroke-width: 6; } .watermark{ user-select: none; z-index: 0; position: absolute; bottom: 0; right: 0; font-size: 40vw; text-align: right; opacity: 0.06; line-height: 1em; pointer-events: none; } } .dark-background{ background: var(--dark-shade); } #highlights{ padding: 4em 0; display: grid; grid-template-columns: auto auto; gap: 1em 2em; .highlight-item{ h4{ opacity: 0.8; } h1{ font-size: 1.6em; letter-spacing: 0.1rem; margin-top: 0.1em; font-weight: 500; } &:first-of-type,&:nth-of-type(2){ cursor: pointer; } &:first-of-type{ text-transform: uppercase; } &:nth-of-type(2){ text-transform: capitalize; } } } .bebas{ font-family: 'Bebas Neue', cursive; font-weight: normal; letter-spacing: 0.1em; } #top_transaction_container{ display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5em; padding-bottom: 2em; padding-top: 2em; } .transaction{ flex-direction: column; padding: 2em; border-radius: 0.3em; background: rgba(var(--foreground), 1); border: solid 1px rgba(var(--text), 0.2); .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; color: var(--primary-color); margin-bottom: 1.5em; font-weight: 500; &:hover{ filter: brightness(150%); } } h3{ margin-top: 2em; text-align: right; } } #latest_transaction_section{ header{ grid-template-columns: 1fr auto; position: sticky; top: 0; background: rgba(var(--foreground), 1); z-index: 2; } } @media only screen and (min-width: 640px){ body{ font-size: 16px; } .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: 2.5rem; } } } } @media only screen and (min-width: 800px){ } @media only screen and (min-width: 1280px){ .padding{ padding: 0 8vw; } .margin{ margin: 0 8vw; } #highlights{ grid-template-columns: repeat(4, auto); } .input{ width: 50vw !important; } } @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: box-shadow 0.3s, background-color 0.3s; &:hover{ background: rgba(var(--text), 1); color: var(--background); box-shadow: 0.4em 0.6em 0 rgba(var(--text), 0.2); } } #logo{ cursor: pointer; } }