MediaWiki:Common.css: Difference between revisions

From AAClassic
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* === ArcheAge Classic MediaWiki Theme (Full Custom CSS Applied) === */


:root {
:root {
     --body-main: #e2dbc8;
     --body-main: #f5f0dc;
     --body-light: #d8ccb4;
     --body-light: #f8f1dd;
     --body-mid: #d0bd97;
     --body-mid: #e3d5b3;
     --body-dark: #b8a282;
     --body-dark: #c7a56c;
     --body-border: #94866d;
     --body-border: #a0804f;
     --body-background-color: #c0a886;
     --body-background-color: #fffdf2;
     --button-background: #605443;
     --button-background: #6a4d2e;
     --button-color: #fff;
     --button-color: #fff;
     --button-border: #3c352a;
     --button-border: #3c352a;
     --button-dark: #18140c;
     --button-dark: #18140c;
     --button-light: #3a301d;
     --button-light: #3a301d;
     --sidebar: #cfc08d;
     --sidebar: #f8f1dd;
     --background-text-color: #444;
     --background-text-color: #3e2f1c;
     --background-link-color: #52351e;
     --background-link-color: #4c7031;
     --search-box: #efeee6;
     --search-box: #fff8e7;
     --link-color: #936039;
     --link-color: #4c7031;
     --redlink-color: #ba0000;
     --redlink-color: #ba0000;
     --text-color: #000;
     --text-color: #3e2f1c;
     --byline-color: #4c4c4c;
     --byline-color: #5a4228;
     --subtle-color: #777;
     --subtle-color: #777;
    --admin-blue: #332e75;
     --tile-border-color: #b08b52;
    --bearcat-green: #13592e;
     --tile-background-color: #fffdf2;
    --awb-purple: #933b96;
    --rsw-blue: #438ab6;
    --osrsw-brown: #605443;
    --thumb-bg: var(--body-light);
    --thumb-caption-bg: var(--body-mid);
    --sourceeditor-input-background: #fff;
    --sourceeditor-background: var(--body-light);
    --sourceeditor-background-secondary: var(--body-light);
    --sourceeditor-border: var(--body-mid);
    --codemirror-gutter-background: var(--body-mid);
}
 
 
 
:root {
    --byline-arrow-filter: invert(29%) sepia(0%) saturate(376%) hue-rotate(172deg) brightness(87%) contrast(80%);
     --tile-border-color: #cabe9b;
     --tile-background-color: #f9f3eb;
     --tile-link-button-color: #f5e9db;
     --tile-link-button-color: #f5e9db;
     --tile-link-button-highlight-color: #dfccb0;
     --tile-link-button-highlight-color: #dfccb0;
Line 51: Line 33:
}
}


 
body {
.tile {
     background-color: var(--body-main);
     background: var(--tile-background-color);
     font-family: "Garamond", serif;
    border: 1px solid var(--tile-border-color);
     color: var(--text-color);
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
     margin: 0;
    padding: 1.5em 2em 1em;
    max-width: 40em;
}
 
.tile h2 {
    font-size: 1.4em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.4em;
}
 
.tile .byline + h2 {
    margin-top: -0.5em;
}
 
.tile.dark {
     color: var(--tile-dark-color);
     background: var(--tile-dark-bg);
    border: none;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}
 
.tile.dark h2 {
    color: var(--tile-dark-header-color);
}
}


.tile.dark a {
#content {
     color: var(--tile-dark-link-color);
     background-color: var(--body-background-color);
    border: 1px solid var(--body-dark);
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
}


.tile.dark .byline {
#firstHeading {
    color: var(--tile-dark-byline-color);
     font-family: "Cinzel", serif;
}
 
.byline {
     font-size: 0.9em;
     color: var(--byline-color);
     color: var(--byline-color);
    font-size: 2.2em;
    border-bottom: 2px solid var(--body-border);
    padding-bottom: 0.3em;
    margin-bottom: 1.5em;
}
}


.byline a {
#mw-panel {
     color: var(--byline-color);
     background: var(--sidebar);
    border-right: 2px solid var(--body-border);
    padding-top: 10px;
}
}


.tile-row {
#p-logo {
     display: flex;
     background-color: var(--button-background);
    flex-flow: row wrap;
     height: 100px;
    margin-bottom: 1em;
     text-align: center;
}
     font-family: "Cinzel", serif;
 
     font-size: 1.3em;
.tile-halves {
     color: white;
    display: flex;
    flex-flow: row wrap;
    border: 1px solid var(--tile-border-color);
    background: var(--tile-background-color);
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}
 
