myco.systems/public/style.css

243 lines
3.8 KiB
CSS
Raw Normal View History

2024-01-29 20:46:10 -05:00
:root {
--size: calc(100vmin / 1.618033988749895);
2023-09-03 23:48:44 -04:00
}
2024-01-29 20:46:10 -05:00
html,
body {
2023-09-03 23:48:44 -04:00
width: 100%;
2024-01-29 20:46:10 -05:00
height: 100vh;
2023-09-03 23:48:44 -04:00
overflow: hidden;
}
2024-01-29 20:46:10 -05:00
body {
margin: 0;
background: #241917;
2024-02-04 14:40:40 -05:00
color: #f3bbae;
2024-02-07 19:38:11 -05:00
font-family: Monaco, monospace !important;
2023-09-03 23:48:44 -04:00
}
2024-01-29 20:46:10 -05:00
body,
.braille {
2023-09-03 23:48:44 -04:00
display: flex;
align-items: center;
2024-02-04 14:40:40 -05:00
justify-content: flex-end;
2024-01-29 20:46:10 -05:00
flex-flow: row;
2023-09-03 23:48:44 -04:00
}
2024-01-29 20:46:10 -05:00
.braille {
max-width: 100%;
max-height: 100%;
width: var(--size);
height: var(--size);
2024-02-11 04:11:31 -05:00
font: 12px/12px "Iosevka Web", monospace;
2023-09-03 23:48:44 -04:00
}
2024-01-29 20:46:10 -05:00
.braille > * {
white-space: pre;
2023-09-03 23:48:44 -04:00
}
2024-01-29 20:46:10 -05:00
.braille .hidden {
position: fixed;
bottom: 100%;
right: 100%;
2023-10-15 16:28:14 -04:00
}
2024-01-29 22:14:50 -05:00
.center-text {
2024-02-08 11:11:15 -05:00
position: fixed;
2024-02-04 14:40:40 -05:00
gap: 25px;
display: flex;
flex-direction: column;
2024-02-04 23:35:52 -05:00
border: 4px solid #f3bbae92;
text-align: left;
z-index: 10;
background-color: #241917;
2024-02-08 11:45:17 -05:00
max-width: 25rem;
2024-02-08 11:11:15 -05:00
top: 50%;
left: 50%;
transform: none;
margin-left: -15vw;
margin-top: -12vh;
}
2024-02-08 11:14:17 -05:00
@media only screen and (max-width: 625px) {
2024-02-08 11:11:15 -05:00
.center-text {
left: 15px;
right: 15px;
top: 40%;
margin-left: 0;
margin-top: 0;
max-width: 100vw;
}
2024-02-04 23:35:52 -05:00
}
.tabs {
display: flex;
}
.tab {
cursor: pointer;
2024-02-08 11:11:15 -05:00
padding: 4px 15px;
2024-02-04 23:35:52 -05:00
border-width: 0 4px 4px 0;
border-style: solid;
border-color: #f3bbae92;
font-size: 12px;
}
.tab-content {
2024-02-07 19:38:11 -05:00
word-wrap: break-word;
2024-02-04 23:35:52 -05:00
display: none;
padding: 20px 20px;
padding-top: 0px;
}
2024-02-07 19:38:11 -05:00
.pgp-address {
word-wrap: break-word;
display: block;
font-size: 12px !important;
background-color: #241917;
color: #fff;
border-radius: 2px;
border: 2px solid #f3bbae;
padding: 5px;
2024-02-04 23:35:52 -05:00
}
.tab:checked ~ label {
background-color: #f3bbae;
color: #241917;
}
#linksTab, #contactTab, #aboutTab {
display: none;
}
#tab-links:checked ~ #linksTab,
#tab-contact:checked ~ #contactTab,
#tab-about:checked ~ #aboutTab {
display: block;
2024-01-29 22:14:50 -05:00
}
2024-02-04 14:40:40 -05:00
.bullet-text {
font-size: 14px;
text-align: left;
z-index: 2;
position: relative;
}
2024-02-07 19:38:11 -05:00
.tab-content a {
2024-01-29 22:14:50 -05:00
color: #f3bbae;
transition: color 0.5s ease;
2024-02-04 23:35:52 -05:00
font-size: 14px;
2024-01-29 22:14:50 -05:00
}
2024-02-07 19:38:11 -05:00
.tab-content a:hover {
2024-01-29 22:14:50 -05:00
color: #ffffff;
}
2024-02-04 14:40:40 -05:00
.visible {
z-index: 0;
2024-02-07 19:38:11 -05:00
}
ul.alt-bullet {
list-style-type: none;
}
ul.alt-bullet li::before {
content: "-";
display: inline-block;
width: 1em;
}
.alt-bullet {
padding-left: 1rem !important;
2024-02-11 03:52:49 -05:00
}
.modal[open] .modal__toggle {
left: calc(50vw + 200px);
top: calc(15vh - 5px);
position: fixed;
z-index: 11;
}
.modal[open] .modal__toggle:focus {
outline: 2px solid #00f;
}
.modal__toggle::before {
content: 'Donate';
cursor: pointer;
padding-left: 10px;
padding-right: 10px;
background-color: #241917;
color: #fff;
border-radius: 2px;
border: 2px solid #f3bbae;
}
.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: .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: 2px 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-radius: 2px;
border: 2px solid #f3bbae;
padding: 5px;
}
.links {
padding-left: 0.85rem;
2024-02-04 14:40:40 -05:00
}