TemplateStyle:Notice/Gameplay.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* GENERAL NEW NOTICE STYLING */
.newnotice {
.newnotice {
text-align: center;
margin: 0 auto 10px;
}
.newnotice-content {
display: inline-flex;
border: 3px solid #484468;
border: 3px solid #484468;
min-width: 660px;
max-width: 880px;
margin-left: auto;
margin-right: auto;
display: table;
border-spacing: 5px;
}
}


.newnotice-wrapper {
.newnotice-image {
display: table-row;
display: flex;
flex-direction: column;
justify-content: center;
margin: 5px 0 5px 5px;
}
}
.newnotice-gameplay .newnotice-message {
flex: 1;
text-align: left;
background-size: contain;
background-position: right;
background-repeat: no-repeat;
padding: 10px;
margin: 5px;
}
@media (min-width: 1000px) {
.newnotice {
width: 80%;
}
.newnotice-content {
min-width: 660px;
}
}
/* SPECIFIC GAMEPLAY STYLING */


.newnotice-gameplay .newnotice-image {
.newnotice-gameplay .newnotice-image {
display: table-cell;
background-color: #5B4AAF;
background-color: #5B4AAF;
}
}


.newnotice-gameplay .newnotice-message {
.newnotice-gameplay .newnotice-message {
display: table-cell;
color: #fff;
padding: 10px;
background-color: #353451;
background-image: url('https://halo.wiki.gallery/images/5/5b/HP-Background-Gameplay.svg');
background-image: url('https://halo.wiki.gallery/images/5/5b/HP-Background-Gameplay.svg');
background-position: right;
background-size: contain;
background-repeat: no-repeat;
background-color: #353451;
color: #fff;
}
}