Difference between revisions of "MediaWiki:Common.css"

From OtanWiki
Line 36: Line 36:
 
     padding: 1em;
 
     padding: 1em;
 
     width: 320px;
 
     width: 320px;
     background-image: url( https://landsofotan.com/images/a/a1/Parchmentblue.jpg ) !important;
+
     background-image: url( https://landsofotan.com/images/6/66/Parchmentblue.jpg ) !important;
 
}
 
}
  

Revision as of 19:08, 27 September 2021

/* CSS placed here will be applied to all skins */

#firstHeading {
    font-family: Merriweather;
    font-size: 48px;
    font-weight: 700;
    color:#820000;
    border-bottom: solid 4px #820000;
}

.mw-headline {
    font-family: Merriweather;
    font-size: 42px;
    font-weight: 600;
    color:#820000;
}

h2 {
    border-bottom: solid 3px #820000 !important;
}


#mw-content-wrapper {
    background-image: url( https://landsofotan.com/images/d/d5/Parchmentmain.jpg ) !important;
}

#mw-content {
    background-image: url( https://landsofotan.com/images/d/d5/Parchmentmain.jpg ) !important;
}

.infobox {
    background: ##f7e38b;
    border: 2px solid #820000;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 320px;
    background-image: url( https://landsofotan.com/images/6/66/Parchmentblue.jpg ) !important;
}

.infobox2 {
    background: #eee;
    border: 1px solid #aaa;
    float: left;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 320px; 
}

.infobox3 {
    background: #ccc;
    border: 1px solid #aaa;
    float: left;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 220px; 
}

.infobox-title {
    font-size: 2em;
    text-align: center;
}

.infobox-image {
    text-align: center; 
}

.infobox th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top; 
}

.copyright {
    background: #eee;
    text-align: center; 
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 600px;
}

.pmonth {
    margin: 0 0 .2em .2em;
    #padding: .2em;
    width: 130px;
    float: left;
}

.omonth {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 1em 1em;
    padding: .2em;
    width: 130px; 
    font-weight: bold;
    font-size: 130%;
    float: left;
}

.oweek {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 .2em .2em;
    padding: .2em;
    width: 130px; 
    font-weight: bold;
    font-size: 130%;
    float: left;
}

.odayofweek {
    background: #eee;
    border: 1px solid #aaa;
    margin: 0 0 .2em .2em;
    padding: .2em;
    width: 120px;
    text-align: center; 
    font-weight: bold;
    font-size: 130%;
    float: left;
}

.oday {
    border: 1px solid #aaa;
    margin: 0 0 .2em .2em;
    padding: .2em;
    width: 120px; 
    height: 120px;
    overflow-y: auto;
    float: left;
}

.ocurrday {
    border: 1px solid #8f8;
    background: #dfd;
    margin: 0 0 .2em .2em;
    padding: .2em;
    width: 120px; 
    height: 120px;
    overflow-y: auto;
    float: left;
}

.daynum {
    font-weight: bold;
    float: left;
}

.daytext {
    float: right;
}

.stat-block {
  text-align: left;
  margin: 20px;
  display: inline-block;
  vertical-align: top;
  width: 17%;
  min-width:280px;
  background: #FDF1DC;
  padding: 5px 10px 20px;
  box-shadow: 0 0 1.5em #867453;
    font-size: 13.5px;
  line-height: 1.2em;
    box-sizing: border-box;
  max-width: 100%;
  font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica,
    Arial, sans-serif;

}
.stat-block.wide{
  width: 46.5%;
  min-width: 560px;
  text-align: center;
    font-size: 13.5px;
  line-height: 1.2em;
    box-sizing: border-box;
  max-width: 100%;
  font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica,
    Arial, sans-serif;
}
.stat-block.wide .section-left,
.stat-block.wide .section-right{
  display: inline-block;
  vertical-align: top;
  width: 48%;
  text-align: left;
}
.stat-block.wide .section-left{
  margin-right: 1.5%;
}
.stat-block.wide .section-right{
  margin-left: 1.5%;
}
@media screen and (max-width: 675px){
	.stat-block.wide{
		min-width: 280px;
	}
	.stat-block.wide .section-left,
	.stat-block.wide .section-right{
	  display: block;
	  width: 100%;
	}
	.stat-block.wide .section-left{
	  margin: 0;
	}
	.stat-block.wide .section-right{
		margin: 0;
	}
}
.orange-border{
  display: block;
  background: #E69A28;
  border: 1px solid #000;
  height: 5px;
  padding: 0 10px 0;
  margin: -10px -10px 0;
  box-sizing: initial;
}
.orange-border.bottom{
  margin: 15px -10px -20px;
}
.tapered-rule{
  display: block;
  width: 100%;
  height: 5px;
  border: none;
  color: #922610;
  fill: #922610;
  stroke: #922610;
}
.creature-heading h1{
  font-family: 'Libre Baskerville', 'Lora', 'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif;
  color: #922610;
  font-size: 23px;
  line-height: 1.2em;
  margin: 10px 0 0;
  letter-spacing: 1px;
  font-variant: small-caps;
  font-weight: bold;
}
.creature-heading h2{
  font-weight: normal;
  font-style: italic;
  font-size: 12px;
  line-height: 1.2em;
  margin: 0 0 10px;
}
.property-line h4,
.property-line p{
  display: inline;
  margin: 0;
  color: #922610;
  font-size: 13.5px;
  line-height: 1.2em;
}
.property-line h4{
  color: #7A200D;
}
.property-line{
  text-indent: -1em;
  padding-left: 1.1em;
  line-height: 1.4em;
}
.property-line.first{
  margin: 8px 0 0
}
.property-line.last{
  margin: 0 0 10px;
}
.abilities{
  text-align: center;
  color: #922610;
}
.abilities > div{
  display: inline-block;
  vertical-align: middle;
  width: 15.5%;
  min-width: 40px; 
  font-size: 12px;
  line-height: 1em;
}
.abilities h4{
  margin: 10px 0 2px;
  font-size: 14px;
  line-height: 1.2em;
  text-transform: uppercase;
  color: #7A200D;
}
.abilities p{
  margin: 0 0 10px;
  line-height: 1.2em;
}
.property-block h4,
.property-block p{
  font-size: 13.5px;
  line-height: 1.2em;
  display: inline;
  margin: 0;
}
.property-block h4{
  font-style: italic;
}
.property-block{
  padding: 10px 2px 0;
}
.actions h3{
  border-bottom: 1px solid #7A200D;
  color: #7A200D;
  font-size: 21px;
  font-variant: small-caps;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 20px 0 0;
  padding: 0 0 10px;
  text-indent: 5px;
}
.actions{
  margin: 0 0 20px;
}
.actions:last-child{
  margin: 0;
}

@media print{
	.orange-border{
		display: none;
	}
	.stat-block,
	.stat-block.wide, 
	.stat-block.wide .section-left,
	.stat-block.wide .section-right,
	.property-line,
	.property-block{
		width: 100%;
		display: block;
	}
	.stat-block.wide .section-left{
	  margin: 0;
	}
	.stat-block.wide .section-right{
	  margin: 0;
	}
	.stat-block{
		width: 40%;
		display: inline-block;
		vertical-align: top;
	}
	.stat-block.wide{
		page-break-after: always;
	}
}
@media screen and (max-width: 575px){
	.stat-block{
		margin: 20px 0;
	}
}