feat(directory): add directory page scaffold

This commit is contained in:
Haoyu Xu
2023-02-21 00:32:49 -05:00
parent bf5a154bc7
commit ef10b8fb55
17 changed files with 203 additions and 151 deletions

View File

@@ -1,41 +1,25 @@
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Noto+Sans+SC&display=swap");
:root {
font-family: "Josefin Sans", "Noto Sans SC", sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color: rgba(255, 255, 255, 0.87);
background-color: #131313;
min-height: 100vh;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: flex-start;
justify-content: flex-start;
align-items: flex-start;
min-height: 100vh;
}