MediaWiki:Chameleon.css: различия между версиями

Материал из Ascia Wiki
Перейти к:навигация, поиск
Строка 1: Строка 1:
 
@import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant+Infant|PT+Mono|Neucha|MedievalSharp');
 
@import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant+Infant|PT+Mono|Neucha|MedievalSharp');
  
#bodyContent .infobox {
+
#bodyContent.infobox {
  float:right;
+
    background: transparent !important;
  border: 3px double rgba(17,3,0,0.25);
+
    border-image: url('https://vignette.wikia.nocookie.net/darksouls/images/4/48/Wiki_border_1.png/revision/latest?cb=20161006192910&path-prefix=ru') 20 round !important;
  border-radius: 2px;
+
border: 20px solid transparent !important;
  background: #260a00 url(https://neverwinter.gamepedia.com/media/neverwinter.gamepedia.com/a/a8/Neverwinter-Vector-Element-Top-Background.jpg) repeat-y center top;
+
padding: 10px;
  background: url(https://c.radikal.ru/c43/1909/f6/3248c523241d.png) repeat-y center top padding-box, url(https://c.radikal.ru/c43/1909/f6/3248c523241d.png
+
/* @noflip */
) repeat left top padding-box, #110300 url(https://c.radikal.ru/c43/1909/f6/3248c523241d.png) repeat left top border-box;
+
float: right;
  color: #eec9a7;
+
/* @noflip */
  position:relative;
+
clear: right;
  width:280px;
+
font-size: 88%;
  font-size:.923em;
+
line-height: 1.5em;
  margin:0 0 1em 1em;
+
 
  padding: 5px 5px;
+
}
  vertical-align: top;
+
 
 +
.infobox caption {
 +
    font-size: 125%;
 +
    font-weight: bold;
 +
    padding: 0.2em;
 +
   
 +
}
 +
.infobox td,
 +
.infobox th {
 +
    vertical-align: top;
 +
    /* @noflip */
 +
    text-align: left;
 +
    padding: 4px;
 
}
 
}
#bodyContent .infobox .icon {
+
.infobox.bordered {
  float:right;
+
border-collapse: collapse;
  position:relative;
+
   
  z-index:2;
 
  width:auto;
 
  margin:5px;
 
 
}
 
}
 
+
.infobox.bordered td,
#bodyContent .infobox .icon p {
+
.infobox.bordered th {
  text-align:center;
+
border: 1px solid #a2a9b1;
  color:#444;
 
  font-size:9px!important;
 
  background-color:rgba(255,255,255,0.5);
 
  border-radius:.75em;
 
  line-height:1em;
 
  margin:.25em -.5em;
 
  padding:2px;
 
 
}
 
}
 
+
.infobox.bordered .borderless td,
#bodyContent .infobox .wrapper {
+
.infobox.bordered .borderless th {
  clear:both;
+
    border: 0;
  padding:0;
 
 
}
 
}
  
#bodyContent .infobox .heading {
+
.infobox.sisterproject {
  font-weight:700;
+
    width: 20em;
  text-align:center;
+
    font-size: 90%;
  border-bottom-width:0;
 
  position:relative;
 
  z-index:1;
 
  margin:-1px -1px 5px!important;
 
 
}
 
}
  
#bodyContent .infobox .heading {
+
.infobox.standard-talk {
  font-family:"Palatino Linotype",Palatino,Palladio,"URW Palladio L","Book Antiqua",Baskerville,"Bookman Old Style","Bitstream Charter","Nimbus Roman No9 L",Garamond,"Apple Garamond","ITC Garamond Narrow","New Century Schoolbook","Century Schoolbook","Century Schoolbook L",Georgia,serif;
+
    border: 1px solid #c0c090;
  font-size:1.417em!important;
+
    background-color: #f8eaba;
  color: #f7aa54!important;
 
  background-color: #1b0603;
 
  line-height:1.176em;
 
  font-size-adjust:.43;
 
  padding:.5em!important;
 
 
}
 
}
 
