No, you don't need to know HTML or CSS to get this to work.

Here's a basic step-by-step:

1. Download & install the Stylish plugin/add-on/extension for your browser of 
choice.  The official userstyles.org Stylish is available for Chrome ( 
https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en
 ) and Firefox ( https://addons.mozilla.org/en-us/firefox/addon/stylish/ ), 
though it looks like someone else made a Safari version ( 
http://sobolev.us/stylish/ ).
2. Download the 2 files from that gist.
3. Open up the Stylish plugin/add-on/extension's UI and click the import 
button, choose one file, then click import and choose the other file.
4. Enjoy better layout/styling whenever you visit a URL matching 
`http[s]://developer.apple.com/reference/*`.  ;-)
5 (optional). Stylish for Chrome allows you to toggle styles on & off for the 
current page by clicking the toolbar icon for the extension (to the right of 
the address bar; the Stylish extension's icon is an “S” in a 4-colored square), 
so you can decide on-the-fly if you really want to use these changes or not.  
I'd imagine Stylish for other browsers works similarly.
6 (optional). Modify the CSS to your liking.  The most obvious point of 
customization would be the `font-size: 10pt !important;` line— you can change 
the `10pt` to `12pt` or `24pt` or `6pt` or whatever other numerical font size 
you please.

----

Also, I'm not sure if those images went through, so here they are again, hosted 
externally:

Turns this: https://cl.ly/0m1c462d1z40
Into this: https://cl.ly/2b03340B3F2y

— Slipp


> On Nov 17, 2016, at 8:55 AM, Richard Charles <rcharles...@gmail.com> wrote:
> 
> 
>> On Nov 17, 2016, at 6:45 AM, Slipp Douglas Thompson 
>> <apple+cocoa-...@slippyd.com> wrote:
> 
> [snip]
> 
>> I got tired of the layout issues and cooked up some quick Stylish CSS to 
>> rectify developer.apple.com/reference/* pages.
> 
> [snip]
> 
>> My Stylish CSS (in Mozilla Format) can be found at: 
>> https://gist.github.com/capnslipp/208d50e8a6c630d053b4f22e704f28a5
>> 
>> — Slipp
> 
> How about some simple instructions for those of us who don’t know html and 
> are not web developers on how to get this to work? Do you do something like 
> this?
> 
> http://stackoverflow.com/questions/7173096/how-to-apply-default-css-styling-to-all-html-pages
> 
> --Richard Charles
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to