MediaWiki:Tweeki.css

From LINKS Community Center
Revision as of 14:28, 10 May 2022 by Eschmidt (talk | contribs)
Jump to: navigation, search

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will affect users of the Tweeki skin */

:root {
    --links-blue: #1980c3;
    --links-cyan: #34b8b8;
    --links-grey: #415262;
    --links-orange: #ee7802;
}

/* DCT PROFILE START */
#dct-profile {
    --dct-border: 2px solid var(--links-blue);
    display: grid;
    grid-template:
        "meta meta"
        "desc info"
        "func info"
        "more info"
        / 2fr 1fr;
}

#dct-profile > section {
    box-sizing: border-box;
    padding: 1em 1em 1em 0;
}

#dct-profile .dct-meta {
    grid-area: meta;
    border-bottom: var(--dct-border);
}

#dct-profile .dct-desc {
    grid-area: desc;
    border-bottom: var(--dct-border);
}

#dct-profile .dct-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    border-left: var(--dct-border);
    padding-left: 1em;
}

#dct-profile .dct-func {
    grid-area: func;
    border-bottom: var(--dct-border);
}

#dct-profile .dct-more {
    grid-area: more;
}

@media only screen and (orientation: portrait) {
    #dct-profile {
        grid-template:
        "meta"
        "desc"
        "info"
        "func"
        "more"
    }

    #dct-profile .dct-info {
        border-left: 0 none;
        border-bottom: var(--dct-border);
        padding-left: 0;
        flex-direction: row;
    }
}
/* DCT PROFILE END */