MediaWiki:Common.css: Difference between revisions

From MythCraft Online SRD
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
     background-color: #f9f9f92b;
     background-color: #f9f9f92b;
     background: url("https://srd.mythcraftrpg.com/images/5/57/MythCraft-PaperTexture.jpg") scroll;  
     background: url("https://srd.mythcraftrpg.com/images/5/57/MythCraft-PaperTexture.jpg") scroll;  
    border: 2px solid #1C6EA4;
}
}
     border: 1px solid #aaaaaa4a;
     border: 1px solid #aaaaaa4a;
Line 27: Line 28:
   font-size: 14px;
   font-size: 14px;
}
}
table.creature tr:nth-child(even) {
 
  background: #D0E4F5;
}
table.creature thead {
table.creature thead {
   background: #A0C3C7;
   background: #A0C3C7;
Line 42: Line 41:
table.creature thead th:first-child {
table.creature thead th:first-child {
   border-left: none;
   border-left: none;
}
table.creature tfoot td {
  font-size: 14px;
}
table.creature tfoot .links {
  text-align: right;
}
table.creature tfoot .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}
}



Revision as of 15:14, 17 November 2023

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


/* CREATURE TABLES */
table.creature {
    background-color: #f9f9f92b;
    background: url("https://srd.mythcraftrpg.com/images/5/57/MythCraft-PaperTexture.jpg") scroll; 
    border: 2px solid #1C6EA4;
}
    border: 1px solid #aaaaaa4a;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}

table.creature {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  border: 0px solid #1C6EA4;
  width: 60%;
}
table.creature td, table.creature th {
  border: 0px solid #AAAAAA;
}
table.creature tbody td {
  font-size: 14px;
}

table.creature thead {
  background: #A0C3C7;
  border-bottom: 0px solid #444444;
}
table.creature thead th {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  border-left: 2px solid #D0E4F5;
}
table.creature thead th:first-child {
  border-left: none;
}


table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 80%;
}

.mw-editsection { display:none; }

/* To make images responsive */
.res-img img {
	max-width:80%;
	height:auto;
}

/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }




body #content {
padding-right: 10%;
}

div #mw-panel {

	/* Color & Background */
	background-attachment: scroll;
	background-color: rgba(252, 101, 67, 1);
	
	/* Box */
	height: 100%;
	width: 170px;

	/* Positioning */
	position: fixed;

	/* Effects */
    border-padding-top: 80px;
	border-top-left-radius: 0px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 8px;



}

div #mw-panel ul li{
    font-size:12px!important;
    color:white!important;
}

div #mw-panel ul li a,div#footer ul li a:visited {
    color: white!important;
}

div #mw-panel h3 {
    font-size:16px!important;
    color: rgba(44, 37, 3, 1);
}

footer ul li{
    font-size:12px!important;
    color:white!important;
}

footer ul li a,div#footer ul li a:visited {
    color: white!important;
}

footer {

	/* Color & Background */
	background-attachment: scroll;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: none;
	background-position: 0% 0%;
	background-repeat: repeat;
	color: rgb(194, 200, 207);

	/* Box */
	height: 100px;

}