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

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
<link href="https://fonts.googleapis.com/css2?family=Newsreader:wght@400;700&family=Libre+Baskerville:wght@400;700&family=EB+Garamond:wght@400;700&family=Ysabeau+Infant:wght@400;700&family=Crimson+Pro:wght@400;700&display=swap" rel="stylesheet">
/* --- Estilo General del Sitio --- */
/* --- Estilo General del Sitio --- */
body {
body {
   font-family: 'Newsreader', serif; /* Fuente del texto principal */
   font-family: 'Newsreader', serif; /* Fuente para el texto principal */
   background-color: #18181e; /* Fondo oscuro */
   background-color: #18181e; /* Fondo oscuro */
   color: #ffffff; /* Texto blanco */
   color: #ffffff; /* Texto blanco */
Line 11: Line 9:
}
}


/* --- Texto Principal del Artículo --- */
/* --- Contenido Principal --- */
.mw-parser-output {
.mw-parser-output {
   font-family: 'Newsreader', serif; /* Fuente principal */
   font-family: 'Newsreader', serif; /* Fuente principal */
  font-size: 0.875rem; /* Equivalente a 14 puntos en Google Docs */
  line-height: 1.8; /* Espaciado entre líneas */
   color: #ffffff; /* Color blanco */
   color: #ffffff; /* Color blanco */
}
  font-size: 1rem; /* Tamaño estándar */
 
   line-height: 1.8; /* Espaciado cómodo entre líneas */
/* --- Espaciado entre párrafos --- */
   margin: 0 10%; /* Márgenes laterales para centrar contenido */
.mw-parser-output p {
   margin-bottom: 15px;
}
 
/* --- Listas (ordenadas y desordenadas) --- */
.mw-parser-output ul,
.mw-parser-output ol {
   margin-left: 20px;
}
 
.mw-parser-output li {
  line-height: 1.8;
}
}


/* --- Título Principal del Artículo --- */
/* --- Título Principal del Artículo --- */
#content h1.firstHeading {
#content h1.firstHeading {
   font-family: 'Libre Baskerville', serif; /* Fuente personalizada */
   font-family: 'Libre Baskerville', serif; /* Fuente elegante */
   font-size: 1.25rem; /* Equivalente a 20 puntos en Google Docs */
   font-size: 2.5rem; /* Tamaño destacado */
   font-weight: normal; /* Sin negrita */
   font-weight: normal; /* Sin negrita */
   color: #ffffff;
   color: #ffffff;
   text-align: center;
   text-align: center; /* Centrar el título */
   margin-top: 20px;
   margin-top: 20px;
   margin-bottom: 20px;
   margin-bottom: 20px;
Line 50: Line 34:
.mw-parser-output h2 {
.mw-parser-output h2 {
   font-family: 'EB Garamond', serif;
   font-family: 'EB Garamond', serif;
   font-size: 1.125rem; /* Tamaño para encabezados secundarios */
   font-size: 2rem;
   font-weight: bold;
   font-weight: bold;
   color: #ffffff;
   color: #ffffff;
   margin-top: 20px;
   margin-top: 30px;
  margin-bottom: 10px;
}
}


