MediaWiki:Common.css: Difference between revisions

From MythCraft Online SRD
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* CREATURE TABLES */
/* CREATURE TABLES */
table.creature {
table.creature {
     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: 2px solid #1C6EA4;
     font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
     font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
Line 11: Line 10:
}
}


}
table.creature tbody td {
table.creature tbody td {
  font-size: 14px;
    font-size: 14px;
}
}


table.creature thead {
table.creature thead {
  background: #A0C3C7;
    background: #A0C3C7;
  border-bottom: 0px solid #444444;
    border-bottom: 0;
}
}
table.creature th {
table.creature th {
  font-size: 22px;
    font-size: 22px;
  font-weight: bold;
    font-weight: bold;
  color: #000000;
    color: #000000;
  border-top: 2px solid #AAAAAA;
    border-top: 2px solid #AAAAAA;
  border-bottom: 2px solid #AAAAAA;
    border-bottom: 2px solid #AAAAAA;
}
}


 
/* Common table styles */
table {
table {
  font-family: Arial, Helvetica, sans-serif;
    font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
    border-collapse: collapse;
  width: 80%;
    width: 80%;
}
}
.mw-editsection { display:none; }


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


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


.mw-editsection {
    display: none;
}


/* Content and panel styling */
body #content {
body #content {
padding-right: 10%;
    padding-right: 10%;
}
}


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


/* Color & Background */
    /* Positioning */
background-attachment: scroll;
    position: fixed;
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;
 
 


    /* Effects */
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
}


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


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


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


footer ul li{
/* Footer styling */
    font-size:12px!important;
    color:white!important;
}
 
footer ul li a,div#footer ul li a:visited {
    color: white!important;
}
 
footer {
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);


/* Color & Background */
    /* Box */
background-attachment: scroll;
    height: 100px;
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;
 
}
}

Revision as of 12:41, 15 December 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;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    width: 40%;
}

table.creature tbody td {
    font-size: 14px;
}

table.creature thead {
    background: #A0C3C7;
    border-bottom: 0;
}

table.creature th {
    font-size: 22px;
    font-weight: bold;
    color: #000000;
    border-top: 2px solid #AAAAAA;
    border-bottom: 2px solid #AAAAAA;
}

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

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

.mw-editsection {
    display: none;
}

/* Content and panel styling */
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-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

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

div #mw-panel ul li a,
div#footer ul li a:visited,
footer 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 styling */
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;
}