MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Altaron Wiki
Nie podano opisu zmian
Znacznik: Wycofane
(Anulowanie wersji 130923 autorstwa West (dyskusja))
Znacznik: Anulowanie edycji
Linia 221: Linia 221:


.npc-infobox-tab-content.active {
.npc-infobox-tab-content.active {
   display: block;
   display: flex;
  gap: 1.4em;
   background: #f8f9fa;
   background: #f8f9fa;
}
}

Wersja z 18:57, 16 maj 2023


/* 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 {
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f2f2f2;
  overflow: auto;
  display: flex;
  align-items: center;
}

/* Stylizacja zakładek w infoboxie NPC */
.npc-infobox-tabs {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.npc-infobox-tab {
  cursor: pointer;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  margin-right: 1px;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.npc-infobox-tab.active {
  background-color: #333;
  color: #fff;
}

.npc-infobox-tab:hover:not(.active) {
  background-color: #ddd;
}

/* Stylizacja zawartości zakładek w infoboxie NPC */
.npc-infobox-content {
  margin-top: 10px;
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #bfcfcf;
  background-color: #f9fcff;
}

.npc-infobox-tab-content {
  display: none;
  border: 1px solid #aaaaaa;
  padding: 10px;
}

.npc-infobox-tab-content.active {
  display: flex;
  gap: 1.4em;
  background: #f8f9fa;
}

/* 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;
}