myco.systems/public/style.css

159 lines
2.3 KiB
CSS
Raw Normal View History

2024-01-29 20:46:10 -05:00
@import url("//cdn.jsdelivr.net/gh/be5invis/Iosevka@ff81c66/fonts.css");
2023-09-03 23:48:44 -04:00
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);
font: 11px/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 {
position: absolute;
2024-02-04 14:40:40 -05:00
top: 35vh;
2024-02-04 17:52:50 -05:00
left: 10.5rem;
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-07 19:38:11 -05:00
max-width: 85vw;
2024-02-04 23:35:52 -05:00
}
.tabs {
display: flex;
}
.tab {
cursor: pointer;
padding: 8px;
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
@media only screen and (min-width: 1024px) {
2024-01-29 22:14:50 -05:00
.center-text {
2024-02-04 17:52:50 -05:00
left: 10z.5rem;
2024-01-29 22:14:50 -05:00
}
2023-10-15 16:28:14 -04:00
}
2024-01-29 22:14:50 -05:00
2024-02-04 14:40:40 -05:00
@media only screen and (max-width: 1023px) and (min-width: 768px) {
.center-text {
left: 2.5rem;
}
}
@media only screen and (max-width: 767px) {
.center-text {
left: 1.5rem;
}
}
.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-04 14:40:40 -05:00
}