Khác biệt giữa bản sửa đổi của “MediaWiki:Common.css”

Nội dung được xóa Nội dung được thêm vào
Prenn (thảo luận | đóng góp)
Không có tóm lược sửa đổi
Prenn (thảo luận | đóng góp)
Không có tóm lược sửa đổi
Dòng 595:
left: -3px;
margin-top: 3px;
}
 
/* Thử nghiệm kiểu dáng mới cho vCard, lấy từ Wikivoyage tiếng Đức */
 
.p-geo {
display: none;
}
 
.vCard {
display: block;
}
p > .vCard, li > .vCard, dd > .vCard {
display: inline;
clear: none;
}
div.vCard + div.vCard {
margin-top: 0.4em;
}
.listing-name {
font-weight: bold;
}
.listing-image {
float: right;
display: none;
}
.vCard .listing-lastedit {
font-size: 0.8em;
color: #969696;
}
.listing-hours, .listing-checkin, .listing-checkout, .listing-price, .listing-credit, .listing-subtype {
color: #606060;
}
.listing-vcardInfo {
color: #ff0000 ;
background: #ffff00 ;
display: none;
}
.listing-techParams, .listing-sister-wikidata {
display: none;
}
.vCard .listing-add-contact {
display: none;
}
.poi {
position: relative;
top: -1px;
}
.vCard .wv-flag-icon {
position: relative;
top: 2px;
}
.vCard .listing-social-media, .vCard .listing-sister-icons {
position: relative;
top: -1px;
}
.vCard .listing-social-media .external, .vCard .listing-sister-icons .external { /* unterdrücke Link-Symbol bei sozialen Medien */
background: none;
padding-right: 0;
}
/* .listing-vcard-indent {
margin-left: 22px;
text-indent: -22px;
} */
 
/* Kiểu dáng cho poi và Kartographer */
 
.poi {
display: inline-block;
min-width: 1em;
line-height: 1.15em;
text-align: center;
padding: 0 1px;
background-color: fuchsia;
border: 1px solid fuchsia;
font-weight: bold;
color: #ffffff;
border-radius: 1px;
}
 
.poi a.external:link, .poi a.external:visited, .poi a.external:hover, .poi a.external:active,
.poi a.mw-kartographer-link:link, .poi a.mw-kartographer-link:visited, .poi a.mw-kartographer-link:hover, .poi a.mw-kartographer-link:active {
color: #ffffff;
text-decoration: none;
}
 
.poi, .mw-kartographer-maplink, .mw-kartographer-autostyled {
border-radius: 3px;
}
 
.leaflet-popup-content { /* Kartographer-Popup */
width: 141px !important;
}
.leaflet-popup-content .marker-title {
font-weight: normal;
}
.leaflet-popup-content img {
display: block;
width: 100% !important;
height: auto !important;
}
 
.mw-kartographer-container.thumb:not(.mw-kartographer-full) .thumbinner > .mw-kartographer-map {
border: 1px solid #ccc;
box-sizing: border-box;
}
 
.wv-staticMap {
position: relative;
left: -3px;
margin-top: 3px;
}
 
.osm div.thumb { /* Karten- und Datenquellen */
margin-bottom: 0;
}
.osm div.thumbinner {
border: none;
padding: 0;
}
.osm .thumbcaption {
padding: 0;
}
 
body {
counter-reset: poi_error poi_buy poi_blue poi_do poi_drink poi_eat poi_go poi_gold poi_lime poi_maroon poi_mediumaquamarine poi_other poi_red poi_royalblue poi_see poi_silver poi_sleep;
}
 
.type_error .poi_autonum::before, .type_fuchsia .poi_autonum::before {
content: counter(poi_error);
counter-increment: poi_error; /* Addiere 1 zu poi_error */
}
 
.type_black, .type_drink, .type_bar, .type_cafe { background-color: black; border-color: black; }
 
.type_black .poi_autonum::before, .type_drink .poi_autonum::before {
content: counter(poi_drink);
counter-increment: poi_drink;
}
 
.type_blue { background-color: blue; border-color: blue; }
 
.type_blue .poi_autonum::before {
content: counter(poi_blue);
counter-increment: poi_blue;
}
 
.type_brown, .type_go, .type_public_transport { background-color: brown; border-color: brown; }
 
.type_brown .poi_autonum::before, .type_go .poi_autonum::before {
content: counter(poi_go);
counter-increment: poi_go;
}
 
.type_chocolate, .type_eat, .type_restaurant { background-color: chocolate; border-color: chocolate; }
 
.type_chocolate .poi_autonum::before, .type_eat .poi_autonum::before {
content: counter(poi_eat);
counter-increment: poi_eat;
}
 
.type_forestgreen, .type_other, .type_tourist_information { background-color: forestgreen; border-color: forestgreen; }
 
.type_forestgreen .poi_autonum::before, .type_other .poi_autonum::before {
content: counter(poi_other);
counter-increment: poi_other;
}
 
.type_gold { background-color: gold; border-color: gold; }
 
.type_gold .poi_autonum::before {
content: counter(poi_gold);
counter-increment: poi_gold;
}
 
.type_grey, .type_do, .type_sport, .type_dive_center { background-color: grey; border-color: grey; }
 
.type_grey .poi_autonum::before, .type_do .poi_autonum::before {
content: counter(poi_do);
counter-increment: poi_do;
}
 
.type_lime { background-color: lime; border-color: lime; }
 
.type_lime .poi_autonum::before {
content: counter(poi_lime);
counter-increment: poi_lime;
}
 
.type_maroon { background-color: maroon; border-color: maroon; }
 
.type_maroon .poi_autonum::before {
content: counter(poi_maroon);
counter-increment: poi_maroon;
}
 
.type_mediumaquamarine { background-color: mediumaquamarine; border-color: mediumaquamarine; }
 
.type_mediumaquamarine .poi_autonum::before {
content: counter(poi_mediumaquamarine);
counter-increment: poi_mediumaquamarine;
}
 
.type_navy, .type_sleep, .type_hotel { background-color: navy; border-color: navy; }
 
.type_navy .poi_autonum::before, .type_sleep .poi_autonum::before {
content: counter(poi_sleep);
counter-increment: poi_sleep;
}
 
.type_red { background-color: red; border-color: red; }
 
.type_red .poi_autonum::before {
content: counter(poi_red);
counter-increment: poi_red;
}
 
.type_royalblue, .type_view { background-color: royalblue; border-color: royalblue; }
 
.type_royalblue .poi_autonum::before, .type_view .poi_autonum::before {
content: counter(poi_royalblue);
counter-increment: poi_royalblue;
}
 
.type_silver { background-color: silver; border-color: silver; }
 
.type_silver .poi_autonum::before {
content: counter(poi_silver);
counter-increment: poi_silver;
}
 
.type_steelblue, .type_see, .type_church, .type_mosque { background-color: steelblue; border-color: steelblue; }
 
.type_steelblue .poi_autonum::before, .type_see .poi_autonum::before {
content: counter(poi_see);
counter-increment: poi_see;
}
 
.type_target { background-color: #ffcccc; border-color: #ffcccc; }
 
.type_teal, .type_buy, .type_market { background-color: teal; border-color: teal; }
 
.type_teal .poi_autonum::before, .type_buy .poi_autonum::before {
content: counter(poi_buy);
counter-increment: poi_buy;
}
 
@media print {
.poi {
background: #ffffff;
}
 
.poi a.external:link, .poi a.external:visited, .poi a.external:hover, .poi a.external:active {
color: #000000;
}
}