visibility fix

This commit is contained in:
Jacky Zhao 2022-02-15 14:50:25 -05:00
parent 9645f00317
commit c35086c510

View File

@ -81,10 +81,6 @@ p, tbody, li {
line-height: 1.5em; line-height: 1.5em;
} }
h2, h3 {
opacity: 0.9;
}
blockquote { blockquote {
margin-left: 0em; margin-left: 0em;
border-left: 3px solid var(--secondary); border-left: 3px solid var(--secondary);
@ -468,7 +464,8 @@ header {
z-index: 999; z-index: 999;
position: absolute; position: absolute;
width: 15em; width: 15em;
display: inline; display: inline-block;
visibility: hidden;
background-color: var(--light); background-color: var(--light);
padding: 1em; padding: 1em;
border: 1px solid var(--outlinegray); border: 1px solid var(--outlinegray);
@ -482,6 +479,7 @@ header {
&.visible { &.visible {
opacity: 1; opacity: 1;
visibility: visible;
transform: translate(-50%, 20%); transform: translate(-50%, 20%);
} }