Skip to content

Commit

Permalink
Styles the "Press release" section of cases
Browse files Browse the repository at this point in the history
- 🌎 The cases page is getting a makeover
- β›” This "Press release" section needs styling
- βœ… This commit styles it
  • Loading branch information
okkays committed Nov 18, 2024
1 parent 6f250b4 commit 619cd99
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 4 deletions.
6 changes: 2 additions & 4 deletions _pages/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ lead: |-
## Press Release

- [Justice Department Secures Agreements With Texas Counties To Ensure Election Website Accessibility For People With Disabilities
](https://www.justice.gov/opa/pr/justice-department-secures-agreements-texas-counties-ensure-election-website-accessibility)
- [Read More](https://www.justice.gov/opa/pr/justice-department-secures-agreements-texas-counties-ensure-election-website-accessibility)
- [Justice Department Secures Landmark Agreement with City of Anoka, Minnesota, to End Disability Discrimination in β€œCrime-Free” Housing Program](https://www.justice.gov/opa/pr/justice-department-secures-landmark-agreement-city-anoka-minnesota-end-disability)
- [Read More](https://www.justice.gov/opa/pr/justice-department-secures-landmark-agreement-city-anoka-minnesota-end-disability)
](https://www.justice.gov/opa/pr/justice-department-secures-agreements-texas-counties-ensure-election-website-accessibility) [Read More](https://www.justice.gov/opa/pr/justice-department-secures-agreements-texas-counties-ensure-election-website-accessibility)
- [Justice Department Secures Landmark Agreement with City of Anoka, Minnesota, to End Disability Discrimination in β€œCrime-Free” Housing Program](https://www.justice.gov/opa/pr/justice-department-secures-landmark-agreement-city-anoka-minnesota-end-disability) [Read More](https://www.justice.gov/opa/pr/justice-department-secures-landmark-agreement-city-anoka-minnesota-end-disability)

<a href="https://www.justice.gov/news/press-releases" class="view-all-button">View all press releases</a>

Expand Down
5 changes: 5 additions & 0 deletions assets/images/book-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions assets/sass/custom/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,52 @@ span.usa-sr-only {
}
}

.readlinks {
ul {
display: grid;
@include at-media(mobile) {
grid-template-columns: auto;
}
@include at-media(tablet) {
grid-template-columns: auto auto;
}
@include at-media(desktop) {
grid-template-columns: auto auto;
}
column-gap: 3em;
list-style: none;
padding: 0;

li {
border: 1px solid #D9D9D9;
margin-bottom: 3em;
background: url("../images/book-circle.svg") 1em 1em no-repeat;
padding: 1em;
padding-left: calc(67px + 2em);

a:first-child {
display: block;
font-size: 22px;
color: #162E51;
text-decoration: none;
}

a:last-child {
width: fit-content;
display:block;
font-weight: bold;
margin-top: 1em;
background-color: #005EA2;
color: white;
border-radius: 4px;
padding: 0.75em 1.5em;
text-decoration: none;
}
}
}
}


.view-all-button, .view-all-button:visited, .view-all-button:hover {
width: fit-content;
background-color: white;
Expand Down

0 comments on commit 619cd99

Please sign in to comment.