MediaWiki:Common.css: Difference between revisions

From Discord Dungeons Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
body.wgl-darkmode {
body.wgl-darkmode {
   --body-main: #172136;
   --body-main: #172136;
   --body-light: #d8ccb4;
   --body-light: #313e59;
   --body-mid: #d0bd97;
   --body-mid: #293753;
   --body-dark: #313e59;
   --body-dark: #222e45;
   --body-border: #596e96;
   --body-border: #596e96;
   --body-background-color: #071022;
   --body-background-color: #071022;
Line 53: Line 53:
   --base-heading-color: #444e5a;
   --base-heading-color: #444e5a;
   --base-heading-border: #e4eaee;
   --base-heading-border: #e4eaee;
   --mw-code-background-color: #ddd4bb;
   --mw-code-background-color: #313e59;
}
}



Revision as of 08:11, 31 March 2022

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
: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;
  --sidebar-text-color: #444444;
  --sidebar-link-color: #442b18;
  --background-text-color: #444;
  --background-link-color: #52351e;
  --search-box: #efeee6;
  --link-color: #936039;
  --redlink-color: #ba0000;
  --text-color: #000;
  --base-text-color: #444e5a;
  --base-heading-color: #444e5a;
  --base-heading-border: #e4eaee;
  --mw-code-background-color: #ddd4bb;
  --ul-list-style-image: url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='5' height='13'%3E %3Ccircle cx='2.5' cy='9.5' r='2.5' fill='%234c4c4c'/%3E %3C/svg%3E");
  --body-background-image: url("filepath://wiki-background.png");
}

body.wgl-darkmode {
  --body-main: #172136;
  --body-light: #313e59;
  --body-mid: #293753;
  --body-dark: #222e45;
  --body-border: #596e96;
  --body-background-color: #071022;
  --button-background: #605443;
  --button-color: #fff;
  --button-border: #3c352a;
  --button-dark: #18140c;
  --button-light: #3a301d;
  --sidebar: #596e96;
  --sidebar-text-color: #444444;
  --sidebar-link-color: #442b18;
  --background-text-color: #444;
  --background-link-color: #52351e;
  --search-box: #efeee6;
  --link-color: #8cabe6;
  --redlink-color: #ba0000;
  --text-color: #cbd9f4;
  --base-text-color: #444e5a;
  --base-heading-color: #444e5a;
  --base-heading-border: #e4eaee;
  --mw-code-background-color: #313e59;
}

#mw-page-base {
  background: none;
}

.mw-body {
  background-color: var(--body-main);
  color: var(--text-color);
  border-color: transparent;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
}

h1,
h2 {
  border-color: var(--sidebar);
}

.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
  font-family: "PT Serif", "Palatino", "Georgia", serif;
}

.mw-parser-output h2:first-of-type {
  clear: left;
}

pre,
code,
.mw-code {
  color: inherit;
  background-color: var(--mw-code-background-color);
  border: 1px solid var(--body-border);
}

ul {
  list-style-image: var(--ul-list-style-image);
}

.mw-content-ltr ol {
  margin-bottom: 0.8em;
}

dl {
  margin: 0;
}

dd {
  min-width: 17.85em;
}

hr {
  background: none;
  border-color: var(--sidebar);
  border-style: solid;
  border-width: 1px 0 0 0;
  height: initial;
}

.mw-footer li {
  color: var(--background-text-color);
}

.mw-footer a,
.mw-footer a:active,
.mw-footer a:visited {
  color: var(--background-link-color);
}

a,
image a {
  color: var(--link-color);
}

a:visited,
image a:visited,
a:active,
image a:active {
  color: var(--link-color);
}

a.new,
image a.new {
  color: var(--redlink-color);
}

a.new:visited,
image a.new:visited {
  color: var(--redlink-color);
}

.mw-body-content a.external,
.mw-body-content a.extiw {
  color: var(--link-color);
}

.mw-body-content a.external:visited,
.mw-body-content a.extiw:visited,
.mw-body-content a.external:active,
.mw-body-content a.extiw:active {
  color: var(--link-color);
}

.jsPurgeLink a.external {
  color: var(--link-color);
}

:root {
  --admin-blue:	#332e75;
  --bearcat-green:	#13592e;
  --awb-purple:	#933b96;
  --rsw-blue:	#438ab6;
  --osrsw-brown:	#605443;
}

body.wgl-darkmode {
  --admin-blue:	#332e75;
  --bearcat-green:	#13592e;
  --awb-purple:	#933b96;
  --rsw-blue:	#438ab6;
  --osrsw-brown:	#605443;
}

a[href="/User:Alsatian"],
a[href="/User:Felix Argyle"],
a[href="/User:Saedrup92"] {
  color: var(--admin-blue);
}

a[href="/User:Holroybot"] {
  color: var(--awb-purple);
}

a[href="/User:Mackan"] {
  color: var(--bearcat-green);
}