+
.infobox.standard-talk.bordered td,
div.infobox .subheading, div.nav .subheading {
+
.infobox.standard-talk.bordered th {
  font-weight:700;
+
    border: 1px solid #c0c090;
  background-color: #1b0603;
 
  line-height:100%;
 
  text-align:center;
 
  position:relative;
 
  margin:0 -1px!important;
 
 
}
 
}
  
div.infobox .subheading {
+
/* styles for bordered infobox with merged rows */
  font-family:"Palatino Linotype",Palatino,Palladio,"URW Palladio L","Book Antiqua",Baskerville,"Bookman Old Style","Bitstream Charter","Nimbus Roman No9 L",Garamond,"Apple Garamond","ITC Garamond Narrow","New Century Schoolbook","Century Schoolbook","Century Schoolbook L",Georgia,serif;
+
.infobox.bordered .mergedtoprow td,
  font-size:1.25em!important;
+
.infobox.bordered .mergedtoprow th {
  color: #f7aa54 !important;
+
    border: 0;
  background-color: #1b0603;
+
    border-top: 1px solid #a2a9b1;
  z-index:1;
+
    /* @noflip */
  line-height:1.333em;
+
    border-right: 1px solid #a2a9b1;
  font-size-adjust:0.43;
 
  padding:.567em!important;
 
 
}
 
}
  
div.infobox .statistics {
+
.infobox.bordered .mergedrow td,
     text-align: center;
+
.infobox.bordered .mergedrow th {
     margin: 0 8px;
+
     border: 0;
 +
     /* @noflip */
 +
    border-right: 1px solid #a2a9b1;
 
}
 
}
  
#bodyContent .infobox .image_wrapper {
+
/* Styles for geography infoboxes, eg countries,
     text-align: center;
+
  country subdivisions, cities, etc.            */
     padding: 0;
+
.infobox.geography {
     margin: 10px 0;
+
     border-collapse: collapse;
 +
     line-height: 1.2em;
 +
     font-size: 90%;
 
}
 
}
  
#bodyContent .infobox dl {
+
.infobox.geography  td,
     margin: 10px 0;
+
.infobox.geography  th {
 +
     border-top: 1px solid #a2a9b1;
 +
    padding: 0.4em 0.6em 0.4em 0.6em;
 
}
 
}
#bodyContent .infobox dt {
+
.infobox.geography .mergedtoprow td,
  float:left;
+
.infobox.geography .mergedtoprow th {
  text-align:right;
+
    border-top: 1px solid #a2a9b1;
  width: 105px;
+
    padding: 0.4em 0.6em 0.2em 0.6em;
  font-weight:700;
 
  clear:left;
 
  color: #f7aa54;
 
  border-right:2px solid #3c1905;
 
  border-color: #3c1905;
 
  margin: 0 -2px 0 0;
 
  padding: 2px 8px 2px 3px;
 
 
}
 
}
  
#bodyContent .infobox dd {
+
.infobox.geography .mergedrow td,
  float:left;
+
.infobox.geography .mergedrow th {
  width:148px;
+
    border: 0;
  font-weight:400;
+
    padding: 0 0.6em 0.2em 0.6em;
  border-left:2px solid #3c1905;
 
  margin:0;
 
  padding:2px 7px;
 
 
}
 
}
  
#bodyContent div.infobox th {
+
.infobox.geography .mergedbottomrow td,
  float: left;
+
.infobox.geography .mergedbottomrow th {
  text-align: right;
+
    border-top: 0;
  width: 105px;
+
    border-bottom: 1px solid #a2a9b1;
  font-weight: 700;
+
    padding: 0 0.6em 0.4em 0.6em;
  clear: left;
 
  color: #f7aa54;
 
  border-right: 2px solid #3c1905;
 
  border-color: #3c1905;
 
  margin: 0px -2px 0 0;
 
  padding: 2px 8px 2px 0px;
 
 
}
 
}
  
#bodyContent div.infobox td {
+
.infobox.geography .maptable td,
  font-weight: 400;
