myco.systems/public/style.css
brooke 75c6573afb
All checks were successful
Static / build (push) Successful in 1s
update contact tab styles
2024-10-29 16:32:05 -04:00

288 lines
4.3 KiB
CSS
Executable file

:root {
--size: calc(100vmin / 1.618033988749895);
}
html,
body {
width: 100%;
height: 100vh;
overflow: hidden;
}
body {
margin: 0;
background: #241917;
color: #f3bbae;
font-family: Monaco, monospace !important;
}
body,
.braille {
display: flex;
align-items: center;
justify-content: center;
flex-flow: row;
}
.braille {
max-width: 100%;
max-height: 100%;
width: var(--size);
height: var(--size);
font: 12px/12px "Iosevka Web", monospace;
}
.braille > * {
white-space: pre;
}
.braille .hidden {
position: fixed;
bottom: 100%;
right: 100%;
}
.globe-txt {
display: flex;
position: fixed;
right: 0;
}
@media only screen and (max-width: 625px) {
.globe-txt {
position: fixed;
right: 50%;
top: 50%;
transform: translate(50%, -50%);
}
}
.center-text {
position: fixed;
gap: 25px;
display: flex;
flex-direction: column;
border: 4px solid #f3bbae92;
text-align: left;
z-index: 10;
background-color: #241917;
max-width: 35rem;
top: 30%;
left: 15%;
}
@media only screen and (max-width: 625px) {
.center-text {
left: 15px;
right: 15px;
margin-left: 0;
margin-top: 0;
max-width: 100vw;
}
}
.tabs {
display: flex;
overflow-x: auto;
white-space: nowrap;
padding-bottom: 2px;
}
::-webkit-scrollbar {
height: 3px;
}
::-webkit-scrollbar-track {
background: #241917;
}
::-webkit-scrollbar-thumb {
background: #f3bbae;
}
.tab,
.tab-link {
cursor: pointer;
padding: 4px 15px;
border-width: 0 4px 4px 0;
border-style: solid;
border-color: #f3bbae92;
font-size: 12px;
}
.tab-link {
color: #f3bbae;
text-decoration: none;
margin-right: 2.5rem;
min-width: 4.5rem;
}
.tab-link svg {
fill: #f3bbae;
width: 12px;
}
.tab-content {
word-wrap: break-word;
display: none;
padding: 20px 20px;
padding-top: 0px;
}
.code {
word-wrap: break-word;
display: block;
font-size: 12px !important;
background-color: #241917;
color: #fff;
border: 4px solid #f3bbae92;
padding: 5px;
}
#linksTab,
#contactTab,
#dashTab {
display: none;
}
#tab-links:checked ~ #linksTab,
#tab-contact:checked ~ #contactTab,
#tab-about:checked ~ #aboutTab,
#tab-dash:checked ~ #dashTab {
display: block;
}
.bullet-text {
font-size: 14px;
text-align: left;
z-index: 2;
position: relative;
}
.tab-content p {
color: #f3bbae;
font-size: 14px;
margin: 0 !important;
}
.tab-content a {
color: #f3bbae;
transition: color 0.1s ease;
font-size: 14px;
}
.tab-content a[href]:hover {
color: #ffffff;
}
.visible {
z-index: 0;
position: absolute;
right: 0;
}
ul {
list-style-type: none;
}
ul li::before {
content: "-";
display: inline-block;
width: 1em;
}
.alt-bullet {
padding-left: 1rem !important;
}
.modal[open] .modal__toggle {
left: calc(50vw + 200px);
top: calc(15vh - 5px);
position: fixed;
z-index: 11;
}
.modal[open] .modal__toggle:focus {
outline: 0px solid rgba(0, 0, 255, 0);
}
.modal__toggle::before {
content: "Donate";
cursor: pointer;
padding-left: 10px;
padding-right: 10px;
background-color: #241917;
color: #fff;
border: 4px solid #f3bbae92;
}
.modal[open] .modal__toggle::before {
content: "✖";
color: #fff !important;
font-size: 25px;
}
.modal__toggle {
position: relative;
list-style: none;
font-size: 14px;
font-family: Monaco, monospace;
text-align: left;
z-index: 4;
}
.modal__toggle::-webkit-details-marker {
display: none;
}
.modal__toggle:hover {
cursor: pointer;
opacity: 0.8;
}
.modal__background {
background-color: rgba(0, 0, 0, 0.65);
display: flex;
height: 100vh;
justify-content: center;
left: 0;
position: fixed;
top: 0;
width: 100vw;
z-index: 3;
}
.modal__body {
border: 4px solid #f3bbae92;
background: rgba(36, 25, 23, 1);
color: #f3bbae;
font-size: 1.6rem;
font-weight: 600;
padding: 20px 20px;
position: fixed;
text-align: left;
top: 15vh;
left: 50%;
transform: translateX(-50%);
width: 80%;
max-width: 400px;
z-index: 10;
word-wrap: break-word;
font-family: Monaco, monospace;
}
.modal__text {
line-height: 1.6;
margin: 0;
font-size: 12px;
}
.crypto-address {
word-wrap: break-word;
display: block;
font-size: 12px !important;
background-color: #241917;
color: #fff;
border: 4px solid #f3bbae92;
padding: 5px;
}
.links {
padding-left: 0.85rem;
}
.dashboard {
display: flex;
flex-direction: row;
}