refactor: add esbuild and modulerize css into seperate files

This commit is contained in:
rramiachraf
2024-03-06 17:32:10 +01:00
parent edc2b04198
commit c8747c0182
13 changed files with 548 additions and 463 deletions

34
style/annotation.css Normal file
View File

@ -0,0 +1,34 @@
.annotation #iframed-link {
font-weight: 500;
background-color: #ffcd38;
padding: 2px 6px;
}
.annotation {
padding: 1rem;
border-radius: 4px;
background: #eee;
border: 1px solid #ddd;
color: #222;
}
.annotation img {
max-width: 100%;
height: auto;
}
.annotation a {
background: none;
font-weight: 500;
}
.annotation ul {
padding-left: 1em;
}
@media (prefers-color-scheme: dark) {
.annotation {
background-color: #272d44;
color: inherit;
}
}