MediaWiki

Diferencia entre revisiones de «Common.css»

m
 
(No se muestran 109 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
 
/* El CSS colocado en esta página será aplicado a todas las apariencias */
 
/* El CSS colocado en esta página será aplicado a todas las apariencias */
  
<pre class="de1"><span class="coMULTI">/**
+
/* --- ESCONDER SEARCH BAR --- */
* Styling for links generated by [[MediaWiki:Edittools]]
+
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
+
* @updated 2012-02-29
+
*/</span>
+
<span class="re1">.mw-charinsert-buttons</span> <span class="br0">{</span>
+
        <span class="kw1">margin-top</span><span class="sy0">:</span> <span class="re3">10px</span><span class="sy0">;</span>
+
        <span class="kw1">border</span><span class="sy0">:</span> <span class="re3">1px</span> <span class="kw2">solid</span> <span class="re0">#aaaaaa</span><span class="sy0">;</span>
+
        <span class="kw1">padding</span><span class="sy0">:</span> <span class="re3">1px</span><span class="sy0">;</span>
+
        <span class="kw1">text-align</span><span class="sy0">:</span> <span class="kw2">center</span><span class="sy0">;</span>
+
        <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">110%</span><span class="sy0">;</span>
+
<span class="br0">}</span>
+
<span class="re1">.mw-charinsert-buttons</span> a <span class="br0">{</span>
+
        <span class="kw1">color</span><span class="sy0">:</span> <span class="kw1">black</span><span class="sy0">;</span>
+
        <span class="kw1">background-color</span><span class="sy0">:</span> <span class="re0">#cde</span> !important<span class="sy0">;</span>
+
        <span class="kw1">font-weight</span><span class="sy0">:</span> <span class="kw2">bold</span><span class="sy0">;</span>
+
        <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">.9em</span><span class="sy0">;</span>
+
        <span class="kw1">text-decoration</span><span class="sy0">:</span> <span class="kw2">none</span><span class="sy0">;</span>
+
        <span class="kw1">border</span><span class="sy0">:</span> <span class="kw2">thin</span> <span class="re0">#069</span> <span class="kw2">outset</span><span class="sy0">;</span>
+
        <span class="kw1">padding</span><span class="sy0">:</span> <span class="nu0">0</span> <span class="re3">.1em</span> <span class="re3">.1em</span><span class="sy0">;</span>
+
<span class="br0">}</span>
+
<span class="re1">.mw-charinsert-buttons</span> a<span class="re2">:hover</span><span class="sy0">,</span>
+
<span class="re1">.mw-charinsert-buttons</span> a<span class="re2">:active </span><span class="br0">{</span>
+
        <span class="kw1">background-color</span><span class="sy0">:</span> <span class="re0">#bcd</span><span class="sy0">;</span>
+
        <span class="kw1">border-style</span><span class="sy0">:</span> <span class="kw2">inset</span><span class="sy0">;</span>
+
<span class="br0">}</span>
+
<span class="re1">.client-js</span> <span class="re1">.mw-edittools-section</span> <span class="br0">{</span>
+
        <span class="kw1">display</span><span class="sy0">:</span> <span class="kw2">inline</span><span class="sy0">;</span>
+
<span class="br0">}</span>
+
<span class="re1">.client-js</span> <span class="re1">.mw-edittools-section</span> input<span class="br0">[</span>type<span class="sy0">=</span><span class="st0">"button"</span><span class="br0">]</span> <span class="br0">{</span>
+
        <span class="kw1">font-size</span><span class="sy0">:</span> <span class="re3">0.9em</span><span class="sy0">;</span>
+
        <span class="kw1">padding-left</span><span class="sy0">:</span> <span class="re3">1px</span><span class="sy0">;</span>
+
        <span class="kw1">padding-right</span><span class="sy0">:</span> <span class="re3">1px</span><span class="sy0">;</span>
+
        <span class="kw1">margin-left</span><span class="sy0">:</span> <span class="re3">1px</span><span class="sy0">;</span>
+
<span class="br0">}</span></pre>
+
  
.row.display { background: #eee; font-size: 11px; margin-bottom: 10px; }
+
.top-bar input { display: none; }
.row.display .columns, .row.display .column { background: #e7e7e7; border: 1px solid #ddd; font-size: 13px; font-weight: bold; text-indent: 3px; padding-top: 8px; color: #444; padding-bottom: 8px; }
+
.top-bar button { display: none; }
  
.Ficha {
+
/* --- FUENTE TIPOGRÁFICA --- */
  background-color: #FF7373;
+
  border: 1px solid #FF4040;
+
  font-family: "Consolas", "Liberation Mono", Courier, monospace;
+
  color: #000;
+
  padding: 0.8em 0 0.8em 0.8em;
+
  margin-bottom: 1.3em;
+
  overflow: auto; }
+
  
/* CodeRay Syntax Highlighting Styles to match Github */
+
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Josefin+Sans:ital,wght@0,100;0,300;0,500;1,100;1,300;1,500&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
.CodeRay {
+
  background-color: #eee;
+
  border: 1px solid #cccccc;
+
  font-family: "Consolas", "Liberation Mono", Courier, monospace;
+
  color: #000;
+
  padding: 0.8em 0 0.8em 0.8em;
+
  margin-bottom: 1.3em;
+
  overflow: auto; }
+
  
.CodeRay pre {
+
/* Cambia el texto del body a Josefin Sans: */
  margin: 0px;
+
  font-size: .9em;
+
  line-height: 1.4em;
+
  white-space: pre; }
+
  
/* Custom Foreground menubar colors to go with WikiApiary theme */
+
body {
.top-bar,
+
  font-family: "Josefin+Sans";
.top-bar-section ul,
+
.top-bar-section ul li.active > a,
+
.top-bar-section li a:not(.button),
+
.top-bar-section .has-form {
+
  background: #F0F0F0;
+
  color: #000000;
+
 
}
 
}
  
.top-bar-section > ul > .divider,
+
/* Cambia los encabezados a Josefin Sans: */
.top-bar-section > ul > [role="separator"] {
+
#content h1,  
   border-color: #F0F0F0;
+
#content h2,
 +
#content h3,
 +
#content h4,
 +
#content h5,
 +
#content h6 {
 +
   font-family: "Josefin+Sans";
 
}
 
}
  
/* Darker color for the hover over items */
+
/* Cambia el texto de las tablas a Raleway: */
.top-bar-section ul li.hover > a,
+
 
.top-bar-section ul li ul.dropdown li.hover > a{
+
tbody {
    background: #A8A8A8;
+
  font-family: "Raleway", sans-serif;
 
}
 
}
  
/* Slightly darker color for the dropdowns */
+
#headertabs.large.ui-widget {
.top-bar-section ul li ul.dropdown li > a {
+
    font-family: "Raleway", sans-serif;
     background: #D8D8D8;
+
}
 +
 
 +
/* Cambia el texto de las pestañas de las tabs de las skin Foreground a Josefin Sans: */
 +
 
 +
.tabs dd > a, .tabs .tab-title > a {
 +
    font-family: "Josefin+Sans";
 +
}
 +
 
 +
/* --- MÁRGENES --- */
 +
 
 +
/* Márgenes para tablas */
 +
 
 +
div.centered,
 +
table.centered,
 +
ul.centered,
 +
.centered {
 +
margin-left: auto;
 +
margin-right: auto;
 +
}
 +
 
 +
/* --- CAROUSEL BANNER PORTADA --- */
 +
 
 +
/* dfoplayer carousel for Template:Banner
 +
https://www.mediawiki.org/wiki/Snippets/Photo_Slider carousel */
 +
 
 +
.jcarousel {
 +
    position: relative;
 +
    overflow: hidden;
 +
}
 +
 +
.jcarousel-wrapper {
 +
max-width: 1125px;
 +
    margin: 0;
 +
    position: relative;
 +
}
 +
 +
.jcarousel .jcarousel-list {
 +
    width: 20000em;
 +
    position: relative;
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
 +
.jcarousel .jcarousel-item {
 +
    float: left;
 +
}
 +
 +
.jcarousel-item img {
 +
    display: block;
 +
    max-width: 100%;
 +
    height: auto !important;
 +
    margin: auto;
 +
}
 +
 
 +
.jcarousel-item p{
 +
    text-align: center;
 +
}
 +
 +
.jcarousel-control-prev,
 +
.jcarousel-control-next {
 +
    position: absolute;
 +
    top: 45%;
 +
    width: 30px;
 +
    height: 30px;
 +
    text-align: center;
 +
    background: #fff;
 +
    color: #fff;
 +
    text-decoration: none;
 +
    text-shadow: 0 0 1px #000;
 +
    font: 24px/27px Arial, sans-serif;
 +
    -webkit-border-radius: 30px;
 +
      -moz-border-radius: 30px;
 +
            border-radius: 30px;
 +
    -webkit-box-shadow: 0 0 2px #999;
 +
      -moz-box-shadow: 0 0 2px #999;
 +
            box-shadow: 0 0 2px #999;
 +
}
 +
 +
.jcarousel-control-prev {
 +
    left: -15px;
 +
}
 +
 +
.jcarousel-control-next {
 +
    right: -15px;
 +
}
 +
 +
.jcarousel-control-prev:hover span,
 +
.jcarousel-control-next:hover span {
 +
    display: block;
 +
}
 +
 +
.jcarousel-control-prev.inactive,
 +
.jcarousel-control-next.inactive {
 +
    opacity: .5;
 +
    cursor: default;
 +
}
 +
 +
.jcarousel-pagination {
 +
    position: absolute;
 +
    bottom: 10px;
 +
    left: 15px;
 +
}
 +
 +
.jcarousel-pagination a {
 +
    text-decoration: none;
 +
    display: inline-block;
 +
    font-size: 11px;
 +
    line-height: 14px;
 +
    min-width: 14px;
 +
     background: #fff;
 +
    color: #4E443C;
 +
    border-radius: 14px;
 +
    padding: 3px;
 +
    text-align: center;
 +
    margin-right: 2px;
 +
    opacity: .75;
 +
}
 +
 +
.jcarousel-pagination a.active {
 +
    background: #4E443C;
 +
    color: #fff;
 +
    opacity: 1;
 +
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
 
}
 
}

Revisión actual del 08:02 26 may 2021

/* El CSS colocado en esta página será aplicado a todas las apariencias */

/* --- ESCONDER SEARCH BAR --- */

.top-bar input { display: none; }
.top-bar button { display: none; }

/* --- FUENTE TIPOGRÁFICA --- */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Josefin+Sans:ital,wght@0,100;0,300;0,500;1,100;1,300;1,500&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Cambia el texto del body a Josefin Sans: */

body {
  font-family: "Josefin+Sans";
}

/* Cambia los encabezados a Josefin Sans: */
#content h1, 
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  font-family: "Josefin+Sans";
}

/* Cambia el texto de las tablas a Raleway: */

tbody {
  font-family: "Raleway", sans-serif;
}

#headertabs.large.ui-widget {
    font-family: "Raleway", sans-serif;
}

