Difference between revisions of "MediaWiki:Common.css"

From VideoLAN Wiki
Jump to navigation Jump to search
(define the "nowrap" class)
(Pre text wrapping, documented on the talk page)
Line 18: Line 18:
 
.nowrap {
 
.nowrap {
 
     white-space: nowrap;
 
     white-space: nowrap;
 +
}
 +
/* pre tags do not clip content */
 +
pre {
 +
    white-space: pre-wrap;
 +
    word-break: break-all;
 
}
 
}

Revision as of 07:16, 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;
    word-break: break-all;
}