home page to dragonx.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1003 lines
16 KiB

@import "explorer.css";
/*
----------------------------------------
Table of Contents
1. Header
1.1 Nav
1.2 Hero
2. Buttons
2.1 Hero buttons
2.2 Pinned Buttons
3. Sections
3.1 About
4. HTML Elements
----------------------------------------
*/
:root {
--bg-color: rgb(35, 40, 52);
--text-color-main: rgb(255, 255, 255);
--text-color-dark: rgb(180, 180, 180);
--text-color-darker: rgb(150, 150, 150);
--button: rgb(72, 85, 99);
--button-hover: rgba(72, 85, 99, 0.898);
--item-bg-light: rgb(145, 164, 184);
--item-bg-grey: rgb(69, 80, 94);
--item-bg-dark: rgb(16, 23, 34);
--item-bg-dark-grey: rgb(36, 46, 62);
background-color: var(--bg-color);
font-family: "Ubuntu Mono";
position: relative;
}
@font-face {
font-family: "Ubuntu Mono";
src: url("UbuntuMono.ttf") format("truetype");
}
@font-face {
font-family: "Ubuntu Mono Light";
src: url("Ubuntu-L.ttf") format("truetype");
}
body {
margin: 0px;
overflow-x: hidden;
}
html {
scroll-behavior: smooth;
}
.divider {
background-image: url(../img/graphic_divider_dragonx.png);
background-repeat: repeat-x;
background-position-x: center;
background-position-y: center;
background-size: 800px;
height: 3vh;
}
/*=============== Header ===============*/
header {
z-index: 999;
position: fixed;
background-color: var(--bg-color);
margin-top: -15vh;
width: 100vw;
height: 12vh;
box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.122);
}
.header-space {
margin-top: 15vh;
}
.header-logo {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
margin-left: 12vw;
margin-top: 1.5vh;
}
.header-logo:hover > path {
fill: rgb(72, 85, 99);
stroke-width: 1px;
stroke: white;
}
/*-------------- Nav --------------*/
.nav-bar.desktop {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
left: 35vw;
right: 0vw;
margin-top: 4.5vh;
}
.nav-bar.desktop > nav > a {
padding: 0.5rem 1rem;
margin: 0rem 0.5rem;
font-size: 1.25rem;
}
@media screen and (max-aspect-ratio: 1/1) {
.nav-bar.desktop {
display: none;
}
}
/* mobile toggle nav menu */
.mobile-menu {
z-index: 500;
display: none;
position: fixed;
padding: 0;
margin: 4.5vh;
margin-left: 75vw;
margin-right: auto;
}
.nav-links.mobile {
display: none;
position: fixed;
grid-template-rows: auto auto;
gap: 2em;
left: 42vw;
right: 15vw;
top: 15vh;
}
/* animated nav links with stagger using --index */
.nav-links.mobile > a {
transition: all 200ms ease-out;
transition-delay: calc(0.1s * var(--index));
margin-left: 60vw;
margin-right: -60vw;
border-radius: 0rem;
}
@media screen and (max-aspect-ratio: 1/1) {
.mobile-menu {
display: flex;
}
}
.nav-mobile-icon {
width: 2.5em;
}
.nav-btn {
display: flex;
justify-content: center;
align-items: center;
transition: all 100ms ease-in-out;
opacity: 100%;
transform-origin: 1.5em 4.5em;
transform: rotate(0deg);
}
#nav-check {
display: none;
}
#nav-check ~ nav > button {
transition: all 200ms ease-out;
scale: 1;
}
#nav-check:checked ~ nav > button {
transition: all 200ms ease-out;
transform: rotate(-180deg) scale(1.5);
opacity: 50%;
}
#nav-check:checked ~ * .nav-links {
display: grid;
}
#nav-check:checked ~ * .nav-links > a {
transition: border-radius 500ms ease-in-out, margin 200ms ease-out;
--index: 0;
transition-delay: calc(0.1s * var(--index));
margin-left: 0vw;
margin-right: 0vw;
border-radius: 1.5rem;
}
/* toggle black overlay so nav is visible over content */
.toggle-overlay {
transition: background-color 500ms ease-in-out;
z-index: 0;
position: fixed;
background-color: rgba(0, 0, 0, 0);
width: 100vw;
height: 100vh;
}
#nav-check:checked ~ * .toggle-overlay {
background-color: rgba(20, 20, 20, 0.97);
}
/*-------------- Hero --------------*/
.hero-image {
display: flex;
justify-content: center;
align-items: center;
margin-top: 15vh;
margin-bottom: 15vh;
}
.hero-image > img {
width: 40vw;
margin-top: -11vh;
margin-bottom: -9vh;
}
.hero-image ~ h2 {
z-index: -1;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
left: 5vw;
right: 5vw;
margin-top: -5vh;
}
@media screen and (max-aspect-ratio: 1/1) {
.hero-image > img {
width: 75vw;
}
.hero-image ~ h2 {
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
position: absolute;
margin-top: -5vh;
left: 5vw;
right: 5vw;
}
}
/*=============== Buttons ===============*/
.component-button {
margin: 0em 0em;
padding: 1.25rem 1rem;
font-family: "Ubuntu Mono";
font-weight: 300;
font-size: 1.4em;
text-align: center;
text-decoration: none;
color: white;
border-radius: 0.5rem;
background: rgb(72, 85, 99, 0.5);
}
.component-button:hover {
font-weight: 600;
box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 1) inset;
background: rgba(72, 85, 99, 0.898);
}
.hero-download {
background-color: rgba(240, 248, 255, 0);
border: none;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0rem 0 2rem 0;
margin-left: auto;
margin-right: auto;
width: 100%;
height: 10rem;
}
.hero-btn-container {
display: flex;
align-items: center;
justify-content: center;
transform: scale(0.7);
font-size: 1.3rem;
margin: 0 0 -1.5rem 0;
}
.hero-btn {
margin: 1rem;
width: 20rem;
}
.hero-download > span {
margin: 1rem;
color: var(--item-bg-light);
}
.os-download-title {
scroll-margin: 24rem;
}
.os-download-container {
display: flex;
align-items: center;
justify-content: center;
}
.wallet-btn {
transition: all ease-in-out 300ms;
display: flex;
align-items: center;
justify-content: center;
margin: 1rem 1rem 0rem 1rem;
padding: 1rem 2rem;
width: 14rem;
height: 2rem;
text-align: center;
border-radius: 1rem;
}
.wallet-btn small {
margin: 0;
}
.btn-logo {
position: absolute;
margin: 0;
height: 2rem;
transform: translateX(-7rem);
}
@media screen and (max-aspect-ratio: 1/1) {
.desktop {
display: none;
}
.hero-download {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 20rem;
margin: -4rem 0 0 0;
}
.hero-btn-container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
transform: scale(0.7);
height: 20rem;
width: 100vw;
margin: 0;
}
.hero-btn {
display: flex;
align-items: center;
width: 20rem;
justify-content: center;
color: white;
text-align: center;
}
.os-download-title {
margin: 2rem 0 0 0;
scroll-margin: 8rem;
margin-top: 10rem;
}
.os-download-container {
flex-direction: column;
margin: 0rem 0 2rem 0;
width: 100%;
}
.wallet-btn {
margin: 1rem;
}
}
.explorer-radio {
display: none;
/* position: fixed; */
margin: 0;
}
/*=============== Sections ===============*/
/*-------------- Explorer --------------*/
/* explorer.css */
.section-default {
width: 100%;
}
.release-card {
width: 68rem;
height: fit-content;
outline: .125rem solid rgba(255, 255, 255, 0.25);
border-radius: .25rem;
margin: 4rem auto;
color: white;
background-color: rgba(255, 255, 255, 0.15);
}
.card-title {
display: flex;
}
.card-content {
display: flex;
background-color: rgba(255, 255, 255, 0.1);
outline: .1rem solid rgba(255, 255, 255, 0.25);
}
.card-screenshot-container {
display: flex;
align-items: center;
justify-content: center;
width: 30rem;
margin: 2rem 0;
}
.card-screenshot {
width: 24rem;
box-shadow: 0 0 .75rem rgba(0, 0, 0, 0.5);
}
.card-details {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.release-card h2{
display: inline-block;
text-align: center;
text-align: left;
margin: 0;
padding: .5rem;
}
.release-card h2:first-of-type{
outline: 0rem solid rgba(42, 92, 108, 0.54);
background-color: rgba(255, 255, 255, 0.318);
height: 100%;
width: 18rem;
border-radius: .25rem 0 0 0;
}
.release-card h2:last-of-type{
outline: 0rem solid rgba(255, 255, 255, 0.25);
height: 100%;
width: 54rem;
border-radius: 0rem .25rem 0 0;
}
.release-card ul {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: .5rem;
list-style: none;
border-radius: 0 0 .25rem .25rem;
margin: 0;
}
.release-card li {
padding: .5rem;
}
.release-card ul .bug {
background-color: rgba(255, 17, 0, 0.15);
padding: .25rem;
border-radius: .25rem;
color: red;
}
.release-card ul .improvement {
background-color: rgba(51, 255, 0, 0.15);
padding: .25rem;
border-radius: .25rem;
color: rgb(0, 255, 0);
}
.release-btn {
transition: all ease-in-out 100ms;
display: inline-flex;
justify-content: center;
align-items: center;
border: none;
text-decoration: none;
background-color: rgba(255, 255, 255, 0.25);
outline: .125rem solid rgba(255, 255, 255, 0.5);
color: white;
padding: .5rem .75rem;
margin: 1rem .5rem;
border-radius: .25rem;
font-size: 1rem;
}
.release-btn:hover {
transform: scale(1.05);
}
.release-img {
height: 1.5rem;
margin: 0rem .5rem 0rem 0rem;
filter: contrast(70%);
}
@media (max-width: 1024px) {
.card-title {
flex-direction: column;
}
.card-title h2 {
width: auto !important;
font-size: 1rem;
}
.card-title h2:first-child {
border-radius: .25rem .25rem 0 0;
}
.release-card {
width: 90%;
height: fit-content;
margin: 4rem auto;
}
.card-content {
flex-direction: column;
}
.card-screenshot-container {
width: 100%;
}
.card-screenshot {
width: 90%;
}
}
/*-------------- About DragonX --------------*/
.about-summary {
display: flexbox;
margin: 0 13vw;
}
.grid-content-1x3 {
display: grid;
grid-template-columns: auto auto auto;
justify-content: center;
align-items: center;
margin-left: auto;
margin-right: auto;
margin-bottom: 12vh;
margin-top: 2vh;
}
.grid-item {
background-color: var(--item-bg-grey);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 2vh;
padding: 0;
width: 30vh;
/* height: 25vh; */
}
.grid-inner-container {
display: flexbox;
margin-left: auto;
margin-right: auto;
height: 30vh;
}
.grid-inner-container > img {
display: flex;
justify-content: center;
align-items: center;
margin: 2rem;
margin-left: auto;
margin-right: auto;
width: 10vh;
}
.grid-inner-container > p {
display: flex;
justify-content: center;
align-items: center;
/* margin: 1rem; */
margin-left: auto;
margin-right: auto;
padding: 0 2vh;
color: var(--text-color-main);
font-size: 2vh;
}
.grid-item > a {
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
background-color: var(--item-bg-dark);
font-size: 2.25vh;
width: 100%;
}
.grid-item > a:hover {
background-color: var(--item-bg-light);
color: var(--item-bg-dark);
font-weight: 800;
}
@media screen and (max-aspect-ratio: 10/8) {
.grid-content-1x3 {
grid-template-columns: auto;
margin-left: auto;
margin-right: auto;
}
.grid-item {
display: flexbox;
width: 35vh;
margin-top: 2vh;
margin-bottom: 2vh;
padding-top: 2vh;
padding-bottom: 2vh;
}
.grid-inner-container {
display: flexbox;
margin-left: auto;
margin-right: auto;
height: 35vh;
}
.grid-inner-container > img {
margin: 4vh;
margin-left: auto;
margin-right: auto;
width: 15vh;
}
.grid-inner-container > p {
display: flex;
align-items: center;
justify-content: center;
margin-left: auto;
margin-right: auto;
padding: 0vh 2vh;
font-size: 2vh;
line-height: 1.5rem;
}
.grid-item > a {
margin-top: 2vh;
margin-bottom: -2vh;
}
}
/*-------------- Specifications --------------*/
.specs-section {
display: flexbox;
background-color: var(--item-bg-dark);
margin-top: 8vh;
margin-bottom: 12vh;
margin-left: auto;
margin-right: auto;
width: 55vh;
height: 60vh;
border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
}
.specs-content-body {
z-index: 4;
background-color: var(--item-bg-dark);
width: 55vh;
padding: 2vh 0vw;
margin-top: 6vh;
border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
}
.specs-tab {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 50vh;
height: 8vh;
margin-top: 1vh;
margin-bottom: 2vh;
margin-left: auto;
margin-right: auto;
background-color: var(--item-bg-grey);
border-radius: 0.75rem 0.75rem 0rem 0rem;
font-size: 3vh;
}
.specs-content {
display: flex;
justify-content: center;
align-items: center;
margin: 0vh;
margin-left: auto;
margin-right: auto;
/* background-color: var(--item-bg-light); */
width: 50vh;
border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
}
.specs-content:nth-child(9) {
margin-bottom: 1vh;
}
.specs-bar-left {
display: flex;
justify-content: right;
align-items: center;
margin: 1vh;
margin-left: 0;
margin-right: auto;
background-color: var(--item-bg-grey);
height: 4vh;
width: 25vh;
border-radius: 0.75rem 0rem 0rem 0.75rem;
}
.specs-bar-right {
display: flex;
justify-content: left;
align-items: center;
margin: 1vh;
margin-left: 0;
margin-right: auto;
background-color: var(--item-bg-light);
height: 4vh;
width: 25vh;
border-radius: 0rem 0.75rem 0.75rem 0rem;
}
.specs-right {
color: var(--item-bg-dark);
margin-left: 1vh;
font-size: 2.25vh;
}
.specs-left {
margin-right: 1vh;
font-size: 2.25vh;
}
@media screen and (max-aspect-ratio: 10/8) {
.specs-section {
width: 45vh;
}
.specs-content-body {
width: 45vh;
}
.specs-content {
width: 42vh;
}
.specs-left {
font-size: 2vh;
}
.specs-right {
font-size: 2vh;
}
.specs-tab {
width: 42vh;
margin-top: 0vh;
}
}
/* halving */
.countdown-timer div {
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 0 auto;
width: 20rem;
}
.countdown-timer div h3 {
height: 100%;
width: 50%;
}
.countdown-timer div h3:nth-child(odd) {
text-align: right;
padding-right: 1rem;
}
.countdown-timer div h3:nth-child(even) {
text-align: left;
padding-left: 1rem;
}
.blocks-left {
display: flex;
width: 30rem;
align-items: center;
justify-content: center;
margin: 0 auto 0 auto;
}
.blocks-left h3 {
padding: 0 1rem;
}
/*=============== Html Elements ===============*/
a {
color: var(--text-color-main);
}
table {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin: 1rem;
padding: 1rem;
}
tr {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto auto;
color: var(--text-color-main);
}
td {
/* margin: .25rem .5rem; */
padding: 2rem 3rem;
background-color: black;
}
.header-details {
text-align: center;
font-size: 1.25rem;
color: var(--text-color-dark);
}
h1 {
text-align: center;
color: var(--text-color-main);
}
h2 {
text-align: center;
color: var(--text-color-main);
}
h3 {
text-align: center;
color: var(--text-color-main);
}
p {
text-align: center;
color: var(--text-color-main);
}
.explorer-links {
text-decoration: none;
color: var(--text-color-main);
}
.explorer-links:hover {
color: var(--text-color-main);
font-weight: 600;
}
span {
color: var(--text-color-main);
}
#exchanges {
min-height: 40vh;
display: flex;
flex-direction: column;
align-items: center;
flex-direction: column;
margin: 10rem 0;
}
#exchanges h2 {
font-size: 3rem;
margin: 0rem 0 8rem 0;
}
.exchanges-card {
transition: all ease-in-out 200ms;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
outline: .1rem solid rgba(255, 255, 255, 0.25);
height: 10rem;
width: 30rem;
margin: 0 4rem;
padding: 0 0 0rem 0;
border-radius: .25rem;
background-color: rgba(255, 255, 255, 0.111);
margin: 2rem 4rem;
cursor: pointer;
}
.exchanges-card:hover {
transform: scale(1.05);
background-color: rgba(255, 255, 255, 0.25);
outline: .1rem solid rgba(255, 255, 255, 0.85);
position: relative;
}
.exchanges-card h3 {
margin: 0;
transform: translateY(-1.5rem);
pointer-events: none;
}
.exchanges-card img {
transition: all ease-in-out 200ms;
height: 4rem;
position: relative;
pointer-events: none;
}
.exchanges-card:hover img {
transform: scale(1.05);
filter: drop-shadow(0 0 .25rem rgb(255, 255, 255));
}
.exchanges-card a {
z-index: 1;
position: absolute;
display: block;
width: 30rem;
height: 10rem;
}
@media (max-width: 1024px) {
#exchanges > div {
flex-direction: column;
}
#exchanges h2 {
margin: 2rem 0;
}
.exchanges-card {
width: 20rem;
height: 8rem;
margin: 3rem auto;
}
.exchanges-card h3 {
padding-top: 1rem;
}
.exchanges-card a{
width: 20rem;
height: 8rem;
}
.component-button {
font-size: 1.25rem;
padding: .75rem 1rem;
border-radius: .25rem !important;
}
}