Created
December 30, 2014 01:02
-
-
Save ianaya89/8b0984e62da9e2b16eff to your computer and use it in GitHub Desktop.
CSS styles for <pre> and <code> tags.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pre { | |
border: 1px solid #999; | |
page-break-inside: avoid; | |
display: block; | |
padding: 3px 3px 2px; | |
margin: 0 0 10px; | |
font-size: 13px; | |
line-height: 20px; | |
word-break: break-all; | |
word-wrap: break-word; | |
background-color: #f5f5f5; | |
border: 1px solid #ccc; | |
border: 1px solid rgba(0, 0, 0, 0.15); | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
font-family: Monaco, Menlo, Consolas, "Courier New", monospace; | |
font-size: 12px; | |
color: #333333; | |
} | |
pre code { | |
padding: 0; | |
color: inherit; | |
white-space: pre; | |
white-space: pre-wrap; | |
background-color: transparent; | |
border: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment