2022-12-22 11:31:38 +08:00
|
|
|
#root {
|
|
|
|
max-width: 1280px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 2rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-03-30 20:02:54 +08:00
|
|
|
.logo-box {
|
|
|
|
position: relative;
|
|
|
|
height: 9em;
|
|
|
|
}
|
|
|
|
|
2022-12-22 11:31:38 +08:00
|
|
|
.logo {
|
2023-03-30 20:02:54 +08:00
|
|
|
position: absolute;
|
|
|
|
left: calc(50% - 4.5em);
|
2022-12-22 11:31:38 +08:00
|
|
|
height: 6em;
|
|
|
|
padding: 1.5em;
|
|
|
|
will-change: filter;
|
|
|
|
transition: filter 300ms;
|
|
|
|
}
|
|
|
|
.logo:hover {
|
|
|
|
filter: drop-shadow(0 0 2em #646cffaa);
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes logo-spin {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
2023-03-30 20:02:54 +08:00
|
|
|
.logo.electron {
|
2022-12-22 11:31:38 +08:00
|
|
|
animation: logo-spin infinite 20s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.read-the-docs {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|