Mall:Ambox/styles.css

< Mall:Ambox
Version från den 23 april 2018 kl. 16.06 av Sara Mörtsell (WMSE) (diskussion | bidrag) (1 version importerades)
(skillnad) ← Äldre version | Nuvarande version (skillnad) | Nyare version → (skillnad)

/* mall för kvalitetsmallar */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #608ec2; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: .25em .5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } table.ambox td.ambox-image { /* The left image cell */ padding: 2px 0 2px .5em; /* 0.5em left, 0px right */ text-align: center; vertical-align: middle; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0; /* 0px left, 4px right */ text-align: center; vertical-align: middle; } table.ambox-notice { border-left: 10px solid #608ec2; /* Blue */ /* border-right: 10px solid #608ec2; */ /* If you want two blue bars */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-merge { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } .ambox + .ambox, .topbox + .ambox, .ambox + .topbox { border-top-width:0; }

/* Mallar för meddelanderutor */

.messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px; }