More actions
Content deleted Content added
No edit summary |
No edit summary |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.info-grid { |
.info-grid { |
||
display: grid; |
display: grid; |
||
grid: auto-flow dense/repeat( auto-fit, minmax( 10.2rem, 1fr ) ); |
|||
grid-auto-rows: minmax( 3rem, auto ); |
grid-auto-rows: minmax( 3rem, auto ); |
||
grid-gap: |
grid-gap: 15px; |
||
margin-top: 15px; |
margin-top: 15px; |
||
} |
} |
||
.padding-large { |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
position: relative; |
position: relative; |
||
/*border: 1px solid var( --border-color-base );*/ |
/*border: 1px solid var( --border-color-base );*/ |
||
Line 18: | Line 21: | ||
font-size: 16px; |
font-size: 16px; |
||
padding: 10px; |
padding: 10px; |
||
} |
|||
.card__link { |
|||
position:absolute; |
|||
height: 100%; |
|||
width: 100%; |
|||
} |
|||
.card__link a { |
|||
height: 100%; |
|||
width: 100%; |
|||
content: ""; |
|||
display:block; |
|||
} |
} |
||
.card__text { |
.card__text { |
||
padding: 10px 10px 15px 10px; |
|||
⚫ | |||
} |
} |
||
Line 41: | Line 56: | ||
font-weight: bold; |
font-weight: bold; |
||
color: var( --color-base--emphasized ); |
color: var( --color-base--emphasized ); |
||
font-size: |
font-size: 24px; |
||
line-height: 1; |
line-height: 1; |
||
padding: 10px 0px 0px 10px; |
|||
padding: 10px; |
|||
} |
} |
||
. |
.card__image a { |
||
height: 100%; |
height: 100%; |
||
width: 100%; |
width: 100%; |
||
Line 58: | Line 72: | ||
.card--col3 { |
.card--col3 { |
||
grid-column: span 3; |
grid-column: span 3; |
||
} |
|||
.card--col4 { |
|||
grid-column: span 4; |
|||
} |
} |
||
Line 100: | Line 118: | ||
@media only screen and (max-width: 768px) { |
@media only screen and (max-width: 768px) { |
||
.info-grid { |
.info-grid { |
||
grid-template-columns: 1fr; |
grid-template-columns: 1fr !important; |
||
justify-items: center; |
|||
} |
|||
.grid-card { |
|||
max-width:320px; |
|||
width: 100%; |
|||
} |
|||
.card--col4, .card--col3, .card-col2 { |
|||
grid-column: 1; |
|||
} |
} |
||
.max-width-355 { |
.max-width-355 { |
Latest revision as of 02:28, 16 December 2024
.info-grid {
display: grid;
grid-auto-rows: minmax( 3rem, auto );
grid-gap: 15px;
margin-top: 15px;
}
.padding-large {
padding: var(--space-lg);
}
.grid-card {
position: relative;
/*border: 1px solid var( --border-color-base );*/
border-radius: 6px;
background: var( --card-background );
}
.card__label {
color: var( --color-base--subtle );
font-size: 16px;
padding: 10px;
}
.card__link {
position:absolute;
height: 100%;
width: 100%;
}
.card__link a {
height: 100%;
width: 100%;
content: "";
display:block;
}
.card__text {
padding: 10px 10px 15px 10px;
}
.card__image img {
width: 100% !important;
height: auto !important;
border-radius: 6px 6px 0px 0px;
}
.card__video video {
width: 100% !important;
height: auto !important;
}
.card__header {
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
text-transform: uppercase;
font-weight: bold;
color: var( --color-base--emphasized );
font-size: 24px;
line-height: 1;
padding: 10px 0px 0px 10px;
}
.card__image a {
height: 100%;
width: 100%;
}
.card--col2 {
grid-column: span 2;
}
.card--col3 {
grid-column: span 3;
}
.card--col4 {
grid-column: span 4;
}
.card--row2 {
grid-row: span 2;
}
.card--row6 {
grid-row: span 6;
}
.card--row4 {
grid-row: span 4;
}
.card--row3 {
grid-row: span 3;
}
.card--row8 {
grid-row: span 8/auto;
}
.card--text {
margin-top: 0px;
padding: 15px;
}
.card--centeralign {
text-align: center;
}
.max-width-540 {
max-width: 540px;
}
.max-width-355 {
max-width: 355px;
}
@media only screen and (max-width: 768px) {
.info-grid {
grid-template-columns: 1fr !important;
justify-items: center;
}
.grid-card {
max-width:320px;
width: 100%;
}
.card--col4, .card--col3, .card-col2 {
grid-column: 1;
}
.max-width-355 {
max-width: 100%;
}
}