Skip to content

Instantly share code, notes, and snippets.

@jbenet
Last active February 4, 2019 10:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbenet/2b0d174fa92e03f3d670746d2b5a073a to your computer and use it in GitHub Desktop.
Save jbenet/2b0d174fa92e03f3d670746d2b5a073a to your computer and use it in GitHub Desktop.
Large google docs comments
/*
large google docs comments
add this to a user stylesheet
like https://github.com/openstyles/stylus
*/
/* make comment boxes large */
@media only screen and (min-width: 1400px) {
.docos-layout-anchored
.docos-anchoreddocoview {
width: 350px;
}
}
@media only screen and (min-width: 1600px) {
.kix-appview-editor-container {
margin-left: -80px;
}
.docos-layout-anchored
.docos-anchoreddocoview {
width: 550px;
}
}
@media only screen and (min-width: 1800px) {
.kix-appview-editor-container {
margin-left: -200px;
}
.docos-layout-anchored
.docos-anchoreddocoview {
width: 750px;
}
}
@media only screen and (min-width: 2000px) {
.kix-appview-editor-container {
margin-left: -250px;
}
.docos-layout-anchored
.docos-anchoreddocoview {
width: 850px;
}
}
/* different fonts for the comments */
.docos-layout-anchored
.docos-anchoreddocoview {
/* nice serif font */
/* font-family: "EB Garamond"; */
/* readability at small sizes */
/* font-family: "Gill Sans", Futura, Arial, sanserif; */
}
@jbenet
Copy link
Author

jbenet commented Nov 29, 2018

Large Google Docs Comments

Because google docs is good at group-editing and conversations over documents, and we have large monitors now.

Install

Add this to a user stylesheet extension like https://github.com/openstyles/stylus

Security Note

Recommend scoping privileges of such an extension to only the sites you want it to work on, and to use an open source one.

Don't use Stylish (the original one) because that one has been accused of stealing user browsing history & selling it...

Example

image

@jbenet
Copy link
Author

jbenet commented Nov 29, 2018

Update:

  • more responsive, because of document outlines. (previously doc outlines got wrecked)

@jbenet
Copy link
Author

jbenet commented Nov 29, 2018

HT to @shannonwells for:

font-family: "Gill Sans", Futura, Arial, sanserif;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment