0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 20:33:51 +00:00

code block style

This commit is contained in:
Trevor Buckner
2021-07-25 16:48:59 -04:00
parent fbf053ac2b
commit 36627bc188
3 changed files with 22 additions and 0 deletions

View File

@@ -406,6 +406,27 @@ body {
color : #c9ad6a;
text-align : right;
}
//************************************
// * CODE BLOCKS
// ************************************/
code{
font-family: "Courier New", Courier, monospace;
font-size: 0.325;
padding: 2px 4px;
color: #58180d;
background-color: #faf7ea;
border-radius: 4px;
}
pre code{
width : 100%;
display : block;
border : 4px solid;
border-image : @codeBorderImage 26 stretch;
border-image-width : 10px;
border-image-outset : 2px;
border-radius : 12px;
}
//*****************************
// * EXTRAS
// *****************************/

View File

@@ -7,3 +7,4 @@
@descriptiveBoxImage : data-uri('./themes/assets/descriptiveBorder.png');
@monsterBlockBackground : data-uri('./themes/assets/parchmentBackgroundGrayscale.jpg');
@monsterBorderImage : data-uri('./themes/assets/monsterBorderFancy.png');
@codeBorderImage : data-uri('./themes/assets/codeBorder.png');

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB