Skip to content

Commit

Permalink
fix: make section-li scss more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Jul 14, 2022
1 parent d7a42a2 commit e0b6606
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions assets/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -498,35 +498,36 @@ header {
margin-top: 2em;
padding-left: 0;

& > li {
margin-bottom: 1em;

& > .section {
display: flex;
align-items: center;

& h3 > a {
font-weight: 700;
margin: 0;
}

& p {
margin: 0;
padding-right: 1em;
flex-basis: 6em;
}
}
}

.section-li {
margin-bottom: 1em;

& h3 {
opacity: 1;
& > .section {
display: flex;
align-items: center;

& h3 > a {
font-weight: 700;
margin: 0em;
margin: 0;
}

& .meta {
opacity: 0.6;

& p {
margin: 0;
padding-right: 1em;
flex-basis: 6em;
}
}

& h3 {
opacity: 1;
font-weight: 700;
margin: 0em;
}

& .meta {
opacity: 0.6;
}
}

@keyframes dropin {
Expand Down

0 comments on commit e0b6606

Please sign in to comment.