Welcome to the RuneGlory Wiki, where we do our best to make your life easier!
You can use the search menu on the right side of the wiki (or at the bottom if you are on mobile) to search for the page you are looking for. The most popular pages can be found on the right side of the wiki aswell (or again at the bottom if you are on mobile).
Difference between revisions of "User:Jplayer"
From RuneGlory
Line 13: | Line 13: | ||
$( "div#content, div#mw-navigation" ).wrapAll( "<div id='wrap'></div>" ); | $( "div#content, div#mw-navigation" ).wrapAll( "<div id='wrap'></div>" ); | ||
$( "div#mw-navigation" ).insertBefore( "div#content" ); | $( "div#mw-navigation" ).insertBefore( "div#content" ); | ||
− | $( "<div id='notice'><p>Announcement message goes here.</p></div>" ).insertAfter( "div#mw-navigation" ); | + | // $( "<div id='notice'><p>Announcement message goes here.</p></div>" ).insertAfter( "div#mw-navigation" ); |
$( "div#content" ).wrap( "<div id='content-sidebar-wrap'></div>" ); | $( "div#content" ).wrap( "<div id='content-sidebar-wrap'></div>" ); | ||
$( "div#mw-panel" ).insertBefore( "div#content" ); | $( "div#mw-panel" ).insertBefore( "div#content" ); | ||
$( "div#content" ).wrap( "<div id='content-wrap'></div>" ); | $( "div#content" ).wrap( "<div id='content-wrap'></div>" ); | ||
− | $( " | + | $( "div#contentSub" ).insertBefore( "div#content" ); |
$( "<div id='navigation'></div>" ).insertBefore( "div#content" ); | $( "<div id='navigation'></div>" ).insertBefore( "div#content" ); | ||
− | $("div#right-navigation").appendTo("div#navigation"); | + | $( "div#right-navigation" ).appendTo( "div#navigation" ); |
− | $("div#left-navigation").appendTo("div#navigation"); | + | $( "div#left-navigation" ).appendTo( "div#navigation" ); |
+ | |||
+ | |||
+ | $( "div#siteNotice" ).insertAfter( "div#mw-navigation" ); | ||
+ | |||
+ | |||
+ | $( "span.subpages" ).html( $( "span.subpages" ).children() ); | ||
+ | |||
+ | var title = $( "h1#firstHeading" ).html().split('/'); | ||
+ | //alert( title[ title.length - 1 ] ); | ||
+ | |||
+ | $( "<span>" + title[ title.length - 1 ] + "</span>" ).appendTo( "span.subpages" ); | ||
} | } | ||
Line 75: | Line 86: | ||
line-height: 20px; | line-height: 20px; | ||
display: inline-block; | display: inline-block; | ||
− | padding: 10px; | + | padding: 10px!important; |
background: none; | background: none; | ||
} | } | ||
− | div# | + | div#siteNotice { |
background-color: #CB5E5E; | background-color: #CB5E5E; | ||
padding: 10px; | padding: 10px; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | |||
+ | div#localNotice { | ||
+ | margin-bottom: 0; | ||
} | } | ||
Line 131: | Line 146: | ||
} | } | ||
− | + | #contentSub, #contentSub2 { | |
background-color: #CB5E5E; | background-color: #CB5E5E; | ||
+ | padding: 10px; | ||
+ | font-size: 14px; | ||
+ | line-height: 20px; | ||
+ | margin: 0; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
− | |||
} | } | ||
Line 180: | Line 198: | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 20px; | line-height: 20px; | ||
− | padding: | + | padding: 10px; |
height: initial; | height: initial; | ||
} | } | ||
Line 189: | Line 207: | ||
background-color: #6BA673; | background-color: #6BA673; | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
+ | } | ||
+ | |||
+ | h1#firstHeading { | ||
+ | display: none; | ||
} | } | ||
Revision as of 20:53, 19 March 2016
Hello, this is just a preview.
- Jplayer