MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
(jeszcze raz infobox css) |
(Anulowanie wersji 38946 autora Paweł Niemczuk (dyskusja)) |
||
(Nie pokazano 24 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 23: | Linia 23: | ||
font-size: larger; | font-size: larger; | ||
margin-left: inherit; | margin-left: inherit; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* Article message box styles */ | ||
+ | table.ambox { /* 10% = Will not overlap with other */ | ||
+ | margin: -1px 10% 0px; /* elements; -1px = Single border */ | ||
+ | background: #fbfbfb; /* between stacked boxes in all */ | ||
+ | border: 1px solid #aaa; /* browsers */ | ||
+ | border-left: 10px solid #1e90ff; /* Default "notice" blue */ | ||
+ | } | ||
+ | .ambox th.mbox-text, | ||
+ | .ambox td.mbox-text { /* The message body cell(s) */ | ||
+ | padding: 0.25em 0.5em; /* 0.5em left/right */ | ||
+ | } | ||
+ | .ambox td.mbox-image { /* The left image cell */ | ||
+ | padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | ||
+ | } | ||
+ | .ambox td.mbox-imageright { /* The right image cell */ | ||
+ | padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | ||
+ | } | ||
+ | |||
+ | table.ambox-notice { | ||
+ | border-left: 10px solid #1e90ff; /* Blue */ | ||
+ | } | ||
+ | table.ambox-speedy { | ||
+ | border-left: 10px solid #b22222; /* Red */ | ||
+ | background: #fee; /* Pink */ | ||
+ | } | ||
+ | table.ambox-delete { | ||
+ | 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-move { | ||
+ | border-left: 10px solid #9932cc; /* Purple */ | ||
+ | } | ||
+ | table.ambox-protection { | ||
+ | border-left: 10px solid #bba; /* Gray-gold */ | ||
+ | } | ||
+ | |||
+ | /* Mój ambox */ | ||
+ | .myambox { | ||
+ | margin: -1px 10% 0px; /* elements; -1px = Single border */ | ||
+ | background: #fbfbfb; /* between stacked boxes in all */ | ||
+ | border: 1px solid #aaa; /* browsers */ | ||
+ | border-left: 10px solid #9932cc; /* Default "notice" purple */ | ||
+ | } | ||
+ | |||
+ | /* Klasa dokumentacji */ | ||
+ | .template-documentation { | ||
+ | background-color:#ECFCF4; | ||
+ | border:1px solid #a2a9b1; | ||
+ | clear:both; | ||
+ | margin:1em 0pt 0pt; | ||
+ | padding:5px; | ||
+ | } | ||
+ | |||
+ | /* Przycisk kwerendy */ | ||
+ | .przycisk-kw { | ||
+ | background-color: #e3e7ed; | ||
+ | border: 0.5px solid #bdc1c9; | ||
+ | color: white; | ||
+ | text-align: center; | ||
+ | padding: 5px 10px; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | /* Formularz Lw metryka pojazdu */ | ||
+ | div.lw-form { | ||
+ | width: 80%; | ||
+ | background-color: lightgrey; | ||
+ | text-align: center; | ||
+ | margin: 0 auto 10px auto; | ||
+ | } | ||
+ | div.lw-form div { | ||
+ | width: 100%; | ||
+ | background-color: lightblue; | ||
+ | text-align: left; | ||
+ | } | ||
+ | div.lw-form div p { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | div.lw-form > p { | ||
+ | text-align: left; | ||
+ | font-style: italic; | ||
+ | border-bottom: 1px solid blue; | ||
+ | } | ||
+ | div.lw-form p+p { | ||
+ | text-align: center; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | /* Formularz "Tr" */ | ||
+ | .tr { | ||
+ | border: 2px solid red | ||
} | } |
Aktualna wersja na dzień 00:20, 26 sty 2019
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
/* Style dla infoboksów */
.infobox {
border: 1px solid #aaa;
background-color: #f8f8f8;
border-collapse: collapse;
color: black;
font-size: 90%;
text-align:left;
margin-bottom: 0.5em;
margin-left: 1em;
border-spacing: 0;
float: right;
clear: right;
width: 250px;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
/* Article message box styles */
table.ambox { /* 10% = Will not overlap with other */
margin: -1px 10% 0px; /* elements; -1px = Single border */
background: #fbfbfb; /* between stacked boxes in all */
border: 1px solid #aaa; /* browsers */
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.ambox-speedy {
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete {
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-move {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
/* Mój ambox */
.myambox {
margin: -1px 10% 0px; /* elements; -1px = Single border */
background: #fbfbfb; /* between stacked boxes in all */
border: 1px solid #aaa; /* browsers */
border-left: 10px solid #9932cc; /* Default "notice" purple */
}
/* Klasa dokumentacji */
.template-documentation {
background-color:#ECFCF4;
border:1px solid #a2a9b1;
clear:both;
margin:1em 0pt 0pt;
padding:5px;
}
/* Przycisk kwerendy */
.przycisk-kw {
background-color: #e3e7ed;
border: 0.5px solid #bdc1c9;
color: white;
text-align: center;
padding: 5px 10px;
display: inline-block;
}
/* Formularz Lw metryka pojazdu */
div.lw-form {
width: 80%;
background-color: lightgrey;
text-align: center;
margin: 0 auto 10px auto;
}
div.lw-form div {
width: 100%;
background-color: lightblue;
text-align: left;
}
div.lw-form div p {
font-weight: bold;
}
div.lw-form > p {
text-align: left;
font-style: italic;
border-bottom: 1px solid blue;
}
div.lw-form p+p {
text-align: center;
border: none;
}
/* Formularz "Tr" */
.tr {
border: 2px solid red
}