fix img, figures and captions layout in content
This commit is contained in:
parent
63fc64eb70
commit
9ee03d24f5
@ -563,6 +563,36 @@ header.o_main_header{
|
|||||||
font-weight: $fw_semibold;
|
font-weight: $fw_semibold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img:not([alt="green"]):not([alt="orange"]):not([alt="red"]) {
|
||||||
|
border: 1px solid $gray-lighter;
|
||||||
|
background: $white;
|
||||||
|
padding: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img:not([alt="green"]):not([alt="orange"]):not([alt="red"]), iframe {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p > img {
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.figure {
|
||||||
|
.caption, .caption-text {
|
||||||
|
font-weight: $fw_semibold;
|
||||||
|
color: $gray;
|
||||||
|
}
|
||||||
|
.caption, .caption-text, .legend, .legend p{
|
||||||
|
font-style: italic;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
&:not([class^="col"]) .legend {
|
||||||
|
max-width: 60%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a.headerlink {
|
a.headerlink {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
visibility: hidden !important;
|
visibility: hidden !important;
|
||||||
@ -643,13 +673,6 @@ header.o_main_header{
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.img-fluid:not([alt="green"]):not([alt="orange"]):not([alt="red"]) {
|
|
||||||
border: 1px solid $gray-lighter;
|
|
||||||
background: $white;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
padding: .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container .container:not([class^="col"]) {
|
.container .container:not([class^="col"]) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -659,20 +682,6 @@ header.o_main_header{
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.figure {
|
|
||||||
.caption, .caption-text {
|
|
||||||
font-weight: $fw_semibold;
|
|
||||||
color: $gray;
|
|
||||||
}
|
|
||||||
.caption, .caption-text, .legend, .legend p{
|
|
||||||
font-style: italic;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
&:not([class^="col"]) .legend {
|
|
||||||
max-width: 60%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// restyle numbers on lists
|
// restyle numbers on lists
|
||||||
ol {
|
ol {
|
||||||
/* list-style: none;
|
/* list-style: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user