Jump to content

MediaWiki:Common.css: Difference between revisions

580 bytes removed ,  14:55, 26 September 2024
Try something halfway?
(Undo revision 2204 by Laqme (talk))
Tag: Undo
(Try something halfway?)
 
Line 40: Line 40:
}
}


[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 * {
.no-decoration, .no-decoration * {
   box-shadow: none !important;
   box-shadow: none !important;
Line 85: Line 76:
   color: rgb(200, 123, 150) !important;
   color: rgb(200, 123, 150) !important;
   text-decoration-color: rgba(200,123,150,25%);
   text-decoration-color: rgba(200,123,150,25%);
}
[title]:hover::after, [title]:focus::after {
  font-family: 'Commissioner', system-ui, sans-serif;
  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;
}
}