mirror of
https://github.com/inttter/md-badges.git
synced 2026-05-06 18:36:58 +02:00
♻️ feat: initialize web project with Vite and React Demonstration Simple Playground
- Added package.json for project dependencies and scripts. - Created Vite logo SVG file. - Added global styles in index.css. - Implemented main application structure in App.jsx. - Created BadgeRow component for displaying individual badges. - Developed Section component to organize badge lists. - Implemented VirtualBadgeList for efficient rendering of badges. - Added WASM integration for parsing README files. - Configured Vite for the project.
This commit is contained in:
parent
6406b47c9b
commit
ce92b17c8f
18 changed files with 3142 additions and 0 deletions
42
playground/web/src/App.css
Normal file
42
playground/web/src/App.css
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#root {
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
transition: filter 300ms;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue