Beautify the sad-looking https://www.google.com/sorry/index
Google Sorry - Beautify by rainslide
Details
Authorrainslide
LicenseSQLite Blessing
Categorygoogle
Created
Updated
Size1.0 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
- Centerize the content
- Sync the gap widths to 1em
- Use monospace font, prevent overflow for the target URL
- Dark color scheme
- Sorry if you meet this page a lot and really need this style
Source code
/* ==UserStyle==
@name Google Sorry - Beautify
@description Beautify the sad-looking https://www.google.com/sorry/index
@namespace RainSlide
@author RainSlide
@version 1.1
@license blessing
==/UserStyle== */
@-moz-document url-prefix("https://www.google.com/sorry/index") {
/* Senterize the content */
body {
display: flex;
flex-direction: column;
align-items: center;
line-height: 1.5;
}
/* Sync the gap widths to 1em */
hr { margin: 0 0 1em; }
br { line-height: 1; }
hr + br { display: none; }
#infoDiv { margin: 0 !important; }
/* Use monospace font, prevent overflow */
#captcha-form ~ div {
font-family: monospace;
overflow-wrap: anywhere;
}
/* Dark color scheme */
@media (prefers-color-scheme: dark) {
body {
background-color: #202124 !important;
color: #bdc1c6 !important;
}
:link { color: #8ab4f8; }
:visited { color: #c58af9; }
#infoDiv { background-color: #303134 !important; }
}
}