From: Samir Benmendil Date: Sat, 18 Jan 2014 13:35:09 +0000 (+0100) Subject: dwb/userstyles: add stackoverflow.com X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/2db2f5981d56203b96be55486b3b7e4a0b70df80 dwb/userstyles: add stackoverflow.com --- diff --git a/dwb/userscripts/extension_loader.js b/dwb/userscripts/extension_loader.js index cf46e59..e821c32 100644 --- a/dwb/userscripts/extension_loader.js +++ b/dwb/userscripts/extension_loader.js @@ -105,6 +105,7 @@ defaults: { domains : { "humblebundle.com" : { "user-stylesheet-uri" : "" }, "github.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/github.com.css" }, + "stackoverflow.com" : { "user-stylesheet-uri" : "file:///home/ramsi/.config/dwb/userstyles/stackoverflow.com.css" }, }, //Settings applied based on the hostname hosts : { diff --git a/dwb/userstyles/stackoverflow.com.css b/dwb/userstyles/stackoverflow.com.css new file mode 100644 index 0000000..6ac2b91 --- /dev/null +++ b/dwb/userstyles/stackoverflow.com.css @@ -0,0 +1,285 @@ +@namespace url(http://www.w3.org/1999/xhtml); + +/*************************************************************** +Stackoverflow Dark v2.5 (1/13/2014) +https://github.com/StylishThemes/Stackoverflow-Dark +http://userstyles.org/styles/35345 + +previous version information contained at the userstlyes site + ****************************************************************/ + +* { + border-color: #444 !important; + text-shadow: none !important; + box-shadow: none !important; +} + +body { + background: #191919 url(/*[[bg-url]]*/) repeat !important; +} + +div.hireme, div#hireme { + display: none !important; +} + +/*** background color ***/ +#custom-header, .review-bar, .diff-choices a.selected, #header #topbar, td.owner, a.owner, .question-status, +.profile-popup, .profile-popup div, .profile-popup th, .profile-popup td { + background: #111 !important; +} + +blockquote, #post-preview, .nav .primarynav li a, #container, #hsearch .textbox, .form-item, +#wmd-button-bar, .qa-block, .content-block, .user-info-rep { + background: #191919 none !important +} + +.authcomment, .seIntro, .seFooter { + background-color: #191919 !important; + border: 2px solid #262626 !important; +} + +.ad502-room, .messages, .messages,.topbar-dialog .unread-item { + background-color: #232323 !important; + border: 1px solid #191919 !important; +} + +#tabs a.youarehere { + border: 1px solid #666666 !important; + border-bottom: 1px solid #191919 !important; + background: #191919 !important; +} + +#user-about-me, .user-about-me, .mine .messages { + background: #191919 !important; + border: 0px !important; + color: #C1BEBA !important; +} + +input, textarea, #search input, .topbar-dialog .header, .topbar-dialog .modal-content li:hover, .share-tip { + background: #222 !important; + color: #ddd !important; +} + +.profile-popup, .profile-popup tr, .profile-popup th, .profile-gravatar, .newuser, +.seWrapper { + background-color: #222 !important; + border-color: #555 !important; + color: #ddd !important; +} + +.answer, #system-message, .commentlist, .revision td, #hero-content, .mdhelp-tabs .selected { + background: #232323 !important; + color: #999 !important; +} + +.summary .post-tag, .rep-recent-row, .bounty, .diff-choices a:hover, div.meter, .narrow .votes, .stats { + background-color: #232323 !important; + color: #bbb !important; +} + +.tagged-interesting, .tagged-interesting .views, .highlight-row { + background-color: #242424 !important; + background-image: none !important; +} + +.welovestackoverflow, #header #topbar, .revision-comment, .date-span, .post-tag, +.form-submit input, .preferred-login, .mdhelp, .wmd-help-button.active-help, .date_brick { + background: #333 !important; + color: #ddd !important; + -webkit-border-radius: 3px !important; + border-radius: 3px !important; +} + +.nav li, .seNav, .topbar a.topbar-icon-on, .topbar a.topbar-icon-on:hover, .topbar-dialog, .owner, +#footer, .module li.current, .seCurrent, .community-bulletin { + background: #333 !important; +} + +.owner-answer, .question-status, #input-area, .notification, #feed-ticker, #top-menu { + background: #404040 !important; +} + +tr.comment:hover, .reply-parent, .timestamp, .roomcard, .usercard, .page-numbers.current, +.comment-help, .answer-help-background, .mdhelp-tabs, .hi, .seNavLinks a:hover, +.seNavLinks a:focus, .itemBoxNew { + background-color: #444 !important; + color: #ddd !important; +} + +#post-text-container div span { + background: #c1beba !important +} + +/* Brown(ish) */ +.supernovabg, .hotbg, .nav .youarehere, .nav li:hover { + background-color: #d80 !important; +} + +.new-post-activity, #new-answer-activity { + background-color: #840 !important; +} + +/* Blue */ +.nav .primarynav li a:hover { + color: #fff !important; + background: #f90 !important; +} + +.post-tag, .comments-link, .tag-synonym-link { + background-color: #444 !important; + color: #5588aa !important; + margin: 2px !important; + padding: 3px !important; + text-decoration: none !important; + font-size: 80% !important; + line-height: 2.2 !important; + white-space: nowrap !important +} + +.post-tag:hover, .comments-link:hover, .summary .post-tag:hover , .commentslink, .bounty-indicator, +.bounty-indicator-tab, .bounty-award { + background-color: #3e6d8e !important; + color: #e0eaf1 !important; + text-decoration: none !important +} + +/* Green */ +.answered, .answer-votes { + background: #232323 !important; + color: #75845c !important +} + +.answered strong { + color: #75845c !important +} + +.answered-accepted { + background: #75845c !important; + color: #fff !important +} + +.accepted-answer, .suggested-edit .inserted { + background: #224422 !important; +} + +/* Red */ +.deleted-answer, .suggested-edit .deleted { + background-color: #200 !important; +} + +a.moderator-tag { + background-color: #400 !important; +} + +a.moderator-tag:hover { + background-color: #600 !important; +} + +/* Transparent background */ +div.message .meta, .spaces, .comment, span.feed-icon { + background-color: transparent !important; +} + +#tabs a:hover { + background-color: transparent !important; + border: 1px solid #666666 !important; + border-bottom: 1px solid #191919 !important; +} + +/*** Dark border ***/ +a.required-tag { + border-color: #333 !important; +} + +/*** Text Color ***/ +.comment, #top-menu a, .subheader a, .reputation a, .reputation-score { + color: #aaa !important; +} + +.user-details td, .content-page, h2, h2 a, .profile-popup a:hover, .module h4, .page-description, +#openid_identifier, .form-item label { + color: #c1beba !important +} + +div, .accepted-answer .post-text, .accepted-answer .user-action-time, #question-header a, +.post-text, .user-info, .topbar-dialog .header h3, .topbar-dialog .header h3 a, .topbar-dialog span, +.search-result .answered .vote-count-post strong { + color: #ddd !important; +} + +.answered-accepted strong, .youarehere, .nav .primarynav li a { + color: #fff !important +} + +/* Light Blue */ +.profile-popup a, .seWrapper a { + color: #4a6b82 !important +} + +.result-highlight { + color: #aa0 !important; +} + +.warm { + color: #840 !important; +} + +.hot { + color: #a20 !important; +} + +.unanswered { + color: #9a4444 !important; +} + +/*** Style adjustments ***/ +.stats { + float: right !important; + margin-top: 5px !important; +} + +#hsearch { + margin-right: 5px !important; +} + +.stats { + margin-bottom: 4px !important; +} + +.nav .primarynav li a { + display: block !important; + float: left !important +} + +/*** code & syntax highlighting ***/ +pre, code, .pln, .youarehere { + background: #333 !important; + color: #ccc !important; +} + +.str { color: #0a0 !important; } +.lit { color: #a00 !important; } +.pun { color: #999 !important; } /* parenthesis */ +.kwd { color: #08f !important; } /* keyword */ +.tag { color: #999 !important; } /* html tag */ +.atn { color: #088 !important; } /* attribute */ +.atv { color: #0a0 !important; } /* attribute value*/ +.dec { color: #90a !important; } /* doc type */ + +/*** Images ***/ +.wmd-button>span { + background-image: url(http://StylishThemes.github.io/Stackoverflow-Dark/images/wmd-buttons.png) !important; +} + +.statsarrow { + width: 7px !important; + height: 13px !important; + background: url('data:image/gif;base64,R0lGODlhBwANAIAAACMjI////yH5BAEAAAEALAAAAAAHAA0AAAITRI5gGLrnXlzT1NsidEkx/zFHAQA7') 0 0 !important; +} + +#hlogo img, .everyonelovesstackoverflow, #newsletter-ad { opacity: 0.3 !important; } + +#hlogo a { + /* background-image: url(http://StylishThemes.github.io/Stackoverflow-Dark/images/logo.png) !important; */ + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAA9CAMAAACdmqWRAAAAkFBMVEUAAAD////////////////////////////////////////////////////MikfYijfJkD/+gg70hxL+fxH+hAytjWfTiyjIkUOmim7+ehXAlVOmim7AlVP+gBDTiyjTiyimim79igf9igf9igfAlVP+ehWmim6mim7+ehXTiyiBgYX9igfTiyj+ehXAlVOmim66JvyiAAAAKnRSTlMAVSJ31cFm6RGsM4iZRCYRXEwzvIhIo3yN4J9vzGbLRLeZ1enpd+nVmek3hlZvAAAGBklEQVRo3uTYQW7DIBQE0DkBHzDCclTHSlJLiQDf/3gFbFrabLoev52XiPH4f+Of1PxUOAs3TSkZnMWQshVn4VI24CxMyiZQM4LGpkLASw3BoZFUWNCaQ2bRTCmbwcqG4vG7mh1o3UJ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