MediaWiki:Common.css

From Revenant Elegy Wiki
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

body.skin-vector .mw-body,
body.skin-vector-2022 .mw-body {
    background: #f3f4f6;
}

.mp-muted {
    color: #6b7280;
}

.mp-center {
    text-align: center;
}

.naviClickable {
	cursor: pointer;
	font-weight: 600;
	color: #2a6db0;
	background: rgba(42, 109, 176, 0.08);
	padding: 2px 6px;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.naviClickable:hover {
	background: rgba(42, 109, 176, 0.18);
	color: #174a7c;
}

.naviClickable.naviActive {
	color: #1a7f37;
	background: rgba(26, 127, 55, 0.15);
}

.naviClickable.naviError {
	color: #a33;
	background: rgba(170, 51, 51, 0.15);
}


.skill-info {
    float: right;
    clear: right;
    width: 280px;
    margin: 0 0 1em 1.25em;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    color: #202122;
    font-size: 0.95em;
    line-height: 1.4;
}

.skill-info table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.skill-info td,
.skill-info th {
    padding: 6px 8px;
    vertical-align: top;
    border-top: 1px solid #eaecf0;
}

.skill-info tr:first-child td,
.skill-info tr:first-child th {
    border-top: 0;
}

.skill-info .skill-header {
    background: #eaecf0;
    text-align: center;
    font-weight: bold;
    font-size: 1.05em;
    padding: 8px;
    border-bottom: 1px solid #a2a9b1;
}

.skill-info .skill-image {
    text-align: center;
    background: #ffffff;
    padding: 10px 8px;
    border-bottom: 1px solid #eaecf0;
}

.skill-info .skill-image img {
    max-width: 100%;
    height: auto;
}

.skill-info .label {
    width: 38%;
    font-weight: bold;
    white-space: nowrap;
    background: #f8f9fa;
}

.skill-info .value {
    width: 62%;
    background: #ffffff;
}

.skill-info .section {
    background: #eaecf0;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
}

.skill-info .prereq {
    background: #ffffff;
    text-align: left;
}

.skill-info a {
    text-decoration: none;
}

.skill-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .skill-info {
        float: none;
        width: 100%;
        margin: 0 0 1em 0;
    }
}