SkyscraperCity Cardboard theme light gray update
/* ==UserStyle== @name SSC Cardboard Gray @namespace github.com/regs01/usercss @version 2.0.0-release.5 @description SkyscraperCity Cardboard theme light gray update @author coth @license MIT @preprocessor stylus @var select userInfoBox "Userinfo Box" ['uib_connected:Connected to post', 'uib_disconnected:Disconnected from post'] @var checkbox fullWidth "Full width" 0 ==/UserStyle== */ @-moz-document domain("skyscrapercity.com"), domain("overclock.net") { html:not(.template-california_index_view):not(.template-conversation_view):not(.template-forum_list) div.sidebar { display: none !important; } .compliancy-logos-container { display: none !important; } section#header-banner div.p-header-banner.p-header-banner-placeholder { display: none !important; } header.p-header { margin-top: initial !important; background-color: #232324 !important; } header.is-sticky { position: static !important; display: block !important; } html.template-thread_view div.p-pageWrapper { background: #efefef !important; } .p-body-inner { if fullWidth == 1 { max-width: 98% !important; } } .button { background-color: #f6f6f6; /* non-important */ } body[data-template="thread_view"] .california-message .comment-options .actionBar-action.actionBar-action--inlineMod, body[data-template="thread_view"] .california-message .comment-options .california-options-button-inner { margin-right: 0px !important; } body[data-template="thread_view"] .california-message .comment-options button.california-options-button { width: 24px !important; height: 24px !important; background-color: inherit !important; } body[data-template="thread_view"] .california-message .comment-options button.california-options-button:hover { background-color: #f6f6f6 !important; } body[data-template="thread_view"] .california-message .comment-options button.california-options-button.is-menuOpen { background: #efefef !important; } .california-options-button::before { content: url(/styles/default/California/v-ellipsis-black.svg) !important; } body[data-template="thread_view"] .california-message.message.message--post .message-inner { if userInfoBox == uib_connected { box-shadow: 0 2px 4px rgba(0,0,0,.11),0 1px 1px rgba(0,0,0,.04); } } body[data-template="thread_view"] .california-message.message.message--post .message-cell.message-cell--main { padding: 6px 14px !important; if userInfoBox == uib_disconnected { box-shadow: 0 2px 4px rgba(0,0,0,.11),0 1px 1px rgba(0,0,0,.04); } else if userInfoBox == uib_connected { box-shadow: none !important; } } body[data-template="thread_view"] .california-message.message.message--post .message-cell.message-cell--user { if userInfoBox == uib_disconnected { background: #efefef !important; } else if userInfoBox == uib_connected { background: #f0f3f5 !important; padding: 12px !important; border-width: 1px 0px 1px 1px !important; border-style: solid !important; margin-right: -4px !important; flex: 1 1 162px !important; } } .bbCodeBlock, body[data-template="thread_view"] .california-message.message.message--post .message-cell.message-cell--main .bbCodeBlock.bbCodeBlock--quote { background-color: #f5f5f5 !important; color: #444 !important; } body[data-template="thread_view"] .california-message.message.message--post .message-cell.message-cell--main .message-attribution { font-family: 'segoe ui', helvetica neue, Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, fira sans, droid sans, sans-serif; font-size: 9pt; } body[data-template="thread_view"] .california-quick-reply-container .fr-box { background-color: #f6f6f6 !important; } .fr-toolbar { background-color: #f6f6f6 !important; } body[data-template="thread_view"] .california-quick-reply-container .fr-box .fr-toolbar::before { border-top: none !important; padding-top: 0px !important; } body[data-template="thread_view"] .california-quick-reply-container .fr-box textarea.input { background-color: #fff !important; } svg.sticky-pin path { color: #B00020 !important; fill: #B00020 !important; } body[data-template="thread_view"] .california-message .comment-options ul.message-attribution { margin-top: inherit !important; } body[data-template="thread_view"] .california-message.message.message--post.is-unread .message-newIndicator, .badge.badge--highlighted.badge-top-right-side-new-nav { background: #B00020 !important; } body[data-template="thread_view"] .california-message .comment-options .actionBar-action.actionBar-action--inlineMod label { vertical-align: 2px !important; } .bbCodeBlock-expandLink { background: linear-gradient(to bottom,rgba(227,231,233,0) 0%,#e7e7e7 80%) !important; } .bbMediaWrapper { width: 1280px !important; min-width: 560px !important; max-width: 100% !important; padding: 0px !important; margin: 0px !important; position: relative !important; } .bbMediaWrapper-inner { width: 100% !important; height: 100% !important; padding-bottom: 56.25% !important; position: relative !important; } .bbMediaWrapper-inner iframe{ width: 100% !important; height: 100% !important; position: absolute !important; } }