MediaWiki:Common.css: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
m |
m |
||
| Linia 114: | Linia 114: | ||
/* Kolory tła w tabelce Rolnictwa */ | /* Kolory tła w tabelce Rolnictwa */ | ||
| − | |||
| − | |||
| − | |||
| − | |||
.plants-speed-25 { | .plants-speed-25 { | ||
| − | background-color: # | + | background-color: #fe5a4a; |
} | } | ||
.plants-speed-50 { | .plants-speed-50 { | ||
| − | background-color: # | + | background-color: #e87f00; |
} | } | ||
.plants-speed-75 { | .plants-speed-75 { | ||
| − | background-color: # | + | background-color: #baa100; |
} | } | ||
.plants-speed-100 { | .plants-speed-100 { | ||
| − | background-color: # | + | background-color: #91b300; |
| + | } | ||
| + | .plants-speed-150 { | ||
| + | background-color: #76bb00; | ||
} | } | ||
| − | + | .plants-speed-200 { | |
| − | + | background-color: #01c941; | |
} | } | ||
Wersja z 21:04, 9 sty 2022
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
/* Panele strony głównej */
.mp-panel {
margin-bottom: 0.4em;
padding: 0.4em;
border: 1px solid;
}
.mp-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.25em;
border: 1px solid;
}
.mp-header h2 {
margin: 0.1em;
background-color: unset;
border: unset;
font-family: Arial, sans-serif !important;
font-size: 1.2em;
font-weight: bold;
color: #222;
}
.mp-header-side {
margin: 0 0.6em;
font-style: italic;
font-weight: bold;
font-size: 0.9em;
}
.mp-content {
padding: 0.4em;
clear: both;
overflow: hidden;
}
.mp-row {
display: flex;
flex-direction: row;
}
.mp-row > .mp-panel {
flex: 1 1;
margin-right: 0.4em;
}
.mp-row > .mp-panel:last-child {
margin-right: 0 !important;
}
@media screen and (max-width: 768px) {
.mp-row {
flex-direction: column;
}
.mp-row > .mp-panel {
margin-right: 0 !important;
}
}
/* Kolory paneli */
.mp-nocolor {
background-color: #f8f9fa;
border-color: #dddddd;
}
.mp-nocolor .mp-header {
background-color: #eeeeee;
border-color: #dddddd;
}
.mp-green {
background-color: #f2fff9;
border-color: #cef2e0;
}
.mp-green .mp-header {
background-color: #cef2e0;
border-color: #a3bfb1;
}
.mp-blue {
background-color: #f2f8ff;
border-color: #CEE0F2;
}
.mp-blue .mp-header {
background-color: #cedff2;
border-color: #a3b0bf;
}
.mp-purple {
background-color: #FAF5FF;
border-color: #E0CEF2;
}
.mp-purple .mp-header {
background-color: #e0cef2;
border-color: #afa3bf;
}
.mp-pink {
background-color: #FFF5FA;
border-color: #F2CEE0;
}
.mp-pink .mp-header {
background-color: #f2cee0;
border-color: #bfa3b1;
}
.mp-orange {
background-color: #fff9f3;
border-color: #ffdcb8;
}
.mp-orange .mp-header {
background-color: #ffdcb8;
border-color: #ffb569;
}
/* Kolory tła w tabelce Rolnictwa */
.plants-speed-25 {
background-color: #fe5a4a;
}
.plants-speed-50 {
background-color: #e87f00;
}
.plants-speed-75 {
background-color: #baa100;
}
.plants-speed-100 {
background-color: #91b300;
}
.plants-speed-150 {
background-color: #76bb00;
}
.plants-speed-200 {
background-color: #01c941;
}