removed styles for activitat agenda if query from wordpress loop
This commit is contained in:
parent
021860fefc
commit
5a70fc6d09
|
@ -2591,46 +2591,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
min-height: 5rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-featured-image,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-featured-image img,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-featured-image img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-title {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-title::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 1rem;
|
||||
background-color: rgba(230, 230, 230, 0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters section {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -449,42 +449,42 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
li.category-activitats,
|
||||
li[class*='category-agenda'] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
//background-color:#ccf;
|
||||
.wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.wp-block-post-title {
|
||||
//background-color:#cfc;
|
||||
height: 100%;
|
||||
&:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: $font__size-body;
|
||||
background-color: rgba(230,230,230,0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
}
|
||||
.wp-block-post-excerpt {
|
||||
//background-color: #fcc;
|
||||
}
|
||||
}
|
||||
//li.category-activitats,
|
||||
//li[class*='category-agenda'] {
|
||||
// position: relative;
|
||||
// display: flex;
|
||||
// align-content: space-between;
|
||||
// //background-color:#ccf;
|
||||
// .wp-block-post-featured-image {
|
||||
// position: absolute;
|
||||
// top: 0;
|
||||
// margin: 0;
|
||||
// aspect-ratio: 16/9;
|
||||
// overflow: hidden;
|
||||
// img {
|
||||
// object-position: 50% 50%;
|
||||
// max-height: 100%;
|
||||
// object-fit: cover;
|
||||
// }
|
||||
// }
|
||||
// .wp-block-post-title {
|
||||
// //background-color:#cfc;
|
||||
// height: 100%;
|
||||
// &:before {
|
||||
// content: "";
|
||||
// display: inline-block;
|
||||
// min-width: 100%;
|
||||
// height: auto;
|
||||
// aspect-ratio: 16/9;
|
||||
// margin-bottom: $font__size-body;
|
||||
// background-color: rgba(230,230,230,0.8);
|
||||
// border-radius: 0.3em;
|
||||
// }
|
||||
// }
|
||||
// .wp-block-post-excerpt {
|
||||
// //background-color: #fcc;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
/* filters form custom fields
|
||||
|
|
40
style.css
40
style.css
|
@ -2440,46 +2440,6 @@ textarea {
|
|||
min-height: 5rem;
|
||||
}
|
||||
|
||||
li.category-activitats,
|
||||
li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
}
|
||||
|
||||
li.category-activitats .wp-block-post-featured-image,
|
||||
li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
li.category-activitats .wp-block-post-featured-image img,
|
||||
li[class*="category-agenda"] .wp-block-post-featured-image img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
li.category-activitats .wp-block-post-title,
|
||||
li[class*="category-agenda"] .wp-block-post-title {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
li.category-activitats .wp-block-post-title::before,
|
||||
li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 1rem;
|
||||
background-color: rgba(230, 230, 230, 0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
/* filters form custom fields
|
||||
*/
|
||||
.xarxaprod-filters section {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue