Skip to content

Instantly share code, notes, and snippets.

@spiralx
Created November 9, 2016 18:20
Show Gist options
  • Save spiralx/cb5e6b2e55c841841a0e032a6c47eaee to your computer and use it in GitHub Desktop.
Save spiralx/cb5e6b2e55c841841a0e032a6c47eaee to your computer and use it in GitHub Desktop.
UserStyles
@-moz-document domain("github.com") {
@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic);
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
word-spacing: normal !important;
letter-spacing: normal !important;
}
/* Text fonts, sizes and spacing */
body,
.markdown-body {
font: 12pt/1.44em 'Noto Sans' !important;
}
pre, tt, textarea, code, .blob-code-inner {
font-size: inherit !important;
line-height: 1.44em !important;
font-family: Consolas, monospace !important;
}
.commit-tease .commit-meta {
font-size: 0.9em !important;
padding: 8px 12px 10px !important;
}
.commit-tease .zeroclipboard-link {
margin-top: 3px !important;
margin-left: 1em !important;
}
.commit .sha-block,
.commit .sha,
.commit-tease .authorship {
font-size: inherit !important;
}
/* Colours */
body {
color: black !important;
}
[itemtype*=WebPage] a:not(.btn):not(.message) {
color: #05f !important;
}
[itemtype*=WebPage] a:not(.btn):visited {
color: #c60 !important;
}
table.files td.message a.message,
table.files td.age time {
color: #444 !important;
}
/* Widen the page */
.container {
min-width: 980px !important;
}
.wiki-rightbar {
width: 320px;
}
.has-rightbar .wiki-body,
.has-rightbar .wiki-footer {
margin-right: 340px;
}
.repo-container {
display: flex !important;
flex-direction: row;
flex-wrap: nowrap;
align-content: stretch;
align-items: stretch;
}
.repository-with-sidebar .repository-sidebar {
float: none !important;
order: 1;
flex: 0 1 170px;
margin-left: 20px !important;
}
.repository-with-sidebar .repository-content {
float: none !important;
order: 0;
flex: 1 1 auto;
}
/* Code highlighting */
div.highlight {
margin-left: 20px !important;
margin-right: 20px !important;
padding: 5px 5px 5px 10px !important;
box-shadow: 6px 8px 4px 0 #bbb !important;
border-radius: 3px;
}
table.highlight {
font-size: 10pt !important;
}
.blob-num {
padding-top: 2px;
}
.blob-code-addition {
background-color: #020 !important;
}
.blob-code-deletion {
background-color: #411 !important;
}
.blob-code-addition .x,
.blob-code-deletion .x {
background-color: #cd2990 !important;
}
.empty-cell {
background-color: black !important;
}
.highlight,
.highlight pre,
.highlight [data-line-number],
.blob-code-inner,
.pl-id,
.pl-ii,
.pl-mb,
.pl-md,
.pl-mdr,
.pl-mi1,
.pl-ml,
.pl-mh,
.pl-mo,
.pl-mq,
.pl-ms,
.pl-sr,
.pl-sr .pl-cce,
.pl-sr .pl-sra,
.pl-sr .pl-sre {
color: #fafafa !important;
}
div.highlight pre {
word-spacing: -0.05em !important;
white-space: pre-wrap !important;
}
div.highlight,
div.highlight pre,
table.highlight tr {
background-color: black !important;
}
table.highlight .blob-code[style] {
background-color: rgba(32, 128, 255, 0.4) !important;
}
.highlight .pl-c {
color: #4c4 !important;
font-style: italic !important;
}
.highlight .pl-k,
.highlight .pl-ent {
color: #ff4 !important;
/*font-weight: bold !important;*/
}
.highlight .pl-e {
color: #f88 !important;
}
.highlight .pl-s,
.highlight .pl-v,
.highlight .pl-en,
.highlight .pl-s .pl-pse,
.highlight .pl-s .pl-pse .pl-s1,
.highlight .pl-pds {
color: #88f !important;
}
.highlight .pl-s1,
.highlight .pl-smi {
color: #f4f !important;
}
.highlight .pl-c1 {
color: #4cc !important;
}
.pun {
color: #f88 !important;
font-weight: bold !important;
}
}
@-moz-document regexp("^https?:\\/\\/(www\\.)?google\\.(co\\.uk|com|fr|de)\\/search\\?.*") {
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400i,700i);
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
word-spacing: normal !important;
letter-spacing: normal !important;
}
/* Text fonts, sizes and spacing */
.g, body, html, input, .std, h1 {
font-size: 12pt;
line-height: 1.44em;
font-family: Lato, Arial, sans-serif !important;
}
#res h3 {
font-size: 1.25em;
font-weight: bold;
color: #05d;
border-bottom: dotted 1px #05d;
}
#ires .kv {
line-height: 1.44em;
height: auto;
margin: 2px 0 4px;
}
#ires .kv cite {
color: #080;
}
#ires .kv ._Rm {
font-size: 11pt;
}
.s .st, .st.s.std em {
color: #333 !important;
}
}
@-moz-document domain("schemaform.io") {
.ace_editor {
font-size: 12pt !important;
line-height: 1.25em;
}
.form {
min-height: 400px;
height: auto;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment