HFP-2860 Add styling for code tag

pull/69/head
Frode Petterson 2019-10-24 14:39:07 +02:00
parent f08655cfb0
commit 43605b14d6
1 changed files with 15 additions and 0 deletions

View File

@ -542,6 +542,21 @@ div.h5p-fullscreen {
opacity: 0;
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 */