Skip to content

Instantly share code, notes, and snippets.

@thundernixon
Created October 24, 2018 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thundernixon/0ab764ae9629f84415e0e39b091c0f85 to your computer and use it in GitHub Desktop.
Save thundernixon/0ab764ae9629f84415e0e39b091c0f85 to your computer and use it in GitHub Desktop.
Stylus for GMail
/* Make GMail more readable on large screens with centered column and SF typeface for all text */
/* Based on a Styus doc by @weiweihuanghuang */
/* Use with https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne */
body,
input,
textarea,
select,
*
{
font-family: -apple-system, BlinkMacSystemFont !important;
}
.TO .nU > .n0,
.TO.NQ .nU > .n0,
.TO.nZ .nU > .n0,
.ah9 > .CJ,
.n3 > .CL > .CK,
.ha>.hP,
.hP, .ha, h1, h2, h3, h4, h5, h6,
.z0>.L3 {
font-family: -apple-system, BlinkMacSystemFont !important;
}
.zA > .a4W, .aKz {
font-family: -apple-system, BlinkMacSystemFont !important;
}
.yW {
font-family: -apple-system, BlinkMacSystemFont !important;
}
.a3s,
.g6 {
font: small/1.5 -apple-system, BlinkMacSystemFont !important;
}
.amn > .ams {
font-family: -apple-system, BlinkMacSystemFont !important;
}
.Tm.aeJ {
background:rgba(0,0,0,0.04);
}
.aeF{
max-width: 1000px;
margin: 0 auto;
border-left: 1px solid #eee;
border-right: 1px solid #eee;
font-size: 1.25em;
}
.aXjCH *, .Am, .LW-avf.Am {
font-size: 1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment