TemplateStyle:Notice/Gameplay.css: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
display: table; | display: table; | ||
border-spacing: 5px; | border-spacing: 5px; | ||
} | |||
.newnotice-content { | |||
display: table-row; | |||
} | } | ||
.newnotice-wrapper { | .newnotice-wrapper { | ||
display: | display: flex; | ||
justify-content: center; | |||
align-content: center; | |||
} | } | ||
Revision as of 14:29, June 20, 2022
/* GENERAL NEW NOTICE STYLING */
.newnotice {
border: 3px solid #484468;
min-width: 660px;
max-width: 880px;
margin-left: auto;
margin-right: auto;
display: table;
border-spacing: 5px;
}
.newnotice-content {
display: table-row;
}
.newnotice-wrapper {
display: flex;
justify-content: center;
align-content: center;
}
.newnotice-image {
display: table-cell;
}
.newnotice-gameplay .newnotice-message {
display: table-cell;
padding: 10px;
background-position: right;
background-size: contain;
background-repeat: no-repeat;
}
/* SPECIFIC GAMEPLAY STYLING */
.newnotice-gameplay .newnotice-image {
background-color: #5B4AAF;
}
.newnotice-gameplay .newnotice-message {
background-image: url('https://halo.wiki.gallery/images/5/5b/HP-Background-Gameplay.svg');
background-color: #353451;
color: #fff;
}