From RuneGlory
Jump to: navigation, search
Line 64: Line 64:
 
$( "div#index" ).insertAfter( "div#content-contentSub-wrap" );
 
$( "div#index" ).insertAfter( "div#content-contentSub-wrap" );
  
$.each( $( "div#index a" ), function() {
+
var title = $( "h1#firstHeading" ).html().split('/');
 +
$( "<span>" + title[ title.length - 1 ] + "</span>" ).appendTo( "span.subpages" );
  
var split = $( this ).html().split('/');
 
$( this ).html( split[ split.length - 1 ] );
 
 
});
 
  
  
Line 106: Line 103:
 
a:hover {
 
a:hover {
 
     color: #909090!important;
 
     color: #909090!important;
 +
}
 +
 +
div#index {
 +
    margin-bottom: 30px;
 +
    background: linear-gradient(rgba(43,55,64,0.5),rgba(43,55,64,0.5)),url(https://www.grinderscape.org/assets/images/background.png)!important;
 +
    box-shadow: 0 0 5px rgba(0,0,0,0.7);
 +
}
 +
 +
.index-title {
 +
    background: linear-gradient(rgba(31,42,53,0.5),rgba(31,42,53,0.5)),url(https://www.grinderscape.org/assets/images/background.png);
 +
    padding: 10px;
 +
}
 +
 +
.index-item {
 +
    display: flex;
 +
    padding: 10px;
 +
    border-top: 1px solid #0E1215;
 
}
 
}
  

Revision as of 02:28, 20 March 2016

Hello, this is just a preview.

- Jplayer