moved styles to proper file

This commit is contained in:
jorge 2023-01-03 14:04:07 +01:00
parent d46f83b693
commit d3478674ad
7 changed files with 117 additions and 166 deletions

View File

@ -1021,12 +1021,6 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .ofisuport-destacats, .edit-post-visual-editor__content-area .ofisuport-featured, .edit-post-visual-editor__content-area .archive-posts {
grid-template-columns: repeat(4, 1fr);
}
.edit-post-visual-editor__content-area .page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.edit-post-visual-editor__content-area .page-template-funds-search .archive-posts {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 80em) {
@ -1041,12 +1035,6 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .home-featured {
padding: 0;
}
.edit-post-visual-editor__content-area .page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.edit-post-visual-editor__content-area .page-template-funds-search .archive-posts {
grid-template-columns: repeat(3, 1fr);
}
}
@media screen {
@ -1411,6 +1399,24 @@ Add your custom styles in this file so it is easier to update the theme.
}
}
@media screen and (min-width: 48em) {
.edit-post-visual-editor__content-area .page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.edit-post-visual-editor__content-area .page-template-funds-search .archive-posts {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 80em) {
.edit-post-visual-editor__content-area .page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.edit-post-visual-editor__content-area .page-template-funds-search .archive-posts {
grid-template-columns: repeat(3, 1fr);
}
}
.edit-post-visual-editor__content-area .comment-content a {
word-wrap: break-word;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,26 +1,26 @@
@media screen {
.sticky {
display: block;
display: block;
}
.post,
.page {
margin: 0 0 1.5em;
margin: 0 0 1.5em;
}
.updated:not(.published) {
display: none;
display: none;
}
.page-content,
.entry-content,
.entry-summary {
margin: 1.5em 0 0;
margin: 1.5em 0 0;
}
.page-links {
clear: both;
margin: 0 0 1.5em;
clear: both;
margin: 0 0 1.5em;
}
.ofisuport-card-each {
.entry-title,h6 {
@ -39,7 +39,7 @@
.ofisuport-fund-info-field {
padding-bottom: 1rem;
border-bottom: 1px solid $color__black;
}
}
h6 {
font-size: 2.4rem;
font-variant: all-petite-caps;
@ -48,50 +48,79 @@
margin: 0.5rem 0 0 0;
}
li {
font-size: 1.3rem;
font-size: 1.3rem;
}
}
.ofisuport-fund-info-contact-fields {
.ofisuport-fund-info-field {
margin: 0;
}
.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;
}
}
.ofisuport-fund-info-fields {
.ofisuport-fund-info-field {
margin: 1rem 0 0.5rem 0;
}
.oficina-suport-label {
}
.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;
}
.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;
}
}
.page-template-funds-search {
.ofisuport-filtered-funds {
display:grid;
grid-template-columns: 1fr 1fr;
}
.page-template-funds-search {
.ofisuport-filtered-funds {
display:grid;
grid-template-columns: 1fr 1fr;
}
.ofisuport-fund-filter {
display: grid;
grid-template-columns: repeat(1 , 1fr);
gap: $grid__gap;
}
.archive-posts {
grid-template-columns: repeat(1 , 1fr);
}
.ofisuport-fund-filter {
display: grid;
grid-template-columns: repeat(1 , 1fr);
gap: $grid__gap;
}
.archive-posts {
grid-template-columns: repeat(1 , 1fr);
}
}
}
@media screen and (max-width: 48em) {
//only smaller than 48em
}
@media screen and (min-width: 48em) {
//only bigger than 48em
.page-template-funds-search {
.ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(2 , 1fr);
}
}
}
@media screen and (min-width: 80em) {
//only bigger than 80rem
.page-template-funds-search {
.ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(3 , 1fr);
}
}
}

View File

@ -52,80 +52,10 @@
padding: 0 1rem;
}
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
display: grid;
display: grid;
grid-template-columns: repeat(1 , 1fr);
gap: $grid__gap;
}
//.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;
// }
// h6 {
// font-size: 2.4rem;
// font-variant: all-petite-caps;
// }
// p {
// margin: 0.5rem 0 0 0;
// }
// li {
// font-size: 1.3rem;
// }
//}
//.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;
// }
//}
//.page-template-funds-search {
// .ofisuport-filtered-funds {
// display:grid;
// grid-template-columns: 1fr 1fr;
// }
// .ofisuport-fund-filter {
// display: grid;
// grid-template-columns: repeat(1 , 1fr);
// gap: $grid__gap;
// }
// .archive-posts {
// grid-template-columns: repeat(1 , 1fr);
// }
//}
}
@media screen and (max-width: 48em) {
//only smaller than 48em
@ -177,16 +107,6 @@
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
grid-template-columns: repeat(4 , 1fr);
}
.page-template-funds-search {
.ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(2 , 1fr);
}
}
}
@media screen and (min-width: 80em) {
//only bigger than 80rem
@ -217,14 +137,4 @@
.home-featured {
padding: 0;
}
.page-template-funds-search {
.ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.ofisuport-fund-filter {
}
.archive-posts {
grid-template-columns: repeat(3 , 1fr);
}
}
}

View File

@ -960,12 +960,6 @@ textarea {
.ofisuport-destacats, .ofisuport-featured, .archive-posts {
grid-template-columns: repeat(4, 1fr);
}
.page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.page-template-funds-search .archive-posts {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 80em) {
@ -980,12 +974,6 @@ textarea {
.home-featured {
padding: 0;
}
.page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.page-template-funds-search .archive-posts {
grid-template-columns: repeat(3, 1fr);
}
}
/*--------------------------------------------------------------
@ -1353,6 +1341,24 @@ textarea {
}
}
@media screen and (min-width: 48em) {
.page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 2fr;
}
.page-template-funds-search .archive-posts {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 80em) {
.page-template-funds-search .ofisuport-filtered-funds {
grid-template-columns: 1fr 3fr;
}
.page-template-funds-search .archive-posts {
grid-template-columns: repeat(3, 1fr);
}
}
/* Comments
--------------------------------------------- */
.comment-content a {

File diff suppressed because one or more lines are too long