MediaWiki:Common.css: Difference between revisions

From Yggdrasil D&D
mNo edit summary
mNo edit summary
Line 168: Line 168:


/* D&D Statblocks */
/* D&D Statblocks */
.stat-block * {
  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 {
.gradient {
  text-align: left;
    background: linear-gradient(10deg, #A73335, white);
  margin: 20px;
    height:5px;
  display: inline-block;
    margin:7px 0px;
  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{
.name {
  display: block;
    font-size:225%;
  background: #E69A28;
    font-family:Georgia, serif;
  border: 1px solid #000;
    font-variant:small-caps;
  height: 5px;
    font-weight:bold;
  padding: 0 10px 0;
    color:#A73335;
  margin: -10px -10px 0;
  box-sizing: initial;
}
}
.orange-border.bottom{
.description {
  margin: 15px -10px -20px;
    font-style:italic;  
}
}
.tapered-rule{
.bold {
  display: block;
    font-weight:bold;
  width: 100%;
  height: 5px;
  border: none;
  color: #922610;
  fill: #922610;
  stroke: #922610;
}
}
.creature-heading h1{
.red {
  font-family: 'Libre Baskerville', 'Lora', 'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif;
    color:#A73335;
  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{
table {
  font-weight: normal;
    width:100%;
  font-style: italic;
    border:0px;
  font-size: 12px;
    border-collapse:collapse;
  line-height: 1.2em;
    color:#A73335;
  margin: 0 0 10px;
}
}
.property-line h4,
th, td {
.property-line p{
    width:50px;
  display: inline;
    text-align:center;
  margin: 0;
  color: #922610;
  font-size: 13.5px;
  line-height: 1.2em;
}
}
.property-line h4{
.actions {
  color: #7A200D;
    font-size:175%;
    font-variant:small-caps;
    margin:17px 0px 0px 0px;
}
}
.property-line{
.hr {
  text-indent: -1em;
    background: #A73335;
  padding-left: 1.1em;
    height:2px;
  line-height: 1.4em;
}
}
.property-line.first{
.attack {
  margin: 8px 0 0
    margin:5px 0px;
}
.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){
.attackname {
.stat-block{
    font-weight:bold;
margin: 20px 0;
    font-style:italic;
}
}
}

Revision as of 21:54, 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 */

.gradient {
    background: linear-gradient(10deg, #A73335, white);
    height:5px;
    margin:7px 0px;
}
.name {
    font-size:225%;
    font-family:Georgia, serif;
    font-variant:small-caps;
    font-weight:bold;
    color:#A73335;
}
.description {
    font-style:italic;    
}
.bold {
    font-weight:bold;
}
.red {
    color:#A73335;
}
table {
    width:100%;
    border:0px;
    border-collapse:collapse;
    color:#A73335;
}
th, td {
    width:50px;
    text-align:center;
}
.actions {
    font-size:175%;
    font-variant:small-caps;
    margin:17px 0px 0px 0px;
}
.hr {
    background: #A73335;
    height:2px;
}
.attack {
    margin:5px 0px;
}
.attackname {
    font-weight:bold;
    font-style:italic;
}