1
0
Fork 0
forked from github/pelican

feat: add skip links and note/warn blocks

This commit is contained in:
Oliver Ladner 2025-01-07 17:27:27 +01:00
commit c188ce1152
3 changed files with 100 additions and 51 deletions

View file

@ -57,3 +57,28 @@
@apply bg-rp-dawn-highlight-low dark:bg-rp-moon-highlight-low;
}
}
.note {
@apply bg-rp-dawn-highlight-med dark:bg-rp-moon-highlight-med m-8 p-4;
}
.warn {
@apply bg-rp-dawn-text text-rp-dawn-base dark:bg-rp-moon-text dark:text-rp-moon-base m-8 p-4;
}
#skiptocontent a {
position: absolute;
top: -40px;
left: 0px;
/*color: white;*/
/*border-right: 1px solid white;*/
/*border-bottom: 1px solid white;*/
z-index: 100;
@apply bg-rp-dawn-text text-rp-dawn-surface dark:bg-rp-moon-text dark:text-rp-moon-surface;
}
#skiptocontent a:focus {
position: absolute;
left: 0px;
top: 0px;
outline-color: transparent;
}