Remove specific name from firefox where unnecessary
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
@-moz-document url(chrome://browser/content/browser.xhtml) {
|
||||
/* Hide Firefox top tab bar */
|
||||
#TabsToolbar {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
/* Move navigation bar up to fill tab bar space */
|
||||
#nav-bar {
|
||||
border-width: 1px !important;
|
||||
border-style: solid !important;
|
||||
border-color: transparent !important;
|
||||
|
||||
margin-bottom: -1px !important;
|
||||
margin-top: -29px !important;
|
||||
margin-right: 0px !important;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
|
||||
/* Navigation bar color */
|
||||
#nav-bar {
|
||||
background: #2b2e39 !important;
|
||||
}
|
||||
|
||||
/* Hide TreeStyleTab header */
|
||||
#sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide TreeStyleTab splitter */
|
||||
#sidebar-splitter {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Url bar color */
|
||||
#urlbar {
|
||||
background: #404552 !important;
|
||||
}
|
||||
|
||||
/* Hide ... button in URL bar */
|
||||
#urlbar #pageActionButton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#urlbar #pageActionSeparator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Unzoom URL bar */
|
||||
#urlbar[breakout-extend] {
|
||||
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
|
||||
left: calc((var(--urlbar-toolbar-width) - var(--urlbar-width)) / 2) !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#urlbar[breakout-extend] #urlbar-input-container {
|
||||
height: calc(var(--tab-min-height) - 3px) !important;
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
/* Clean up extra spacing at the top and bottom */
|
||||
#urlbar-results {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Compact results */
|
||||
#urlbar-results .urlbarView {
|
||||
margin: 0px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
#urlbar-results .urlbarView-row {
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
/* Subtle border between results */
|
||||
#urlbar-results .urlbarView-row:not(:last-of-type) {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
@-moz-document url(about:blank) {
|
||||
html > body:empty {
|
||||
background-color: #2a2a2e !important;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("boards.4chan.org") {
|
||||
/* Hide unnecessary elements */
|
||||
#bannerCnt { display: none; }
|
||||
form[name=post] { display: none; }
|
||||
hr.aboveMidAd { display: none; }
|
||||
hr.abovePostForm { display: none; }
|
||||
#toggleMsgBtn { display: none; }
|
||||
#globalMessage { display: none; }
|
||||
.middlead.center { display: none !important; }
|
||||
.adg-rects.desktop { display: none; }
|
||||
#op.desktop { display: none; }
|
||||
#absbot { display: none; }
|
||||
|
||||
/* Make posts the full width */
|
||||
.postContainer.replyContainer .post.reply { width: 100% }
|
||||
}
|
||||
|
||||
@-moz-document domain("github.com") {
|
||||
:root{
|
||||
--tab-size: 4;
|
||||
}
|
||||
|
||||
.blob, .blob-code-inner, pre, code, tt {
|
||||
-moz-tab-size: var(--tab-size);
|
||||
tab-size: var(--tab-size);
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("gitlab.com") {
|
||||
:root{
|
||||
--tab-size: 4;
|
||||
}
|
||||
|
||||
.blob-viewer, pre, code, tt {
|
||||
-moz-tab-size: var(--tab-size);
|
||||
tab-size: var(--tab-size);
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("youtube.com") {
|
||||
/* Hide video player */
|
||||
#player-theater-container {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide recommended sidebar */
|
||||
#columns #secondary {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Center content */
|
||||
#columns {
|
||||
max-width: 65% !important;
|
||||
min-width: 65% !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user