MediaWiki: Tweeki.css: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* 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 { | |||
--dct-border: 2px solid var(--links-blue); | |||
display: grid; | |||
grid-template-columns: 2fr 1fr; | |||
grid-template-areas: | |||
"meta meta" | |||
"desc info" | |||
"func info" | |||
"more info"; | |||
} | |||
#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; | |||
} |
Revision as of 12:44, 10 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 { --dct-border: 2px solid var(--links-blue); display: grid; grid-template-columns: 2fr 1fr; grid-template-areas: "meta meta" "desc info" "func info" "more info"; } #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; }