Skip to content

Commit

Permalink
MWPW-135727: CSS for Quotes, Columns (#23)
Browse files Browse the repository at this point in the history
* Adding CSS styles for columns, quote, and spot checked pages. Not restricting banner widths

* Adding some styles based on comment by Dennis regarding text cut off

* Additional cutoff issues

* Additional QA for mobile devices

* Additional QA for mobile devices, checking for desktop
  • Loading branch information
JasonHowellSlavin authored Nov 7, 2023
1 parent f36cbce commit 7c678be
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ main p picture img {
margin-right: auto;
}

.section .columns.columns-table {
max-width: var(--grid-container-width);
}

.article-header .article-feature-image {
padding: 0;
margin: auto;
Expand All @@ -113,6 +117,19 @@ main p picture img {
display: none;
}

.quote {
max-width: var(--grid-container-width);
margin: 0 auto;
}

.recommended-articles-small-content-wrapper .article-card .article-card-body {
padding: 1.5rem;
}

.recommended-articles-small-content-wrapper .article-card .article-card-body h3 {
margin-bottom: 0;
}

@media screen and (min-width: 600px) {
body main {
font-size: var(--body-font-size-l);
Expand All @@ -134,4 +151,28 @@ main p picture img {
padding-left: 0;
padding-right: 0;
}

.quote {
max-width: var(--body-max-width);
margin: 0 auto;
}

.section .columns.columns-table {
max-width: var(--body-max-width);
}

.section .columns.contained {
max-width: var(--body-max-width);
}

.recommended-articles-small-content-wrapper .article-card .article-card-body h3 {
margin-bottom: 8px;
}

}

@media screen and (min-width: 1200px) {
.recommended-articles-small-content-wrapper .article-card .article-card-body {
padding: 1.25rem;
}
}

0 comments on commit 7c678be

Please sign in to comment.