Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 00:21, 8 December 2024 by Isdavid (talk | contribs)

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.
/* --- Estilo General del Artículo --- */
.skin-citizen body {
  font-family: 'Newsreader', serif;
  background-color: #18181e;
  color: #ffffff;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* --- Título Principal del Artículo --- */
.skin-citizen .mw-parser-output h1.firstHeading {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

/* --- Encabezados Secundarios --- */
.skin-citizen .mw-parser-output h2 {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-top: 20px;
}

/* --- Letra Capital al Inicio del Artículo --- */
.skin-citizen .mw-parser-output > p:first-of-type::first-letter {
  font-size: 4rem;
  font-family: 'Libre Baskerville', serif;
  font-weight: bold;
  color: #ffffff;
  float: left;
  line-height: 1;
  margin-right: 10px;
  margin-top: 5px;
}

/* --- Hipervínculos en Artículos --- */
.skin-citizen .mw-parser-output a {
  text-decoration: none;
  color: #ffffff;
  position: relative;
  border-bottom: 4px solid rgba(255, 255, 0, 0.8);
  padding-bottom: 2px;
  transition: all 0.3s ease-in-out;
}

.skin-citizen .mw-parser-output a:hover {
  color: #18181e;
}

.skin-citizen .mw-parser-output a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  background: yellow;
  bottom: 0;
  left: 0;
  z-index: -1;
  transition: width 0.4s ease-in-out;
}

.skin-citizen .mw-parser-output a:hover::after {
  width: 100%;
}