Difference between revisions of "MediaWiki:Common.css"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Add vendor prefixes for div.col2 and div.col3)
(Added div.col4, div.col5 and div.col6)
Line 64: Line 64:
 
         -o-column-count: 3;
 
         -o-column-count: 3;
 
             column-count: 3;
 
             column-count: 3;
 +
}
 +
/* Creates four columns */
 +
div.col4 {
 +
    -webkit-column-count: 4;
 +
      -moz-column-count: 4;
 +
        -o-column-count: 4;
 +
            column-count: 4;
 +
}
 +
/* Creates five columns */
 +
div.col5 {
 +
    -webkit-column-count: 5;
 +
      -moz-column-count: 5;
 +
        -o-column-count: 5;
 +
            column-count: 5;
 +
}
 +
/* Creates six columns */
 +
div.col6 {
 +
    -webkit-column-count: 6;
 +
      -moz-column-count: 6;
 +
        -o-column-count: 6;
 +
            column-count: 6;
 
}
 
}

Revision as of 00:45, 3 March 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  */
#bodyContent pre {
    white-space: pre-wrap;
    word-break: break-all;
}
/* For [[VLC Features Formats]] and others */
.codec-table {
    font-size: small;
    text-align: center;
    width: 100%;
    margin: 1em auto 1em auto;
    border: 1px;
}
/* For [[Main Page]], [[Documentation:Documentation]], [[Knowledge Base]], [[VLC Developers Corner]] */
.banner-title {
    font-size: 162%;
    border: none;
    margin: 0;
    padding: .1em;
    color: #000;
}
/* For [[Main Page]], [[Documentation:Documentation]], [[Knowledge Base]], [[VLC Developers Corner]] */
.banner-subtitle {
    top: +0.2em;
    font-size: 95%;
}
/* For [[Main Page]], [[Documentation:Documentation]], [[Knowledge Base]], [[VLC Developers Corner]] */
.banner {
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #ccc;
}
/* Creates two columns */
div.col2 {
    -webkit-column-count: 2;
       -moz-column-count: 2;
         -o-column-count: 2;
            column-count: 2;
}
/* Creates three columns */
div.col3 {
    -webkit-column-count: 3;
       -moz-column-count: 3;
         -o-column-count: 3;
            column-count: 3;
}
/* Creates four columns */
div.col4 {
    -webkit-column-count: 4;
       -moz-column-count: 4;
         -o-column-count: 4;
            column-count: 4;
}
/* Creates five columns */
div.col5 {
    -webkit-column-count: 5;
       -moz-column-count: 5;
         -o-column-count: 5;
            column-count: 5;
}
/* Creates six columns */
div.col6 {
    -webkit-column-count: 6;
       -moz-column-count: 6;
         -o-column-count: 6;
            column-count: 6;
}