Skip to content

Instantly share code, notes, and snippets.

@csilverman
csilverman / dillingest.css
Created October 26, 2022 19:51
This is custom CSS for the dillinger.io Markdown editor. It makes editing text a little nicer. Set it up in something like Stylebot.
/*
Dillingest 1.0
==============
Chris Silverman
2022/10/26
This is custom CSS for the dillinger.io Markdown editor. It
makes editing text a little nicer. Set it up in something
like Stylebot to use on the Dillinger site.
/*
gutenbook.css
Chris Silverman - v 0.9
- - -
Use: install a plugin like Stylebot, and then apply this CSS to gutenberg.org. This
provides (in my mind) a slightly better reading experience than Safari Reader, and
definitely a better reading experience than the default HTML versions of their books.
*/
.chapter {
@csilverman
csilverman / bs-carousel-accessible.css
Created October 31, 2024 16:17
Bootstrap carousel styling - makes arrows more visible
@csilverman
csilverman / ios-fixed-scrolling-fix.css
Created January 7, 2025 16:55 — forked from nicolaskopp/ios-fixed-scrolling-fix.css
Fix scrolling bug on iOS Safari with fixed elements and bottom bar
/* Fix scrolling bug on iOS Safari with fixed elements and bottom bar */
body.noscroll {
height: 100%;
overflow: hidden; /* make sure iOS does not try to scroll the body first */
}
/* your wrapper, most likely mobile menu */
.fixed-wrapper {
width: 100%;