Styles fixes for high-contrast mode.
This commit is contained in:
parent
6edaf54349
commit
54f3c40e7d
2 changed files with 35 additions and 1 deletions
|
|
@ -193,7 +193,10 @@ header {
|
|||
margin-left: -1rem;
|
||||
z-index: 1000;
|
||||
li {
|
||||
@apply hover:text-neutral-100 text-neutral-300 mb-2 pl-4 text-2xl;
|
||||
@apply mb-2 pl-4 text-2xl;
|
||||
}
|
||||
li a {
|
||||
@apply hover:text-neutral-100 text-neutral-300;
|
||||
}
|
||||
li span.heading {
|
||||
@apply font-bold underline;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@ html.hc article.content.study-notes {
|
|||
}
|
||||
|
||||
blockquote {
|
||||
@apply border-t border-r border-b;
|
||||
@apply border-l-gray-800 text-black;
|
||||
@apply bg-transparent;
|
||||
@apply dark:border-l-gray-200 dark:text-white;
|
||||
}
|
||||
|
||||
|
|
@ -49,6 +51,35 @@ html.hc > body > header {
|
|||
|
||||
#menu-items {
|
||||
@apply bg-black border-r-8 border-r-white;
|
||||
li > a {
|
||||
@apply text-white;
|
||||
@apply decoration-white;
|
||||
@apply hover:border-b border-dotted border-b-white;
|
||||
}
|
||||
li > a:hover::after {
|
||||
content: "🡄";
|
||||
@apply pl-2;
|
||||
display: inline-block;
|
||||
animation-duration: 1.5s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: hc-arrow-pointer;
|
||||
}
|
||||
& li > a > .icon, & li > a > .icon svg {
|
||||
@apply opacity-100;
|
||||
@apply text-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes hc-arrow-pointer {
|
||||
0% {
|
||||
transform: translate(0);
|
||||
}
|
||||
50% {
|
||||
transform: translate(10px);
|
||||
}
|
||||
100% {
|
||||
transform: translate(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue