pleroma-fe/index.html

168 lines
4.4 KiB
HTML
Raw Permalink Normal View History

2016-10-26 14:46:32 +00:00
<!DOCTYPE html>
<html lang="en">
2016-10-26 14:46:32 +00:00
<head>
<meta charset="utf-8">
2019-05-18 16:00:50 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
2024-09-17 23:54:25 +00:00
<!-- putting styles here to avoid having to wait for styles to load up -->
<style id="splashscreen">
#splash {
--scale: 1;
width: 100vw;
height: 100vh;
display: grid;
grid-template-rows: auto;
grid-template-columns: auto;
align-content: center;
align-items: center;
justify-content: center;
justify-items: center;
flex-direction: column;
background: #0f161e;
font-family: sans-serif;
color: #b9b9ba;
position: absolute;
z-index: 9999;
font-size: calc(1vw + 1vh + 1vmin);
}
#splash-credit {
position: absolute;
font-size: 14px;
bottom: 16px;
right: 16px;
}
#splash-container {
align-items: center;
}
#mascot-container {
display: flex;
align-items: flex-end;
justify-content: center;
perspective: 60em;
perspective-origin: 0 -15em;
transform-style: preserve-3d;
}
#mascot {
width: calc(10em * var(--scale));
height: calc(10em * var(--scale));
object-fit: contain;
object-position: bottom;
transform: translateZ(-2em);
}
#throbber {
display: grid;
width: calc(5em * 0.5 * var(--scale));
height: calc(8em * 0.5 * var(--scale));
2024-09-18 18:35:10 +00:00
margin-left: 4.1em;
z-index: 2;
grid-template-rows: repeat(8, 1fr);
grid-template-columns: repeat(5, 1fr);
grid-template-areas: "P P . L L"
"P P . L L"
"P P . L L"
"P P . L L"
"P P . . ."
"P P . . ."
"P P . E E"
"P P . E E";
2024-12-12 13:47:07 +00:00
--logoChunkSize: calc(2em * 0.5 * var(--scale))
}
.chunk {
background-color: #e2b188;
box-shadow: 0.01em 0.01em 0.1em 0 #e2b188;
}
#chunk-P {
grid-area: P;
border-top-left-radius: calc(var(--logoChunkSize) / 2);
}
#chunk-L {
grid-area: L;
border-bottom-right-radius: calc(var(--logoChunkSize) / 2);
}
#chunk-E {
grid-area: E;
border-bottom-right-radius: calc(var(--logoChunkSize) / 2);
}
#status {
2024-09-18 18:35:10 +00:00
margin-top: 1em;
line-height: 2;
width: 100%;
text-align: center;
}
2024-12-12 13:58:18 +00:00
#statusError {
display: none;
margin-top: 1em;
font-size: calc(1vw + 1vh + 1vmin);
line-height: 2;
width: 100%;
text-align: center;
}
#statusStack {
display: none;
margin-top: 1em;
font-size: calc((1vw + 1vh + 1vmin) / 2.5);
width: calc(100vw - 5em);
padding: 1em;
text-overflow: ellipsis;
overflow-x: hidden;
text-align: left;
line-height: 2;
}
@media (prefers-reduced-motion) {
#throbber {
animation: none !important;
}
}
</style>
2024-05-31 18:33:44 +00:00
<style id="pleroma-eager-styles" type="text/css"></style>
<style id="pleroma-lazy-styles" type="text/css"></style>
<!--server-generated-meta-->
2016-10-26 14:46:32 +00:00
</head>
2024-09-15 23:34:02 +00:00
<body style="margin: 0; padding: 0">
2019-08-17 08:26:00 +00:00
<noscript>To use Pleroma, please enable JavaScript.</noscript>
<div id="splash">
2024-09-17 23:54:25 +00:00
<!-- we are hiding entire graphic so no point showing credit -->
<div aria-hidden="true" id="splash-credit">
Art by pipivovott
</div>
<div id="splash-container">
2024-09-17 23:54:25 +00:00
<div aria-hidden="true" id="mascot-container">
<div id="throbber">
<div class="chunk" id="chunk-P">
</div>
<div class="chunk" id="chunk-L">
</div>
<div class="chunk" id="chunk-E">
</div>
</div>
<img id="mascot" src="/static/pleromatan_apology.png">
2024-09-15 23:34:02 +00:00
</div>
<div id="status" class="css-ok">
<!-- (。><) -->
2024-09-17 23:54:25 +00:00
<!-- it's a pseudographic, don't want screenreader read out nonsense -->
<span aria-hidden="true" class="initial-text">(。&gt;&lt;)</span>
2024-09-15 23:34:02 +00:00
</div>
2024-12-12 13:58:18 +00:00
<code id="statusError"></code>
<pre id="statusStack"></pre>
2024-09-15 23:34:02 +00:00
</div>
</div>
<div id="app" class="hidden"></div>
<div id="modal"></div>
2016-10-26 14:46:32 +00:00
<!-- built files will be auto injected -->
<div id="popovers" />
2016-10-26 14:46:32 +00:00
</body>
</html>