MediaWiki:Common.css: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
Pre text wrapping, documented on the talk page
Use !important
Line 21: Line 21:
/* pre tags do not clip content */
/* pre tags do not clip content */
pre {
pre {
     white-space: pre-wrap;
     white-space: pre-wrap !important;
     word-break: break-all;
     word-break: break-all !important;
}
}

Revision as of 07:24, 30 January 2019

/* Styling links to www.VideoLan.org */ 
/*#bodyContent a.external, #bodyContent a[href^="http://www.videolan.org/"] {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background:transparent url(//www.videolan.org/favicon.ico) no-repeat scroll right center;
    padding-right:13px;
}*/
.widebox {
    width: 80%;
    border: solid #999 1px;
    background: #F8F8F8;
    margin: 0.5em auto;
    clear: both;
    text-align: center;
    padding: 2px;
}
.nowrap {
    white-space: nowrap;
}
/* pre tags do not clip content */
pre {
    white-space: pre-wrap !important;
    word-break: break-all !important;
}