MediaWiki:Common.css: Difference between revisions
adding bible div to replace <pre> tags
No edit summary |
(adding bible div to replace <pre> tags) |
||
Line 92: | Line 92: | ||
/* to use for Bible quotations instead of <pre> tag */ | /* to use for Bible quotations instead of <pre> tag */ | ||
.bible { | |||
font-family: monospace; /* Use a monospace font like <pre> */ | |||
white-space: pre-wrap; /* Preserve whitespace, wrap text */ | |||
overflow-wrap: break-word; /* Allow words to break to prevent overflow */ | |||
padding: 10px; /* Add padding for better readability */ | |||
background-color: #f5f5f5; /* Light background to mimic <pre> appearance */ | |||
border: 1px solid #ccc; /* Optional border for styling */ | |||
border-radius: 4px; /* Optional rounded corners */ | |||
} |