modified the styling of the wordpress gallery items to make them fit in content area

This commit is contained in:
jorge-vitrubio 2022-10-21 13:07:38 +02:00
parent 4481920c1e
commit d23a83e963
1 changed files with 6 additions and 5 deletions

View File

@ -1135,13 +1135,13 @@ form#commentform p.form-submit input#submit {
} }
.gallery .gallery-item { .gallery .gallery-item {
float: left; float: left;
margin: 10px 5px 0px 5px; /* margin: 10px 5px 0px 5px;*/
text-align: center; text-align: center;
width: 31%!important; /* width: 31%!important;*/
vertical-align: top; vertical-align: top;
} }
.gallery img { .gallery img {
border: 2px solid #D2D2DF!important; /* border: 2px solid #D2D2DF!important;*/
} }
.gallery .gallery-caption { .gallery .gallery-caption {
margin-left: 0; margin-left: 0;
@ -1149,8 +1149,9 @@ form#commentform p.form-submit input#submit {
font-family:var(--sherif-font-family); font-family:var(--sherif-font-family);
font-size: var(--hangar-body-font-size); font-size: var(--hangar-body-font-size);
font-style: italic; font-style: italic;
line-height: 16px; color: #03F; line-height: 16px;
display: block!important; color: #03F;
display: inline-block /*block!important*/;
} }
/* Footer /* Footer