1
0
This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.

333 lines
5.9 KiB
CSS

@font-face {
font-family: minecraft;
src: url(Minecraft.ttf);
}
@font-face {
font-family: minecraft-bold;
src: url(Mojang-Bold.ttf);
}
@font-face {
font-family: minecraft-regular;
src: url(Mojang-Regular.ttf);
}
/* Font END */
*{
font-family: minecraft;
font-family: minecraft-regular;
}
input{
color: var(--text-primary);
background-color: var(--bg-secondary)
}
fieldset{
border-radius: 7px;
border-color: var(--border-color);
}
textarea{
color: var(--text-secondary);
background-color: var(--bg-secondary);
font-family: minecraft;
}
select{
color: var(--text-primary);
background-color: var(--bg-secondary)
}
button{
color: var(--text-primary);
background-color: var(--bg-secondary)
}
label,div{
color: var(--text-primary);
}
.port-left {
float: left;
margin-bottom: 50px;
}
.port-right {float: right;}
.port-center {margin-left: 1.9%;}
.port {color: var(--text-primary);}
div,html{
background-color: var(--bg-primary);
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: var(--bg-primary); /* Fallback color */
background-color: var(--box-primary); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: var(--bg-primary);
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
@media only screen and (min-width: 1000px) {
/* .root{
display: grid;
grid-template-columns: 0,5fr 2fr 1,5fr;
grid-template-rows: 1,5fr 0,5fr 1fr;
grid-template-areas:
"give config worldsswitch"
"gi co sw";
}
.config{grid-area: config;}
.give{grid-area: give;}
.SwitchOUT{grid-area: sw;}
.GiveOUT{grid-area: gi;}
.ConfOUT{grid-area: co;}
.worldsswitch{grid-area: worldsswitch;} */
}
/* -------------------------- */
:root {
font-size: 16px;
/* --text-primary: #b6b6b6;
--text-secondary: #ececec;
--bg-primary: #23232e;
--bg-secondary: #141418; */
--transition-speed: 600ms;
}
body {
color: var(--text-primary);
background-color: var(--bg-primary);
margin: 0;
padding: 0;
}
::-webkit-scrollbar {
width: 0.45rem;
}
::-webkit-scrollbar-track {
background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--text-primary);
}
.root {
margin-left: 5rem;
padding: 1rem;
}
.navbar {
position: fixed;
background-color: var(--bg-primary);
transition: width 600ms ease;
overflow: scroll;
}
.navbar-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}
.nav-item {
width: 100%;
}
.nav-item:last-child {
margin-top: auto;
}
.nav-link {
display: flex;
align-items: center;
height: 5rem;
color: var(--text-primary);
text-decoration: none;
filter: grayscale(100%) opacity(0.7);
transition: var(--transition-speed);
}
.nav-link:hover {
filter: grayscale(0%) opacity(1);
background: var(--bg-secondary);
color: var(--text-secondary);
}
.link-text {
display: none;
margin-left: 1rem;
}
.nav-link svg {
width: 2rem;
min-width: 2rem;
margin: 0 1.5rem;
}
.fa-primary {
color: var(--text-primary);
}
.fa-secondary {
color: var(--text-secondary);
}
.fa-primary,
.fa-secondary {
transition: var(--transition-speed);
}
.logo {
font-weight: bold;
text-transform: uppercase;
margin-bottom: 1rem;
text-align: center;
color: var(--text-secondary);
background: var(--bg-secondary);
font-size: 1.5rem;
letter-spacing: 0.3ch;
width: 100%;
}
.logo svg {
/* transform: rotate(0deg); */
transition: var(--transition-speed);
}
.logo-text
{
display: inline;
position: absolute;
left: -999px;
transition: var(--transition-speed);
}
.navbar:hover .logo svg {
transform: rotate(-180deg);
}
/* Small screens */
@media only screen and (max-width: 1000px) {
.navbar {
bottom: 0;
width: 100vw;
height: 5rem;
}
.logo {
display: none;
}
.navbar-nav {
flex-direction: row;
}
.nav-link {
justify-content: center;
}
.root {
margin: 0;
margin-bottom: 5rem;
}
}
/* Large screens */
@media only screen and (min-width: 1000px) {
.navbar {
top: 0;
width: 5rem;
height: 100vh;
}
.navbar:hover {
width: 16rem;
}
.navbar:hover .link-text {
display: inline;
}
.navbar:hover .logo svg
{
margin-left: 11rem;
}
.navbar:hover .logo-text
{
left: 0px;
}
}
.dark {
--text-primary: #b6b6b6;
--text-secondary: #ececec;
--bg-primary: #23232e;
--bg-secondary: #141418;
--box-primary: rgba(0,0,0,0.4);
--border-color: rgba(255, 255, 255, 0.5);
}
.light {
--text-primary: #1f1f1f;
--text-secondary: #000000;
--bg-primary: #ffffff;
--bg-secondary: #e4e4e4;
--box-primary: rgba(0,0,0,0.4);
--border-color: rgba(0,0,0,0.5);
}
.theme-icon {
display: none;
}
.dark #darkIcon {
display: block;
}
.light #lightIcon {
display: block;
}
.BDSLOG{
background-color: transparent;
border: 0 none white;
/* overflow: hidden; */
padding: 0;
outline: none;
}
.copyright{
float: left;
margin-right: 50%;
}
.mantedor{
float: right;
margin-left: 50%
}