styling fixes for stacking order and overflow

This commit is contained in:
Jacky Zhao
2023-07-23 21:41:09 -07:00
parent 4811500b1b
commit 351b4ab13b
6 changed files with 16 additions and 12 deletions

View File

@ -36,6 +36,8 @@ ul,
.math {
color: var(--darkgray);
fill: var(--darkgray);
overflow-wrap: anywhere;
hyphens: auto;
}
.math {
@ -82,10 +84,6 @@ a {
margin: 0 5vw;
}
& p {
overflow-wrap: anywhere;
}
& article {
& > h1 {
font-size: 2rem;
@ -237,14 +235,12 @@ h1 {
h2 {
font-size: 1.4rem;
opacity: 0.95;
margin-top: 2.4rem;
}
h3 {
font-size: 1.12rem;
margin-top: 2.12rem;
opacity: 0.9;
}
h4,
@ -252,7 +248,6 @@ h5,
h6 {
font-size: 1rem;
margin-top: 2rem;
opacity: 0.85;
}
div[data-rehype-pretty-code-fragment] {