mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 19:37:05 +00:00
65 lines
1.4 KiB
CSS
65 lines
1.4 KiB
CSS
.main-content .mdc-card {
|
|
float: left;
|
|
width: calc((100% / 3) - 12px);
|
|
box-shadow: none;
|
|
}
|
|
.mdc-card {
|
|
margin: 6px 6px 10px 6px;
|
|
background: none;
|
|
}
|
|
.article-section-header {
|
|
background-color: rgba(24,26,27,0.5);
|
|
padding-top: 12px;
|
|
padding-bottom: 12px;
|
|
}
|
|
.article-section-header h1 {
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
margin: 6px;
|
|
display: inline;
|
|
}
|
|
.article-section-header button {
|
|
display: inline;
|
|
padding: 5px 14px;
|
|
position: relative;
|
|
float: right;
|
|
top: 3.5px;
|
|
}
|
|
.article-section-header button span {
|
|
position: relative;
|
|
left: 0;
|
|
top: 1.25px;
|
|
transition: left 0.1s linear;
|
|
font-size: inherit;
|
|
}
|
|
.article-section-header button:hover span {
|
|
left: 3px;
|
|
}
|
|
.splitter {
|
|
height: 15px;
|
|
width: 100%;
|
|
background-color: var(--mdc-theme-primary);
|
|
}
|
|
.article-section:nth-of-type(3n) {
|
|
background: var(--mdc-theme-background);
|
|
}
|
|
.article-section:nth-of-type(3n) #jarallax-container-1 {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.article-section .mdc-card:nth-of-type(3) {
|
|
display: none;
|
|
}
|
|
.article-section .mdc-card {
|
|
width: calc((100% / 2) - 12px);
|
|
}
|
|
}
|
|
@media screen and (max-width: 350px) {
|
|
.article-section .mdc-card:nth-of-type(2) {
|
|
display: none;
|
|
}
|
|
.article-section .mdc-card {
|
|
width: calc((100% / 1) - 12px);
|
|
}
|
|
} |