MediaWiki:Common.css

De SSN - Wiki
Revisão de 16h30min de 8 de setembro de 2025 por DoceAzedo (discussão | contribs)
Ir para navegação Ir para pesquisar

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
  • Opera: Pressione Ctrl-F5.
body {
    --primary: #82cb15;
    background: url(https://wiki.ssn.gg/images/1/1f/Background.jpg);
}

#p-logo,
#p-logo a {
    width: 100%;
}

#p-logo {
    padding: 0 1rem;
    box-sizing: border-box;
    margin-bottom: 0;
    height: auto;
    aspect-ratio: 1/1;
}

#p-logo a {
    background-size: contain;
    height: 100%;
}

#mw-page-base {
    background: none;
}

#home {
    display: flex;
    gap: 1rem;
}
  
#home .main-column {
    width: 100%;
}
  
#home .sidebar-column {
    width: 33%;
    flex-shrink: 0;
}

.card {
    border: 1px solid #efefef;
    border-radius: .25rem;
    overflow: hidden;
}

.card-header {
    background-color: var(--primary);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    padding: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.is-centered {
    justify-content: center;
    text-align: center;
}

.card-header svg {
    height: 1.25rem;
    transform: translateY(-2px);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .75rem;
    background-position: center;
    background-size: cover;
}

.card p,
.card .mw-heading {
    margin: 0 !important;
    border: 0 !important;
}

.card .mw-heading * {
    font-family: sans-serif;
    font-weight: bold;
}

.heading-group p {
    opacity: .7;
}

#card-home-welcome {
    background-image: linear-gradient(to right, #fff 25%, rgba(255,255,255,.8)), url(https://ssn.gg/img/solo-small-base.webp);
}

#card-home-highlight {
    padding: 0;
    aspect-ratio: 16/9;
}