Skip to content

Instantly share code, notes, and snippets.

@defron
Last active March 20, 2016 23:27
Show Gist options
  • Save defron/c5df08a90b47abbcbf80 to your computer and use it in GitHub Desktop.
Save defron/c5df08a90b47abbcbf80 to your computer and use it in GitHub Desktop.
Decrapifying the community.bethesda.net website
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("community.bethesda.net") {
div#welcome-container{
display: none !important;
}
div#jive-body > header.j-page-header{
background-image: none !important;
height: 200px !important;
}
div#banner-thread{
background-image: none !important;
}
span.j-post-author{
background-color: #444444 !important;
border-top: 2px solid #CECECE !important;
border-bottom: 2px solid #CECECE !important;
color: #FFFFFF !important;
}
span.j-post-author > strong > a.jiveTT-hover-user.jive-username-link{
color: #FFFFFF !important;
}
.jive-discussion-replies li.reply, .jive-discussion-replies li.reply, .jive-discussion-replies li.addReply {
margin-top: 0px !important;
}
ul > li.reply.j-anchor-target > div > div > div > header > h6{
top: -20px !important;
text-align: right;
z-index: 9000;
}
ul > li.reply.j-anchor-target > div.bethesda-studios.jive-thread-message > div > div.j-thread-post > header > h6{
left: -200px !important;
}
ul > li.reply.j-anchor-target > div > div > div > header > h6 a:hover{
color: #C1C1C1 !important;
}
div.original-post > div > header.js-original-header{
background: none !important;
border-bottom: 2px solid #CECECE !important;
}
div.original-post > div > header.js-original-header > h1 > a {
color: #e6e6e6 !important;
}
.original-post .j-thread-post .js-original-header .j-post-author{
background: none repeat scroll 0% 0% #444444 !important;
color: #FFFFFF !important;
}
.bethesda-studios.jive-thread-message .j-thread-post .j-post-author{
background: url("https://community.bethesda.net/themes/bethesda-global/images/BethesdaStudiosCommentBanner-Light.png") no-repeat scroll right center #444444 !important;
color: #FFFFFF !important;
}
div.j-layout.j-layout-sl.j-contained-tabs-place.j-browse-content.j-rc4.clearfix{
background-color: #444444;
padding: 20px;
}
div.j-layout.j-layout-sl.j-contained-tabs-place.j-browse-content.j-rc4.clearfix tbody.j-browse-details-tbody > tr.js-browse-item > td:nth-child(1){
background-color: #ffffff;
opacity: 0.9;
border-radius:50px;
width: 54px;
margin-right: 4px;
}
div.j-layout.j-layout-sl.j-contained-tabs-place.j-browse-content.j-rc4.clearfix a {
color: #E5E5E5 !important;
}
div.j-layout.j-layout-sl.j-contained-tabs-place.j-browse-content.j-rc4.clearfix a:hover {
color: #C1C1C1 !important;
}
blockquote.jive-quote{
border:1px #ccc solid;
background-color: #3b3b3b !important;
}
blockquote.jive-quote > p:nth-child(1){
background-color:#2f2f2f; padding: 12px;
}
div.j-pagination > a.j-pagination-current > strong{
color: #C1C1C1 !important;
}
#j-compact-header {
background: none repeat scroll 0% 0% #444444 !important;
border-bottom: 1px solid #CECECE;
}
.bethesda-studios.original-post .js-original-header {
background: url("https://community.bethesda.net/themes/bethesda-global//images/BethesdaStudiosBanner-Light.png") no-repeat scroll right center #444444 !important;
}
.bethesda-studios.original-post .j-thread-post .js-original-header .j-post-author {
width: 68% !important;
}
div.official-rep.bethesda-studios.original-post.jive-content > div.j-thread-post > header.js-original-header > h1 > a, div.official-rep.bethesda-studios.original-post.jive-content > div.j-thread-post > header.js-original-header > h1 > a:hover {
color: #e6e6e6 !important;
}
}
var GeneralDiscussionSection = '<div class="content-large"><div class="jive-table jive-table-widget jive-table-recentcontent"><table cellspacing="0" cellpadding="0" border="0"><thead><tr><td></td><td></td></tr></thead><tbody><tr class="jive-table-row-odd"><td class="jive-table-cell-type"><a id="1-2152" href="/thread/2152"><span class="jive-icon-med jive-icon-discussion"></span></a></td><td class="jive-table-cell-title"><a id="1-2152" href="https://community.bethesda.net/community/bethesda-forums-general-discussion/content?filterID=contentstatus[published]~objecttype~objecttype[thread]">Bethesda Forums General Discussion</a></td></tr></tbody></table></div></div>';
if(window.location.href == "https://community.bethesda.net/welcome"){
var CommunityLinks = document.getElementById('jive-widgetframe-header_11323');
CommunityLinks.innerHTML += GeneralDiscussionSection;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment