Commit c8cb4299 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Add background colour on first two paragraphs to prevent pattern making it hard to read

parent 1a0ad2f0
......@@ -579,7 +579,7 @@ body.contact-me .navigation-menu a[href="/"] {
}
/* add colour behind top elements on page so image doesn’t make it hard to read */
#content h1, #content h2, #content .entry-content > p:nth-of-type(1) {
#content h1, #content h2, #content .entry-content > p:nth-of-type(1), #content .entry-content > p:nth-of-type(2) {
background: hsl(var(--primary-bg));
box-shadow: hsl(var(--primary-bg)) 0 0 0 calc(var(--layout-unit)*0.5);
position: relative; /* so we can use z-index */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment