oficinasuport-wp-theme/sass/components/content/_posts-and-pages.scss

144 lines
2.8 KiB
SCSS
Raw Normal View History

2023-01-03 13:53:33 +01:00
@media screen {
.sticky {
2023-01-03 14:04:07 +01:00
display: block;
2023-01-03 13:53:33 +01:00
}
2023-01-03 14:04:07 +01:00
2023-01-03 13:53:33 +01:00
.post,
.page {
2023-01-03 14:04:07 +01:00
margin: 0 0 1.5em;
2023-01-03 13:53:33 +01:00
}
2023-01-03 14:04:07 +01:00
2023-01-03 13:53:33 +01:00
.updated:not(.published) {
2023-01-03 14:04:07 +01:00
display: none;
2023-01-03 13:53:33 +01:00
}
2023-01-03 14:04:07 +01:00
2023-01-03 13:53:33 +01:00
.page-content,
.entry-content,
.entry-summary {
2023-01-03 14:04:07 +01:00
margin: 1.5em 0 0;
2023-01-03 13:53:33 +01:00
}
2023-01-03 14:04:07 +01:00
2023-01-03 13:53:33 +01:00
.page-links {
2023-01-03 14:04:07 +01:00
clear: both;
margin: 0 0 1.5em;
2023-01-03 13:53:33 +01:00
}
.ofisuport-card-each {
.entry-title,h6 {
border-bottom: 1px solid $color__black;
margin: 0;
padding: 0.5rem 0;
}
p {
padding: 0.5rem 0;
margin:0;
}
}
.ofisuport-fund-info-fields,
.ofisuport-fund-info-contact-fields {
display: grid;
.ofisuport-fund-info-field {
padding-bottom: 1rem;
border-bottom: 1px solid $color__black;
2023-01-03 14:04:07 +01:00
}
2023-01-03 13:53:33 +01:00
h6 {
font-size: 2.4rem;
font-variant: all-petite-caps;
}
p {
margin: 0.5rem 0 0 0;
}
li {
2023-01-03 14:04:07 +01:00
font-size: 1.3rem;
2023-01-03 13:53:33 +01:00
}
}
2023-01-03 14:04:07 +01:00
.ofisuport-fund-info-contact-fields {
.ofisuport-fund-info-field {
margin: 0;
}
}
.ofisuport-fund-info-fields {
.ofisuport-fund-info-field {
margin: 1rem 0 0.5rem 0;
}
}
.oficina-suport-label {
}
.ofisuport-funder-name,
.ofisuport-fund-contact-name,
.ofisuport-fund-web {
display: flex;
margin:0;
padding: 0;
font-variant: all-petite-caps;
font-size: 1.1rem;
line-height: 0.9;
align-items: center;
a {
text-decoration: none;
font-size: 0.8rem;
2023-01-03 13:53:33 +01:00
}
2023-01-03 14:04:07 +01:00
}
// .page-template-funds-search {
2023-01-03 14:04:07 +01:00
.ofisuport-filtered-funds {
display:grid;
2023-01-14 16:56:38 +01:00
grid: 1fr;
2023-01-03 14:04:07 +01:00
}
.ofisuport-fund-filter {
display: grid;
grid-template-columns: repeat(1 , 1fr);
gap: $grid__gap;
}
.archive-posts {
grid-template-columns: repeat(1 , 1fr);
}
//}
}
2023-01-03 14:04:07 +01:00
@media screen and (max-width: 48em) {
//only smaller than 48em
2023-01-14 16:56:38 +01:00
.ofisuport-filters {
section {
display: inline-block;
margin: 0.5em 0;
h5 {
display: inline-block;
width: 100%;
}
.filter {
display: inline-block;
width: 45%;
margin-right: 0.3em;
float: left;
}
}
}
2023-01-03 14:04:07 +01:00
}
@media screen and (min-width: 48em) {
//only bigger than 48em
//.page-template-funds-search {
2023-01-03 14:04:07 +01:00
.ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(2 , 1fr);
}
//}
2023-01-03 14:04:07 +01:00
}
@media screen and (min-width: 80em) {
//only bigger than 80rem
//.page-template-funds-search {
2023-01-03 14:04:07 +01:00
.ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(3 , 1fr);
}
//}
2023-01-03 14:04:07 +01:00
}