MediaWiki:Common.css

From Treasure Adventure Game Wiki
Revision as of 15:19, 20 July 2023 by TadeLn (talk | contribs)
Jump to navigationJump 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=VT323&display=swap');
@font-face {
  font-family: "smalle";
  src: url('https://tadeln.stary.pc.pl/download/misc/smalle.woff2') format("woff2");
}

div.tagwiki-dialogue-break, div.tagwiki-dialogue-main-container {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-direction: row;
  padding: 6px;
  gap: 14px;
  align-items: center;
  background-color: #040302;
  color: #fff;
}

html.client-darkmode div.tagwiki-dialogue-break,
html.client-darkmode div.tagwiki-dialogue-main-container {
  filter: invert(1) hue-rotate(180deg);
  -webkit-filter: invert(1) hue-rotate(180deg);
}

html.client-darkmode div.tagwiki-dialogue-break img,
html.client-darkmode div.tagwiki-dialogue-main-container img {
  filter: none;
  -webkit-filter: none;
}

div.tagwiki-dialogue-main-container {
  height: 64px;
  justify-content: space-between;
}

div.tagwiki-dialogue-break {
  height: 32px;
  background-color: #040302;
  color: #9f9f9f;
}

div.tagwiki-dialogue-main-container > div.tagwiki-dialogue-text-container {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

div.tagwiki-dialogue-main-container > div.tagwiki-dialogue-text-container > div.tagwiki-dialogue-text {
  color: #b0b0b0;
  font-family: 'smalle', 'Silkscreen', 'VT323', monospace;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

div.tagwiki-dialogue-main-container > div.tagwiki-dialogue-source {
  display: flex;
  box-sizing: border-box;
  flex-direction: row;
  gap: 5px;
  align-self: flex-start;
  border-bottom: 1px dotted #7f7f7f;
  cursor: default;
  font-family: sans-serif;
  flex-shrink: 0;
}

div.tagwiki-dialogue-main-container > div.tagwiki-dialogue-source > div.tagwiki-dialogue-source-question-mark {
  color: #7f7f7f;
}