MediaWiki:Common.css
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.
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css");
@import url("https://wiki.altaron.pl/custom/table-sorter/jquery.tablesorter.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css");
body {
background-image: url(https://wiki.altaron.pl/custom/bg.png);
background-repeat: repeat;
background-position: top left;
background-attachment: fixed;
}
.mw-page-container {
width: 100%;
background-image: url(https://wiki.altaron.pl/custom/dragon50.png), url(https://wiki.altaron.pl/custom/bg.png);
background-repeat: no-repeat, repeat;
background-position: top left, top left;
background-size: 50%, 5%;
padding-left: 0;
padding-right: 0;
max-width: 100%;
}
.mw-sidebar {
background: transparent;
width: 15em;
margin-left: 20px;
border-right: 0px solid #f8f9fa;
}
.vector-menu-portal .vector-menu-content li a {
color: #4b4c4c;
font-family: 'Verdana', sans-serif;
font-size: 12px;
display: inline-block;
text-decoration: none;
transition: color 0.2s ease-in-out;
}
.vector-menu-portal .vector-menu-content li a:visited {
color: #4b4c4c;
}
.vector-menu-portal .vector-menu-content li a:hover {
color: #ffc107;
font-weight: bold;
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 4px;
display: inline-block;
}
.vector-menu-portal .vector-menu-heading {
color: #54595d;
font-family: 'Verdana', sans-serif;
font-size: 12px;
font-weight: bold;
cursor: default;
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 4px;
display: inline-block;
}
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
color: white;
background-image: url(/extensions/Altaron/resources/panel_header.png?2074f);
font-family: 'Verdana', sans-serif;
font-size: 12px;
font-weight: bold;
display: inline-block;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.vector-menu-tabs li {
background-image: url(/images/Panel-header-white.png);
font-family: 'Verdana', sans-serif;
display: inline-block;
background-position: center;
background-repeat: no-repeat;
}
#mw-panel ul li a {
display: flex;
align-items: center;
gap: 0.5rem;
}
.icon {
margin-right: 0.5rem;
}
.vector-menu-tabs li a {
color: #4b4c4c;
font-family: 'Verdana', sans-serif;
font-size: 12px;
vertical-align: middle;
font-weight: bold;
}
.mw-workspace-container {
max-width: 100em;
margin-left: auto;
margin-right: auto;
position: relative;
}
.mw-header {
max-width: 100em;
margin-left: auto;
margin-right: auto;
padding: 0 14px;
}
.mw-content-container {
margin-left: 15em;
max-width: 100em;
margin-right: 20px;
background-color: white;
}
.mw-article-toolbar-container {
max-width: 100em;
margin-left: 15em;
margin-right: 20px;
}
#p-namespaces, #p-views {
display: flex;
}
#p-namespaces > .vector-menu-content > ul > li, #p-views > .vector-menu-content > ul > li {
background-size: cover;
}
#p-namespaces > .vector-menu-content > ul > li.selected > a, #p-views > .vector-menu-content > ul > li.selected > a {
height: 100%;
background-size: cover;
}
.altaron-panel2-title {
background-size: cover;
background-position: bottom;
}
#mw-sidebar-button { display: none; }
.mw-footer-container {
padding-top: 0px;
padding-bottom: 0px;
}
#mw-navigation {
padding-bottom: 1px;
}
.altaron-panel2-title a { color: #f2cf65; }
______
/* Stylizacja infoboxa NPC */
.npc-infobox {
margin: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f5f5f5;
}
/* Stylizacja zakładek w infoboxie NPC */
.npc-infobox-tabs {
display: flex;
align-items: center;
justify-content: center;
background-color: #f0f0f0;
padding: 10px 0;
}
.npc-infobox-tab {
flex: 1;
text-align: center;
cursor: pointer;
font-size: 14px;
padding: 5px 10px;
color: black;
}
.npc-infobox-tab.active {
color: white;
font-weight: bold;
}
/* Stylizacja zawartości zakładek w infoboxie NPC */
.npc-infobox-content {
padding: 20px;
}
.npc-infobox-location-info {
font-size: 14px;
margin-bottom: 10px;
}
.npc-infobox-location-image {
margin-right: 10px;
}
/* Stylizacja obrazka lokalizacji w infoboxie NPC */
.npc-infobox-location-image {
max-width: 150px;
margin-right: 10px;
}
/* Stylizacja informacji o lokalizacji w infoboxie NPC */
.npc-infobox-location-info {
overflow: hidden;
padding-bottom: 10px;
display: flex;
flex-direction: column;
font-size: 87.5%;
}
.npc-infobox-location-info p {
margin-bottom: 10px;
}
/* Klasa clearfix do zarządzania elementami układu */
.clearfix::after {
content: "";
display: table;
clear: both;
}
.npc-infobox-tab-content.active > div.tleft {
margin: 0;
}