This style makes the header and buttons on the Scratch website, more compact, similarly to Scratch 2.0.
Scratch Compactor by nulcow
Details
Authornulcow
LicenseBSD 3-Clause
Categoryscratch.mit.edu
Created
Updated
Size1.9 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
This requires https://
to be at the beginning of URLs on the Scratch website, which shouldn't be an issue.
Source code
/* ==UserStyle==
@name Scratch Compactor
@version 20240605.00.36
@namespace ?
==/UserStyle== */
@-moz-document domain("scratch.mit.edu") {
#navigation, #topnav, #topnav .innerwrap, #topnav ul.site-nav, #topnav .logo, #topnav .logo span, #topnav ul.account-nav > li, #topnav ul.account-nav > li.join-scratch, #topnav ul.account-nav > li:last-child {
height: 36px;
}
#navigation .inner > ul {
height: 36px;
}
#navigation .link > a, #topnav ul.site-nav li a, #topnav ul.account-nav .messages .messages-icon, #topnav ul.account-nav .my-stuff .mystuff-icon {
height: 19px;
padding: 7px 15px 10px 15px;
}
.account-nav .user-info {
height: 19px;
padding: 7px 15px 10px 15px;
}
#navigation .logo a {
height: 36px;
}
#navigation .inner > ul > li.search .btn-search, #topnav form.search .glass {
height: 26px;
}
#navigation .inner > ul > li.search .input[type=text], #navigation .inner > ul > li.search .button[type=text], #topnav form.search input[type="text"] {
height: 26px;
}
#navigation .messages > a, #navigation .mystuff > a, #topnav ul.account-nav .my-stuff .mystuff-icon {
background-size: 37.5% !important;
}
#navigation .messages > a::before, #topnav ul.account-nav .messages .messages-icon::before {
background-size: 37.5% !important;
}
#view {
margin-top: 36px !important;
}
#comments #comment-form .button > a, #comments .comment form .button > a {
padding: 4px 12px;
}
#topnav ul.account-nav .logged-in-user .dropdown-toggle {
height: 36px;
padding: 7px 15px 10px 15px;
}
#content {
padding-top: 56px;
}
}
@-moz-document url-prefix("https://scratch.mit.edu/users/") {
#content {
padding-top: 52px !important;
}
}
@-moz-document url-prefix("https://scratch.mit.edu/mystuff") {
#content {
padding-top: 204px;
}
}