Difference between revisions of "MediaWiki:Common.css"

From VideoLAN Wiki
Jump to navigation Jump to search
(Creating a class called "codec-table". Now all the tables in VLC Features Formats can look alike with less typing and less maintenance)
(Add CSS classes "banner-title" and "banner-subtitle")
Line 31: Line 31:
 
     margin: 1em auto 1em auto;
 
     margin: 1em auto 1em auto;
 
     border: 1px;
 
     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%;
 
}
 
}

Revision as of 04:37, 5 February 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%;
}