Skip to content

Commit

Permalink
Fix history styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
theruther4d committed Jul 27, 2021
1 parent 9146a00 commit 43f3785
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions src/history/history.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,27 @@ $horizontal_breakpoint: 724px;
list-style-type: none;
padding: 0;
page-break-inside: avoid;
position: relative;
margin-bottom: 0.5rem;
padding-bottom: 0.25rem;

&:after {
content: "";
position: absolute;
bottom: 0.5rem;
left: calc(-#{$logo_padding} - #{$logo_area});
right: 0;
height: 2px;
background: rgba($black, 0.25);
}

&:last-of-type {
margin-bottom: 0;

&:after {
display: none;
}
}
}

dl,
Expand Down Expand Up @@ -150,34 +171,15 @@ $horizontal_breakpoint: 724px;
}

dd {
margin-bottom: 1rem;
padding-bottom: 1rem;
position: relative;

&:after {
content: "";
position: absolute;
bottom: 0;
left: calc(-#{$logo_padding} - #{$logo_area});
right: 0;
height: 2px;
background: rgba($black, 0.25);
}

&:last-of-type {
margin-bottom: 0;

&:after {
display: none;
}
}
}

figure {
margin: 0;
position: absolute;
left: calc(-#{$logo_area} - #{$logo_padding});
top: -1.25rem;
// top: -1.25rem;
top: -0.25rem;
width: $logo_area;
height: $logo_area;
background: white;
Expand All @@ -189,7 +191,7 @@ $horizontal_breakpoint: 724px;
0 16px 10px -12px rgba($black, 0.4);

@media print {
top: -1.5rem;
top: -0.75rem;
box-shadow: none;
}

Expand Down Expand Up @@ -223,7 +225,7 @@ $horizontal_breakpoint: 724px;

@media print {
position: absolute;
top: 0;
top: 0.25rem;
right: 0;
}
}
Expand Down

1 comment on commit 43f3785

@vercel
Copy link

@vercel vercel bot commented on 43f3785 Jul 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.