.tile-halves h2 {
     font-size: 1.4em;
     font-weight: bold;
     border: none;
    margin: 0 0 0.4em;
}
 
.tile-halves .byline + h2 {
    margin-top: -0.5em;
}
 
.tile-top {
     width: 100%;
    padding: 1.3rem 1.5rem 0.6rem;
}
 
.tile-top.tile-image {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     background-color: var(--byline-color);
     justify-content: center;
    overflow: hidden;
     border-bottom: 2px solid var(--tile-border-color);
     padding: 0;
     text-shadow: 0 0 4px #00000055;
    height: 13vw;
    max-height: 12em;
    transition: 0.4s ease-out;
}
 
.tile-halves:hover .tile-top.tile-image img {
    transform: scale(1.1);
     transition: 0.5s ease-out;
}
 
.tile-top.tile-image span {
    width: 100%;
}
}


.tile-top.tile-image img {
a,
    width: 100%;
a:visited {
    object-fit: cover;
     color: var(--link-color);
    max-height: 200px;
    transition: 0.4s ease-out;
}
 
.tile-bottom {
     background: var(--tile-background-color);
    border-top: 1px solid var(--tile-border-color);
    width: 100%;
    padding: 1rem 1.5rem 0.6rem;
}
 
.tile-bottom.link-button {
    align-self: flex-end;
    padding: 0;
}
 
.tile-bottom.link-button a {
    display: block;
    text-align: center;
    padding: 0.75em 1.5em 0.8em;
     text-decoration: none;
     text-decoration: none;
}
.tile-bottom.read-more {
    background: var(--tile-link-button-color);
    transition: 0.3s ease-out;
}
.tile-bottom.read-more a {
    color: var(--byline-color);
     font-weight: bold;
     font-weight: bold;
    text-align: right;
}
}


.tile-bottom.read-more:hover {
a:hover {
     background: var(--tile-link-button-highlight-color);
     color: #2a4d1d;
    text-decoration: underline;
}
}


.tile-bottom.read-more:hover .arrow {
.vectorTabs .selected a,
     transform: translateX(50%);
.vectorTabs li a:hover {
     background-color: #e4c490;
    color: var(--text-color);
    border-radius: 6px 6px 0 0;
    border: 1px solid var(--tile-border-color);
}
}


.tile-bottom.read-more .arrow {
#p-search {
     filter: var(--byline-arrow-filter);
     background: none;
    margin-left: 0.4em;
     padding: 0.5em;
     transition: 0.3s ease-out;
}
}


.mainpage-body .tile {
#searchInput {
     padding-left: 1.75em;
    border: 1px solid var(--body-dark);
     padding-right: 1.75em;
     padding: 6px;
     max-width: 100%;
     border-radius: 6px;
     background-color: var(--search-box);
}
}


.mainpage-body .tile-row {
#footer {
     width: 100%;
    background-color: #e7d6b2;
     margin-bottom: 0;
    border-top: 2px solid #d0b075;
    padding: 1em;
     color: var(--text-color);
     font-size: 0.9em;
}
}


