Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!
Difference between revisions of "Template:Panel"
From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
.title-bar{ | |||
background:#CC0000; | |||
padding:.15em; | |||
} | |||
.panel { | .panel { | ||
background:# | background:#E0E0E0; | ||
color:#282828; | color:#282828; | ||
margin:5px; | margin:5px; | ||
box-shadow: 0 1.6px 3.6px 0 rgba(0,0,0,.132), 0 0.3px 0.9px 0 rgba(0,0,0,.108) | |||
} | |||
@media (prefers-color-scheme: dark){ | |||
.panel { | |||
background: #373737; | |||
color: #EDEDED; | |||
} | |||
} | } | ||
Line 13: | Line 26: | ||
.panel .title { | .panel .title { | ||
background:# | background:#181818; | ||
} | } | ||
Line 50: | Line 63: | ||
text-align: center; | text-align: center; | ||
} | } | ||
}}<div class="{{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}| | }}<div class="panel ms-depth-4 {{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}| | ||
<div class="title">{{{title}}}</div>}} | <div class="title">{{{title}}}</div> | ||
<div class="title-bar"></div>}} | |||
<div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}> | <div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}> | ||
{{{content}}} | {{{content}}} |
Latest revision as of 06:27, 17 January 2022
{{{content}}}