Site Code

KillerVP asked, so here is the code for the whole site. This is in the order/format that makes sense to me, so let me know if you need anything clarified. (Also, while you’re free to use and adapt this code however you like, with or without attribution, please do not use my banner or page background. Thanks!)

Also, apparently Obsidian Portal now likes to make code bold and red.

/*SITEWIDE*/
/*Fonts*/
body
{
  font-family:Alegreya;
  font-size:16px;
  line-height:1.2;
  color:black;
}

/*Links*/
a:link {text-decoration: none; color:#19A811}    /* unvisited link */
a:visited {text-decoration: none; color:#0F7509;} /* visited link */
a:hover, a:active {text-decoration: underline;}   /* mouse over link, during click */
a.create-wiki-page-link {color: red !important;} /*keeping new page links red*/

/*Headings*/
.title /*page title*/
{
  font-family:'Alegreya SC';
  font-size:50px;
  text-align:center;
  font-style:normal;
  color: black;
  margin-bottom:30px;
  border-bottom:1px solid #073704 !important;
}
.title a {color:black !important;}
h1 {font-family:'Alegreya SC'; color: black; font-size:35px; margin-bottom:2px; margin-top:20px;}
h2 {font-family:'Alegreya SC'; color: black; font-size:27px; margin-bottom:2px; margin-top:8px;}
h3 {font-family:'Alegreya SC'; color: black; font-size:20px; margin-bottom:2px; margin-top:6px;}

/*Tables*/
table td {font-family:Alegreya;  font-size:16px;  padding:2px 4px;}

/*Page backgrounds*/
.campaign-public-layout .main-content 
{
  background-color:black; 
  border:6px solid #073704; border-radius:4px; 
  padding:9px 8px 5px;
}
.wiki-page .post-section, .campaign-landing-page-container, .adventure-log-post, .character-quick-search, #character-details
{
  background-color:#F6F6F6 !important; 
  border:4px solid #073704; border-radius:2px;
}
.highlight-container {display:none;}

/*Banner*/
.campaign-public-title-container, .flame-dragon, #banner-container .highlight-container  {display:none;}
#banner-container {margin-top:20px;}

/*Top bar f0rmatting*/
#top-bar {background-color:black;   border-bottom:2px solid #073704;}
#top-bar .welcome-user, .top-bar-section li a:not(.button), .quick-link, #campaign-search-container, #top-bar #sticky-toggle 
{
  background-color:transparent !important;  
  background-image:none;
  color:white;
}
.top-bar-section .dropdown li a {background-color:black !important;}
#top-bar li.divider {display:none;}

/*Navigation tab formatting*/
.nav-links {background-color:black;}

/*Sidebar formatting*/
.stat-value, .game-master, .revisions-link-container, .wiki-page-show #sidebar .who {color:white !important;  background:none !important;}
.become-a-fan-button,  .fan-count-wrapper {color:white !important;  background-color:#073704;}
.fan-count-wrapper:hover {background-color:#032203;}

/*Wiki page and sidebar width*/
.wiki-page-show #sidebar {width:10%;  min-width:50px;}
.wiki-page-show .main-content-container {width:90% !important;  min-width:300px;}

/*Edit buttons*/
.icon-edit {color:black !important; position:relative; left:100%;} /*makes main edit button black*/
.button {color:white !important;} /*sets text color to white on edit buttons and buttons to add links*/



/*SPECIFIC AREAS*/
/*Wiki page table of contents*/
.ToC
{
  border:3px solid #073704; border-radius:3px;
  background-color:#f6f6f6;
  position:relative; float:left;
  margin-right:10px; margin-bottom:10px; padding:10px;
  width:175px;
}
.ToC p {margin:0px;}

/*Wiki page portrait images*/
.Portrait
{
  border:4px solid #073704; border-radius:3px;
  position:relative; float:right;
  margin-left:10px; margin-bottom:10px;
}

/*Wiki page bottom navigation*/
.BNavTable 
{
  border:none;
  background:none;
  width:100%;
  margin-top:30px;
}
.BNavCol1 {width:33%;}
.BNavCol2 {width:33%; text-align:center;}
.BNavCol3 {width:33%; text-align: right;}
.BNavTable a:link, .BNavTable a:visited {font-family:'Alegreya SC'; color:black; font-size:25px;} /*styling for the bottom wiki navigation links*/



/*Adventure log main page*/
.adventure-log-new-container {background-color:transparent !important;}



/*BACKEND*/
/*Editing fields*/
input[type=“text”], input[type=“email”], input[type=“password”], input[type=“tel”], textarea, textarea:focus, .campaign-settings #style-settings #custom-css-field {color:black !important;background-color:white !important;} 

/*Dashboard header*/
.campaign-dashboard-layout .campaign-banner, .campaign-dashboard-layout .settings-title-container {display:none !important;}
.campaign-dashboard-layout .campaign-title {border:none !important; text-align:left;}

/*Dashboard pages*/
.campaign-dashboard-layout .main-content, .campaign-dashboard-layout .campaign-metadata {background-color:#F6F6F6 !important;}

Site Code

Age of Worms Savannah