Skip to content

Commit

Permalink
Add basic formatting to new regmem data (#1849)
Browse files Browse the repository at this point in the history
- Use header structure in new data and add basic
css styling to the contents.
  • Loading branch information
ajparsons authored Dec 13, 2024
1 parent 637813e commit d15ae6d
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion www/docs/style/sass/pages/_mp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@

.register {
.regmemcategory {
border-top: 1px solid $borders;
font-weight: $weight_semibold;
margin-top: em-calc(16);
margin-bottom: em-calc(8);
Expand Down Expand Up @@ -790,4 +789,32 @@ a[href^="https://www.publicwhip.org"] {
.postcode-mp-image-wrapper {
display: block;
margin-top: 5px;
}

h4.interest-summary {
font-weight: bold;
font-size: 1.3em;
margin-top: 1em;
margin-bottom: 1em;
}

h6.interest-summary {
font-weight: bold;
font-size: 1em;
margin-top: 1em;
margin-bottom: 1em;
}

.interest-details-list {
font-size: 0.8em;
}

.child-item-header {
font-weight: bold;
font-size: 1.2em;
margin-top: 1em;
margin-bottom: 1em;
}
.regmemitem > .interest-item {
border-top: 1px solid $borders;
}

0 comments on commit d15ae6d

Please sign in to comment.