MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 60: Line 60:
/* per chatgitp 6/5/24: doesant work
/* per chatgitp 6/5/24: doesant work
pre {
pre {
     white-space: pre-wrap !important; /* Allows wrapping of text */
     white-space: pre-wrap !important; /* Allows wrapping of text
     max-width: 80%; /* Ensures preformatted text does not exceed the width of the container */
     max-width: 80%; /* Ensures preformatted text does not exceed the width of the container
     word-wrap: break-word; /* Ensures long words are broken */
     word-wrap: break-word; /* Ensures long words are broken
}
}
*/
*/


/* per Chatgtp 8/7/24: */
/* per Chatgtp 8/7/24:  
 
pre {
pre {
   white-space: pre-wrap; /* This will allow text to wrap inside <pre> tags */
   white-space: pre-wrap; /* This will allow text to wrap inside <pre> tags */
}
}
*/




Line 108: Line 108:
.bible2 {
.bible2 {
     display: block;
     display: block;
    font-family: Roboto Mono; !important /* Use a monospace font like <pre> */
    max-width: 80% !important;
    background-color: #f5f5f5 !important; /* Light background to mimic <pre> appearance */
    border: 1px solid #ccc !important;  /* Optional border for styling */
    border-radius: 4px !important; /* Optional rounded corners */
}
}