Skip to content

Commit

Permalink
Reduced text in cards
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Sep 3, 2023
1 parent 56b2060 commit 687e235
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/css/access-nri.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@

.card-text-container {
color: var(--md-default-fg-color);
font-size: 1.4em;
font-size: 1.2em;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -231,7 +231,7 @@
height: 30%;
flex-grow: 0;
flex-shrink: 0;
font-size: 12cqi;
font-size: 10cqi;
padding: 3.5%;
}

Expand Down Expand Up @@ -357,6 +357,7 @@ h1.homepage {
/* Lower text on all homepage cards*/
:is(.homepage-buttons,.homepage-navigation) .card-text-container {
color: var(--tab-text);
font-size: 12cqi;
}
:is(.homepage-buttons,.homepage-navigation) .card-text-container > * {
border-radius: 0.4rem;
Expand Down Expand Up @@ -1105,7 +1106,7 @@ img.intro-img {
.horizontal-card > .card-text-container {
height: 30%;
flex: 0 0 auto;
font-size: 12cqi;
font-size: 10cqi;
font-weight: 600;
padding: 3.5%;
}
Expand Down Expand Up @@ -1229,7 +1230,7 @@ img.intro-img {
.horizontal-card > .card-text-container {
height: 30%;
flex: 0 0 auto;
font-size: 12cqi;
font-size: 10cqi;
font-weight: 600;
padding: 3.5%;
}
Expand Down

0 comments on commit 687e235

Please sign in to comment.