MediaWiki:Common.css: Różnice pomiędzy wersjami
Z Złomformatyk
Przejdź do nawigacjiPrzejdź do wyszukiwania
Znacznik: Anulowanie edycji |
(Brak różnic)
|
Aktualna wersja na dzień 21:44, 3 gru 2024
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ /* Article message box template styles */ table.ambox { border-collapse: collapse; background-color: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } .ambox .ambox-text, .ambox .ambox-text { /* The message body cell(s) */ padding: 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } .ambox .ambox-image { /* The left image cell */ padding: 4px 0 4px 0.5em; /* 0.5em left, 0 right */ text-align: center; } .ambox .ambox-imageright { /* The right image cell */ padding: 4px 4px 4px 0; /* 0 left, 4px right */ text-align: center; } table.ambox-notice {border-left: 10px solid #1e90ff;} /* Blue */ 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-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; } @media screen and (max-width: 850px) { table.ambox { margin: 0 !important; } }