Más acciones
Sin resumen de edición |
Sin resumen de edición |
||
Línea 45: | Línea 45: | ||
} | } | ||
mbox { | |||
. | --type-important: rgba(200, 0, 0, 0.8); | ||
--type-moderate: rgba(233, 124, 47, 0.8); | |||
--type-minor: rgba(241, 197, 37, 0.8); | |||
display: flex; | |||
position: relative; | |||
background-color: rgba(255, 255, 255, 0.7); | |||
border: 1px solid #d6d6d6; | |||
border-left-width: 8px; | |||
border-left-color: #d6d6d6; | |||
border-radius: 3px; | |||
margin-bottom: 5px; | |||
min-height: 32px; | |||
} | } | ||
.mbox.mbox-type- | .mbox.mbox-type-important { | ||
border-left-color: var(--type-important); | |||
} | } | ||
.mbox.mbox-type- | .mbox.mbox-type-moderate { | ||
border-left-color: var(--type-moderate); | |||
} | |||
.mbox.mbox-type-minor { | |||
border-left-color: var(--type-minor); | |||
} | } | ||
.mbox__content { | .mbox__content { | ||
display: table; | |||
box-sizing: border-box; | |||
width: 100%; | |||
padding: 8px 15px; | |||
} | } | ||
.mbox__content__image { | .mbox__content__image { | ||
display: table-cell; | |||
width: 40px; | |||
height: 100%; | |||
text-align: center; | |||
vertical-align: middle; | |||
padding-right: 15px; | |||
} | } | ||
.mbox__content__wrapper { | .mbox__content__wrapper { | ||
display: table-cell; | |||
vertical-align: middle; | |||
} | } | ||
.mbox__content__header { | .mbox__content__header { | ||
display: block; | |||
font-weight: bold; | |||
} | } | ||
.mbox__content__text { | .mbox__content__text { | ||
display: block; | |||
} | } | ||
.mbox__content__text__comment { | .mbox__content__text__comment { | ||
font-size: small; | |||
} | } | ||
.mbox__content__aside { | .mbox__content__aside { | ||
display: table-cell; | |||
width: 100px; | |||
vertical-align: middle; | |||
text-align: center; | |||
padding-left: 15px; | |||
border-left: 1px solid #d6d6d6; | |||
} | } | ||
.mbox__close { | .mbox__close { | ||
position: absolute; | |||
right: 0; | |||
top: 0; | |||
padding: 2px 7px; | |||
font-weight: bold; | |||
font-size: 16px; | |||
color: #bbb; | |||
cursor: pointer; | |||
transition: all .15s ease-in; | |||
} | |||
.mbox__close:hover { | |||
color: #777; | |||
} | |||
.mbox__close:after { | |||
content: '×'; | |||
} | |||
.mw-collapsed + .mbox__close { | |||
transform: rotate(45deg); | |||
padding: 4px 7px 5px 2px; | |||
} | |||
/* Ensure text is readable in the FandomDesktop dark theme. */ | |||
.theme-fandomdesktop-dark .mbox { | |||
background-color: var(--theme-page-background-color--secondary); | |||
border-color: var(--theme-border-color); | |||
} | } |
Revisión del 22:30 1 nov 2023
/* All CSS here will be loaded for users of the Citizen skin */
/* Courtesy of starcitizen.tools */
:root {
--color-primary__h: 205;
}
/* Adjust contrast since we changed primary color */
:root.skin-citizen-dark {
--color-primary__l: 56%;
}
/* Align icon opacity with skin default */
.mw-logo-icon {
opacity: var( --opacity-icon-base );
}
/*
* Footer icons
* We use custom footer icons so we need to fine tune it
/* More space between icons
#footer-icons ul {
gap: var( --space-md );
}
*/
/* Background responsive para las plantillas */
.bgesp {
background-color:#f9fafb;
}
.skin-citizen-dark .bgesp {
background-color: #1d2830;
}
/* Color de letra Púrpura para las plantillas */
.purpura {
color:#520044;
}
.skin-citizen-dark .purpura {
color: #df00b9;
}
mbox {
--type-important: rgba(200, 0, 0, 0.8);
--type-moderate: rgba(233, 124, 47, 0.8);
--type-minor: rgba(241, 197, 37, 0.8);
display: flex;
position: relative;
background-color: rgba(255, 255, 255, 0.7);
border: 1px solid #d6d6d6;
border-left-width: 8px;
border-left-color: #d6d6d6;
border-radius: 3px;
margin-bottom: 5px;
min-height: 32px;
}
.mbox.mbox-type-important {
border-left-color: var(--type-important);
}
.mbox.mbox-type-moderate {
border-left-color: var(--type-moderate);
}
.mbox.mbox-type-minor {
border-left-color: var(--type-minor);
}
.mbox__content {
display: table;
box-sizing: border-box;
width: 100%;
padding: 8px 15px;
}
.mbox__content__image {
display: table-cell;
width: 40px;
height: 100%;
text-align: center;
vertical-align: middle;
padding-right: 15px;
}
.mbox__content__wrapper {
display: table-cell;
vertical-align: middle;
}
.mbox__content__header {
display: block;
font-weight: bold;
}
.mbox__content__text {
display: block;
}
.mbox__content__text__comment {
font-size: small;
}
.mbox__content__aside {
display: table-cell;
width: 100px;
vertical-align: middle;
text-align: center;
padding-left: 15px;
border-left: 1px solid #d6d6d6;
}
.mbox__close {
position: absolute;
right: 0;
top: 0;
padding: 2px 7px;
font-weight: bold;
font-size: 16px;
color: #bbb;
cursor: pointer;
transition: all .15s ease-in;
}
.mbox__close:hover {
color: #777;
}
.mbox__close:after {
content: '×';
}
.mw-collapsed + .mbox__close {
transform: rotate(45deg);
padding: 4px 7px 5px 2px;
}
/* Ensure text is readable in the FandomDesktop dark theme. */
.theme-fandomdesktop-dark .mbox {
background-color: var(--theme-page-background-color--secondary);
border-color: var(--theme-border-color);
}