MediaWiki:Common.css: Difference between revisions

From Yggdrasil D&D
mNo edit summary
mNo edit summary
Line 253: Line 253:
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
  align-items: center;
   margin: 20px;
   margin: 20px;
   padding: 20px 10px;
   padding: 20px 10px;

Revision as of 21:26, 23 September 2021

@import url("https://fonts.googleapis.com/css2?family=Cherish|Cherish");

/* 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 */
.statblock {
  float:right;
  padding:15px 30px 15px 30px;
  background: #FDF1DC;
  box-shadow: 0 0 1.5em #867453;
  color:black !important;
  width: 400px; 
  font-family:Arial,Helvetica,sans-serif;
  margin-left:20px;
}
.statblock .gradient {
    background: linear-gradient(10deg, #A73335, #FDF1DC);
    height:5px;
    margin:7px 0px;
}
.statblock .image {
  padding: 20px 0 20px 0;
}
.statblock .name {
    font-size:250%;
    font-family:Georgia, serif;
    font-variant:small-caps;
    font-weight:bold;
    color:#A73335;
    line-height:0.9em;
}
.statblock .description {
    font-style:italic;    
}
.statblock .bold {
    font-weight:bold;
}
.statblock .red {
    color:#A73335;
}
.statblock table {
    width:100%;
    border:0px;
    border-collapse:collapse;
    color:#A73335;
}
.statblock th, .statblock td {
    width:50px;
    text-align:center;
}
.statblock .actions {
    font-size:175%;
    font-variant:small-caps;
    margin:17px 0px 0px 0px;
  line-height:1.1em;
}
.statblock .hr {
    background: #A73335;
    height:2px;
}
.statblock .attack {
    margin:5px 0px;
}
.statblock .attackname {
    font-weight:bold;
    font-style:italic;
}

/* QUOTES */

blockquote::before {
  content: open-quote;
}

blockquote::after {
  content: close-quote;
}

blockquote::before, blockquote::after {
  padding: 0 10px;
  font-size: 3em;
  color: #ffa200;
}

blockquote {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  padding: 20px 10px;
  border-radius: 10px;
  background-color: #222;
  font: 900 1.375rem/1.5 'Merriweather', serif;
  color:white;
}