Skip to content

github.com by idrisfamily

Details

Authoridrisfamily

LicenseNo License

Categorygithub

Created

Updated

Size2.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Large fonts on github.com

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         github.com
@version      20220819.19.01
@namespace    userstyles.world/user/idrisfamily
@description  Large fonts on github.com
@author       idrisfamily
@license      No License
==/UserStyle== */
@-moz-document domain("github.com") {
	:root {
		--default-font-size: 12pt;
		--default-font-weight: 400;
		--default-font-family: "Iosevka Term";
		--default-letter-spacing: 0.1;
		--default-line-height: 1.5;
	}

	div > span > textarea {
		font-family: var(--default-font-family);
		font-size: var(--default-font-size);
		line-height: var(--default-line-height);
	}

	/*	
	.markdown-body code,
	.markdown-body pre {
		padding-top: 1px;
		padding-bottom: 1px;
		padding-left: 4px;
		padding-right: 4px;
	}

	.blob-code-inner,
	.blob-code-inner > *,
	.CodeMirror pre > span,
	.CodeMirror-linenumber {
		font-size: var(--default-font-size);
		font-weight: var(--default-font-weight);
		font-family: var(--default-font-family);
		letter-spacing: var(--default-letter-spacing);
	}

	.markdown-body p,
	.markdown-body ul,
	.markdown-body li,
	.markdown-body ol {
		font-size: var(--default-font-size) !important;
		font-weight: var(--default-font-weight);
		font-family: var(--default-font-family);
		line-height: var(--default-line-height);
		letter-spacing: var(--default-letter-spacing);
	}

	.markdown-body code,
	.markdown-body pre {
		font-size: var(--default-font-size) !important;
		font-weight: var(--default-font-weight);
		font-family: var(--default-font-family);
		letter-spacing: var(--default-letter-spacing);
	}

	.upload-enabled textarea,
	.markdown-body table th,
	.markdown-body table td,
	.comment-body,
	.reorderable-task-lists .markdown-body ol li,
	.reorderable-task-lists .markdown-body ul li {
		font-size: var(--default-font-size) !important;
		font-weight: var(--default-font-weight);
		line-height: var(--default-line-height);
		font-family: var(--default-font-family);
		letter-spacing: var(--default-letter-spacing);
	}

	.markdown-body h1 {
		font-size: 16pt !important;
	}
	.markdown-body h2 {
		font-size: 15pt !important;
	}
	.markdown-body h3 {
		font-size: 14pt !important;
	}
	.markdown-body h4 {
		font-size: 13pt !important;
	}
	.markdown-body h5 {
		font-size: var(--default-font-size) !important;
	}

	.markdown-body h1 code,
	.markdown-body h2 code,
	.markdown-body h3 code,
	.markdown-body h4 code,
	.markdown-body h5 code,
	.markdown-body h6 code {
		font-size: 1em !important;
	}

	kbd {
		letter-spacing: var(--default-letter-spacing);
		font-size: var(--default-font-size);
		font-weight: var(--default-font-weight);
		font-family: var(--default-font-family) background: #7f1383e3;
	}
	*/
}

Reviews

No reviews yet.