MediaWiki:Common.css: Difference between revisions

From Yggdrasil D&D
mNo edit summary
mNo edit summary
Line 165: Line 165:
   color:#fff !important;;
   color:#fff !important;;
   border-bottom:1px solid #fff;
   border-bottom:1px solid #fff;
}
/* D&D Statblocks */
.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;
}
.stat-block.wide{
  width: 46.5%;
  min-width: 560px;
  text-align: center;
}
.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;
}
}
}

Revision as of 21:41, 17 September 2021

/* CSS placed here will be applied to all skins */
.maps-map {
  background-color:#333 !important;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: #111 !important;
	color: rgb(255, 196, 0) !important;
}

.mwe-popups {
  background: #111;
}
.mwe-popups .mwe-popups-container {
   background-color:#111;
}
.mwe-popups .mwe-popups-extract[dir='ltr']:after {
  background-image: linear-gradient(to right,rgba(255,255,255,0),#111 50%)
}
.secret
{
  display:inline-block;
}

.mwe-popups .mwe-popups-settings-icon {
	display: none;
}

#ca-viewsource { display: none !important; }
#ca-history { display: none !important;}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-aragir.css]], [[MediaWiki:Group-cerrule.css]], [[MediaWiki:Group-delbellis.css]],
   and [[Mediawiki:Group-cynic.css]]. */
.sysop-show,
.aragir-show,
.cerrule-show,
.delbellis-show,
.cynic-show {
	display: none;
}

.bottom-box{
  border:  1px solid #000;
  padding: 20px;
  color:  white;
}

.box-header{
  background-color: black;
  padding: 5px 0;
  color: white;
  text-align: center;
  height: 30px;
  vertical-align: middle;
  font-size: 150%;
}

.bottom-box .header {
  color: white;
  font-weight: bold;
  padding-right: 20px;
  border-right:  3px solid #000;
}

.bottom-box td
{
  padding: 0 10px 0 10px
}


.infobox
{
 float:right;
 border:2px solid #d49c00;
 border-radius:4px;
 background-color: #806b32;
 padding:5px;
 width:220px;
 color:white;
 text-align: center;
 margin-left:20px;
 margin-bottom:20px;
}

span.infobox-link a, span.infobox-link a:link, span.infobox-link a:visited
{
   text-decoration: none;
   border-bottom: 1px dotted #fff;
   color:#fff;
}
span.infobox-link a:hover
{
   text-decoration: none;
   border-bottom: 1px solid #fff;
   color:#fff;
}

.warning
{
  margin:10px;
  width:50%;
  padding:20px;
  border: 4px solid red;
  background-color: #361700;
  text-align:center;
  color: yellow;
}

/* SESSION EFFECTS */
.page {
  background-color: #f8f5de;
  background-image: linear-gradient(to right, rgba(255,210,0,0.4), rgba(200, 160, 0, 0.1) 11%, rgba(0,0,0,0) 35%, rgba(200, 160, 0, 0.1) 65%);
  box-shadow: inset 0 0 75px rgba(255,210,0,0.3), inset 0 0 20px rgba(255,210,0,0.4), inset 0 0 30px rgba(220,120,0,0.8);
  color: rgba(0,0,0,0.5);
  font-family: "AustralisProSwash-Italic";
  width: calc(100% - 15em);
  letter-spacing: 0.05em;
  line-height: 1.8;
  padding: 5em 10em 5em 5em;
  font-size: 16px;
}
.page a, .page a:visited {
  text-decoration: none !important;
  color:#000 !important;
  font-weight:bold;
}
.page a:hover {
  text-decoration: none !important;
  color:#000 !important;
  border-bottom:1px solid #000;
  font-weight:bold;
}
.caps {
  color: rgba(0,0,0,0.7);
  float:left;
  font-size: 7em;
  line-height: 75px;
  padding-right: 12px;
  position:relative;
  top:8px;
}
.caps a:hover
{
  border-bottom: 0 !important;
}

.sessionLinks
{
  border:1px solid #000;
  background-color:#000000aa;
  padding:10px;
  text-align:center;
  color: #fff;
  font-size:x-large;
  font-weight:bold;
}
.sessionLinks a, .sessionLinks a:visited
{
  text-decoration: none !important;
  color:#fff !important;;
}
.sessionLinks a:hover {
  text-decoration: none !important;
  color:#fff !important;;
  border-bottom:1px solid #fff;
}

/* D&D Statblocks */
.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;
}
.stat-block.wide{
  width: 46.5%;
  min-width: 560px;
  text-align: center;
}
.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;
	}
}