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

Z Altaron Wiki
Nie podano opisu zmian
Nie podano opisu zmian
 
(Nie pokazano 25 wersji utworzonych przez 2 użytkowników)
Linia 167: Linia 167:
.altaron-panel2-title a { color: #f2cf65; }
.altaron-panel2-title a { color: #f2cf65; }


______
.altaron-book-window-outer {
 
height: unset;
.npc-infobox {
border: 1px solid #333;
padding: 20px;
background-color: #f9f9f9;
overflow: auto;
font-family: 'Open Sans', sans-serif;
}
 
.npc-infobox-tabs {
display: flex;
justify-content: flex-start;
margin-bottom: 20px;
}
 
.npc-infobox-tab {
cursor: pointer;
padding: 15px 20px;
background-color: #333;
border: none;
border-radius: 4px 4px 0 0;
color: white;
font-weight: bold;
margin-right: 10px;
}
 
.npc-infobox-tab.active {
background-color: white;
color: #333;
border-bottom: 1px solid #333;
}
 
.npc-infobox-tab:hover {
background-color: #444;
}
 
.npc-infobox-content {
margin-top: 20px;
width: 100%;
}
 
.npc-infobox-tab-content {
display: none;
border: 1px solid #333;
padding: 20px;
}
 
.npc-infobox-tab-content.active {
display: block;
}
 
.npc-infobox-location-image {
max-width: 150px;
float: left;
margin-right: 20px;
}
 
.npc-infobox-location-info {
overflow: hidden;
padding-bottom: 20px;
}
 
.npc-infobox-location-info p {
margin-bottom: 20px;
}
 
.clearfix::after {
content: "";
display: table;
clear: both;
}
}

Aktualna wersja na dzień 21:47, 22 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; }

.altaron-book-window-outer {
	height: unset;
}