A de-bloated, flat user style for gemini.google.com. Strips away excessive Material elevation shadows and aggressive blur effects, restoring structured input boxes, muted query bubbles, and clean code blocks.
面向 gemini.google.com 的去装饰化纯平风格用户样式。剥除原生 Material 阴影与模糊光晕,重置输入框、提问气泡与代码块排版。
- Input Box: Pure white background, subtle 1px border, zero elevation shadows, and a clean monochrome action button.
- Message Bubbles: Muted cool-tinted fill (
#EDF2FA) without card outlines. - Syntax Highlighting: Soft color palette (purple keywords, light blue functions, muted green strings, slate operators).
- Code Container: Clean card layout with
#F1F3F9background fill and 20px rounded corners.
Click the badge above if you already have the Stylus extension installed.
若已安装 Stylus 扩展,直接点击页面顶部蓝色的 Install with Stylus 徽标即可自动触发安装。
- Install a userstyle manager extension (such as Stylus).
- Create a new style and paste the raw content of
gemini-clean-flat.user.css. - Set the target domain to
gemini.google.com.
Contributions and pull requests are welcome. Currently, the code block container exhibits the following DOM layout constraints:
- Header Border Edge Alignment:
- The
.code-block-decorationheader container is constrained by internal host container paddings. The separator line (border-bottom: 2px solid #FFFFFF) currently spans the inner block width rather than extending fully to the 20px card boundaries. - Attempting to force full-width stretch via negative margins or absolute positioning easily triggers box-sizing layout shifts across different viewport widths.
- The
- Layer Compositing in Mobile WebKit/Blink:
- Internal
<pre>containers may occasionally render a transparent layer depending on shadow DOM encapsulation, exposing the white underlying canvas.
- Internal
If you are familiar with Angular Web Components and layout tree inheritance, feel free to submit a PR to refine the container inheritance rules.