.mw-parser-output h3 {
.mw-parser-output h3 {
   font-family: 'Ysabeau Infant', serif;
   font-family: 'Ysabeau Infant', serif;
   font-size: 1rem;
   font-size: 1.5rem;
   font-weight: bold;
   font-weight: bold;
   color: #ffffff;
   color: #ffffff;
Line 66: Line 51:
/* --- Letra Capital al Inicio del Artículo --- */
/* --- Letra Capital al Inicio del Artículo --- */
.mw-parser-output > p:first-of-type::first-letter {
.mw-parser-output > p:first-of-type::first-letter {
   font-size: 2.5rem; /* Tamaño grande para la letra inicial */
   font-size: 3rem;
   font-family: 'Libre Baskerville', serif;
   font-family: 'Libre Baskerville', serif;
   font-weight: bold;
   font-weight: bold;
Line 79: Line 64:
.mw-parser-output a {
.mw-parser-output a {
   text-decoration: none;
   text-decoration: none;
   color: #ffffff; /* Blanco como el texto normal */
   color: #ffcc00; /* Amarillo para los enlaces */
  position: relative;
   border-bottom: 2px solid rgba(255, 204, 0, 0.5); /* Subrayado sutil */
   border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo */
  padding-bottom: 2px;
   transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
}
}


.mw-parser-output a:hover {
.mw-parser-output a:hover {
   color: #18181e; /* Texto negro al pasar el mouse */
   color: #ffffff; /* Blanco al pasar el mouse */
  border-bottom-color: #ffffff; /* Cambiar el subrayado a blanco */
}
}


.mw-parser-output a::after {
/* --- Listas --- */
  content: '';
.mw-parser-output ul,
  position: absolute;
.mw-parser-output ol {
  width: 0;
   margin-left: 20px;
  height: 100%; /* Cubre todo el texto */
  background: yellow;
  bottom: 0;
  left: 0;
  z-index: -1; /* Fondo detrás del texto */
   transition: width 0.4s ease-in-out;
}
}


.mw-parser-output a:hover::after {
.mw-parser-output li {
   width: 100%; /* Subrayado se expande */
  line-height: 1.8;
}
 
/* --- Tablas --- */
.mw-parser-output table {
  border-collapse: collapse;
   width: 100%;
  color: #ffffff;
  margin: 20px 0;
}
 
.mw-parser-output th,
.mw-parser-output td {
  border: 1px solid #ffffff;
  padding: 10px;
  text-align: left;
}
}


Line 109: Line 102:
.mw-parser-output .thumbcaption {
.mw-parser-output .thumbcaption {
   font-family: 'Ysabeau Infant', serif;
   font-family: 'Ysabeau Infant', serif;
   font-size: 0.875rem; /* Tamaño pequeño */
   font-size: 0.875rem;
   color: #ffffff;
   color: #ffffff;
   text-align: center;
   text-align: center;
Line 115: Line 108:
}
}


/* --- Referencias y Números de Bibliografía --- */
/* --- Referencias y Notas --- */
.mw-parser-output sup {
.mw-parser-output sup {
   font-family: 'Crimson Pro', serif;
   font-family: 'Crimson Pro', serif;
   font-size: 0.75rem; /* Tamaño reducido */
   font-size: 0.75rem;
   color: #ffffff;
   color: #ffcc00;
  font-weight: normal;
}
}


.mw-parser-output sup a {
.mw-parser-output sup a {
   text-decoration: none;
   text-decoration: none;
   color: #ffffff;
   color: #ffcc00;
}
}


/* --- Tablas --- */
/* --- Botones (si aplica) --- */
.mw-parser-output table {
button, input[type="button"] {
   border-collapse: collapse;
   font-family: 'Newsreader', serif;
   width: 100%;
   background-color: #ffcc00;
   color: #ffffff;
   color: #18181e;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
}


.mw-parser-output th,
button:hover, input[type="button"]:hover {
.mw-parser-output td {
   background-color: #ffffff;
   border: 1px solid #ffffff;
   color: #18181e;
   padding: 10px;
  text-align: left;
}
}

Revision as of 00:54, 8 December 2024

/* --- Estilo General del Sitio --- */
body {
  font-family: 'Newsreader', serif; /* Fuente para el texto principal */
  background-color: #18181e; /* Fondo oscuro */
  color: #ffffff; /* Texto blanco */
  line-height: 1.8; /* Espaciado cómodo */
  margin: 0;
  padding: 0;
}

/* --- Contenido Principal --- */
.mw-parser-output {
  font-family: 'Newsreader', serif; /* Fuente principal */
  color: #ffffff; /* Color blanco */
  font-size: 1rem; /* Tamaño estándar */
  line-height: 1.8; /* Espaciado cómodo entre líneas */
  margin: 0 10%; /* Márgenes laterales para centrar contenido */
}

/* --- Título Principal del Artículo --- */
#content h1.firstHeading {
  font-family: 'Libre Baskerville', serif; /* Fuente elegante */
  font-size: 2.5rem; /* Tamaño destacado */
  font-weight: normal; /* Sin negrita */
  color: #ffffff;
  text-align: center; /* Centrar el título */
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffffff; /* Línea decorativa */
  padding-bottom: 10px;
}

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

.mw-parser-output h3 {
  font-family: 'Ysabeau Infant', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-top: 20px;
}

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

/* --- Hipervínculos --- */
.mw-parser-output a {
  text-decoration: none;
  color: #ffcc00; /* Amarillo para los enlaces */
  border-bottom: 2px solid rgba(255, 204, 0, 0.5); /* Subrayado sutil */
  transition: all 0.3s ease-in-out;
}

.mw-parser-output a:hover {
  color: #ffffff; /* Blanco al pasar el mouse */
  border-bottom-color: #ffffff; /* Cambiar el subrayado a blanco */
}

/* --- Listas --- */
.mw-parser-output ul,
.mw-parser-output ol {
  margin-left: 20px;
}

.mw-parser-output li {
  line-height: 1.8;
}

/* --- Tablas --- */
.mw-parser-output table {
  border-collapse: collapse;
  width: 100%;
  color: #ffffff;
  margin: 20px 0;
}

.mw-parser-output th,
.mw-parser-output td {
  border: 1px solid #ffffff;
  padding: 10px;
  text-align: left;
}

/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
  font-family: 'Ysabeau Infant', serif;
  font-size: 0.875rem;
  color: #ffffff;
  text-align: center;
  margin-top: 5px;
}

/* --- Referencias y Notas --- */
.mw-parser-output sup {
  font-family: 'Crimson Pro', serif;
  font-size: 0.75rem;
  color: #ffcc00;
}

.mw-parser-output sup a {
  text-decoration: none;
  color: #ffcc00;
}

/* --- Botones (si aplica) --- */
button, input[type="button"] {
  font-family: 'Newsreader', serif;
  background-color: #ffcc00;
  color: #18181e;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover, input[type="button"]:hover {
  background-color: #ffffff;
  color: #18181e;
}