refactor: add esbuild and modulerize css into seperate files
This commit is contained in:
34
style/annotation.css
Normal file
34
style/annotation.css
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user