MediaWiki: Tweeki.css: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
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 */
<noinclude>
Development verstion of the DCT Profile template.<br>
<span style="color: red; font-weight: bold;">Not ready for production!</span>
</noinclude><includeonly>{{#set:New Is Archived={{{New Is Archived|}}}|}}
<div id="dct-profile">
<section class="dct-meta">meta</section>
<section class="dct-desc">
{{PAGENAME}}<br>
Intro
</section>
<section class="dct-info">
Info:
{{{Provider|}}}
</section>
<section class="dct-func">
Available Functionality
</section>
<section class="dct-more">
See Related
</section>
</div>


:root {
<!-- {| class="wikitable"
    --links-blue: #1980c3;
! {{#fas:globe}} Website
    --links-cyan: #34b8b8;
| [[Website::{{{Website|}}}]]
    --links-grey: #415262;
|-
    --links-orange: #ee7802;
! Provider
}
| [[Provider::{{{Provider|}}}]]
{{#if:{{{Source Country|}}}|
{{!}}-
! Source country
{{!}} {{flagicon|{{{Source Country|}}}}} [[Source Country::{{{Source Country|}}}]]
}}
|-
! Formerly known as
| {{#arraymap:{{{Formerly known as|}}}|,|x|[[Formerly known as::x]]}}


#dct-profile {
{{#if:{{{Tool Created in Year|}}}|
    --dct-border: 2px solid var(--links-blue);
{{!}}-
    display: grid;
! Tool created in year
    grid-template-columns: 2fr 1fr;
{{!}} [[Tool Created in Year::{{{Tool Created in Year|}}}]]
    grid-template-areas:
}}
        "meta meta"
|-
        "desc info"
! Entry created at
        "func info"
| [[Entry Created At::{{{Entry Created At|}}}]]
        "more info";
|-
}
! Entry last reviewed
| [[Entry Last Reviewed::{{{Entry Last Reviewed|}}}]]
|-
! Is archived
| [[Is Archived::{{{Is Archived|}}}]]
|-
! Crisis Communication Matrix
| {{#arraymap:{{{Crisis Communication Matrix|}}}|,|y|[[Crisis Communication Matrix::y]]}}


#dct-profile > section {
|-
    box-sizing: border-box;
! Disaster Management Phase
    padding: 1em 1em 1em 0;
| {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}
}


#dct-profile .dct-meta {
|-
    grid-area: meta;
! Data Sources
    border-bottom: var(--dct-border);
| {{#arraymap:{{{Data Sources|}}}|,|x|[[Data Sources::x]]}}
}


#dct-profile .dct-desc {
|-
    grid-area: desc;
! Logos
    border-bottom: var(--dct-border);
|  {{#arraymaptemplate:{{{Data Sources|}}}|SourceLogo|,|}}
}


#dct-profile .dct-info {
|} -->
    grid-area: info;
    border-left: var(--dct-border);
    padding-left: 1em;
}


#dct-profile .dct-func {
[[Category:Disaster Community Technology]]
    grid-area: func;
</includeonly>
    border-bottom: var(--dct-border);
}
 
#dct-profile .dct-more {
    grid-area: more;
}

Revision as of 12:44, 10 May 2022

<noinclude>
Development verstion of the DCT Profile template.<br>
<span style="color: red; font-weight: bold;">Not ready for production!</span>
</noinclude><includeonly>{{#set:New Is Archived={{{New Is Archived|}}}|}}
<div id="dct-profile">
<section class="dct-meta">meta</section>
<section class="dct-desc">
{{PAGENAME}}<br>
Intro
</section>
<section class="dct-info">
Info:
{{{Provider|}}}
</section>
<section class="dct-func">
Available Functionality
</section>
<section class="dct-more">
See Related
</section>
</div>

<!-- {| class="wikitable"
! {{#fas:globe}} Website
| [[Website::{{{Website|}}}]]
|-
! Provider
| [[Provider::{{{Provider|}}}]]
{{#if:{{{Source Country|}}}|
{{!}}-
! Source country
{{!}} {{flagicon|{{{Source Country|}}}}} [[Source Country::{{{Source Country|}}}]]
}}
|-
! Formerly known as
| {{#arraymap:{{{Formerly known as|}}}|,|x|[[Formerly known as::x]]}}

{{#if:{{{Tool Created in Year|}}}|
{{!}}-
! Tool created in year
{{!}} [[Tool Created in Year::{{{Tool Created in Year|}}}]]
}}
|-
! Entry created at
| [[Entry Created At::{{{Entry Created At|}}}]]
|-
! Entry last reviewed
| [[Entry Last Reviewed::{{{Entry Last Reviewed|}}}]]
|-
! Is archived
| [[Is Archived::{{{Is Archived|}}}]]
|-
! Crisis Communication Matrix
| {{#arraymap:{{{Crisis Communication Matrix|}}}|,|y|[[Crisis Communication Matrix::y]]}}

|-
! Disaster Management Phase
| {{#arraymap:{{{Disaster Management Phase|}}}|,|x|[[Disaster Management Phase::x]]}}

|-
! Data Sources
| {{#arraymap:{{{Data Sources|}}}|,|x|[[Data Sources::x]]}}

|-
! Logos
|   {{#arraymaptemplate:{{{Data Sources|}}}|SourceLogo|,|}}

|} -->

[[Category:Disaster Community Technology]]
</includeonly>