myco.systems/public/style.css

94 lines
1.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-04 17:52:50 -05:00
font-family: Monaco, monospace;
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-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;
font-family: Monaco, monospace;
text-align: left;
z-index: 2;
position: relative;
}
2024-01-29 22:14:50 -05:00
.center-text a {
color: #f3bbae;
transition: color 0.5s ease;
}
.center-text a:hover {
color: #ffffff;
}
2024-02-04 14:40:40 -05:00
.visible {
z-index: 0;
}