Skip to content

Commit

Permalink
Fix misalignment on homepage and border-bottom none for arbitrary items
Browse files Browse the repository at this point in the history
Resolves #866
  • Loading branch information
csarven authored and michielbdejong committed May 2, 2024
1 parent 1dbd384 commit 308b721
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -332,16 +332,20 @@ footer>div>dl>dd>ul li img {
padding: 4rem;
}

#homepage main>article>div>section>div>ul> :nth-child(1),
#homepage main>article>div>section>div>ul> :nth-child(3) {
#homepage main>article>div>section>div>ul> :nth-child(odd) {
border-right: 1px solid #979797;
}

#homepage main>article>div>section>div>ul> :nth-child(1),
#homepage main>article>div>section>div>ul> :nth-child(2) {
#homepage main>article>div>section>div>ul>li {
border-bottom: 1px solid #979797;
}

#homepage main>article>div>section>div>ul>li:last-child,
#homepage main>article>div>section>div>ul>li:nth-last-child(2):nth-child(odd),
#homepage main>article>div>section>div>ul>li:last-child:nth-child(odd) {
border-bottom:none;
}

#homepage main>article>div>section>div>ul li :nth-child(1) {
grid-area: 1 / 1 / 2 / 2;
}
Expand Down

0 comments on commit 308b721

Please sign in to comment.