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: 100%;
margin-left: 10%;
margin-right: 10%;
}
.mw-content-container {
margin-left: 15em;
max-width: 100em;
margin-right: 20px;
}
.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;
}