59 lines
1011 B
CSS
Raw Normal View History

2024-07-23 13:34:26 +08:00
/* HTML styles for the splash screen */
.avalonia-splash {
position: absolute;
height: 100%;
width: 100%;
background: white;
font-family: 'Outfit', sans-serif;
justify-content: center;
align-items: center;
display: flex;
pointer-events: none;
2023-06-04 23:10:03 +08:00
}
2024-07-23 13:34:26 +08:00
/* Light theme styles */
@media (prefers-color-scheme: light) {
.avalonia-splash {
background: white;
}
2023-01-20 23:08:33 +08:00
2024-07-23 13:34:26 +08:00
.avalonia-splash h2 {
color: #1b2a4e;
}
2023-01-20 23:08:33 +08:00
2024-07-23 13:34:26 +08:00
.avalonia-splash a {
color: #0D6EFD;
}
2023-01-20 23:08:33 +08:00
}
2024-07-23 13:34:26 +08:00
@media (prefers-color-scheme: dark) {
.avalonia-splash {
background: #1b2a4e;
}
2023-01-20 23:08:33 +08:00
2024-07-23 13:34:26 +08:00
.avalonia-splash h2 {
color: white;
}
2023-01-20 23:08:33 +08:00
2024-07-23 13:34:26 +08:00
.avalonia-splash a {
color: white;
}
2023-01-20 23:08:33 +08:00
}
2024-07-23 13:34:26 +08:00
.avalonia-splash h2 {
font-weight: 400;
font-size: 1.5rem;
2023-01-20 23:08:33 +08:00
}
2024-07-23 13:34:26 +08:00
.avalonia-splash a {
text-decoration: none;
font-size: 2.5rem;
display: block;
2023-01-20 23:08:33 +08:00
}
2024-07-23 13:34:26 +08:00
.avalonia-splash.splash-close {
transition: opacity 200ms, display 200ms;
display: none;
opacity: 0;
2023-01-20 23:08:33 +08:00
}