User:Vaileasys/sandbox

From PZwiki

Spiffo rummage.png

Wiki maintenance!

The wiki will be undergoing some maintenance while we modify the default theme.
Notice any oddities or want to provide feedback? Let us know on the discussion page or the pzwiki discord channel.

Be crafty.png

Common.css

/* Mediawiki:Sitenotice */
.sitenotice-card {
    display: flex;
    justify-content: space-between;
    align-items: center
    text-align: center;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eaecf0;
    width: auto;
}

.sitenotice-card > div {
    display: flex;
    flex-direction: column
}

.sitenotice-card .image-container-left {
    margin-right: 1rem
}

.sitenotice-card .image-container-right {
    margin-left: 1rem
}
/* hide images if screen size is less than 720px */
@media screen and (max-width: 719px) {
    .sitenotice-card .image-container-left,
    .sitenotice-card .image-container-right {
        display:none
    }
}

Vector-2022.css

.vector-sitenotice-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sitenotice-card {
    box-sizing: border-box;
    max-width: 1000px;
    width: 944px;
}

TODO

  • add class="text-container" for div with the text, so it can be modified per skin.
.sitenotice-card .text-container {
    /* styles go here */
}
  • consider adding <p> or <div> tag with class="title" for styling the title.
.sitenotice-card .text-container .title {
    /* styles go here */
}
  • create an anonnotice for users that aren't logged in
    • wording will be adjusted directing them to create an account to change the theme
  • Once style implemented, modify to advise how to change the theme