MediaWiki:Common.css

Z Altaron Wiki

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

______

.npc-infobox {
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f9f9f9;
  overflow: auto;
}

.npc-infobox-tabs {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.npc-infobox-tab {
  cursor: pointer;
  padding: 10px;
  background-color: lightgray;
  border: 1px solid gray;
  border-radius: 4px;
  margin-right: 10px;
}

.npc-infobox-tab.active {
  background-color: white;
}

.npc-infobox-tab:hover {
  background-color: lightblue;
}

.npc-infobox-content {
  margin-top: 10px;
  width: 100%;
  min-height: 200px;
}

.npc-infobox-tab-content {
  display: none;
  border: 1px solid #ccc;
  padding: 10px;
  min-height: 200px;
}

.npc-infobox-tab-content.active {
  display: block;
}

.npc-infobox-location-image {
  max-width: 150px; /* Zwiększono szerokość zdjęcia */
  float: left; /* Dodano */
  margin-right: 10px; /* Dodano margines z prawej strony */
}

.npc-infobox-location-info {
  overflow: hidden; /* Dodano */
}

.npc-infobox-location-info p {
  margin-bottom: 10px;
}