Difference between revisions of "Template:Kent"
Jamesaston (Talk | contribs) |
Jamesaston (Talk | contribs) |
||
Line 101: | Line 101: | ||
} | } | ||
+ | .codebox { | ||
+ | /* Below are styles for the codebox (not the code itself) */ | ||
+ | border:1px solid black; | ||
+ | background-color:#EEEEFF; | ||
+ | width:300px; | ||
+ | overflow:auto; | ||
+ | padding:10px; | ||
+ | } | ||
+ | .codebox code { | ||
+ | /* Styles in here affect the text of the codebox */ | ||
+ | font-size:0.9em; | ||
+ | /* You could also put all sorts of styling here, like different font, color, underline, etc. for the code. */ | ||
+ | } | ||
Revision as of 14:58, 28 August 2015