Predefinição:Ambox/styles.css

De CodexOnline - Advogado Completo
Ir para navegaçãoIr para pesquisar

.ambox { border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; }

/* Single border between stacked boxes. Take into account base templatestyles,

* user styles, and Template:Dated maintenance category.
* remove link selector when T200206 is fixed
*/

.ambox + link + .ambox, .ambox + link + style + .ambox, .ambox + link + link + .ambox, /* TODO: raise these as "is this really that necessary???". the change was Dec 2021 */ .ambox + .mw-empty-elt + link + .ambox, .ambox + .mw-empty-elt + link + style + .ambox, .ambox + .mw-empty-elt + link + link + .ambox { margin-top: -1px; }

/* For the "small=left" option. */ /* must override .ambox + .ambox styles above */ html body.mediawiki .ambox.mbox-small-left { /* @noflip */ margin: 4px 1em 4px 0; overflow: hidden; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; }

.ambox-speedy { /* @noflip */ border-left: 10px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ }

.ambox-delete { /* @noflip */ border-left: 10px solid #b32424; /* Red */ }

.ambox-content { /* @noflip */ border-left: 10px solid #f28500; /* Orange */ }

.ambox-style { /* @noflip */ border-left: 10px solid #fc3; /* Yellow */ }

.ambox-move { /* @noflip */ border-left: 10px solid #9932cc; /* Purple */ }

.ambox-protection { /* @noflip */ border-left: 10px solid #a2a9b1; /* Gray-gold */ }

.ambox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.5em; width: 100%; }

.ambox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.5em; text-align: center; }

.ambox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.5em 2px 0; text-align: center; }

/* An empty narrow cell */ .ambox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.ambox .mbox-image-div { width: 52px; }

@media (min-width: 720px) { .ambox { margin: 0 10%; /* 10% = Will not overlap with other elements */ } }

.cmbox { margin: 3px 0; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #dfe8ff; /* Default "notice" blue */ box-sizing: border-box;

   /* necessary when embedded in other templates like Category:Pending_AfC_submissions */

color: var( --color-base ); }

.cmbox-speedy { border: 4px solid #b32424; /* Red */ background-color: #ffdbdb; /* Pink */ }

.cmbox-delete { background-color: #ffdbdb; /* Pink */ }

.cmbox-content { background-color: #ffe7ce; /* Orange */ }

.cmbox-style { background-color: #fff9db; /* Yellow */ }

.cmbox-move { background-color: #e4d8ff; /* Purple */ }

.cmbox-protection { background-color: #efefe1; /* Gray-gold */ }

.cmbox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.cmbox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.cmbox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

/* An empty narrow cell */ .cmbox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.cmbox .mbox-invalid-type { text-align: center; }

@media (min-width: 720px) { .cmbox { margin: 3px 10%; } }

/* flipped lightness in hsl space except the main cmbox is the main page blue */

@media screen {

   html.skin-theme-clientpref-night .cmbox {

background-color: #0d1a27; /* Default "notice" blue */ }

html.skin-theme-clientpref-night .cmbox-speedy, html.skin-theme-clientpref-night .cmbox-delete { background-color: #300; /* Pink */ }

html.skin-theme-clientpref-night .cmbox-content { background-color: #331a00; /* Orange */ }

html.skin-theme-clientpref-night .cmbox-style { background-color: #332b00; /* Yellow */ }

html.skin-theme-clientpref-night .cmbox-move { background-color: #08001a; /* Purple */ }

html.skin-theme-clientpref-night .cmbox-protection { background-color: #212112; /* Gray-gold */ } }


@media screen and ( prefers-color-scheme: dark) { html.skin-theme-clientpref-os .cmbox { background-color: #0d1a27; /* Default "notice" blue */ }

html.skin-theme-clientpref-os .cmbox-speedy, html.skin-theme-clientpref-os .cmbox-delete { background-color: #300; /* Pink */ }

html.skin-theme-clientpref-os .cmbox-content { background-color: #331a00; /* Orange */ }

html.skin-theme-clientpref-os .cmbox-style { background-color: #332b00; /* Yellow */ }

html.skin-theme-clientpref-os .cmbox-move { background-color: #08001a; /* Purple */ }

html.skin-theme-clientpref-os .cmbox-protection { background-color: #212112; /* Gray-gold */ } }

.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1;

   background-color: var(--background-color-interactive-subtle, #f8f9fa);
   box-sizing: border-box;
   color: var(--color-base, #202122);

}

.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background-color: #ffdbdb; /* Pink */ }

.fmbox-editnotice { background-color: transparent; }

.fmbox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.fmbox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.fmbox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

.fmbox .mbox-invalid-type { text-align: center; }


@media screen {

   html.skin-theme-clientpref-night .fmbox-warning {

background-color: #683131; /* Reddish, same hue/saturation as light */ } }


@media screen and ( prefers-color-scheme: dark) { html.skin-theme-clientpref-os .fmbox-warning { background-color: #683131; /* Reddish, same hue/saturation as light */ } }

.imbox { margin: 4px 0; border-collapse: collapse; border: 3px solid #36c; /* Default "notice" blue */ background-color: var(--background-color-interactive-subtle, #f8f9fa); box-sizing: border-box; }

/* For imboxes inside imbox-text cells. */ .imbox .mbox-text .imbox { margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ /* TODO: Still needed? */ display: block; /* Fix for webkit to force 100% width. */ }

.imbox-speedy { border: 3px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ }

.imbox-delete { border: 3px solid #b32424; /* Red */ }

.imbox-content { border: 3px solid #f28500; /* Orange */ }

.imbox-style { border: 3px solid #fc3; /* Yellow */ }

.imbox-move { border: 3px solid #9932cc; /* Purple */ }

.imbox-protection { border: 3px solid #a2a9b1; /* Gray-gold */ }

.imbox-license { border: 3px solid #88a; /* Dark gray */ }

.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ }

.imbox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.imbox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.imbox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

/* An empty narrow cell */ .imbox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.imbox .mbox-invalid-type { text-align: center; }

@media (min-width: 720px) { .imbox { margin: 4px 10%; } }


@media screen {

   html.skin-theme-clientpref-night .imbox-speedy {

background-color: #310402; /* Dark red, same hue/saturation as light */ } }


@media screen and ( prefers-color-scheme: dark) { html.skin-theme-clientpref-os .imbox-speedy { background-color: #310402; /* Dark red, same hue/saturation as light */ } }

.ombox { margin: 4px 0; border-collapse: collapse; background-color: var(--background-color-neutral-subtle, #f8f9fa); box-sizing: border-box; border: 1px solid #a2a9b1; color: var(--color-base, #202122); }

/* For the "small=yes" option. */ .ombox.mbox-small { font-size: 88%; line-height: 1.25em; }

.ombox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ }

.ombox-delete { border: 2px solid #b32424; /* Red */ }

.ombox-content { border: 1px solid #f28500; /* Orange */ }

.ombox-style { border: 1px solid #fc3; /* Yellow */ }

.ombox-move { border: 1px solid #9932cc; /* Purple */ }

.ombox-protection { border: 2px solid #a2a9b1; /* Gray-gold */ }

.ombox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.ombox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.ombox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

/* An empty narrow cell */ .ombox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.ombox .mbox-invalid-type { text-align: center; }

@media (min-width: 720px) { .ombox { margin: 4px 10%; }

.ombox.mbox-small { /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; width: 238px; } }

/** T367463 */ body.skin--responsive table.ombox img { max-width: none !important; }

@media screen { html.skin-theme-clientpref-night .ombox-speedy { background-color: #310402; /* Dark red, same hue/saturation as light */ } }

@media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .ombox-speedy { background-color: #310402; /* Dark red, same hue/saturation as light */ } }


.tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background-color: #f8eaba; box-sizing: border-box; }

/* For the "small=yes" option. */ .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; }

.tmbox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ }

.tmbox-delete { border: 2px solid #b32424; /* Red */ }

.tmbox-content { border: 1px solid #c0c090; /* Orange */ }

.tmbox-style { border: 2px solid #fc3; /* Yellow */ }

.tmbox-move { border: 2px solid #9932cc; /* Purple */ }

.tmbox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.tmbox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.tmbox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

/* An empty narrow cell */ .tmbox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.tmbox .mbox-invalid-type { text-align: center; }

@media (min-width: 720px) { .tmbox { margin: 4px 10%; }

.tmbox.mbox-small { /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; width: 238px; } }


@media screen {

   html.skin-theme-clientpref-night .tmbox {

background-color: #2e2505; /* Dark brown, same hue/saturation as light */ }

html.skin-theme-clientpref-night .tmbox-speedy { background-color: #310402; /* Dark red, same hue/saturation as light */ } }


@media screen and ( prefers-color-scheme: dark) { html.skin-theme-clientpref-os .tmbox { background-color: #2e2505; /* Dark brown, same hue/saturation as light */ }

html.skin-theme-clientpref-os .tmbox-speedy { background-color: #310402; /* Dark red, same hue/saturation as light */ } }

/** T367463 */ body.skin--responsive table.tmbox img { max-width: none !important; }