.mainpage-body .tile-row {
.button-custom {
     display: grid;
    background-color: var(--button-background);
     gap: 0.9rem;
    color: var(--button-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: "Garamond", serif;
    font-size: 1em;
     cursor: pointer;
     box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
}


.mainpage-recent-updates .tile-halves {
.button-custom:hover {
     flex: 1;
     background-color: #553c24;
    align-content: flex-start;
}
}


.mainpage-recent-updates .tile-halves:hover .tile-top img {
.mainpage-box {
     transform: scale(1.04);
    border: 1px solid var(--tile-border-color);
    background: var(--tile-background-color);
    padding: 1em;
    margin-bottom: 1em;
     box-shadow: 1px 1px 6px rgba(0,0,0,0.05);
    border-radius: 6px;
}
}


.mainpage-recent-updates .tile-halves .tile-top span {
.mainpage-box h2 {
     width: 100%;
     font-family: "Cinzel", serif;
}
    color: var(--byline-color);
 
     border-bottom: 1px solid var(--tile-border-color);
.mainpage-recent-updates .tile-bottom.link-button a {
     padding-bottom: 0.2em;
     text-align: left;
     margin-bottom: 0.5em;
     padding: 1rem 1.5rem 0.75rem;
}
 
.mainpage-contents {
    grid-area: content;
     grid-template-columns: repeat(6, 1fr);
}
}


.mainpage-contents .tile-halves {
table.wikitable {
     flex: 1;
     background: #fff7e6;
    border: 1px solid #c9a76c;
}
}


.mainpage-contents .tile-top {
th, td {
     position: relative;
     border: 1px solid #c9a76c;
    padding: 0.5em;
}
}


.mainpage-contents h2 {
th {
     margin: 0;
     background: #f0e2c3;
     padding: 0;
     color: var(--text-color);
}
}


.mainpage-contents .tile-bottom.link-button a {
.mw-message-box {
     padding: 0.75em 0.2em;
    border-color: var(--tile-border-color);
    background-color: #fffaf0;
     color: var(--text-color);
}
}


.mainpage {
#footer-icons, #f-poweredbyico, #f-copyrightico {
     max-width: 75em;
     display: none;
    margin: 0 auto;
}
}

Revision as of 14:28, 20 May 2025

/* === ArcheAge Classic MediaWiki Theme (Full Custom CSS Applied) === */

:root {
    --body-main: #f5f0dc;
    --body-light: #f8f1dd;
    --body-mid: #e3d5b3;
    --body-dark: #c7a56c;
    --body-border: #a0804f;
    --body-background-color: #fffdf2;
    --button-background: #6a4d2e;
    --button-color: #fff;
    --button-border: #3c352a;
    --button-dark: #18140c;
    --button-light: #3a301d;
    --sidebar: #f8f1dd;
    --background-text-color: #3e2f1c;
    --background-link-color: #4c7031;
    --search-box: #fff8e7;
    --link-color: #4c7031;
    --redlink-color: #ba0000;
    --text-color: #3e2f1c;
    --byline-color: #5a4228;
    --subtle-color: #777;
    --tile-border-color: #b08b52;
    --tile-background-color: #fffdf2;
    --tile-link-button-color: #f5e9db;
    --tile-link-button-highlight-color: #dfccb0;
    --tile-dark-color: #fff;
    --tile-dark-bg: #5d6773;
    --tile-dark-link-color: #ccc;
    --tile-dark-byline-color: rgba(255, 255, 255, 0.7);
    --tile-dark-header-color: #fff;
}

body {
    background-color: var(--body-main);
    font-family: "Garamond", serif;
    color: var(--text-color);
    margin: 0;
}

#content {
    background-color: var(--body-background-color);
    border: 1px solid var(--body-dark);
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

#firstHeading {
    font-family: "Cinzel", serif;
    color: var(--byline-color);
    font-size: 2.2em;
    border-bottom: 2px solid var(--body-border);
    padding-bottom: 0.3em;
    margin-bottom: 1.5em;
}

#mw-panel {
    background: var(--sidebar);
    border-right: 2px solid var(--body-border);
    padding-top: 10px;
}

#p-logo {
    background-color: var(--button-background);
    height: 100px;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 1.3em;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--tile-border-color);
    text-shadow: 0 0 4px #00000055;
}

a,
a:visited {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #2a4d1d;
    text-decoration: underline;
}

.vectorTabs .selected a,
.vectorTabs li a:hover {
    background-color: #e4c490;
    color: var(--text-color);
    border-radius: 6px 6px 0 0;
    border: 1px solid var(--tile-border-color);
}

#p-search {
    background: none;
    padding: 0.5em;
}

#searchInput {
    border: 1px solid var(--body-dark);
    padding: 6px;
    border-radius: 6px;
    background-color: var(--search-box);
}

#footer {
    background-color: #e7d6b2;
    border-top: 2px solid #d0b075;
    padding: 1em;
    color: var(--text-color);
    font-size: 0.9em;
}

.button-custom {
    background-color: var(--button-background);
    color: var(--button-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: "Garamond", serif;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.button-custom:hover {
    background-color: #553c24;
}

.mainpage-box {
    border: 1px solid var(--tile-border-color);
    background: var(--tile-background-color);
    padding: 1em;
    margin-bottom: 1em;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.05);
    border-radius: 6px;
}

.mainpage-box h2 {
    font-family: "Cinzel", serif;
    color: var(--byline-color);
    border-bottom: 1px solid var(--tile-border-color);
    padding-bottom: 0.2em;
    margin-bottom: 0.5em;
}

table.wikitable {
    background: #fff7e6;
    border: 1px solid #c9a76c;
}

th, td {
    border: 1px solid #c9a76c;
    padding: 0.5em;
}

th {
    background: #f0e2c3;
    color: var(--text-color);
}

.mw-message-box {
    border-color: var(--tile-border-color);
    background-color: #fffaf0;
    color: var(--text-color);
}

#footer-icons, #f-poweredbyico, #f-copyrightico {
    display: none;
}