MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
| Line 259: | Line 259: | ||
max-width: 75em; | max-width: 75em; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
/* === ArcheAge Classic MediaWiki Theme === */ | |||
/* ===== GLOBAL STYLES ===== */ | |||
body { | |||
background: url('/wiki/File:Parchment-bg.jpg') repeat; | |||
font-family: "Garamond", serif; | |||
color: #3e2f1c; | |||
margin: 0; | |||
} | |||
/* ===== MAIN CONTENT STYLING ===== */ | |||
#content { | |||
background-color: rgba(255, 255, 240, 0.95); | |||
border: 1px solid #c7a56c; | |||
padding: 1.5em; | |||
border-radius: 10px; | |||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); | |||
} | |||
#firstHeading { | |||
font-family: "Cinzel", serif; | |||
color: #5a4228; | |||
font-size: 2em; | |||
border-bottom: 2px solid #a0804f; | |||
padding-bottom: 0.3em; | |||
margin-bottom: 1em; | |||
} | |||
/* ===== SIDEBAR & LOGO ===== */ | |||
#mw-panel { | |||
background: rgba(250, 240, 210, 0.85); | |||
border-right: 2px solid #d8b56a; | |||
} | |||
#p-logo { | |||
background-image: url('/wiki/File:AAC-logo.png'); | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
height: 160px; | |||
} | |||
/* ===== LINKS & NAVIGATION ===== */ | |||
a, | |||
a:visited { | |||
color: #4c7031; | |||
text-decoration: none; | |||
font-weight: bold; | |||
} | |||
a:hover { | |||
color: #2a4d1d; | |||
text-decoration: underline; | |||
} | |||
/* ===== NAVIGATION TABS ===== */ | |||
.vectorTabs .selected a, | |||
.vectorTabs li a:hover { | |||
background-color: #e4c490; | |||
color: #3e2f1c; | |||
border-radius: 6px 6px 0 0; | |||
border: 1px solid #b08b52; | |||
} | |||
/* ===== HEADER SEARCH ===== */ | |||
#p-search { | |||
background: none; | |||
padding: 0.5em; | |||
} | |||
#searchInput { | |||
border: 1px solid #c7a56c; | |||
padding: 4px; | |||
border-radius: 4px; | |||
} | |||
/* ===== FOOTER ===== */ | |||
#footer { | |||
background-color: #e7d6b2; | |||
border-top: 2px solid #d0b075; | |||
padding: 1em; | |||
color: #3e2f1c; | |||
} | |||
/* ===== CUSTOM BUTTONS (if desired) ===== */ | |||
.button-custom { | |||
background-color: #6a4d2e; | |||
color: #fff; | |||
border: none; | |||
padding: 10px 20px; | |||
border-radius: 6px; | |||
font-family: "Garamond", serif; | |||
font-size: 1em; | |||
cursor: pointer; | |||
} | |||
.button-custom:hover { | |||
background-color: #553c24; | |||
} | |||
/* ===== HOMEPAGE BOXES ===== */ | |||
.mainpage-box { | |||
border: 1px solid #b08b52; | |||
background: #fffaf0; | |||
padding: 1em; | |||
margin-bottom: 1em; | |||
box-shadow: 2px 2px 8px rgba(0,0,0,0.1); | |||
border-radius: 6px; | |||
} | |||
.mainpage-box h2 { | |||
font-family: "Cinzel", serif; | |||
color: #5a4228; | |||
border-bottom: 1px solid #c9a76c; | |||
padding-bottom: 0.2em; | |||
} | |||
/* ===== TABLE STYLING ===== */ | |||
table.wikitable { | |||
background: #fff7e6; | |||
border: 1px solid #c9a76c; | |||
} | |||
th, td { | |||
border: 1px solid #c9a76c; | |||
padding: 0.5em; | |||
} | |||
th { | |||
background: #f0e2c3; | |||
color: #3e2f1c; | |||
} | |||
/* ===== MEDIAWIKI NOTICES ===== */ | |||
.mw-message-box { | |||
border-color: #b08b52; | |||
background-color: #fffaf0; | |||
color: #3e2f1c; | |||
} | |||
/* Optional: Hide mediawiki branding */ | |||
#footer-icons, #f-poweredbyico, #f-copyrightico { | |||
display: none; | |||
} | } | ||
Revision as of 14:19, 20 May 2025
/* CSS placed here will be applied to all skins */
:root {
--body-main: #e2dbc8;
--body-light: #d8ccb4;
--body-mid: #d0bd97;
--body-dark: #b8a282;
--body-border: #94866d;
--body-background-color: #c0a886;
--button-background: #605443;
--button-color: #fff;
--button-border: #3c352a;
--button-dark: #18140c;
--button-light: #3a301d;
--sidebar: #cfc08d;
--background-text-color: #444;
--background-link-color: #52351e;
--search-box: #efeee6;
--link-color: #936039;
--redlink-color: #ba0000;
--text-color: #000;
--byline-color: #4c4c4c;
--subtle-color: #777;
--admin-blue: #332e75;
--bearcat-green: #13592e;
--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-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;
}
.tile {
background: var(--tile-background-color);
border: 1px solid var(--tile-border-color);
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
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 {
color: var(--tile-dark-link-color);
}
.tile.dark .byline {
color: var(--tile-dark-byline-color);
}
.byline {
font-size: 0.9em;
color: var(--byline-color);
}
.byline a {
color: var(--byline-color);
}
.tile-row {
display: flex;
flex-flow: row wrap;
margin-bottom: 1em;
}
.tile-halves {
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;
align-items: center;
background-color: var(--byline-color);
overflow: hidden;
padding: 0;
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 {
width: 100%;
object-fit: cover;
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;
}
.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;
text-align: right;
}
.tile-bottom.read-more:hover {
background: var(--tile-link-button-highlight-color);
}
.tile-bottom.read-more:hover .arrow {
transform: translateX(50%);
}
.tile-bottom.read-more .arrow {
filter: var(--byline-arrow-filter);
margin-left: 0.4em;
transition: 0.3s ease-out;
}
.mainpage-body .tile {
padding-left: 1.75em;
padding-right: 1.75em;
max-width: 100%;
}
.mainpage-body .tile-row {
width: 100%;
margin-bottom: 0;
}
.mainpage-body .tile-row {
display: grid;
gap: 0.9rem;
}
.mainpage-recent-updates .tile-halves {
flex: 1;
align-content: flex-start;
}
.mainpage-recent-updates .tile-halves:hover .tile-top img {
transform: scale(1.04);
}
.mainpage-recent-updates .tile-halves .tile-top span {
width: 100%;
}
.mainpage-recent-updates .tile-bottom.link-button a {
text-align: left;
padding: 1rem 1.5rem 0.75rem;
}
.mainpage-contents {
grid-area: content;
grid-template-columns: repeat(6, 1fr);
}
.mainpage-contents .tile-halves {
flex: 1;
}
.mainpage-contents .tile-top {
position: relative;
}
.mainpage-contents h2 {
margin: 0;
padding: 0;
}
.mainpage-contents .tile-bottom.link-button a {
padding: 0.75em 0.2em;
}
.mainpage {
max-width: 75em;
margin: 0 auto;
}
/* === ArcheAge Classic MediaWiki Theme === */
/* ===== GLOBAL STYLES ===== */
body {
background: url('/wiki/File:Parchment-bg.jpg') repeat;
font-family: "Garamond", serif;
color: #3e2f1c;
margin: 0;
}
/* ===== MAIN CONTENT STYLING ===== */
#content {
background-color: rgba(255, 255, 240, 0.95);
border: 1px solid #c7a56c;
padding: 1.5em;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
#firstHeading {
font-family: "Cinzel", serif;
color: #5a4228;
font-size: 2em;
border-bottom: 2px solid #a0804f;
padding-bottom: 0.3em;
margin-bottom: 1em;
}
/* ===== SIDEBAR & LOGO ===== */
#mw-panel {
background: rgba(250, 240, 210, 0.85);
border-right: 2px solid #d8b56a;
}
#p-logo {
background-image: url('/wiki/File:AAC-logo.png');
background-size: contain;
background-repeat: no-repeat;
height: 160px;
}
/* ===== LINKS & NAVIGATION ===== */
a,
a:visited {
color: #4c7031;
text-decoration: none;
font-weight: bold;
}
a:hover {
color: #2a4d1d;
text-decoration: underline;
}
/* ===== NAVIGATION TABS ===== */
.vectorTabs .selected a,
.vectorTabs li a:hover {
background-color: #e4c490;
color: #3e2f1c;
border-radius: 6px 6px 0 0;
border: 1px solid #b08b52;
}
/* ===== HEADER SEARCH ===== */
#p-search {
background: none;
padding: 0.5em;
}
#searchInput {
border: 1px solid #c7a56c;
padding: 4px;
border-radius: 4px;
}
/* ===== FOOTER ===== */
#footer {
background-color: #e7d6b2;
border-top: 2px solid #d0b075;
padding: 1em;
color: #3e2f1c;
}
/* ===== CUSTOM BUTTONS (if desired) ===== */
.button-custom {
background-color: #6a4d2e;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-family: "Garamond", serif;
font-size: 1em;
cursor: pointer;
}
.button-custom:hover {
background-color: #553c24;
}
/* ===== HOMEPAGE BOXES ===== */
.mainpage-box {
border: 1px solid #b08b52;
background: #fffaf0;
padding: 1em;
margin-bottom: 1em;
box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
border-radius: 6px;
}
.mainpage-box h2 {
font-family: "Cinzel", serif;
color: #5a4228;
border-bottom: 1px solid #c9a76c;
padding-bottom: 0.2em;
}
/* ===== TABLE STYLING ===== */
table.wikitable {
background: #fff7e6;
border: 1px solid #c9a76c;
}
th, td {
border: 1px solid #c9a76c;
padding: 0.5em;
}
th {
background: #f0e2c3;
color: #3e2f1c;
}
/* ===== MEDIAWIKI NOTICES ===== */
.mw-message-box {
border-color: #b08b52;
background-color: #fffaf0;
color: #3e2f1c;
}
/* Optional: Hide mediawiki branding */
#footer-icons, #f-poweredbyico, #f-copyrightico {
display: none;
}