mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-13 14:48:02 +03:00
57 lines
1.8 KiB
CSS
57 lines
1.8 KiB
CSS
|
/* Styles applied to index.html for the loading screen, prior to the app being injected */
|
||
|
/* Dashy - Licensed under MIT, (C) Alicia Sykes 2022 */
|
||
|
|
||
|
body { margin: 0; }
|
||
|
#app .loading-placeholder {
|
||
|
position: absolute;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
cursor: progress;
|
||
|
background: #121212;
|
||
|
}
|
||
|
#app .loading-placeholder h1 {
|
||
|
font-size: 20vh;
|
||
|
font-family: Tahoma, monospace;
|
||
|
cursor: progress;
|
||
|
color: #0c0c0c;
|
||
|
text-shadow: 0px 4px 4px #090909, 0 0 0 #000, 0px 2px 2px #000000;
|
||
|
}
|
||
|
#app .loading-placeholder p.loading {
|
||
|
font-size: 2rem;
|
||
|
font-family: monospace;
|
||
|
cursor: progress;
|
||
|
color: #0c0c0c;
|
||
|
text-shadow: 0 1px 1px #090909, 0 0 0 #000, 0 1px 1px #000000;
|
||
|
}
|
||
|
#app .loading-placeholder .catastrophic-error p {
|
||
|
color: #e11a4bfc;
|
||
|
margin: 0.5rem 0;
|
||
|
font-weight: bold;
|
||
|
font-size: 4vh;
|
||
|
text-align: center;
|
||
|
font-family: monospace;
|
||
|
text-shadow: 1px 2px 1px #090909, 0 0 0 #000, 0 1px 1px #000000
|
||
|
}
|
||
|
#app .loading-placeholder .catastrophic-error p.err-l2 {
|
||
|
font-size: 2vh;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
#app .loading-placeholder .catastrophic-error p.err-l2 a {
|
||
|
color: #e11a4bfc;
|
||
|
}
|
||
|
#app .loading-placeholder.still-not-loaded { cursor: default; }
|
||
|
#app .loading-placeholder.still-not-loaded p.loading { display: none; }
|
||
|
#app .loading-placeholder.still-not-loaded .catastrophic-error { display: block !important; }
|
||
|
@media (max-width: 780px) {
|
||
|
.loading-placeholder h1 { font-size: 12vh !important; }
|
||
|
#app .loading-placeholder .catastrophic-error p { font-size: 2.5vh !important; }
|
||
|
#app .loading-placeholder .catastrophic-error p.err-l2 { font-size: 1.2vh !important; }
|
||
|
}
|
||
|
::selection { background-color: #db78fc; color: #121212; }
|