/* Cambia el texto de las pestañas de las tabs de las skin Foreground a Josefin Sans: */

.tabs dd > a, .tabs .tab-title > a {
    font-family: "Josefin+Sans";
}

/* --- MÁRGENES --- */

/* Márgenes para tablas */

div.centered,
table.centered,
ul.centered,
.centered {
margin-left: auto;
margin-right: auto;
}

/* --- CAROUSEL BANNER PORTADA --- */

/* dfoplayer carousel for Template:Banner 
https://www.mediawiki.org/wiki/Snippets/Photo_Slider carousel */

.jcarousel {
    position: relative;
    overflow: hidden;
}
 
.jcarousel-wrapper {
	max-width: 1125px;
    margin: 0;
    position: relative;
}
 
.jcarousel .jcarousel-list {
    width: 20000em;
    position: relative;
    margin: 0;
    padding: 0;
}
 
.jcarousel .jcarousel-item {
    float: left;
}
 
.jcarousel-item img {
    display: block;
    max-width: 100%;
    height: auto !important; 
    margin: auto;
}

.jcarousel-item p{
    text-align: center;
}
 
.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 45%;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 1px #000;
    font: 24px/27px Arial, sans-serif;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
            border-radius: 30px;
    -webkit-box-shadow: 0 0 2px #999;
       -moz-box-shadow: 0 0 2px #999;
            box-shadow: 0 0 2px #999;
}
 
.jcarousel-control-prev {
    left: -15px;
}
 
.jcarousel-control-next {
    right: -15px;
}
 
.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}
 
.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .5;
    cursor: default;
}
 
.jcarousel-pagination {
    position: absolute;
    bottom: 10px;
    left: 15px;
}
 
.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    line-height: 14px;
    min-width: 14px;
    background: #fff;
    color: #4E443C;
    border-radius: 14px;
    padding: 3px;
    text-align: center;
    margin-right: 2px;
    opacity: .75;
}
 
.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
}