MediaWiki:Common.css

From Yggdrasil D&D

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@import url("https://fonts.googleapis.com/css2?family=Cherish|Cherish");
@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');

/* 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;
}

/* main page hover boxes */
:root {
	--clr-primary: hsl(25, 70%, 60%);
	--clr-primary-hover: hsl(25, 70%, 70%);
	--transition: 0.5s ease;
}
.main-container {
	max-width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
}.hoverbox {
  position: relative;
  background: rgba(48, 52, 59, 0.75);
  padding: 32px;
  overflow: hidden;
  border-radius: 8px;
  transition: 0.5s ease-in;
}
.hoverbox:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 0.25rem;
  background: var(--clr-primary);
  transition: var(--transition);
}
.hoverbox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition);
  filter: blur(2px);
}
.hoverbox h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}
.hoverbox p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}
.hoverbox a {
  position: relative;
  text-decoration: unset;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  transition: 0.5s ease-in;
}
.hoverbox a:after {
  content: ">";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  border: 2px solid #fff5;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  transition: var(--transition);
}
.hoverbox a:before {
  content: "";
  position: absolute;
  width: 0rem;
  height: 0.125rem;
  background: #fff;
  right: 0.75rem;
  top: calc(50% - 0.025rem);
  transition: var(--transition);
}
.hoverbox:hover {
  box-shadow: 0px 16px 24px rgba(0, 15, 0, 0.1);
}
.hoverbox:hover:after {
  width: 100%;
}
.hoverbox:hover a:after {
  border-color: transparent;
  margin-left: 2rem;
}
.hoverbox:hover a:before {
  width: 1.5rem;
  background: var(--clr-primary);
}
.hoverbox:hover a {
  color: var(--clr-primary);
}
.hoverbox:hover a:hover {
  color: var(--clr-primary-hover);
}
.hoverbox:hover a:hover:before {
  background: var(--clr-primary-hover);
}
.hoverbox:hover img {
  transform: scale(1.2) rotate(-5deg);
  filter: blur(8px);
}

/* Maps */
.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;
}
.page .session-title
{
  font-family: 'Marck Script', cursive;
  font-size:3em;
  color:#550000;
  width:100%;
  text-align:center;
}
.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 */
.itemblock {
  padding:15px 30px 15px 30px;
  background: #FDF1DC;
  box-shadow: 0 0 1.5em #867453;
  color:black !important;
  font-family:Arial,Helvetica,sans-serif;
  width: calc(100% - 15em);
  clear:both;
  overflow: auto
}
.itemblock .gradient {
    background: linear-gradient(10deg, #0f5cbc, #FDF1DC);
    height:5px;
    margin:7px 0px;
    max-width:60%;
}
.itemblock .name {
    font-size:250%;
    font-family:Georgia, serif;
    font-variant:small-caps;
    font-weight:bold;
    color:#0f5cbc;
    line-height:0.9em;
}
.itemblock .description {
    font-style:italic;    
}
.itemblock .image {
  float: right;
}
.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{
  text-align:left;
  font-size: 1.2em;
  margin:25px 25px;
  min-height:3em;
  font-style:normal;
  color: white;
  padding:1.2em 100px 1.2em 100px !important;
  border-bottom:8px solid #de7a00 ;
  border-left:0 !important;
  line-height:1.6;
  position: relative;
  background:#222;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  width: calc(60% - 15em);
}

blockquote::before{
    font-size: 200px;
  font-family:Arial;
  content: "\201C";
  color:#de7a00;
  position: absolute;
  left: 10px;
  top:-45px;
  pointer-events: none;
}

/* Infobox 2.0 */
.infobox2 {
  color:white;
  float:right;
  width:25em;
 margin-left:20px;
 margin-bottom:20px;
}
.infobox2 img
{
 margin-left: auto;
 margin-right: auto;
 border-radius:10px 10px 0 0 !important;
 /*max-width:25em !important;*/
 width:100%;
                height:100%;
                object-fit:cover;
}
.infobox2 .box
{
  width:100%;
  background-color:#b36b00;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
 position: relative;
 bottom: 8px;
}
.infobox2 .rounded-top
{
    border-radius:10px 10px 0 0;
max-width:25em;
width: auto;
  height: auto;
}
.infobox2 .box .header
{
  width:calc(100% - 24px);
  padding:12px;
  text-align:center;
  font-size:x-large;
  font-weight:bold;
box-shadow: rgba(0, 0, 0, 0.45) 0px 12px 20px -20px;
}
.infobox2 .box .section
{
  width:calc(100% - 12px);
  padding:6px;
  float:left;
  text-align:center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  background-color:#00000033;
}
.infobox2 .box .sectionData
{
  padding:5px;
  font-size:large;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 20px -12px;
}
.infobox2 .box .sectionValue
{
  padding:16px 8px;
}
.infobox2 .box .sectionSingle
{
  box-shadow: rgb(0, 0, 0, 0.4) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.1) -3px -3px 6px 1px inset;
  padding:16px 8px;
  background-color:#00000033;
  margin-bottom:10px;
  font-weight:bold;
}
.infobox2 .box .sectionBottom
{
  width:calc(100% - 12px);
  padding:6px;
  float:left;
  text-align:center;
}
.infobox2 .box .data {
  width:calc(40% - 24px);
  padding:3px 12px;
  background-color:#00000022;
  float:left;
}
.infobox2 .box .value {
  width:calc(60% - 24px);
  padding:3px 12px;
  float:left;
}
.infobox2 .box .topPadding
{
   padding-top:12px !important;
}
.infobox2 .box .bottomPadding
{
   padding-bottom:12px !important;
}
.infobox2 .box a, .infobox2 .box a:link, .infobox2 .box a:visited
{
   text-decoration: none;
   border-bottom: 1px dotted #fff;
   color:#fff !important;
}
.infobox2 .box a:hover
{
   text-decoration: none;
   border-bottom: 1px solid #fff;
   color:#fff !important;
}
.infobox2 .box .table
{
  border-spacing:0;
  table-layout: fixed;
}
.infobox2 .box .table-data
{
  padding:3px 12px;
  background-color:#00000022;
  overflow: hidden;
  width: 100px;
  vertical-align:top;
}
.infobox2 .box .table-value {
  width: 200px;
  padding:3px 12px;
  overflow: hidden;
  vertical-align:top;
}

.infobox2 .box table
{
margin:0;
}

img .rounded-top
{
  border-radius:10px 10px 0 0;
  width:25em;
}

#right-navigation
{
  opacity: 0.25;
  transition: opacity 0.5s;
}
#right-navigation:hover
{
  opacity: 1;
  transition: opacity 0.5s;
}

.cdx-button:enabled, .cdx-button.cdx-button--fake-button--enabled
{
  color: var(--text-color);
}