MediaWiki:Common.css: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 97: | Line 97: | ||
font-family: Roboto Mono; !important /* Use a monospace font like <pre> */ | font-family: Roboto Mono; !important /* Use a monospace font like <pre> */ | ||
max-width: 80% !important; | max-width: 80% !important; | ||
white-space: pre-wrap; /* Preserve whitespace, wrap text */ | white-space: pre-wrap !important; /* Preserve whitespace, wrap text */ | ||
overflow-wrap: break-word !important; /* Allow words to break to prevent overflow */ | overflow-wrap: break-word !important; /* Allow words to break to prevent overflow */ | ||
margin: 5px 5px 5px 25px !important; | margin: 5px 5px 5px 25px !important; | ||
padding: | padding: 15px !important; /* Add padding for better readability */ | ||
background-color: #f5f5f5 !important; /* Light background to mimic <pre> appearance */ | background-color: #f5f5f5 !important; /* Light background to mimic <pre> appearance */ | ||
border: 1px solid #ccc !important; /* Optional border for styling */ | border: 1px solid #ccc !important; /* Optional border for styling */ | ||
border-radius: 4px !important; /* Optional rounded corners */ | border-radius: 4px !important; /* Optional rounded corners */ | ||
} | } |