.catlinks {
  background: var(--body-light);
  border: 1px solid var(--body-dark);
  padding: 8px 15px;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.catlinks li {
  border-color: var(--body-mid);
}

:root {
  --documentation-background: #f9fafa;
  --documentation-link-color: #e4eaee;
  --documentation-headers-color: #fff;
  --documentation-header-background: #949eaa;
  --documentation-subheader-background: #808c9a;
  --documentation-border: #e4eaee;
  --mw-templatedata-doc-muted-color: #888;
}

body.wgl-darkmode {
  --documentation-background: #f9fafa;
  --documentation-link-color: #e4eaee;
  --documentation-headers-color: #fff;
  --documentation-header-background: #949eaa;
  --documentation-subheader-background: #808c9a;
  --documentation-border: #e4eaee;
  --mw-templatedata-doc-muted-color: #888;
}

.documentation {
  background: var(--documentation-background);
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.documentation pre,
.documentation code {
  background-color: var(--documentation-background);
  border-color: var(--documentation-border);
}

.documentation h2,
.documentation hr {
  border-color: var(--documentation-border);
}

.documentation-header {
  color: var(--documentation-headers-color);
  background: var(--documentation-header-background);
  font-weight: bold;
  padding: 1em 1.5em;
}

.documentation-title {
  font-size: 1.25em;
}

.documentation-subheader {
  color: var(--documentation-headers-color);
  background: var(--documentation-subheader-background);
  padding: 0.5em 1.5em;
}

.documentation-subheader a,
.documentation-subheader a:visited,
.documentation-subheader a:active {
  color: var(--documentation-link-color);
}

.documentation-documentation,
.documentation-links {
  font-size: 0.85em;
}

.documentation-content {
  padding: 1em 1.5em;
}

.mw-templatedata-doc-params dl {
  column-count: 3;
  border-top: 1px solid var(--body-border);
  margin-bottom: 0.7em;
}

.mw-templatedata-doc-params dt::after {
  content: ":";
}

.mw-templatedata-doc-params dd,
.mw-templatedata-doc-params dt {
  margin: 0.1em 2em;
  min-width: auto;
}

.mw-templatedata-doc-muted {
  color: var(--mw-templatedata-doc-muted-color);
  font-style: italic;
}

.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
  background: var(--body-main);
}

.mw-echo-ui-crossWikiUnreadFilterWidget {
  border-color: var(--border-body);
}

.mw-echo-ui-notificationItemWidget {
  background-color: var(--body-main);
  border-color: var(--body-border);
}

.mw-echo-ui-notificationItemWidget:hover,
.mw-echo-ui-notificationItemWidget.mw-echo-ui-notificationItemWidget-unread:hover {
  background-color: var(--body-mid);
}

.mw-echo-ui-notificationItemWidget.mw-echo-ui-notificationItemWidget-unread {
  background-color: var(--search-box);
}

.mw-echo-ui-notificationItemWidget-content-message-header,
.mw-echo-ui-notificationItemWidget-content-message-body,
.mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
  color: var(--ooui-text);
}

.mw-echo-ui-bundleNotificationItemWidget-group {
  background-color: var(--body-main);
}

