MediaWiki: Tweeki.css

From Internet Computer Wiki
Revision as of 08:50, 26 January 2022 by Mischa.demarmels (talk | contribs)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Tweeki skin */

/* General */

.gridexample {
    border: 1px solid #ffffff;
    min-height: 10px;
    margin-bottom: 20px;
}

.gridexample .content {
    background-color: #ffffff;
    min-height: 50px;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    text-align: center;
    padding-top: 10px;
    color: #666;
    font-style: italic;
    border: 1px solid white;
}

body {
    font-family: Manrope, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #292a2e;
    font-size: 16px;
    line-height: 26px;
}

h1 {
    font-size: 40px;
    line-height: 60px;
    margin-bottom: 25px;
}

h2 {
    font-size: 28px;
    margin-top: 28px;
    margin-bottom: 14px;
}

h3 {
    font-size: 22px;
    margin-top: 22px;
    margin-bottom: 11px;
}

h4 {
    font-size: 16px;
    font-weight: 600;
}


/* Specific */

header .bg-light {
    background-color: #ffffff !important;
}

.navbar-brand img {
    margin-top: 0px;
}

.mw-head {
    color: #292a2e;
    background-color: #ffffff;
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar {
    background-color: #ffffff;
    color: #292a2e;
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-default {
    background-image: none;
    background-color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
}

.navbar-nav {
    background-color: #ffffff;
}

.navbar-brand {
    background-color: #ffffff;
    color: #292a2e;
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
}

.navbar-default .navbar-nav>li>a {
    color: #292a2e;
    background-color: #ffffff;
}

.navbar-default .navbar-brand {
    color: #292a2e;
    background-color: #ffffff;
}

.mw-body {
    margin-top: 100px;
}

.page-header {
    border: none;
}

.firstHeading {
    text-align: start;
    font-weight: 700;
}

div.thumbinner {
    border: none;
    background-color: #ffffff;
}

#tweekiTOC {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.9);
}

.toc {
    font-size: 18px;
    border: none;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0);
}


/* Infobox template style tweeki */

.infobox {
    border: 1px solid #f8f9fa;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
}

@media (min-width: 1140px) {
    .infobox {
        width: 50%;
    }
}

.infobox-above {
    background-color: #292a2e !important;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.infobox-header {
    background-color: #eaecf0 !important;
    padding: 5px;
}

.infobox th,
.infobox td {
    padding: 10px;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox th,
.infobox td {
    vertical-align: top;
}

.infobox-label,
.infobox-data,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox th,
.infobox td {
    /* @noflip */
    text-align: left;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-above,
.infobox .infobox-title,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox caption {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}

.infobox-title,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox caption {
    padding: 0.2em;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
    text-align: center;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-navbar {
    /* @noflip */
    text-align: right;
}