MediaWiki:Common.css
Z Dubbingpedia
Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
- Opera: Naciśnij klawisze Ctrl+F5.
/* CSS do wklejenia w MediaWiki:Common.css dla nowej strony głównej. */
.dp-home-feature-grid {
display: flex;
flex-wrap: wrap;
gap: 14px;
padding: 14px;
}
.dp-home-feature-card {
flex: 1 1 220px;
min-width: 190px;
border: 1px solid #a2a9b1;
background: #fff;
overflow: hidden;
}
.dp-home-feature-image {
background: #eaecf0;
border-bottom: 1px solid #a2a9b1;
}
.dp-home-feature-image > p {
margin: 0;
}
.dp-home-feature-image a,
.dp-home-feature-image .mw-file-description {
display: block;
}
.dp-home-feature-image img,
.dp-home-feature-image .mw-file-element {
display: block;
width: 100% !important;
height: auto !important;
max-width: 100%;
}
.dp-home-feature-text {
padding: 11px 14px;
}
.dp-home-founder-image > p {
margin: 0;
}
.dp-home-founder-image a,
.dp-home-founder-image .mw-file-description {
display: block;
}
.dp-home-founder-image img,
.dp-home-founder-image .mw-file-element {
display: block;
width: 100% !important;
height: auto !important;
max-width: 100%;
}
.dp-home-searchbox {
border: 1px solid #a2a9b1;
background: #fff;
padding: 8px;
}
.dp-home-searchbox form.searchbox {
display: flex;
gap: 0;
align-items: stretch;
margin: 0;
border: 2px solid #064f9e;
background: #fff;
}
.dp-home-searchbox .mw-inputbox-centered {
margin-left: 0;
margin-right: 0;
}
.dp-home-searchbox input[type="search"],
.dp-home-searchbox input.mw-searchInput,
.dp-home-searchbox input.searchboxInput {
flex: 1 1 auto;
min-width: 0;
width: 100%;
box-sizing: border-box;
border: 0;
background: #fff;
padding: 10px 12px;
font-size: 15px;
line-height: 1.35;
outline: 0;
box-shadow: none;
appearance: none;
}
.dp-home-searchbox input[type="submit"] {
box-sizing: border-box;
border: 0;
border-left: 2px solid #064f9e;
background: #064f9e !important;
background-image: none !important;
color: #fff !important;
padding: 10px 16px;
font-size: 14px;
line-height: 1.35;
font-weight: 800;
cursor: pointer;
text-shadow: none;
box-shadow: none;
appearance: none;
}
.dp-home-searchbox input[name="fulltext"] {
display: none;
}
@media (max-width: 520px) {
.dp-home-searchbox form.searchbox {
display: block;
}
.dp-home-searchbox input[type="search"],
.dp-home-searchbox input.mw-searchInput,
.dp-home-searchbox input.searchboxInput,
.dp-home-searchbox input[type="submit"] {
display: block;
width: 100%;
margin: 0;
}
.dp-home-searchbox input[type="submit"] {
border-left: 0;
border-top: 2px solid #064f9e;
margin-bottom: 0;
}
}