.mw-echo-ui-notificationItemWidget:last-child {
  border-bottom-color: var(--body-border);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-footer .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
  background-color: var(--body-mid);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement:last-child {
  border-color: var(--ooui-interface-border);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup .mw-echo-ui-placeholderItemWidget {
  background-color: inherit;
}

:root {
  --note-obsolete-background: #cfcfcf;
  --note-obsolete-border: #464646;
  --note-obsolete-color: #6c6c6c;
  --note-info-background: #ebebeb;
  --note-info-border: #898989;
  --note-info-color: #6c6c6c;
  --note-action-background: #c7e8fa;
  --note-action-border: #0b5884;
  --note-action-color: #03436b;
  --note-warn-background: #dfc0ba;
  --note-warn-border: #861c10;
  --note-warn-color: #8e221a;
  --note-safe-background: #d8f0d3;
  --note-safe-border: #1b8408;
  --note-safe-color: #1b8408;
  --note-disambig-background: #ebebeb;
  --note-disambig-border: #898989;
  --note-disambig-color: #6c6c6c;
  --note-discord-background: #5865f2;
  --note-discord-border: #4c57d0;
  --note-discord-color: #d2e5fc;
}

body.wgl-darkmode {
  --note-obsolete-background: #cfcfcf;
  --note-obsolete-border: #464646;
  --note-obsolete-color: #6c6c6c;
  --note-info-background: #ebebeb;
  --note-info-border: #898989;
  --note-info-color: #6c6c6c;
  --note-action-background: #c7e8fa;
  --note-action-border: #0b5884;
  --note-action-color: #03436b;
  --note-warn-background: #dfc0ba;
  --note-warn-border: #861c10;
  --note-warn-color: #8e221a;
  --note-safe-background: #d8f0d3;
  --note-safe-border: #1b8408;
  --note-safe-color: #1b8408;
  --note-disambig-background: #ebebeb;
  --note-disambig-border: #898989;
  --note-disambig-color: #6c6c6c;
  --note-discord-background: #5865f2;
  --note-discord-border: #4c57d0;
  --note-discord-color: #d2e5fc;
}

.note {
  color: var(--text-color);
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border: 0;
  border-left: 15px solid var(--body-dark);
  background-color: var(--body-light);
  padding: 0;
}

.note.obsolete {
  background-color: var(--note-obsolete-background);
  border-color: var(--note-obsolete-border);
}

.note.obsolete a,
.note.obsolete a:visited,
.note.obsolete a:active {
  color: var(--note-obsolete-color);
}

.note.info {
  background-color: var(--note-info-background);
  border-color: var(--note-info-border);
}

.note.info a,
.note.info a:visited,
.note.info a:active {
  color: var(--note-info-color);
}

.note.action {
  background-color: var(--note-action-background);
  border-color: var(--note-action-border);
}

.note.action a,
.note.action a:visited,
.note.action a:active {
  color: var(--note-action-color);
}

.note.warn {
  background-color: var(--note-warn-background);
  border-color: var(--note-warn-border);
}

.note.warn a,
.note.warn a:visited,
.note.warn a:active {
  color: var(--note-warn-color);
}

.note.safe {
  background-color: var(--note-safe-background);
  border-color: var(--note-safe-border);
}

.note.safe a,
.note.safe a:visited,
.note.safe a:active {
  color: var(--note-safe-color);
}

.note.disambig {
  background-color: var(--note-disambig-background);
  border-color: var(--note-disambig-border);
}

.note.disambig a,
.note.disambig a:visited,
.note.disambig a:active {
  color: var(--note-disambig-color);
}

.note.discord {
  background-color: var(--note-discord-background);
  border-color: var(--note-discord-border);
  color: white;
}

.note.discord a,
.note.discord a:visited,
.note.discord a:active {
  color: var(--note-discord-color);
}

.note.discord a.external.text,
.note.discord a:visited.external.text,
.note.discord a:active.external.text {
  color: var(--note-discord-color);
  font-style: italic;
}

.note.stub {
  width: 40%;
}

.note.hasdialogue {
  padding: 0 10px;
  width: auto;
}

.mw-notification {
  background-color: var(--body-light);
  border-color: var(--body-border);
  color: var(--text-color);
}

:root {
  --ooui-text: var(--text-color);
  --ooui-interface: var(--body-light);
  --ooui-interface-border: var(--body-border);
  --ooui-window-background: rgba(255, 255, 255, 0.5);
  --oo-ui-pending-background-image: repeating-linear-gradient(-45deg, var(--search-box), var(--search-box) 20px, var(--body-main) 20px, var(--body-main) 30px);
}

body.wgl-darkmode {
  --ooui-window-background: rgba(255, 255, 255, 0.5);
}

@keyframes stripe {
  100% {
    background-position: 100%;
  }
}
.oo-ui-widget {
  color: var(--ooui-text);
}

.oo-ui-panelLayout-framed {
  border-color: var(--sidebar);
}

.oo-ui-window-content {
  background-color: var(--ooui-interface);
  color: var(--ooui-text);
}

.oo-ui-window-content .oo-ui-window-body,
.oo-ui-window-content .oo-ui-window-head {
  outline-color: var(--ooui-interface-border);
}

.oo-ui-window-content .oo-ui-actionWidget,
.oo-ui-window-content .oo-ui-window-foot {
  border-color: var(--ooui-interface-border);
  outline-color: var(--ooui-interface-border);
}

.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
  border-color: var(--ooui-interface-border);
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
  color: var(--ooui-text);
}

.oo-ui-popupWidget-popup {
  background-color: var(--ooui-interface);
  border-color: var(--ooui-interface-border);
}

.oo-ui-icon-advanced {
  background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eadvanced%3C/title%3E%3Cpath d=%22M10 2.5a7.5 7.5 0 1 0 7.5 7.5A7.5 7.5 0 0 0 10 2.5zm0 11a3.5 3.5 0 1 1 3.5-3.5 3.5 3.5 0 0 1-3.5 3.5z%22/%3E%3Cpath d=%22M12 3.29L11.5 0h-3L8 3.29a7 7 0 0 1 4 0zM8 16.71L8.5 20h3l.5-3.29a7 7 0 0 1-4 0zm8.16-10.04l2-2.68L16 1.87l-2.68 2a7 7 0 0 1 2.83 2.83zM3.84 13.33L1.87 16 4 18.13l2.68-2a7 7 0 0 1-2.83-2.83zM16.71 12l3.29-.5v-3L16.71 8a7 7 0 0 1 0 4zM3.29 8L0 8.5v3l3.29.5a7 7 0 0 1 0-4zm10.04 8.16l2.68 2L18.13 16l-2-2.68a7 7 0 0 1-2.83 2.83zM6.67 3.84L4 1.87 1.87 4l2 2.68a7 7 0 0 1 2.8-2.84z%22/%3E%3C/svg%3E");
}

.oo-ui-icon-clear {
  background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eclear%3C/title%3E%3Cpath d=%22M10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm5.66 14.24l-1.41 1.41L10 11.41l-4.24 4.25-1.42-1.42L8.59 10 4.34 5.76l1.42-1.42L10 8.59l4.24-4.24 1.41 1.41L11.41 10z%22/%3E%3C/svg%3E");
}

.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:after {
  border-right-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-start .oo-ui-popupWidget-anchor:before {
  border-right-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:after {
  border-left-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-end .oo-ui-popupWidget-anchor:before {
  border-left-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
  border-bottom-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
  border-bottom-color: var(--ooui-interface-border);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
  border-top-color: var(--ooui-interface);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
  border-top-color: var(--ooui-interface-border);
}

.oo-ui-pendingElement-pending {
  background-image: var(--oo-ui-pending-background-image);
  background-size: 200%;
  animation: stripe 6s linear infinite;
}

.oo-ui-windowManager-modal > .oo-ui-dialog {
  background-color: var(--ooui-window-background);
}

:root {
  --tabber-tab-bg: var(--body-light);
  --tabber-tab-border-color: var(--body-border);
  --tabber-active-tab-bg: var(--body-light);
  --tabber-active-tab-color: var(--text-color);
  --tabber-active-tab-hover-bg: var(--body-light);
  --tabber-active-tab-hover-border-color: var(--body-border);
  --tabber-active-tab-hover-color: var(--text-color);
  --tabber-active-tab-border-hider-color: var(--body-light);
  --tabber-inactive-tab-bg: var(--body-background-color);
  --tabber-inactive-tab-border-color: var(--body-border);
  --tabber-inactive-tab-color: var(--text-color);
  --tabber-inactive-tab-hover-bg: var(--body-light);
  --tabber-inactive-tab-hover-border-color: var(--body-border);
}

.tabber {
  margin: 1em 0;
}

.tabber .tabbertab {
  background-color: var(--tabber-tab-bg);
  border: 1px solid var(--tabber-tab-border-color);
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
  padding: 1em 1.5em;
}

ul.tabbernav {
  border: none;
  margin-left: 2em;
  margin-bottom: 0;
  margin-right: 2em;
  padding: 0;
  font-family: inherit;
}

ul.tabbernav li.tabberactive > a {
  background-color: var(--tabber-active-tab-bg);
  color: var(--tabber-active-tab-color);
  border-bottom: none;
  position: relative;
}

ul.tabbernav li.tabberactive > a:hover {
  color: var(--tabber-active-tab-hover-color);
  background-color: var(--tabber-active-tab-hover-bg);
  border-color: var(--tabber-active-tab-hover-border-color);
  border-bottom: none;
}

ul.tabbernav li.tabberactive > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  border-bottom: 2px solid var(--tabber-active-tab-border-hider-color);
}

ul.tabbernav li a {
  background-color: var(--tabber-inactive-tab-bg);
  border-bottom: transparent;
  border-color: var(--tabber-inactive-tab-border-color);
  color: var(--tabber-inactive-tab-color);
  display: inline-block;
  font-size: 110%;
  padding: 0.5em 1em;
}

ul.tabbernav li a:hover {
  background-color: var(--tabber-inactive-tab-hover-bg);
  border-color: var(--tabber-inactive-tab-hover-border-color);
}

ul.tabbernav li a:link,
ul.tabbernav li a:visited {
  color: var(--tabber-inactive-tab-color);
}

.js-tooltip-text {
  padding: 5px;
}

.js-tooltip-wrapper {
  position: absolute;
  z-index: 110;
  max-width: 75%;
  padding: 10px 15px;
  background: var(--body-light);
  border: 2px solid var(--body-border);
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
  font-size: 0.7em;
}

.js-tooltip-click {
  color: var(--button-color);
  background: var(--button-background);
  border-radius: 2em;
  cursor: pointer;
  padding: 0 0.3em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.js-tooltip-arrow {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  width: 0;
  height: 0;
}

.js-tooltip-arrow.js-tooltip-arrow-pointleft {
  border-right-color: var(--body-border);
  border-left-color: transparent;
  border-left-width: 0;
}

.js-tooltip-arrow.js-tooltip-arrow-pointright {
  border-left-color: var(--body-border);
  border-right-color: transparent;
  border-right-width: 0;
}

.js-tooltip-close {
  float: right;
  margin-left: 10px;
  margin-right: -5px;
  margin-top: -5px;
  margin-bottom: 1px;
  background: var(--button-background);
  border: 0;
  cursor: pointer;
}

:root {
  --wikitable-header-bg: var(--body-dark);
  --wikitable-border: var(--body-border);
  --wikitable-bg: var(--body-light);
  --wikitable-bg-lighter: #e9e3d6;
  --wikitable-color: var(--text-color);
  --table-na-background: rgba(255, 255, 255, 0.3);
  --table-na-color: grey;
  --table-yes-background: rgba(0, 255, 0, 0.3);
  --table-yes-color: green;
  --table-no-background: rgba(255, 0, 0, 0.3);
  --table-no-color: red;
  --droptable-text-color: #000;
  --droptable-always-background: #afeeee;
  --droptable-common-background: #56e156;
  --droptable-uncommon-background: #ffed4c;
  --droptable-rare-background: #ff863c;
  --droptable-veryrare-background: #ff6262;
  --droptable-random-background: #ffa3ff;
}

body.wgl-darkmode {
  --wikitable-bg-lighter: #e9e3d6;
  --table-na-background: rgba(255, 255, 255, 0.3);
  --table-na-color: grey;
  --table-yes-background: rgba(0, 255, 0, 0.3);
  --table-yes-color: green;
  --table-no-background: rgba(255, 0, 0, 0.3);
  --table-no-color: red;
  --droptable-text-color: #000;
  --droptable-always-background: #afeeee;
  --droptable-common-background: #56e156;
  --droptable-uncommon-background: #ffed4c;
  --droptable-rare-background: #ff863c;
  --droptable-veryrare-background: #ff6262;
  --droptable-random-background: #ffa3ff;
}

.wikitable {
  background: var(--wikitable-bg);
  color: var(--wikitable-color);
  border-color: var(--wikitable-border);
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
  border-color: var(--wikitable-border);
}

.wikitable > tr > th,
.wikitable > * > tr > th {
  background-color: var(--wikitable-header-bg);
}

.tabber .wikitable {
  box-shadow: none;
}

.table-bg-always,
.table-bg-blue {
  background: var(--droptable-always-background);
  color: var(--droptable-text-color);
}

.table-bg-common,
.table-bg-green {
  background: var(--droptable-common-background);
  color: var(--droptable-text-color);
}

.table-bg-uncommon,
.table-bg-yellow {
  background: var(--droptable-uncommon-background);
  color: var(--droptable-text-color);
}

.table-bg-rare,
.table-bg-orange {
  background: var(--droptable-rare-background);
  color: var(--droptable-text-color);
}

.table-bg-veryrare,
.table-bg-red {
  background: var(--droptable-veryrare-background);
  color: var(--droptable-text-color);
}

.table-bg-random,
.table-bg-pink {
  background: var(--droptable-random-background);
  color: var(--droptable-text-color);
}

.table-bg-calc-grey {
  opacity: 0.6;
  background: #94866d;
}

.mw_metadata td,
.mw_metadata th {
  border-color: var(--wikitable-border);
}

.mw_metadata th {
  background-color: var(--wikitable-header-bg);
}

.mw_metadata td {
  background-color: var(--wikitable-bg);
}

.mw-datatable {
  border-color: var(--wikitable-border);
}

.mw-datatable td,
.mw-datatable th {
  border-color: var(--wikitable-border);
}

.mw-datatable th {
  background-color: var(--wikitable-header-bg);
}

.mw-datatable td {
  background-color: var(--wikitable-bg);
}

.mw-datatable tr:hover td {
  background-color: var(--wikitable-bg);
}

table.alternating-rows tr:nth-child(odd),
table.alternating-cols td:nth-child(odd) {
  background: var(--wikitable-alternating-bg);
}

.table-na {
  background: var(--table-na-background);
  color: var(--table-na-color);
  vertical-align: middle;
  text-align: center;
  -webkit-user-select: none;
  cursor: default;
}

.table-yes {
  background: var(--table-yes-background);
  color: var(--table-yes-color);
}

.table-positive {
  background: var(--table-yes-background);
}

.table-no {
  background: var(--table-no-background);
  color: var(--table-no-color);
}

.table-negative {
  background: var(--table-no-background);
}

#mw-allmessagestable .am_actual,
#mw-allmessagestable .am_default {
  background-color: var(--wikitable-bg);
}

#mw-allmessagestable .am_default:hover,
#mw-allmessagestable .am_actual:hover,
#mw-allmessagestable tbody:hover td {
  background-color: var(--wikitable-bg-lighter);
}

table.wikitable td.no-cell-spacing {
  padding: 0;
  height: 0;
}

table.wikitable td.no-cell-spacing table {
  margin: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
}

.no-list-style li {
  list-style: none;
}

.no-list-style ul,
.no-list-style ol,
.no-list-style li {
  margin-left: 0;
}

table.align-right-1 td:nth-of-type(1),
table.align-right-2 td:nth-of-type(2),
table.align-right-3 td:nth-of-type(3),
table.align-right-4 td:nth-of-type(4),
table.align-right-5 td:nth-of-type(5),
table.align-right-6 td:nth-of-type(6),
table.align-right-7 td:nth-of-type(7),
table.align-right-8 td:nth-of-type(8),
table.align-right-9 td:nth-of-type(9),
table.align-right-10 td:nth-of-type(10),
table.align-right-11 td:nth-of-type(11),
table.align-right-12 td:nth-of-type(12),
table.align-right-13 td:nth-of-type(13),
table.align-right-14 td:nth-of-type(14),
table.align-right-15 td:nth-of-type(15),
table.align-right-16 td:nth-of-type(16),
table.align-right-17 td:nth-of-type(17),
table.align-right-18 td:nth-of-type(18),
table.align-right-19 td:nth-of-type(19),
table.align-right-20 td:nth-of-type(20) {
  text-align: right;
}

table.align-center-1 td:nth-of-type(1),
table.align-center-2 td:nth-of-type(2),
table.align-center-3 td:nth-of-type(3),
table.align-center-4 td:nth-of-type(4),
table.align-center-5 td:nth-of-type(5),
table.align-center-6 td:nth-of-type(6),
table.align-center-7 td:nth-of-type(7),
table.align-center-8 td:nth-of-type(8),
table.align-center-9 td:nth-of-type(9),
table.align-center-10 td:nth-of-type(10),
table.align-center-11 td:nth-of-type(11),
table.align-center-12 td:nth-of-type(12),
table.align-center-13 td:nth-of-type(13),
table.align-center-14 td:nth-of-type(14),
table.align-center-15 td:nth-of-type(15),
table.align-center-16 td:nth-of-type(16),
table.align-center-17 td:nth-of-type(17),
table.align-center-18 td:nth-of-type(18),
table.align-center-19 td:nth-of-type(19),
table.align-center-20 td:nth-of-type(20) {
  text-align: center;
}

table.align-left-1 td:nth-of-type(1),
table.align-left-2 td:nth-of-type(2),
table.align-left-3 td:nth-of-type(3),
table.align-left-4 td:nth-of-type(4),
table.align-left-5 td:nth-of-type(5),
table.align-left-6 td:nth-of-type(6),
table.align-left-7 td:nth-of-type(7),
table.align-left-8 td:nth-of-type(8),
table.align-left-9 td:nth-of-type(9),
table.align-left-10 td:nth-of-type(10),
table.align-left-11 td:nth-of-type(11),
table.align-left-12 td:nth-of-type(12),
table.align-left-13 td:nth-of-type(13),
table.align-left-14 td:nth-of-type(14),
table.align-left-15 td:nth-of-type(15),
table.align-left-16 td:nth-of-type(16),
table.align-left-17 td:nth-of-type(17),
table.align-left-18 td:nth-of-type(18),
table.align-left-19 td:nth-of-type(19),
table.align-left-20 td:nth-of-type(20) {
  text-align: left;
}

:root {
  --tile-border-color: #CABE9B;
  --tile-background-color: #F9F3EB;
  --byline-color: #5C6168;
  --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.wgl-darkmode {
  --tile-border-color: #CABE9B;
  --tile-background-color: #F9F3EB;
  --byline-color: #5C6168;
  --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-top.tile-image:hover img {
  transform: scale(1.1);
  transition: 0.5s ease-out;
}

.tile-top.tile-image a {
  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: invert(36%) sepia(9%) saturate(463%) hue-rotate(175deg) brightness(94%) contrast(80%);
  margin-left: 0.4em;
  transition: 0.3s ease-out;
}

.tile.oswf-day {
  margin-left: 0.5em;
}

.oswf-tile {
  margin: 1em;
}

.oswf-tile.oswf-complete {
  opacity: 0.65;
}

.oswf-tile .oswf-summary {
  font-size: 105%;
  line-height: 1.6;
  margin-top: -0.4em;
}

.oswf-tile .oswf-img {
  display: block;
  max-width: 75px;
  float: right;
}

.oswf-tile .oswf-img img {
  max-width: 100%;
  height: auto;
}

.oswf-tile .oswf-guidance {
  border-top: 1px solid #eeeeee;
  padding-top: 1em;
}

:root {
  --toc-bg: var(--body-light);
  --toc-title-bg: var(--body-dark);
  --toc-border-color: var(--body-border);
  --toc-subheader-left-border-color: #c7b67b;
}

body.wgl-darkmode {
  --toc-subheader-left-border-color: #c7b67b;
}

.toc {
  font-size: 0.9em;
  background: var(--toc-bg);
  margin-top: 0.75em;
  padding: 0;
  border-color: var(--toc-border-color);
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
  clear: left;
}

.toc .toctitle {
  background: var(--toc-title-bg);
  padding: 0.25em 1em;
}

.toc .toctitle h2,
.toc .toctitle a {
  font-family: inherit;
}

.toc .toctogglespan {
  padding-left: 0.2em;
}

.toc .tocnumber {
  display: none;
}

.toc > ul {
  line-height: 1.8em;
  padding: 0.75em 1.75em;
  margin: 0;
}

.toc ul ul {
  border-left: 1px dotted var(--toc-subheader-left-border-color);
  padding-left: 0.5em;
}

.toctogglelabel {
  color: var(--link-color);
}

.toclimit-2 #toc .toclevel-2,
.toclimit-3 #toc .toclevel-3,
.toclimit-4 #toc .toclevel-4,
.toclimit-5 #toc .toclevel-5,
.toclimit-6 #toc .toclevel-6,
.toclimit-7 #toc .toclevel-7 {
  display: none;
}

:root {
  --mainpage-body-h2-links: var(--base-heading-color);
  --mainpage-recent-updates-description-color: #444e5a;
  --bigtile-background-color: #F9F3EB;
  --bigtile-background-fade-zero: rgba(249, 243, 235, 0);
  --bigtile-background-fade-seventyfive: rgba(249, 243, 235, 0.75);
}

body.wgl-darkmode {
  --mainpage-recent-updates-description-color: #444e5a;
  --bigtile-background-color: #F9F3EB;
  --bigtile-background-fade-zero: rgba(249, 243, 235, 0);
  --bigtile-background-fade-seventyfive: rgba(249, 243, 235, 0.75);
}

body.page-Main_Page .mw-parser-output {
  max-width: 75em;
  margin: 0 auto;
}

.mainpage-recent-updates.tile-row .mw-parser-output {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 1em;
}

body.page-Main_Page.action-view .catlinks,
body.page-Main_Page.action-view #contentSub,
body.page-Main_Page.action-view #firstHeading,
body.page-Main_Page.action-view #siteNotice {
  display: none;
}

.mainpage-header {
  display: flex;
  margin: 2.6em 1.75em 1.5em;
}

.mainpage-header .header-intro {
  flex: 2;
}

.mainpage-header .header-intro h1 {
  font-size: 2.5em;
  font-weight: bold;
  border: none;
  margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
  font-size: 1.1em;
  line-height: 1.7em;
}

.mainpage-header .header-stats {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -1em;
}

.mainpage-header .header-stats ul {
  list-style: none;
}

.mainpage-body {
  display: flex;
  flex-flow: row wrap;
}

.mainpage-body h2 a {
  color: var(--mainpage-body-h2-links);
}

.mainpage-body .tile {
  padding-left: 1.75em;
  padding-right: 1.75em;
  max-width: 100%;
}

.mainpage-body * .tile-row {
  width: 100%;
  margin-bottom: 0.9rem;
}

.mainpage-left {
  flex: 2;
  display: flex;
  flex-flow: column wrap;
  margin-right: 0.9rem;
}

.mainpage-left > * {
  margin: 0 0 0.9rem;
}

.mainpage-right {
  flex: 1;
  display: flex;
  flex-flow: column wrap;
}

.mainpage-right > * {
  margin: 0 0 0.9rem;
}

.arrow {
  background: url("filepath://White-chevron.svg") no-repeat;
  display: inline-block;
  height: 0.7rem;
  width: 0.45rem;
  vertical-align: middle;
}

.arrow.dark {
  filter: invert(80%);
}

.mainpage-recent-updates * .tile-halves {
  flex: 1;
  align-content: flex-start;
  margin-right: 0.9rem;
}

.mainpage-recent-updates * .tile-halves:hover .tile-top img {
  transform: scale(1.04);
}

.mainpage-recent-updates * .tile-halves:last-child {
  margin-right: 0;
}

.mainpage-recent-updates * .tile-bottom.link-button a {
  text-align: left;
  padding: 1rem 1.5rem 0.75rem;
}

.mainpage-recent-updates h2 {
  margin: -0.5em 0 0.3em;
}

.mainpage-recent-updates p:not(.byline) {
  font-size: 0.9em;
  line-height: 1.75em;
  color: var(--mainpage-recent-updates-description-color);
}

.mainpage-contents .tile-halves {
  flex: 1;
  margin-right: 0.9rem;
}

.mainpage-contents * .tile-halves:last-child {
  margin-right: 0;
}

.mainpage-contents * .tile-top {
  position: relative;
}

.mainpage-contents h2 {
  margin: 0;
  padding: 0;
}

.mainpage-skills ul {
  columns: 3;
  margin: 1em 0.7em 0.7em 1em;
}

.mainpage-skills li {
  display: flex;
  margin-bottom: 0.29em;
}

.mainpage-skills li a:first-child {
  border-radius: 3px;
  padding: 4px;
  width: 25px;
  height: 25px;
  text-align: center;
}

.mainpage-skills li a:last-child {
  flex: 1;
  display: flex;
  align-items: center;
  color: var(--base-text-color);
  font-weight: bold;
  padding-left: 0.7em;
  text-decoration: none;
}

.mainpage-skills li:hover a:first-child {
  border-radius: 3px 0 0 3px;
}

.mainpage-skills li:hover a:last-child {
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0 3px 3px 0;
}

.skill-agility a:first-child,
.skill-melee a:first-child {
  background: #bc483d;
}

.skill-agility:hover a:last-child,
.skill-melee:hover a:last-child {
  background: #932419;
}

.skill-ranged a:first-child {
  background: #748d36;
}

.skill-ranged:hover a:last-child {
  background: #4c6215;
}

.skill-magic a:first-child {
  background: #6274ab;
}

.skill-magic:hover a:last-child {
  background: #304791;
}

.skill-fishing a:first-child,
.skill-fletching a:first-child {
  background: #3e8e9a;
}

.skill-fishing:hover a:last-child,
.skill-fletching:hover a:last-child {
  background: #1a6671;
}

.skill-cooking a:first-child,
.skill-thieving a:first-child {
  background: #91689e;
}

.skill-cooking:hover a:last-child,
.skill-thieving:hover a:last-child {
  background: #713684;
}

.skill-farming a:first-child,
.skill-woodcutting a:first-child {
  background: #59924f;
}

.skill-farming:hover a:last-child,
.skill-woodcutting:hover a:last-child {
  background: #306f25;
}

.skill-mining a:first-child {
  background: #6385a8;
}

.skill-mining:hover a:last-child {
  background: #315f8d;
}

.skill-smithing a:first-child {
  background: #d2b244;
}

.skill-smithing:hover a:last-child {
  background: #b69213;
}

.mainpage-wikinews .news-date {
  font-weight: bold;
  margin-bottom: 0.3em;
}

.mainpage-wikinews p:not(.news-date) {
  margin-left: 1em;
}

.popular-pages ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.6em;
  margin: 1em 0 0.7em 0;
}

.mp-popular-page-light {
  display: flex;
  align-items: center;
  list-style: none;
  background-color: var(--button-background);
  transition: 0.2s;
}

.mp-popular-page-light a {
  flex: 1;
  display: block;
  color: white;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 0.7em 1em;
}

.mp-popular-page-light:hover {
  filter: brightness(115%);
  transition: 0.2s;
}

@media screen and (max-width: 1000px) {
  .popular-pages ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mainpage-discord {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-discord .tile-top {
  display: flex;
  align-items: center;
  background: #5865f2;
  padding: 1em 1.75em;
}

.mainpage-discord .tile-top a {
  flex: 1;
  position: relative;
  text-decoration: none;
}

.mainpage-discord .tile-top a:hover .arrow {
  transform: translateX(50%);
}

.mainpage-discord .tile-bottom {
  background: #525ee0;
  border: none;
  padding: 1em 1.75em;
}

.mainpage-discord .tile-bottom p {
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.mainpage-discord .partner-icon {
  margin-right: 0.75em;
}

.mainpage-discord .server-name {
  color: #fff;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 -0.15em;
}

.mainpage-discord .server-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5em;
}

.mainpage-discord .arrow {
  position: absolute;
  top: calc(50% - .5em);
  right: 0;
  height: 1em;
  width: 0.7em;
  background-size: 0.7em 1em;
  transition: 0.3s ease-out;
}

.mainpage-twitter {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-twitter .tile-top {
  display: flex;
  align-items: center;
  background: #00aced;
  padding: 1em 1.75em;
}

.mainpage-twitter .tile-top a {
  flex: 1;
  position: relative;
  text-decoration: none;
}

.mainpage-twitter .tile-top a:hover .arrow {
  transform: translateX(50%);
}

.mainpage-twitter .tile-bottom {
  background: #0084b4;
  border: none;
  padding: 1em 1.75em;
}

.mainpage-twitter .tile-bottom p {
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.mainpage-twitter .twitter-logo {
  margin-right: 0.75em;
}

.mainpage-twitter .twitter-name {
  color: #fff;
  font-weight: bold;
  font-size: 1.25em;
  margin: 0.5em 0 -0.15em;
}

.mainpage-twitter .twitter-tagline {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5em;
}

.mainpage-twitter .arrow {
  position: absolute;
  top: calc(50% - .5em);
  right: 0;
  height: 1em;
  width: 0.7em;
  background-size: 0.7em 1em;
  transition: 0.3s ease-out;
}

.mainpage-editing {
  border: none;
  box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
}

.mainpage-editing .tile-top {
  background: #438ab5;
}

.mainpage-editing .tile-bottom {
  background: #3980ab;
  border: none;
  padding: 0.8rem 1.5rem 0.4rem;
}

.mainpage-editing h2,
.mainpage-editing a {
  color: #fff;
}

.mainpage-editing p {
  color: rgba(255, 255, 255, 0.9);
}

.mainpage-editing ul {
  list-style-image: url("filepath://Transparent-chevron.svg");
}

.mainpage-poll .ajaxpoll {
  border: none;
  background-color: transparent;
  padding: 0;
  width: auto;
}

@media only screen and (max-width: 65.999rem) {
  .mainpage-recent-updates .tile-halves:last-child {
    display: none;
  }

  .mainpage-recent-updates .tile-halves:hover .tile-top img {
    transform: scale(1.04);
  }

  .mainpage-recent-updates .tile-halves:nth-last-child(2) {
    margin-right: 0;
  }

  .mainpage-recent-updates .tile-top {
    height: 18vw;
  }

  .mainpage-contents .tile-halves:nth-child(1),
.mainpage-contents .tile-halves:nth-child(2),
.mainpage-contents .tile-halves:nth-child(3) {
    margin-bottom: 0.9rem;
  }

  .mainpage-contents .tile-halves:nth-child(3) {
    margin-right: 0;
  }

  .mainpage-contents .line-break {
    width: 100%;
  }

  .mainpage-skills ul {
    columns: 2 9em;
  }

  .mainpage-header .header-stats {
    display: none;
  }
}
@media only screen and (min-width: 66rem) and (max-width: 81.999rem) {
  .mainpage-contents .contents-minigames {
    display: none;
  }

  .mainpage-contents .contents-calculators {
    margin-right: 0;
  }

  .mainpage-header .header-stats,
.mainpage-contents .line-break {
    display: none;
  }
}
@media only screen and (min-width: 82rem) {
  .mainpage-header .header-intro {
    margin-right: 2em;
  }

  .mainpage-contents .line-break {
    display: none;
  }

  body.wgl-readermode .mainpage-contents .tile-halves:last-child {
    display: none;
  }

  body.wgl-readermode .mainpage-contents .tile-halves:nth-last-child(2) {
    margin-right: 0;
  }
}