Difference between revisions of "Template:Panel"

601 bytes added ,  02:56, 17 April 2020
no edit summary
(Created page with "<templatestyles src="Panel/style.css" /><div class="{{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}| <div class="title"...")
 
Line 1: Line 1:
<templatestyles src="Panel/style.css" /><div class="{{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}|
{{#css:
.panel {
background:#EDEDED;
color:#282828;
margin:5px;
}
 
@media (max-width: 720px) {
.panel {
margin:0;
}
}
 
.panel .title {
background:#1853bc;
}
 
.panel .content{
height:100%;
}
 
.panel-footer {
background:#E0E0E0;
padding:7px;
text-align:right;
transition:0.3s ease-out;
}
 
.panel-footer:hover {
background:#E0E5EC;
box-shadow: 0px 0px 7px 0px rgba(0,0,0,.5);
}
 
.panel-footer:hover a{
color:#06305B;
}
 
.panel-footer a{
color:#282828;
display:block;
text-decoration:none;
margin-right: .5em;
}
 
.title{
font-family: Roboto Slab;
font-size: 1.2em;
color: #FFFFFF;
padding: 10px;
text-align: center;
}
}}<div class="{{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}|
<div class="title">{{{title}}}</div>}}
<div class="title">{{{title}}}</div>}}
<div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}>
<div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}>