myco.systems/public/style.css
brooke 12a1414d8a
All checks were successful
Static / build (push) Successful in -1s
shrink globe font
2024-11-03 09:55:03 -05:00

391 lines
No EOL
5.9 KiB
CSS
Executable file

:root {
--size: calc(100vmin / 1.618033988749895);
--primary-text-size: 12px;
}
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: 10px/10px "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 #9a756c;
text-align: left;
z-index: 10;
background-color: #241917;
max-width: 30rem;
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;
}
}
::-webkit-scrollbar {
height: 3px;
}
::-webkit-scrollbar-track {
background: #241917;
}
::-webkit-scrollbar-thumb {
background: #f3bbae;
}
.tab,
.tab-link {
cursor: pointer;
border-width: 0 4px 4px 0;
border-style: solid;
border-color: #9a756c;
font-size: 10px;
}
.tab-link {
color: #f3bbae;
text-decoration: none;
margin-right: 2.5rem;
min-width: 4.5rem;
}
.tab-link svg {
fill: #f3bbae;
width: 12px;
}
a {
color: #f3bbae;
transition: all 0.3s;
}
p {
margin: 0;
font-size: var(--primary-text-size);
}
.tabbed {
overflow-x: hidden;
}
.tabbed [type="radio"] {
display: none;
}
ul.custom-bullet {
list-style-type: none;
}
ul.custom-bullet li {
position: relative;
}
ul.custom-bullet li::before {
content: "-";
position: absolute;
left: -15px;
}
.tab>label {
display: flex;
margin: 0;
padding: 0.35rem 0.75rem;
cursor: pointer;
transition: all 0.3s;
}
.tab:hover a,
.tab:hover svg {
color: #241917 !important;
fill: #241917 !important;
transition: all 0.3s;
}
.tab:hover label {
background-color: #9a756c;
color: #241917;
font-weight: 700;
transition: all 0.3s;
}
.tab-content {
display: none;
padding: 1rem;
}
.tabbed [type="radio"]:nth-of-type(1):checked~.tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked~.tabs .tab:nth-of-type(2) label,
.tabbed [type="radio"]:nth-of-type(3):checked~.tabs .tab:nth-of-type(3) label,
.tabbed [type="radio"]:nth-of-type(4):checked~.tabs .tab:nth-of-type(4) label,
.tabbed [type="radio"]:nth-of-type(5):checked~.tabs .tab:nth-of-type(5) label {
background-color: #9a756c;
color: #241917;
font-weight: 700;
}
.tabbed [type="radio"]:nth-of-type(1):checked~.tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked~.tab-content:nth-of-type(2),
.tabbed [type="radio"]:nth-of-type(3):checked~.tab-content:nth-of-type(3),
.tabbed [type="radio"]:nth-of-type(4):checked~.tab-content:nth-of-type(4) {
display: block;
}
.code {
word-wrap: break-word;
display: block;
font-size: var(--primary-text-size);
background-color: #241917;
color: #fff !important;
border: 4px solid #9a756c;
padding: 5px;
}
.bullet-text {
font-size: var(--primary-text-size);
text-align: left;
z-index: 2;
position: relative;
}
.tab-content a[href]:hover {
color: #ffffff;
}
.visible {
z-index: 0;
position: absolute;
right: 0;
}
ul {
list-style-type: none;
}
.tabs {
display: flex;
align-items: stretch;
list-style: none;
margin: 0;
padding: 0;
}
.bullet::before {
content: "-";
display: inline-block;
width: 1em;
}
.alt-bullet {
padding-left: 1rem !important;
}
.links {
padding-left: 0;
}
.links a {
text-decoration-skip: spaces;
}
.dashboard {
display: flex;
flex-direction: row;
}
.icon,
.text-icon {
fill: #f3bbae;
width: 12px;
}
.text-icon {
padding-left: 0.5rem;
}
.tab-icon {
width: var(--primary-text-size);
color: #f3bbae;
fill: #f3bbae;
padding-left: 0.25rem;
}
a {
display: flex;
justify-content: center;
align-items: center;
}
.modal-window {
position: fixed;
background-color: rgba(0, 0, 0, 0.45);
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: all 0.3s;
&:target {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
&>div {
width: 400px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 2em;
background: #241917;
}
header {
font-weight: bold;
}
h1 {
font-size: 150%;
margin: 0 0 15px;
}
}
.modal-close {
line-height: 14px;
font-size: 18px;
text-decoration: none;
position: absolute;
right: 0;
top: 0;
border-bottom: 4px solid #9a756c;
border-left: 4px solid #9a756c;
padding: 0.25rem 0.35rem;
&:hover {
color: #241917 !important;
background-color: #9a756c;
}
}
.modal-window {
&>div {
border: 4px solid #9a756c;
padding: 1rem;
}
}
.modal-window div:not(:last-of-type) {
margin-bottom: 15px;
}
.logo {
max-width: 150px;
display: block;
}
.btn {
background-color: #241917;
padding: 0.25rem 0.25rem;
border-top: 4px solid #9a756c;
border-right: 4px solid #9a756c;
text-decoration: none;
font-size: 10px;
width: 4rem;
}
.btn:hover {
background-color: #9a756c;
color: #241917 !important;
font-weight: 700;
transition: all 0.3s;
}
.modal-text {
line-height: 1.6;
margin: 0;
font-size: var(--primary-text-size);
}
.modal-body {
padding-right: 1rem;
}
.crypto-address {
word-wrap: break-word;
display: block;
font-size: 12px !important;
background-color: #241917;
color: #fff;
border: 4px solid #9a756c;
padding: 5px;
}
.crypto-name {
font-size: 10px;
font-weight: 400;
}