+
.infobox.geography .maptable th {
  border-left: 2px solid #3c1905;
+
    border: 0;
  padding: 2px 7px;
+
    padding: 0;
  color: #eec9a7;
 
}
 
 
 
#bodyContent .infobox::after,
 
#bodyContent .nav .box::after,
 
#bodyContent .infobox .heading::after,
 
#bodyContent .nav .heading::after,
 
#bodyContent .infobox .table::after,
 
#bodyContent .nav .subheading::after, {
 
  content:"";
 
  position:absolute;
 
  width:100%;
 
  left:0;
 
  height:3px;
 
  background-size:100% 3px;
 
 
}
 
}
  
#bodyContent .infobox::after,
+
#borderimg {
#bodyContent .nav .box::after { bottom:-4px; }
+
  border: 20px solid transparent !important;
 
+
  padding: 5px !important;
#bodyContent .infobox .heading::after,
+
  border-image: url('https://vignette.wikia.nocookie.net/darksouls/images/4/48/Wiki_border_1.png/revision/latest?cb=20161006192910&path-prefix=ru') 20 round !important;
#bodyContent .nav .heading::after,
+
  border-image-width: 20px;
#bodyContent .infobox,
 
#bodyContent .nav .subheading::after,
 
.table::after { bottom:-3px; }
 
#bodyContent .infobox .clear {
 
    height: 5px;
 
 
}
 
}
 
#bodyContent .infobox table,
 
#bodyContent .nav table { background-color:transparent; }
 
  
 
h1, h2, h3, h4, h5, h6 {
 
h1, h2, h3, h4, h5, h6 {

Версия 18:56, 23 сентября 2019

@import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant+Infant|PT+Mono|Neucha|MedievalSharp');

#bodyContent.infobox {
    background: transparent !important;
    border-image: url('https://vignette.wikia.nocookie.net/darksouls/images/4/48/Wiki_border_1.png/revision/latest?cb=20161006192910&path-prefix=ru') 20 round !important;
	border: 20px solid transparent !important;
	padding: 10px;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;

}	

.infobox caption {
    font-size: 125%;
    font-weight: bold;
    padding: 0.2em;
    
}
.infobox td,
.infobox th {
    vertical-align: top;
    /* @noflip */
    text-align: left;
    padding: 4px;
}
.infobox.bordered {
	border-collapse: collapse;
    
}
.infobox.bordered td,
.infobox.bordered th {
 border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}

.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #a2a9b1;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #a2a9b1;
    padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}

#borderimg { 
  border: 20px solid transparent !important;
  padding: 5px !important;
  border-image: url('https://vignette.wikia.nocookie.net/darksouls/images/4/48/Wiki_border_1.png/revision/latest?cb=20161006192910&path-prefix=ru') 20 round !important;
  border-image-width: 20px;
}

h1, h2, h3, h4, h5, h6 {
font-family: Merriweather !important;
}

.dropdown-menu{
font-family: Merriweather;
}
.dropdown{
font-family: Merriweather;
font-size:20px
}
.dropdown-menu > li > a{
font-size:18px

}

.panel-body>ul a{
    display: block;
    padding: 5px 10px;
    
}
.navbox {                   
    box-sizing: border-box;
    border: 1px solid #a2a9b1;
    width: 100%;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
    margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
    margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
    margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
    
}
.navbox,
.navbox-subgroup {
    background: white;      /* Background color */
}
.navbox-list {
    line-height: 1.5em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: Black;      /* Level 1 color */
    color: white;
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #1f1e1e;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #1f1e1e;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

body {
background: url(https://d.radikal.ru/d37/1909/15/395cb304bb35.jpg) no-repeat center center fixed; 
max-width: 100%;
height: auto;
}

.navbox .navbar {
	display:none;
}

.mw-content-ltr {
background: white;
padding: 15px;
}

.toc {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(0,0,0,1);
    background: #FFFFFF;
    width: auto;
    color: white;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.tocnumber {
	color: black !important;
}
#toc {
	display: inline-block;
}
.tocnumber:after { content: '.' 
}

.nav-link {
  color: #000000;
}