HFP-2860 Add styling for code tag
parent
f08655cfb0
commit
43605b14d6
|
@ -542,6 +542,21 @@ div.h5p-fullscreen {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
.h5p-content code,
|
||||||
|
.h5peditor code {
|
||||||
|
color: #3d3d3d;
|
||||||
|
background: #e0e0e0;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
.h5p-content pre > code,
|
||||||
|
.h5peditor pre > code {
|
||||||
|
padding: 5px;
|
||||||
|
display: block;
|
||||||
|
line-height: normal;
|
||||||
|
border: 1px solid #c7c7c7;
|
||||||
|
border-left-width: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* This is loaded as part of Core and not Editor since this needs to be outside the editor iframe */
|
/* This is loaded as part of Core and not Editor since this needs to be outside the editor iframe */
|
||||||
|
|
Loading…
Reference in New Issue