Diferencia entre revisiones de «MediaWiki:Common.css»
Ir a la navegación
Ir a la búsqueda
| Línea 115: | Línea 115: | ||
body { | body { | ||
| − | + | padding: 0 20px; | |
} | } | ||
/*-------------------------------------------------- | /*-------------------------------------------------- | ||
Revisión del 13:48 13 ene 2018
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
table.ambox{margin:0 7% .8em;border-collapse:collapse;background-color:#fbfbfb;border-bottom:1px solid #aaa;border-left:1px solid #CCC;border-right:1px solid #CCC;font-size:95%}table.ambox th.ambox-text,table.ambox td.ambox-text{padding:0.25em 0.5em;width:100%}table.ambox .ambox-image{padding:2px 0 2px 0.5em;text-align:center}table.ambox .ambox-imageright{padding:2px 0.5em 2px 0;text-align:center}.ambox-notice{border-top:5px solid #608EC2}.ambox-protection{border-top:5px solid #bba}.ambox-delete,.ambox-serious{border-top:5px solid #b22222}.ambox-content{border-top:5px solid #f28500}.ambox-style{border-top:5px solid #f4c430}.ambox-merge{border-top:5px solid #8c08a4}.ambox-growth{border-top:5px solid #47a30d}.ambox.ambox-mini{float:right;clear:right;margin:0 0 0 1em;width:25%}
/* Evitar que las imágenes salgan de su contenedor */
img { max-width: 100%; }
/* Quitar la cabecera de todos los artículos - las colocaremos manualmente con plantillas */
body.action-view h1.firstHeading, body.action-submit h1.firstHeading { display: none; }
.mw-body .mw-body-content h1 { margin-top: -1.0em; }
/* Ocultar enlace de ayuda en la esquina superior derecha de algunas páginas */
#mw-indicator-mw-helplink { display: none; }
/* Parche para que los mensajes de artículo redirigido se vean correctamente utilizando las nuevas cabeceras */
.mw-redirectedfrom {
position: absolute;
top: 2.3em;
}
/* Configuración de Plantilla:SAMP */
.titulo-articulo-samp {
margin-bottom: 0.5em;
}
.titulo-articulo-samp .main-title {
float: left;
line-height: 0;
font-size: 22px;
margin-top: -0.7em;
}
.titulo-articulo-samp .border {
border-bottom: 0.2em solid #bd5800;
line-height: 1;
}
.titulo-articulo-samp .main-sub-title-text {
font-size: 22px;
float: right;
line-height: 0;
vertical-align: top;
margin-top: -0.7em;
}
.titulo-articulo-samp .main-sub-title-text, .titulo-articulo-samp .main-sub-title-text a {
color: #bd5800 !important;
}
/* Configuración de Plantilla:WEB */
.titulo-articulo-web {
margin-bottom: 0.5em;
}
.titulo-articulo-web .main-title {
float: left;
line-height: 0;
font-size: 22px;
margin-top: -0.7em;
}
.titulo-articulo-web .border {
border-bottom: 0.2em solid #0053bd;
line-height: 1;
}
.titulo-articulo-web .main-sub-title-text {
font-size: 22px;
float: right;
line-height: 0;
vertical-align: top;
margin-top: -0.7em;
}
.titulo-articulo-web .main-sub-title-text, .titulo-articulo-web .main-sub-title-text a {
color: #0053bd !important;
}
/* Configuración de Plantilla:Wiki */
.titulo-articulo-wiki {
margin-bottom: 0.5em;
}
.titulo-articulo-wiki .main-title {
float: left;
line-height: 0;
font-size: 22px;
margin-top: -0.7em;
}
.titulo-articulo-wiki .border {
border-bottom: 0.2em solid #b9b9b9;
line-height: 1;
}
.titulo-articulo-wiki .main-sub-title-text {
font-size: 22px;
float: right;
line-height: 0;
vertical-align: top;
margin-top: -0.7em;
}
.titulo-articulo-wiki .main-sub-title-text, .titulo-articulo-wiki .main-sub-title-text a {
color: #b9b9b9 !important;
}
.main-box{border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,0.5);font-family:Roboto,sans-serif}.main-box-title{border-radius:5px 5px 0 0;font-size:19px;color:#FFF;padding:10px}.main-box-title-image{display:inline-block;vertical-align:middle}.main-box-title-text{display:inline-block}.main-box-content{padding:10px;background:#FAFAFA;border-radius:0px 0px 5px 5px}.scripting-resources .main-box-title{background:#EF5350}.getting-started .main-box-title{background:#43A047}.community .main-box-title{background:#43A047}.reference .main-box-title{background:#EF5350}.scripting-help .main-box-title{background:#EF5350}.scripting-help .sub-box-title{border-radius:5px 5px 5px 5px;font-size:16px;color:#FFF;padding:4px 8px 4px 12px;font-family:Roboto,sans-serif;background:#EF5350 }.wiki-how .main-box-title{background:#DD2C00}.servidor .main-box-title{background:#4b2dff}.announcement .main-box-title{background:#FFA726}.news .main-box-title{background:#6E99BB}.tmp-server-side .main{}.tmp-server-side .main-title{float:left;line-height:0;font-size:22px;margin-top:-0.7em}.tmp-server-side .border{border-bottom:0.2em solid rgb(43,141,101);line-height:1}.tmp-server-side .main-sub-title-text{font-size:22px;float:right;color:rgb(43,141,101);line-height:0;vertical-align:top;margin-top:-0.7em}.tmp-client-side .main{}.tmp-client-side .main-title{float:left;line-height:0;font-size:22px;margin-top:-0.7em}.tmp-client-side .border{border-bottom:0.2em solid rgb(243,145,103);line-height:1}.tmp-client-side .main-sub-title-text{font-size:22px;float:right;color:rgb(243,145,103);line-height:0;vertical-align:top;margin-top:-0.7em}pre{-moz-tab-size:2;tab-size:2}.mw-pt-translate-header a{text-decoration:underline}#mw-content-text a{color:#3344ff}#mw-content-text a.new{color:#992211}
body {
padding: 0 20px;
}
/*--------------------------------------------------
For header type 1 only
You may remove these if you opt header 2
---------------------------------------------------*/
#header {
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
min-height: 70px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: fixed;
z-index: 11;
width: 100%;
left: 0;
top: 0;
padding: 0 20px;
}
@media (max-width: 767px) {
#header {
padding: 0px 8px;
}
}
#header .hi-logo a {
padding: 7px 10px;
}
#header .ma-backdrop {
position: absolute;
}
@media (max-width: 1279px) {
#header .hi-trigger {
display: inline-block !important;
}
}
#header.search-toggled .h-search-wrap {
top: 0;
opacity: 1;
filter: alpha(opacity=100);
}
.h-search-wrap {
position: absolute;
top: -65px;
left: 0;
width: 100%;
height: 70px;
background: #fff;
-webkit-transition: all;
-o-transition: all;
transition: all;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
opacity: 0;
filter: alpha(opacity=0);
z-index: 10;
}
.h-search-wrap input[type="text"] {
border: 0;
height: 40px;
padding: 0 10px 0 55px;
font-size: 18px;
border-radius: 2px;
background-color: #efefef;
width: 100%;
}
.h-search-wrap .hsw-close {
position: absolute;
top: 15px;
font-size: 23px;
font-style: normal;
width: 45px;
text-align: center;
border-radius: 2px 0px 0px 2px;
cursor: pointer;
left: 15px;
height: 40px;
padding-top: 9px;
}
.h-search-wrap .hsw-close:hover {
background-color: #e3e3e3;
}
@media (max-width: 767px) {
.h-search-wrap .hsw-close {
right: 7px;
}
}
.hsw-inner {
position: relative;
padding: 15px;
max-width: 700px;
display: block;
margin: 0 auto;
}
/* ----------------------------- End header type 1 ------------------------------------- */
/*--------------------------------------------------
For Header type 2 only
You may remove these if you opt header 1
---------------------------------------------------*/
#header-alt {
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
position: relative;
margin-bottom: -50px;
z-index: 10;
padding: 15px 10px 0 35px;
}
@media (min-width: 992px) {
#header-alt:before {
content: "";
position: absolute;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.04);
width: 100%;
height: 49px;
z-index: -1;
}
}
@media (max-width: 767px) {
#header-alt {
padding: 5px 5px 0 25px;
}
}
#header-alt .hi-trigger {
top: -7px;
left: -15px;
}
@media (max-width: 991px) {
#header-alt .hi-trigger {
display: inline-block !important;
}
}
#header-alt .ma-backdrop {
position: absolute;
}
#header-alt .ha-search {
margin-bottom: 25px;
padding-right: 25px;
}
#header-alt .ha-search input[type="text"] {
width: 100%;
background: transparent;
border: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.24);
color: #fff;
font-size: 15px;
font-weight: 300;
padding: 6px 0 6px 30px;
}
#header-alt .ha-search input[type="text"]::-moz-placeholder {
color: #fff;
opacity: 1;
}
#header-alt .ha-search input[type="text"]:-ms-input-placeholder {
color: #fff;
}
#header-alt .ha-search input[type="text"]::-webkit-input-placeholder {
color: #fff;
}
#header-alt .ha-search input[type="text"].ie9-placeholder {
color: #fff !important;
}
#header-alt .ha-search .fg-line {
max-width: 500px;
position: relative;
}
#header-alt .ha-search .fg-line:after {
background: #FFEB3B;
}
#header-alt .ha-search .fg-line:before {
content: '\f1c3';
font-family: 'Material-Design-Iconic-Font';
position: absolute;
left: 0;
bottom: 1px;
color: #fff;
font-size: 22px;
}
@media (min-width: 992px) {
.ha-menu > ul {
list-style: none;
padding: 0;
margin: 0;
}
.ha-menu > ul > li {
display: inline-block;
vertical-align: top;
}
.ha-menu > ul > li:not(.active) > *:not(ul) {
color: rgba(255, 255, 255, 0.6);
}
.ha-menu > ul > li.active > a {
color: #fff;
box-shadow: inset 0px -3px 0 0px #FFEB3B;
}
.ha-menu > ul > li > a {
text-transform: uppercase;
padding: 15px 12px;
display: block;
}
.ha-menu > ul > li > a:hover {
color: #fff;
}
.ha-menu > ul > li .dropdown-menu {
min-width: 100%;
}
}
@media (max-width: 991px) {
.ha-menu {
display: none;
}
}
.sidebar {
position: fixed;
background: #fff;
height: calc(100% - 70px);
top: 70px;
-webkit-transition: all;
-o-transition: all;
transition: all;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
z-index: 10;
overflow-y: auto;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
#sidebar {
width: 268px;
}
@media (max-width: 1279px) {
#sidebar {
-webkit-transform: translate3d(-288px, 0, 0);
transform: translate3d(-288px, 0, 0);
box-shadow: 0 0 20px rgba(14, 18, 21, 0.38);
}
#sidebar.toggled {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.sidebar-alt {
top: 0;
height: 100%;
-webkit-transform: translate3d(-268px, 0, 0);
transform: translate3d(-268px, 0, 0);
}
.sidebar-alt.toggled {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.s-profile > a {
display: block;
height: 129px;
margin-bottom: 5px;
width: 100%;
background: url(../img/profile-menu.png) no-repeat left top;
background-size: 100%;
}
.s-profile > a .sp-pic {
padding: 12px;
}
.s-profile > a .sp-pic > img {
width: 47px;
height: 47px;
border-radius: 50%;
border: 3px solid rgba(0, 0, 0, 0.14);
box-sizing: content-box;
}
.s-profile > a .sp-info {
background: rgba(0, 0, 0, 0.37);
padding: 7px 14px;
color: #fff;
margin-top: 20px;
position: relative;
}
.s-profile > a .sp-info > i {
font-size: 19px;
line-height: 100%;
position: absolute;
right: 15px;
top: 7px;
-webkit-transition: all;
-o-transition: all;
transition: all;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
}
.s-profile .main-menu {
display: none;
margin: 0 0 0;
}
.s-profile.toggled .sp-info > i {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.main-menu {
list-style: none;
padding-left: 0;
margin: 20px 0 0 0;
}
.main-menu a {
-webkit-transition: color;
-o-transition: color;
transition: color;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
}
.main-menu a:hover,
.main-menu .active > a,
.main-menu a.active {
color: #262626;
}
.main-menu > li > a {
padding: 14px 20px 14px 65px;
display: block;
font-weight: 500;
position: relative;
color: #4C4C4C;
}
.main-menu > li > a > i {
position: absolute;
left: 25px;
font-size: 18px;
top: 2px;
width: 25px;
text-align: center;
padding: 13px 0;
}
.main-menu > li > a:hover,
.main-menu > li.active > a {
background-color: #f7f7f7;
}
.sub-menu > a {
position: relative;
}
.sub-menu > a:before,
.sub-menu > a:after {
position: absolute;
top: 50%;
margin-top: -11px;
font-family: 'Material-Design-Iconic-Font';
font-size: 17px;
right: 15px;
-webkit-transition: all;
-o-transition: all;
transition: all;
-webkit-transition-duration: 250ms;
transition-duration: 250ms;
}
.sub-menu > a:before {
content: "\f278";
-webkit-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.sub-menu > a:after {
content: "\f273";
-webkit-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.sub-menu.toggled > a:before {
content: "\f278";
-webkit-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.sub-menu.toggled > a:after {
content: "\f273";
-webkit-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
.sub-menu ul {
list-style: none;
display: none;
padding: 0;
}
.sub-menu ul > li > a {
padding: 8px 20px 8px 65px;
font-weight: 500;
display: block;
color: #989898;
}
.sub-menu ul > li:first-child > a {
padding-top: 14px;
}
.sub-menu ul > li:last-child > a {
padding-bottom: 16px;
}
.sub-menu ul > li ul {
font-size: 12px;
margin: 10px 0;
background-color: #F7F7F7;
}
.sub-menu.active > ul {
display: block;
}
/*-------------------------
For Stupid IE9
--------------------------*/
@media (max-width: 1279px) {
.ie9 #sidebar {
display: none;
}
.ie9 #sidebar.toggled {
display: block;
}
}
.ie9 .sidebar-alt {
display: none;
}
.ie9 .sidebar-alt.toggled {
display: block;
}
.dropdown:not([data-animation]) .dropdown-menu {
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
-webkit-animation-duration: 300ms;
animation-duration: 300ms;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.dropdown-menu {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
padding: 10px 0;
border-radius: 3px;
top: -1px;
margin: 0;
border: 0;
}
.dropdown-menu > li > a {
padding: 10px 20px;
-webkit-transition: background-color;
-o-transition: background-color;
transition: background-color;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
}
.dropdown-menu[class*="bgm-"] > li > a {
color: #fff;
}
.dropup .dropdown-menu {
bottom: -2px;
}
.dm-icon > li > a > .zmdi {
line-height: 100%;
vertical-align: top;
font-size: 18px;
width: 28px;
}
.dropdown-menu-lg {
width: 300px;
}
.dropdown-header {
padding: 3px 17px;
margin-top: 10px;
color: #b1b1b1;
text-transform: uppercase;
font-weight: normal;
}
.btn-group.open .dropdown-toggle {
box-shadow: none;
}
.list-group {
margin-bottom: 0;
}
.list-group .list-group-item {
border: 0;
margin: 0;
padding: 15px 30px;
}
.list-group .list-group-item > .checkbox.pull-left {
margin: 0;
}
.list-group.lg-odd-black .list-group-item:nth-child(odd) {
background-color: #f9f9f9;
}
.list-group.lg-even-black .list-group-item:nth-child(even) {
background-color: #f9f9f9;
}
.lg-header {
text-align: center;
padding: 15px 10px 13px;
line-height: 100%;
text-transform: uppercase;
border-bottom: 1px solid #F0F0F0;
font-weight: 500;
color: #4C4C4C;
margin-bottom: 10px;
}
.lg-header .actions {
position: absolute;
top: 5px;
right: 10px;
}
.lgi-img {
width: 40px;
height: 40px;
border-radius: 50%;
}
.lgi-heading {
color: #000;
margin-bottom: 4px;
display: block;
}
.lgi-heading,
.lgi-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.lgi-text {
display: block;
font-size: 12px;
color: #777777;
}
.lgi-text:not(:last-child) {
margin-bottom: 4px;
}
.lgi-checkbox {
margin-top: 8px;
margin-bottom: 0;
}
.lgi-attrs {
list-style: none;
padding: 0;
margin: 0;
}
.lgi-attrs > li {
display: inline-block;
border: 1px solid #f0f0f0;
margin: 2px 2px 2px 0;
padding: 2px 5px;
font-size: 12px;
color: #777777;
}
.lgi-attrs > li > a {
display: block;
}
.progress {
box-shadow: none;
border-radius: 0;
height: 5px;
margin-bottom: 0;
}
.progress .progress-bar {
box-shadow: none;
}
/*----------------------------------------------------------
For header type 1 only
You may remove these if you opt header 2
-----------------------------------------------------------*/
#header .skin-switch {
padding: 10px 0 2px;
text-align: center;
}
#header .ss-skin {
width: 16px;
height: 16px;
border-radius: 50%;
cursor: pointer;
display: inline-block;
margin: 2px 3px;
}
/* ----------------------------- End header type 1 ------------------------------------- */
/*----------------------------------------------------------
For header type 2 only
You may remove these if you opt header 1
-----------------------------------------------------------*/
@media (min-width: 992px) {
#header-alt .skin-switch {
position: absolute;
right: 50px;
bottom: 23px;
z-index: 1;
}
#header-alt .skin-switch .btn {
background: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 25px;
z-index: 2;
}
#header-alt .skin-switch .dropdown-menu {
display: block;
min-width: 130px;
height: 130px;
border-radius: 50%;
width: 130px;
top: -42px;
left: -40px;
z-index: 1;
-webkit-transform-origin: center;
-moz-transform-origin: center;
-ms-transform-origin: center;
transform-origin: center;
-webkit-transform: scale(0) rotate(-360deg);
-ms-transform: scale(0) rotate(-360deg);
-o-transform: scale(0) rotate(-360deg);
transform: scale(0) rotate(-360deg);
-webkit-transition-duration: 500ms;
transition-duration: 500ms;
}
#header-alt .skin-switch .dropdown-menu .ss-skin {
position: absolute;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-1 {
margin-left: -8px;
top: 12px;
left: 50%;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-2 {
right: 24px;
top: 26px;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-3 {
top: 50%;
margin-top: -8px;
right: 12px;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-4 {
right: 24px;
bottom: 26px;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-5 {
margin-left: -8px;
bottom: 12px;
left: 50%;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-6 {
left: 24px;
bottom: 26px;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-7 {
top: 50%;
margin-top: -8px;
left: 12px;
}
#header-alt .skin-switch .dropdown-menu .ss-skin.ss-8 {
left: 24px;
top: 26px;
}
#header-alt .skin-switch.open .dropdown-menu {
-webkit-transform: scale(1) rotate(0deg);
-ms-transform: scale(1) rotate(0deg);
-o-transform: scale(1) rotate(0deg);
transform: scale(1) rotate(0deg);
}
}
@media (max-width: 991px) {
#header-alt .skin-switch {
display: none;
}
}
/* ----------------------------- End header type 2 ------------------------------------- */
/*-----------------------------------------------------------
Do not remove these
This is common for both
-----------------------------------------------------------*/
.ss-skin {
width: 16px;
height: 16px;
border-radius: 50%;
cursor: pointer;
}
.ss-skin:hover {
opacity: 0.8;
filter: alpha(opacity=80);
}
[data-ma-theme="lightblue"] {
background-color: #03A9F4;
}
[data-ma-theme="lightblue"] .ss-icon {
color: #03A9F4;
}
@media (max-width: 767px) {
[data-ma-theme="lightblue"] .ha-menu {
background: #03A9F4;
}
}
[data-ma-theme="bluegray"] {
background-color: #607D8B;
}
[data-ma-theme="bluegray"] .ss-icon {
color: #607D8B;
}
@media (max-width: 767px) {
[data-ma-theme="bluegray"] .ha-menu {
background: #607D8B;
}
}
[data-ma-theme="blue"] {
background-color: #2196F3;
}
[data-ma-theme="blue"] .ss-icon {
color: #2196F3;
}
@media (max-width: 767px) {
[data-ma-theme="blue"] .ha-menu {
background: #2196F3;
}
}
[data-ma-theme="purple"] {
background-color: #BA68C8;
}
[data-ma-theme="purple"] .ss-icon {
color: #BA68C8;
}
@media (max-width: 767px) {
[data-ma-theme="purple"] .ha-menu {
background: #BA68C8;
}
}
[data-ma-theme="orange"] {
background-color: #FF9800;
}
[data-ma-theme="orange"] .ss-icon {
color: #FF9800;
}
@media (max-width: 767px) {
[data-ma-theme="orange"] .ha-menu {
background: #FF9800;
}
}
[data-ma-theme="cyan"] {
background-color: #00BCD4;
}
[data-ma-theme="cyan"] .ss-icon {
color: #00BCD4;
}
@media (max-width: 767px) {
[data-ma-theme="cyan"] .ha-menu {
background: #00BCD4;
}
}
[data-ma-theme="green"] {
background-color: #4CAF50;
}
[data-ma-theme="green"] .ss-icon {
color: #4CAF50;
}
@media (max-width: 767px) {
[data-ma-theme="green"] .ha-menu {
background: #4CAF50;
}
}
[data-ma-theme="teal"] {
background-color: #009688;
}
[data-ma-theme="teal"] .ss-icon {
color: #009688;
}
@media (max-width: 767px) {
[data-ma-theme="teal"] .ha-menu {
background: #009688;
}
}
[data-ma-theme="pink"] {
background-color: #E91E63;
}
[data-ma-theme="pink"] .ss-icon {
color: #E91E63;
}
@media (max-width: 767px) {
[data-ma-theme="pink"] .ha-menu {
background: #E91E63;
}
}