Skip to content

Commit

Permalink
LOYALIST-58 Loyalist Record full display theming
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Jul 29, 2024
1 parent de3ac93 commit f3616c4
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions custom/themes/the_loyalist_collection/src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,38 @@ figure {
li:not(.nav-item):not(.menu-item):not(.facet-item) {
margin-bottom: $spacer * 0.5;
}

/* Loyalist Record Display */
dl.loyalist-record {
dd {
margin-bottom: $spacer * 1;
}

@media (min-width: 768px) {
display: grid;
grid-template-columns: auto auto;

dt {
padding: $spacer * 0.75 $spacer * 0.5;

&.visually-hidden {
position: relative!important;
}
}

dd {
padding: $spacer * 0.75 $spacer * 0.5;
padding-left: $spacer * 1.5;
margin-bottom: 0;

p:last-child{
margin-bottom: 0;
}
}

dt:nth-of-type(2n),
dd:nth-of-type(2n) {
background: $striping-color;
}
}
}

0 comments on commit f3616c4

Please sign in to comment.