📌 Current mission: start filling the wiki — create pages, upload images, and join the Discord!
MediaWiki:Common.css
From Asylum Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Asylum Wiki — sitewide styles (MonoBook base, classic-wiki look with modern polish).
Edit live at https://4sylum.com/wiki/MediaWiki:Common.css (sysop only). */
/* ===== page chrome ===== */
body {
background-color: #f9f9f9;
background-image: linear-gradient(rgba(115, 124, 190, 0.35), rgba(115, 124, 190, 0.10) 220px, rgba(0, 0, 0, 0) 480px);
background-repeat: no-repeat;
}
a { color: #002bb8; }
a:visited { color: #5a3696; }
a.new, #p-cactions a.new { color: #cc2200; }
/* content pane */
#content {
border: 1px solid #8888cc;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(60, 60, 120, 0.15);
}
/* page tabs (main page / discussion / edit / history) */
#p-cactions li {
border: 1px solid #8888cc;
border-bottom: none;
border-radius: 6px 6px 0 0;
}
#p-cactions li a {
border-radius: 6px 6px 0 0;
}
/* sidebar boxes */
.portlet h3,
.portlet h5 {
background: #ababff;
border: 1px solid #8888cc;
border-bottom: none;
border-radius: 6px 6px 0 0;
padding: 3px 8px;
font-weight: bold;
color: #1a1a4e;
}
.portlet .pBody {
border: 1px solid #8888cc;
border-radius: 0 0 6px 6px;
background: #fdfdff;
}
#searchInput { border-radius: 4px; }
/* footer */
#footer {
border: 1px solid #8888cc;
border-radius: 8px;
background: #eef2ff;
}
/* sitenotice banner */
#siteNotice {
background: #fffbe6;
border: 1px solid #d4c766;
border-radius: 6px;
padding: 3px 10px;
margin: 4px 8px 8px;
font-size: 95%;
text-align: center;
}
/* ===== article niceties (every page should look good) ===== */
#toc, .toc {
border: 1px solid #8888cc;
border-radius: 6px;
background: #eef2ff;
padding: 6px 12px;
}
table.wikitable {
background: #f8f9ff;
border: 1px solid #8888cc;
border-radius: 6px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
}
table.wikitable > * > tr > th {
background: #d6daf0;
border: 1px solid #aaaabb;
}
table.wikitable > * > tr > td { border: 1px solid #ccccdd; }
div.thumbinner {
border: 1px solid #8888cc;
border-radius: 6px;
background: #f8f9ff;
}
blockquote {
border-left: 4px solid #ababff;
background: #eef2ff;
border-radius: 0 6px 6px 0;
padding: 6px 12px;
margin-left: 0;
}
/* infobox helper for article pages — use class="infobox" on a table */
.infobox {
float: right;
clear: right;
width: 270px;
margin: 0 0 12px 14px;
background: #f8f9ff;
border: 1px solid #8888cc;
border-radius: 6px;
font-size: 90%;
}
.infobox th { background: #d6daf0; }
.infobox-title {
background: #ababff;
border-radius: 5px 5px 0 0;
font-weight: bold;
text-align: center;
padding: 4px;
}
/* ===== main-page building blocks (asy-*) ===== */
.asy-outer {
background: #eef2ff;
border: 1px solid #8888cc;
border-radius: 8px;
padding: 12px 18px;
margin-bottom: 12px;
box-shadow: 0 1px 3px rgba(60, 60, 120, 0.12);
}
.asy-header {
background: linear-gradient(#e4e7fb, #ababff);
text-align: center;
padding: 14px 20px;
}
.asy-header-flex {
display: flex;
align-items: center;
justify-content: center;
gap: 28px;
}
.asy-header-side img {
border-radius: 50%;
border: 3px solid #6a6ad0;
box-shadow: 0 2px 6px rgba(40, 40, 100, 0.3);
}
.asy-title { font-size: 30px; font-weight: bold; }
.asy-title .asy-name { color: #2929cc; }
.asy-tagline { font-style: italic; margin-top: 2px; font-size: 115%; }
.asy-serving { margin-top: 4px; }
.asy-cta { color: #a00000; font-weight: bold; margin-top: 6px; }
.asy-navlinks {
border-top: 1px solid #8888cc;
margin-top: 10px;
padding-top: 6px;
}
.asy-columns { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.asy-col {
flex: 1;
background: #eef2ff;
border: 1px solid #8888cc;
border-radius: 8px;
padding: 10px 14px;
box-shadow: 0 1px 3px rgba(60, 60, 120, 0.12);
}
.asy-col h2, .asy-outer h2 {
color: #a00000;
border-bottom: none;
text-align: center;
font-size: 24px;
font-weight: bold;
margin-top: 2px;
}
/* window-style inner boxes (retro OS window chrome) */
.asy-window {
background: #fff;
border: 1px solid #7d7dbe;
border-radius: 4px;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.18);
overflow: hidden;
}
.asy-titlebar {
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(90deg, #ababff, #d0d4f7);
border-bottom: 1px solid #7d7dbe;
padding: 2px 6px;
font-weight: bold;
font-size: 92%;
}
.asy-titlebar .asy-x {
display: inline-block;
width: 16px;
height: 16px;
line-height: 14px;
text-align: center;
background: #e8e8f5;
border: 1px solid #7d7dbe;
border-radius: 3px;
font-size: 10px;
}
.asy-window-body { padding: 10px 12px; }
/* legacy inner box (still used in places) */
.asy-box-inner {
background: #fff;
border: 1px solid #8888cc;
border-radius: 4px;
padding: 10px;
}
/* portals */
.asy-portal-grid {
display: flex;
flex-wrap: wrap;
gap: 6px;
justify-content: center;
}
.asy-portal {
flex: 0 0 170px;
height: 60px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
border: 1px solid rgba(0, 0, 0, 0.35);
padding: 0 5px;
transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.asy-portal:hover {
transform: translateY(-2px);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.asy-portal a { font-weight: bold; font-size: 110%; text-decoration: none; }
.asy-portal.c1 { background: #ffffff; }
.asy-portal.c2 { background: #eef2ff; }
.asy-portal.c3 { background: #f2f2f2; }
.asy-portal.c4 { background: #8899aa; }
.asy-portal.c4 a { color: #fff !important; }
.asy-portal.c5 { background: #b1cc6a; }
.asy-portal.c6 { background: #f5e0ff; }
.asy-portal.c7 { background: #b57245; }
.asy-portal.c7 a { color: #fff !important; }
.asy-portal.c8 { background: #192d2c; }
.asy-portal.c8 a { color: #fff !important; }
.asy-events li { margin-bottom: 4px; }
.asy-footnote { text-align: center; font-size: 90%; margin-top: 6px; }
@media (max-width: 800px) {
.asy-columns { flex-direction: column; }
.asy-header-flex { flex-direction: column; gap: 10px; }
.asy-portal { flex: 1 1 40%; }
}