mirror of
https://github.com/hermitm0nk/malevich
synced 2026-11-22 18:51:04 +00:00
Mirror of https://github.com/hermitm0nk/malevich
- CSS 58.5%
- JavaScript 41.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The bookmarks/history sidebar was positioned with position:absolute; right:0 which made it overlay page content. The sidebar-splitter was display:none, preventing resizing. Changes: - _base.css: Remove absolute positioning from #sidebar-box[checked]. Use flex order:100 to place it after content (order:5) on the right side. Removed display:none on #sidebar-splitter. - _sidebar-separator.css: Scope splitter styling to #sidebar-box[checked] ~ #sidebar-splitter (sibling combinator) so it only shows when sidebar is open. Added display:flex !important and order:99 to override Firefox's native display:none on the splitter. - example_user.js: sync with live profile layout, add sidebar.verticalTabs, compact dark theme, modern privacy recommendations |
||
| chrome | ||
| .gitignore | ||
| example_user.js | ||
| LICENSE | ||
| malevich.png | ||
| README.md | ||
Malevich
A dark Firefox userChrome.css theme - minimalistic, lightweight, and radically clean.
Inspired by Shyfox. Every UI panel is hidden by default, leaving nothing but your content. Panels reveal themselves only when you hover the top or left edge of the window.
- Vertical tab bar on the left (native Firefox vertical tabs, FF136+)
- Modern sidebar (History, Bookmarks, etc.) on the right
- Tab bar and sidebar use Firefox's built-in "show on hover" behavior - see
example_user.jsfor the required prefs - Use Ctrl+Alt+Z (or the Toggle sidebar button) to make the tab bar and navbar permanently visible when you need them
Requirements
- Firefox 136+ (native vertical tabs)
toolkit.legacyUserProfileCustomizations.stylesheets = trueinabout:config
Installation
-
Clone the repo (or download the source):
git clone https://github.com/hermitm0nk/malevich.git cd malevich -
Copy the chrome directory into your Firefox profile:
cp -r chrome/ ~/.mozilla/firefox/<profile>/ -
Apply the preferences from
example_user.js:- Either copy it directly as
user.jsinto your profile:cp example_user.js ~/.mozilla/firefox/<profile>/user.js - Or cherry-pick the relevant sidebar/vertical-tabs prefs if you already have a
user.js.
- Either copy it directly as
-
Restart Firefox - the theme activates on next launch.
Key Preferences
See example_user.js for the full set. The critical ones for this theme:
user_pref("sidebar.revamp", true);
user_pref("sidebar.visibility", "expand-on-hover");
user_pref("sidebar.position_start", true);
user_pref("browser.sidebar.moveOnResize", false);
user_pref("browser.tabs.allowAnimationPreference", false);
user_pref("browser.tabs.animate", false);
Toggle Visibility
Press Ctrl+Alt+Z or click the Toggle sidebar button to switch between:
- Compact mode (default) - tab bar and navbar auto-hide, shown on hover
- Full mode - tab bar and navbar always visible
Structure
chrome/
├── userChrome.css # Main entry point - imports all modules
├── userContent.css # Website-level dark theme overrides
└── zen-modules/
├── _variables.css
├── _base.css
├── _bookmark-bar.css
├── _vertical-tabs.css
├── _navbar-autohide.css
├── _sidebar-separator.css
├── _urlbar.css
├── _content-frame.css
└── _dark-ui.css
License
MIT
