MediaWiki:Common.css: Difference between revisions

From The Toaq Wiki
(remove commissioner font from .derani because it breaks the font ^w^)
Tag: Manual revert
(Don't underline non-text anchors)
Line 64: Line 64:
a:link {
a:link {
   color: rgb(91, 154, 170) !important;
   color: rgb(91, 154, 170) !important;
   box-shadow: inset 0px -2px 0px 0px rgba(91, 154, 170, 25%);
   text-decoration: underline rgba(91,154,170,25%);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
   transition: background-color 0.5s;
   transition: background-color 0.5s;
   word-break: break-word;
   word-break: break-word;
Line 78: Line 80:
a:visited, a:focus, a:active {
a:visited, a:focus, a:active {
   color: rgb(0, 78, 93) !important;
   color: rgb(0, 78, 93) !important;
   box-shadow: inset 0px -2px 0px 0px rgba(0, 78, 93, 25%);
   text-decoration-color: rgba(0,78,93,25%);
}
}


a:link.new {
a:link.new {
   color: rgb(200, 123, 150) !important;
   color: rgb(200, 123, 150) !important;
   box-shadow: inset 0px -2px 0px 0px rgba(200, 123, 150, 25%);
   text-decoration-color: rgba(200,123,150,25%);
}
}



Revision as of 20:09, 22 January 2023

@font-face {
  font-family: 'Commissioner';
  font-weight: 500;
  src: url('/Special:Redirect/file/Commissioner_Medium.off') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Commissioner';
  font-weight: 700;
  src: url('/Special:Redirect/file/Commissioner_Bold.off') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Derani';
  src: url('/Special:Redirect/file/Derani.off') format('woff2');
  font-display: block;
}

.derani {
  font-family: 'Derani';
  line-height: normal;
}

.derani ruby {
  white-space: pre;
}

.toaq, .derani ruby rt {
  font-family: 'Commissioner', system-ui, sans-serif;
}

@font-face {
  font-family: 'ToaqScript';
  src: url(/Special:Redirect/file/ToaqScript_%28modified_1%29.ttf);
}

.toaq-script {
  font-family: ToaqScript;
  font-size: 200%;
  line-height: 100%;
  font-weight: normal !important;
}

ul {
  list-style-image: none;
}

[title], a:link, abbr, abbr[title] {
  text-decoration: none;
}
[title]:not(a:link), abbr {
  box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 25%);
}
img[title] {
  box-shadow: none;
}
.no-decoration, .no-decoration * {
  box-shadow: none !important;
  text-decoration: none !important;
}

a:link {
  color: rgb(91, 154, 170) !important;
  text-decoration: underline rgba(91,154,170,25%);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: background-color 0.5s;
  word-break: break-word;
}
.mw-parser-output .external {
  padding-right: 0 !important;
  background-image: none !important;
}
a.external::after {
  content: '\02197';
}

a:visited, a:focus, a:active {
  color: rgb(0, 78, 93) !important;
  text-decoration-color: rgba(0,78,93,25%);
}

a:link.new {
  color: rgb(200, 123, 150) !important;
  text-decoration-color: rgba(200,123,150,25%);
}

[title]:hover::after {
  content: attr(title);
  font-size: 1.25em;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 2.5em);
  padding: 0.75em 1.25em;
  margin: 1em;
  border-radius: 0.5em;
  background-color: #fff;
  text-align: center;
  text-transform: none;
}

body.page-Main_Page h1#firstHeading {
  display: none;
}

.page-Cheat_sheet .mw-content-container {
  max-width: unset;
}

.embiggen {
  display: inline-block;
  padding: 0.2em 0.4em;
}

.cheat-sheet-card {
  max-width: 260px;
  border-radius: 5px;
  margin: 5px;
  padding: 5px 10px;
  background-color: #d0e8ff;
  box-shadow: 2px 2px #00003040;
}

.cheat-sheet-card:nth-child(even) {
  background-color: #d0f0f0;
}

.cheat-sheet-card .mw-editsection {
  display: none;
}