MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| Line 8: | Line 6: | ||
/* ============================= */ | /* ============================= */ | ||
#p-tb { | #p-tb { | ||
display: none; | display: none; | ||
} | } | ||
| Line 37: | Line 35: | ||
} | } | ||
body { | body { | ||
background-image: url("https://treeverse.wiki/images/ | background-image: url("https://treeverse.wiki/images/b/be/45.57.jpg"); | ||
background-size: cover; | background-size: cover; | ||
background-position: center center; | background-position: center center; | ||
| Line 46: | Line 43: | ||
} | } | ||
body::before { | body::before { | ||
content: ""; | content: ""; | ||
position: fixed; | position: fixed; | ||
inset: 0; | inset: 0; | ||
background: rgba(0, 0, 0, 0.25); | background: rgba(0,0,0,0.25); | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
| Line 86: | Line 82: | ||
-webkit-backdrop-filter: blur(8px); | -webkit-backdrop-filter: blur(8px); | ||
padding: 32px; | padding: 32px; | ||
border-radius: | border-radius: 12px; | ||
box-shadow: 0 20px 60px rgba(0,0,0,0.35); | box-shadow: 0 20px 60px rgba(0,0,0,0.35); | ||
} | } | ||
| Line 259: | Line 255: | ||
/* ============================= */ | /* ============================= */ | ||
/* INFOBOX | /* NPC INFOBOX (STACKED LAYOUT) */ | ||
/* ============================= */ | /* ============================= */ | ||
.infobox { | .infobox { | ||
float: | |||
clear: | float: none !important; | ||
width: | clear: both; | ||
margin: 0 auto 30px auto; | |||
width: 460px; | |||
max-width: 95%; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
font-size: 90%; | font-size: 90%; | ||
background: | |||
background: #0f141d; | |||
box-shadow: 0 | color: #ffffff; | ||
border-radius: 12px; | |||
overflow: hidden; | |||
box-shadow: 0 12px 35px rgba(0,0,0,0.45); | |||
} | } | ||
.infobox th, | .infobox th, | ||
.infobox td { | .infobox td { | ||
padding: | padding: 10px 12px; | ||
border-top: 1px solid rgba(255,255,255,0.08); | |||
border-top: 1px solid | |||
} | } | ||
| Line 285: | Line 289: | ||
width: 40%; | width: 40%; | ||
font-weight: 600; | font-weight: 600; | ||
color: # | color: #8fa6d8; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
background: #1a2233; | |||
color: #ffffff !important; | |||
font-size: 130%; | font-size: 130%; | ||
text-align: center !important; | text-align: center !important; | ||
padding: | padding: 14px; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center !important; | text-align: center !important; | ||
padding: | padding: 16px; | ||
} | |||
.infobox-image img { | |||
width: 100%; | |||
max-width: 560px; | |||
height: auto; | |||
border-radius: 8px; | |||
} | |||
/* ============================= */ | |||
/* EDIT MODE READABILITY FIX */ | |||
/* ============================= */ | |||
body.action-edit #content, | |||
body.action-submit #content { | |||
background: #ffffff !important; | |||
} | |||
body.action-edit, | |||
body.action-submit { | |||
color: #000000 !important; | |||
} | |||
body.action-edit textarea, | |||
body.action-submit textarea { | |||
background: #ffffff !important; | |||
color: #000000 !important; | |||
} | |||
body.action-edit .mw-warning, | |||
body.action-submit .mw-warning { | |||
color: #000000 !important; | |||
} | |||
body.action-edit a, | |||
body.action-submit a { | |||
color: #0645ad !important; | |||
} | |||
/* ============================= */ | |||
/* NPC CARD GRID */ | |||
/* ============================= */ | |||
.npc-card { | |||
background:#0f141d; | |||
padding:16px; | |||
border-radius:10px; | |||
text-align:center; | |||
font-weight:600; | |||
box-shadow:0 8px 20px rgba(0,0,0,.4); | |||
} | |||
/* ============================= */ | |||
/* MOBILE MENU TEXT FIX */ | |||
/* ============================= */ | |||
.citizen-drawer a, | |||
.citizen-drawer .citizen-sidebar__item, | |||
.citizen-drawer .citizen-sidebar__item a { | |||
color: #000000 !important; | |||
} | |||
.citizen-drawer h2, | |||
.citizen-drawer h3 { | |||
color: #1a2233 !important; | |||
} | |||
/* ============================= */ | |||
/* CITIZEN SIDEBAR TEXT FIX */ | |||
/* ============================= */ | |||
.citizen-sidebar__label { | |||
color: #ffffff !important; | |||
} | |||
.citizen-sidebar__heading { | |||
color: #ffffff !important; | |||
} | |||
.citizen-sidebar__link:hover .citizen-sidebar__label { | |||
color: #cfe2ff !important; | |||
} | |||
.citizen-sidebar { | |||
text-shadow: 0 1px 3px rgba(0,0,0,0.8); | |||
} | |||
/* Make sidebar navigation links always white */ | |||
.citizen-drawer .citizen-menu__item > a, | |||
.citizen-drawer .citizen-menu__heading { | |||
color: #ffffff !important; | |||
} | |||
.citizen-drawer a { | |||
color: #ffffff !important; | |||
} | |||
body, html { | |||
cursor: url('/treeverse.cur'), auto !important; | |||
} | |||
a { | |||
cursor: url('/firetree.cur'), pointer !important; | |||
} | } | ||