Skip to content

Instantly share code, notes, and snippets.

View ericwbailey's full-sized avatar

Eric Bailey ericwbailey

View GitHub Profile
@ericwbailey
ericwbailey / usepanda.css
Created July 24, 2020 19:46
Stylus tweaks to fix Panda's desktop web UI. #panda #stylus
.article-details {
display: none;
}
const { DateTime } = require("luxon");
const pluginRss = require("@11ty/eleventy-plugin-rss");
const pluginSyntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(pluginSyntaxHighlight);
eleventyConfig.setDataDeepMerge(true);
eleventyConfig.addLayoutAlias("post", "layouts/post.njk");
@ericwbailey
ericwbailey / feedly.css
Last active July 24, 2020 19:44
Stylus tweaks to fix Feedly's desktop web UI. #feedly #stylus
.LeftnavList {
width: 220px;
}
.LeftnavListRow__text {
width: 100px;
}
.feedlyChrome--leftnav-open .LeftnavPin {
left: 284px;
@ericwbailey
ericwbailey / twitter.css
Last active September 18, 2023 19:09
Stylus tweaks to fix Twitter's desktop web UI. #twitter #stylus
/*
* LOGO
*/
[aria-label="Twitter"] {
display: none;
}
/*
* LEFT COLUMN
@ericwbailey
ericwbailey / Resources.md
Last active June 19, 2021 12:52
Accessibility at Scale resources: noti.st/ericwbailey/bYNh0Y/accessibility-at-scale #talk #enterjs
@ericwbailey
ericwbailey / _c-tab.scss
Created May 29, 2019 19:59
#writing #thoughtbot
.c-tab {
color: var(--color-tab-type);
// Other component declarations
@media (prefers-color-scheme: dark) {
--color-tab-link: #ffffff;
color: var(--color-tab-link)
// Other component theme tweaks
}
@ericwbailey
ericwbailey / _root.scss
Created May 29, 2019 19:59
#writing #thoughtbot
:root {
--color-tab-link: #007aff;
// Other CSS Custom property declarations
}
@ericwbailey
ericwbailey / _colors.scss
Created May 29, 2019 19:54
#writing #thoughtbot
$colors: (
tab (
background: #6b9cdd,
border: #00e2ff,
link: #ffffe7,
link-hover: #ffd5d9,
link-active: #ffadfb,
type: #ffffff,
dark-theme: (
@ericwbailey
ericwbailey / _c-tab.scss
Created May 29, 2019 19:54
#writing #thoughtbot
.c-tab {
color: c(tab, type);
border: 1px solid c(tab, border);
padding: 1rem 3rem;
@media (prefers-color-scheme: dark) {
background-color: c(tab, dark-theme, background);
}
a {
@ericwbailey
ericwbailey / _colors.scss
Created May 29, 2019 19:51
#writing #thoughtbot
$colors: (
brand-primary: #6b9cdd,
brand-secondary: #ffadfa,
brand-tertiary: #fed5d8,
tab (
background: #6b9cdd,
border: #00e2ff,
link: #ffffe7,
link-hover: #ffd5d9,