MediaWiki:Chameleon.css: Difference between revisions

From Liberation Map
No edit summary
No edit summary
Line 34: Line 34:
}
}


#p-logo p:nth-child(1) { {
#p-logo {
  display: block;
    margin: auto;
  margin-left: auto;
    width: 60%;
  margin-right: auto;
}
}

Revision as of 14:28, 30 June 2022

/* From - https://webapps.stackexchange.com/questions/3851/how-can-i-float-the-table-of-contents-to-the-right-with-mediawiki */
/* #toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;}; */

@font-face {
    font-family: 'Poppl-Laudatio';
    src: url('Poppl-Laudatio-RegularA.woff2') format('woff2'),
        url('Poppl-Laudatio-RegularA.woff') format('woff'),
        url('Poppl-Laudatio-RegularA.ttf') format('truetype'),
        url('Poppl-Laudatio-RegularA.svg#Poppl-Laudatio-RegularA') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GeoSlab703 MdCn BT';
    src: url('GeometricSlab703BT-MediumCond.woff2') format('woff2'),
        url('GeometricSlab703BT-MediumCond.woff') format('woff'),
        url('GeometricSlab703BT-MediumCond.ttf') format('truetype'),
        url('GeometricSlab703BT-MediumCond.svg#GeometricSlab703BT-MediumCond') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

# Customise default Chameleon skin

#.p-navbar .collapsible .mb-3 .mt-2 .mt-cmln-0 {
#    background-color: #f8934a; !important;
#}

#mw-navigation {
    background-color: #f8934a;
}

#p-logo {
    margin: auto;
    width: 60%;
}