MediaWiki:Common.css

De Cronicas Eternas Wiki

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)
  • Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
  • Opera: Pressione Ctrl-F5.
/* Estilo para a tabela do Contribution Scores */
table.contribscores {
    width: 100%;
    border-collapse: collapse;
    margin: 10px auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table.contribscores th {
    background-color: #0078D7;
    color: white;
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table.contribscores td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

table.contribscores tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.contribscores tr:hover {
    background-color: #e6f7ff;
}


/* Pagina total */

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode a {
    color: #bb86fc;
}

body.dark-mode #mw-head,
body.dark-mode #mw-panel {
    background-color: #1f1f1f;
}

body.dark-mode .mw-body,
body.dark-mode table {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #e0e0e0;
}



/* Outros role */

#p-logo a {
    background-image: url(https://cronicaseternas.site/wiki/images/logo.png);
    background-size: contain;
    width: 135px;
    height: 135px;
    display: block;
}


.infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    padding: 5px;
    float: right;
    font-size: 90%;
}

.infobox div {
    padding: 2px 5px;
}

.infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}


.character-infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    float: right;
    padding: 5px;
    font-size: 90%;
}

.character-infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}

.character-infobox .section {
    text-align: center;
    background: #ddd;
    font-size: 110%;
    padding: 4px;
    margin-top: 5px;
}

.character-infobox div {
    padding: 2px 5px;
}

.item-infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    float: right;
    padding: 5px;
    font-size: 90%;
}

.item-infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}

.item-infobox .section {
    text-align: center;
    background: #ddd;
    font-size: 110%;
    padding: 4px;
    margin-top: 5px;
}

.item-infobox div {
    padding: 2px 5px;
}


.species-infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    float: right;
    padding: 5px;
    font-size: 90%;
}

.species-infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}

.species-infobox .section {
    text-align: center;
    background: #ddd;
    font-size: 110%;
    padding: 4px;
    margin-top: 5px;
}

.species-infobox div {
    padding: 2px 5px;
}

.deity-infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    float: right;
    padding: 5px;
    font-size: 90%;
}

.deity-infobox img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    padding: 4px;
    margin-bottom: 10px;
}

.deity-infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}

.deity-infobox .section {
    text-align: center;
    background: #ddd;
    font-size: 110%;
    padding: 4px;
    margin-top: 5px;
}

.deity-infobox div {
    padding: 2px 5px;
}

.spell-infobox {
    width: 22em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    float: right;
    padding: 5px;
    font-size: 90%;
}

.spell-infobox .header {
    text-align: center;
    background: #ccc;
    font-size: 120%;
    padding: 4px;
}

.spell-infobox .section {
    text-align: center;
    background: #ddd;
    font-size: 110%;
    padding: 4px;
    margin-top: 5px;
}

.spell-infobox div {
    padding: 2px 5px;
}