Diferencia entre revisiones de «MediaWiki:Common.css»
De CEBES Perquín
Línea 1252: | Línea 1252: | ||
/* @noflip */ | /* @noflip */ | ||
right: 3px; | right: 3px; | ||
− | font-weight: | + | font-weight: bold; |
font-size: 90%; | font-size: 90%; | ||
+ | color: #000; | ||
+ | |||
} | } | ||
Revisión del 00:51 10 abr 2021
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */ /* Oculta título y categorías en la Portada */ body.page-Portada h1.firstHeading, body.page-Portada #catlinks-sidebar { display:none; } /* Oculta artículos destacados de la versión móvil en la versión de escritorio */ /* Common.css no se tiene en cuenta en la versión móvil (Mobile.css) */ #destacados-movil { display: none; } /* Cambia fuente de epígrafes */ .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt { font-family: 'Helvetica Neue','Nimbus Sans','Helvetica','Arial',sans-serif; font-weight: bold; } .mw-body h1 { font-size: 1.8em; /* Default: 2.0em */ font-family: 'Times New Roman',serif; /* Default: 'Linux Libertine' */ } .mw-body h2 { font-size: 1.5em; /* Default: 1.7em */ } .mw-body h3 { font-size: 1.35em; /* Default: 1.5em */ } .mw-body h4 { font-size: 1.25em; /* Default: 1.35em */ } .mw-body h5 { font-size: 1.2em; /* Default: 1.25em */ } .mw-body h6 { font-size: 1.15em; /* Default: 1.2em */ } /* Oculta fecha de última modificacion en pie de páginas */ /* #lastmod { display:none; } */ /* Responsive two column layout */ * { box-sizing: border-box; } /* Create two equal columns that floats next to each other */ .column { float: left; width: 50%; padding: 10px; } /* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; } /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ @media screen and (max-width: 600px) { .column { width: 100%; } } /** * Styling for links generated by [[MediaWiki:Edittools]] * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ /* BEGIN Main Page carousel code */ .mf-mobile-only { display: none; } .banner-image { position: relative; overflow: hidden; max-width: 1125px; height: auto; margin-bottom: .6em; } .banner-image img { max-width: 100%; height: auto; width: auto\9; } .banner-box { position: absolute; z-index: 2; margin-top: 0.3em; /* color: black; */ width: 50%; min-width: 20em; /* text-shadow: grey 0.1em 0.1em 0.3em, grey -0.05em -0.05em 0.5em; */ } .banner-box-wide { width: 80% } .banner-box-left { left: 5%; text-align: left; } .banner-box-right { right: 5%; text-align: right; } .banner-box-welcome { left: 1em; text-align: center; width: 40%; white-space: nowrap; } .banner-box a { /* color: black !important; */ font-weight: bold; } .banner-box .name { font-size: 2em; white-space: nowrap; line-height: 1.2em; } .banner-box .type { font-size: 1.2em; line-height: 1.5em; } .banner-box .stats { font-size: 1em; margin-top: 1.5em; } .banner-box .quote { font-size: 100%; line-height: 1.2em; } .banner-box .welcome a { font-size: 1.5em; } .banner-box .welcome { font-size: 2.1em; } .banner-box .nav-tip { font-size: 1.5em; margin-top: 1.5em; margin-bottom: 1.5em; } .banner-box .welcome-map-nav { font-size: 1.25em; } .banner-box ul { font-size: 1.25em; } .banner-box ul li { display: inline; } .banner-box ul li:before { content: " • "; } .banner-box ul li:nth-of-type(1):before { content: " "; } .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; } .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); } /* END Main Page carousel code */ /** * Styling for links generated by [[MediaWiki:Edittools]] * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px; text-align: center; font-size: 110%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-weight: bold; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* Estilos de [[Plantilla:Portada:Actualidad]]*/ .contenido-caja { height:100%; width:100%; position:absolute; transition:1s; opacity:0; padding:5% 3% 5%; z-index:100; white-space:nowrap; overflow:hidden; } .contenido-caja:hover { opacity:0.8; } .contenido-caja:hover + .titulo-caja { transform: translate(20%,-30%); opacity: 0; } .titulo-caja { transition:1s; margin:10%; z-index:0; font-size:150%; } /*Texto*/ .hover-text:link { color:#03529b; } /* visited link */ .hover-text:visited { color:#03529b; } /* mouse over link */ .hover-text:hover { color:#229954; } /* selected link */ .hover-text:active { color:#03529b; } /*Texto negro*/ .hover-content:link { color:#2980B9; } /* visited link */ .hover-content:visited { color:#2980B9; } /* mouse over link */ .hover-content:hover { color:#27AE60; } /* selected link */ .hover-content:active { color:#2980B9; } /* Overall style */ .mainpage { max-width: 1040px; margin: 0 auto; } /* Heading */ .mainpage-heading { width: 100%; margin: 0 1em 0 0; border-collapse: collapse; border-spacing: 0; } .mainpage-welcome { padding: .5em 1.6em 1em; } .mainpage-welcome-sitename { font-size: 220%; color: #484848; } .mainpage-welcome-slogan { color: #666; } .mainpage-actions { white-space: nowrap; text-align: right; } .mainpage-actions ul { margin: 0; padding: 0; } .mainpage-actions li { display: inline-block; margin: 0; padding: .5em; font-weight: bold; } @media screen and (max-width: 999px) { .mainpage-heading, .mainpage-heading tbody, .mainpage-heading tr, .mainpage-heading td { display: block; } .mainpage-heading td { padding-left: 1.6em; padding-right: 1.6em; } .mainpage-actions { text-align: center; white-space: normal; } } /* Main table */ .mainpage-maintable { width: 100%; margin: 1em 0; border: none; background: transparent; border-spacing: 0; } .mainpage-maintable td { padding: 0; vertical-align: top; } .mainpage-maintable td.mainpage-column-left { width: 50%; padding-right: .5em; } .mainpage-maintable td.mainpage-column-right { width: 50%; padding-left: .5em; } @media screen and (max-width: 999px) { .mainpage-maintable, .mainpage-maintable tbody, .mainpage-maintable tr, .mainpage-maintable td { display: block; } .mainpage-maintable td.mainpage-column-left { width: auto; padding: 0 0 .75em; } .mainpage-maintable td.mainpage-column-right { width: auto; padding: .75em 0 0; } } /* Boxes Articulos*/ .mainpage-box { border: 1px solid; } .mainpage-box:not(:first-child) { margin-top: 1.5em; } .mainpage-box .mainpage-box-title { padding: .2em .5em; font-size: 125%; font-weight: bold; } .mainpage-box .mainpage-box-content { padding: .4em 1em .3em; } .mainpage-box .mainpage-box-seealso { clear: both; border-style: solid; border-width: 1px 0 0; padding-top: .4em; margin-top: .8em; text-align: end; font-size: 95%; font-weight: bold; } .mainpage-box-orange, .mainpage-box-orange .mainpage-box-seealso { border-color: #fad67d; } .mainpage-box-orange .mainpage-box-title { background-color: #fad67d; } .mainpage-box-green, .mainpage-box-green .mainpage-box-seealso { border-color: #bbfa7c; } .mainpage-box-green .mainpage-box-title { background-color: #bbfa7c; } .mainpage-box-blue, .mainpage-box-blue .mainpage-box-seealso { border-color: #abd5f5; } .mainpage-box-blue .mainpage-box-title { background-color: #abd5f5; } /* Languages bar */ .mainpage-languages { padding: 2em; text-align: center; } /* keep wikitext div not exceed room available, it doesn’t have any identifier yet :( */ #mf-vid-vid > div, /* keep Kaltura not exceed room available */ #mf-vid-vid .mediaContainer, #mf-vid-vid .mwPlayerContainer, #mf-vid-vid .PopUpMediaTransform, /* keep VideoJS not exceed room available */ #mf-vid-vid .video-js, #mf-vid-vid img { max-width: 100%; } /* CSS Image Slideshow created by CSS * * @author: Unknown * current version crafted together by [[User:Christharp]] from several CSS sites. For my website:[http://www.yellpedia.com/wiki/Main_Page Yellpedia] */ /*Estilos Contenido*/ .mp-frame { box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px; } .mp-frame:after { display: block; content: ""; clear: both; } .mp-frame-header { border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .mp-frame-header:before { display: inline-block; /* Add some content in order to get normal line height, then make it transparent */ content: "x"; color: transparent; width: 40px; opacity: .7; /* [[File:Wikidata-logo white.svg]] */ background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); background-size: 27px; background-repeat: no-repeat; background-position: left center; } .mw-content-rtl .mp-frame-header:before { background-position: right center; } .mp-frame-body { padding: 1em; } .img-banner{ max-width:100%; } /*Estilos de tabla*/ .table-fila{ display: table-row; } .column-style-1{ display:table-cell; vertical-align:middle; padding:10px; font-weight:bold; color:#1F618D; border-bottom:3px solid #5499C7; } .column-style-2{ display:table-cell; vertical-align:middle; padding:10px; font-weight:bold; color:#0E6655; border-bottom:3px solid #117A65; } .column-style-4{ padding:5px; font-weight:bold; color:#1F618D; border-bottom:3px solid #5499C7; } /* visited link */ .hover-text-2:visited { color:#03529b; } /* mouse over link */ .hover-text-2:hover { color:#6C3483; } /* selected link */ .hover-text-2:active { color:#03529b; } .column-style-3{ display:table-cell; vertical-align:middle; padding:10px; font-weight:bold; color:#6C3483; border-bottom:3px solid #A569BD; } /* visited link */ .hover-text-3:visited { color:#03529b; } /* mouse over link */ .hover-text-3:hover { color:#1F618D; } /* selected link */ .hover-text-3:active { color:#03529b; } /* Estilos para [[Plantilla:Portada:Ticker]], [[Plantilla:Portada:Ticker/Core]] y [[Plantilla:Portada:Ticker/Data]] */ .ticker-container { height: 36px; border:1px solid #A9A9A9; border-left:none; border-radius:0 3px 3px 0; } .ticker-text { height: 150%; } .inicio-ticker { text-align: center; float: left; font-size: 100%; color: white; background: #808080; padding: 3px 10px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px 0 0 3px; height: 36px; } .boton-blue{ text-decoration: none; padding: 10px; font-weight: 600; font-size: 20px; color: #ffffff; border-radius: 6px; background-color: #1883ba; } .boton-blue:hover{ color: #1883ba; background-color: #ffffff; } .boton_1{ text-decoration: none; padding: 5px; font-weight: 500; font-size: 15px; color: #ffffff; background-color: #1883ba; border-radius: 6px; } .boton_1:hover{ opacity: 0.6; text-decoration: none; } .boton_2{ text-decoration: none; padding: 5px; font-weight: 500; font-size: 15px; color: #ffffff; background-color: #138D75; border-radius: 6px; } .boton_2:hover{ opacity: 0.6; text-decoration: none; } /* Estilos para tarjetas de biografias */ .tb-frame { border-radius: .2em; margin: 1em 0 2em 0; box-shadow: 0 0 .3em #999; transition: all 0.25s; } .tb-frame:hover{ transform: translateY(-15px); box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2); } .tb-frame:after { display: block; content: ""; clear: both; } .tb-frame-header { border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .tb-frame-header:before { display: inline-block; /* Add some content in order to get normal line height, then make it transparent */ content: "x"; color: transparent; width: 40px; opacity: .7; background-size: 27px; background-repeat: no-repeat; background-position: left center; } .tb-content-rtl .tb-frame-header:before { background-position: right center; } .tb-frame-body { padding: 1em; } .img-banner{ max-width:100%; } .title.pos{ text-align: center; font-size: 20px; color: #6a6a6a; margin-top: 100px; font-weight: 100; font-family: 'Roboto', sans-serif; } .container .card .boton-1 { text-decoration: none; padding: 10px; font-weight: 600; font-size: 20px; color: #ffffff; background-color: #1883ba; border-radius: 6px; } .container .card .boton-1:hover{ color: #1883ba; background-color: #ffffff; } .container-pos { border: 0px solid #777; display: flex; padding: 12px; } .container-pos .content-pos { border: 0px solid #777; flex: 1; } .container-pos .side-pos { margin-left: 10px; } .container-pos .side-pos .div-pos { border: 0px solid #777; height: auto; width: auto; } .container .side .div-pos:not(:first-child) { margin-top: 15px; } /*cuentos*/ .cp-frame { box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 2em 0; padding: 1px; } .cp-frame:after { content: ""; clear: both; } .cp-frame-header { border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .cp-frame-header:before { display: inline-block; /* Add some content in order to get normal line height, then make it transparent */ content: "x"; color: transparent; width: 40px; opacity: .7; /* [[File:Wikidata-logo white.svg]] */ background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Wikidata-logo_white.svg/27px-Wikidata-logo_white.svg.png); background-image: url(https://upload.wikimedia.org/wikipedia/commons/5/54/Wikidata-logo_white.svg); background-size: 27px; background-repeat: no-repeat; background-position: left center; } .cp-content-rtl .cp-frame-header:before { background-position: right center; } .cp-frame-body { padding: 1em; } .cp.img-banner{ max-width:100%; } .button_geo { background-color: #4CAF50; /* Green */ border: none; color: white; padding: 16px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; -webkit-transition-duration: 0.4s; /* Safari */ transition-duration: 0.4s; cursor: pointer; } .button_geo2 { background-color: white; color: black; border: 0px solid #1883ba; border-radius: 6px; } .button_geo2:hover { background-color: #5499C7; color: white; } .hover-text-geo:hover { color:white; } /* Efecto Poemas */ .container{ position: relative; width:100%; height: 100%; perspective: 1000px; transform-style: preserve-3d; } .card{ position: absolute; width: 100%; height: 100%; display: flex; place-items: center; border-left: rgba(255, 255, 255, 0.342) 1px solid; border-top: rgba(255, 255, 255, 0.342) 1px solid; border-radius: 20px; backdrop-filter: blur(30px); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px; color: white; backface-visibility: hidden; font-family: Arial, Helvetica, sans-serif; transform: rotateY(0deg); transform-style: preserve-3d; transition: 2.5s cubic-bezier(0.4, 0.2, 0.2, 1); } .front{ background: rgba(255, 255, 255, 0.109); transform: rotateY(0deg); padding: 10px; } .back{ background: rgba(255, 255, 255, 0.109); transform: rotateY(180deg); padding: 10px; } .container:hover > .front{ transform: rotateY(-180deg); } .container:hover > .back{ transform: rotateY(0deg); } .btn{ border: 1px solid white; background: rgba(255, 255, 255, 0.21); padding: 10px 20px; border-radius: 20px; text-decoration: none; color: white; transition: all 0.5s; } .btn:hover{ padding: 10px 40px; background: white; color:black } .pm-frame { border-radius: .2em; margin: 1em 0 2em 0; box-shadow: 0 0 .3em #999; transition: all 0.25s; } .pm-frame:after { display: block; content: ""; clear: both; } .pm-frame-header { border-radius: .2em; color: #fff; padding: .4em .8em .5em; font-weight: bold; } .pm-frame-header:before { display: inline-block; /* Add some content in order to get normal line height, then make it transparent */ content: "x"; color: transparent; width: 40px; opacity: .7; background-size: 27px; background-repeat: no-repeat; background-position: left center; } .pm-content-rtl .tb-frame-header:before { background-position: right center; } .pm-frame-body { padding: 1em; } #flip-container{ -webkit-perspective: 1000px; perspective: 1000px; padding: 50px; position: relative; margin: 10px auto; width: 500px; } .carta { position: relative; width: 500px; height: 50px; transition: 0.6s; transform-style: preserve-3d; transform-origin: 100% 25px; margin: 5px; } .carta:hover, .carta.flip{ transform: rotateX(180deg); } .cara, .atras{ position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; text-align: center; } .cara{ transform: rotateX(0deg); z-index: 2; background-color: #e93e29; color: #FFF; font: 1em/1.8em Arial; display: flex; align-items: center; justify-content: center; } .atras{ transform: rotateX(180deg); /*background: repeating-linear-gradient( -45deg, #ececec, #ececec 10px, #dedede 10px, #dedede 20px );*/ } .titulo_boton { float:left; padding:5px; background-color:#e6e6e6; width:400px; font-family:helvetica; font-size:16px; font-weight:bold; } .boton_mostrar { float:right; font-size:12px; line-height:20px; color:#DE7217; } #contenido{ float:left; clear:both; border:2px solid #e6e6e6; margin-top:2px; padding:5px; width:396px; overflow:auto; font-family:helvetica; font-size:14px; text-align: justify; } .info-box, .infobox { float: right; clear: right; margin: 0 0 .5em 1em; width: 250px; background: none; border-collapse: collapse; border-width: 0px; font-size: 0.8em; line-height: 1.5; } .info-box table.info-boxtable, .infobox table.infoboxtable { background:#f0f0f0; float:right; margin:0; width:100%; border-collapse:collapse; } .info-box td.info-boximage, .infobox td.infoboximage { padding:0; text-align:center; } .info-box th.info-boxheading, .infobox th.infoboxheading { font-weight:bold; text-align:center; color:#ffffff; font-size:larger; } .info-box th.info-boxsubheading, .infobox th.infoboxsubheading { vertical-align:top; text-align:left; font-weight:normal; } .info-box td.info-boxlabel, .info-box td.info-boxcell, .infobox td.infoboxlabel, .infobox td.infoboxcell { vertical-align: middle; } /* ugly hack to force normal height for infobox cells */ .info-boxcell p, .infoboxcell p { margin-top: 0px; margin-bottom: 0px; } /* .infoboxcell ul { list-style-type: disc; } */ .info-boxcell ul li, .infoboxcell ul li { padding-left: 0; margin-left: 0; list-style-type: square; } /* Fix to hide random extra lines in infobox subheaders. */ .info-boxsubheading p, .infoboxsubheading p { display: none; } .info-box div.plainlinks, .infobox div.plainlinks { color: #fff; } .info-box div.plainlinks a, .infobox div.plainlinks a { color: #f0f0f0; } .info-boxtable tr:nth-child(even), .infoboxtable tr:nth-child(even) { background-color: #F9F9F9 } /* Fix for {{information}} template */ .ns-6 .infobox #infoboxinternal.infoboxtable { table-layout: auto; width: auto; } /* class for forum navigation templates */ .forumheader { background: #F2F5FD; border: none; padding: 5px; } .hidable-button { color: #088; cursor: pointer; } .info-box .hidable-button, .infobox .hidable-button { color: #f0f0f0; } .hidable-button { color: black; text-transform: lowercase; text-decoration: none; } .hidable-content { padding: 0; } .hoverable .hoverable-inner { display: none; position: absolute; top: auto; text-align: left; } .hoverable:hover .hoverable-inner, .hoverable.over .hoverable-inner { display: inline; } .nounderlinelink a { text-decoration: none ! important; } .nounderlinelink a:hover { text-decoration: underline ! important; } /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ div.NavFrame { margin: 0; padding: 4px; border: 1px solid #a2a9b1; text-align: center; border-collapse: collapse; font-size: 95%; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } div.NavFrame div.NavHead { line-height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: bold; font-size: 90%; color: #000; } .client-js .NavFrame.collapsed > .NavContent { display: none; }