MediaWiki: Tweeki.css: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
--links-grey: #415262; | --links-grey: #415262; | ||
--links-orange: #ee7802; | --links-orange: #ee7802; | ||
} | } | ||
Line 24: | Line 18: | ||
"more info" | "more info" | ||
/ 2fr 1fr; | / 2fr 1fr; | ||
} | |||
/* TODO: Generalize link formatting later */ | |||
.skin-tweeki #content #dct-profile a.external { | |||
background: initial; | |||
padding: 0; | |||
text-decoration: underline; | |||
} | } | ||
Revision as of 13:24, 11 May 2022
/* 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; } /* TODO: Generalize link formatting later */ .skin-tweeki #content #dct-profile a.external { background: initial; padding: 0; text-decoration: underline; } #dct-profile h1, h2, h3, h4, h5, h6 { color: var(--links-blue); font-variant: small-caps; } #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; 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; display: grid; grid-template-columns: repeat(auto-fit, minmax(10em, 1fr)); gap: 1em 1em; } } /* DCT PROFILE END */