Skip to content

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 really need this style
  • Sorry that I can't provide a preview image for you,
    as it don't jump out on me right now.

Source code

/* ==UserStyle==
@name           Google Sorry - Beautify
@description    Beautify the sad-looking https://www.google.com/sorry/index
@namespace      RainSlide
@author         RainSlide
@version        1.0
@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 for the target URL */
	#captcha-form ~ div {
		font-family: monospace;
		word-break: break-all;
	}

	/* 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; }
	}

}

Reviews

No reviews yet.