forked from github/pelican
feat: add skip links and note/warn blocks
This commit is contained in:
parent
89ea49d06f
commit
c188ce1152
3 changed files with 100 additions and 51 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue