Skip to content

Instantly share code, notes, and snippets.

View bradleytaunt's full-sized avatar

Bradley Taunt bradleytaunt

View GitHub Profile
@bradleytaunt
bradleytaunt / additional.css
Last active December 23, 2020 14:10
Additional CSS for Twenty Twenty-One WP Theme
body.home .wp-block-separator {
margin: 4rem auto;
}
.custom-html-widget .ref {
border: 3px solid currentColor;
padding: 20px;
}
.custom-html-widget .ref svg {
display: block;
@bradleytaunt
bradleytaunt / user.json
Created September 30, 2020 13:39
CudaText Preferences
{
// Font Face
"font_name": "Monospace",
"font_name__linux": "Monospace",
// Font Size
"font_size__linux": 14,
"font_size_i__linux": 14,
"font_size_b__linux": 14,
"font_size_bi__linux": 14,
// Line Height
@bradleytaunt
bradleytaunt / Preferences.sublime-settings
Last active March 25, 2020 14:16
Sublime Text User Settings
{
"caret_extra_width": 5,
"color_scheme": "Packages/Guna/themes/Guna.tmTheme",
"font_size": 14,
"gn_hide_tab_dropdown": true,
"gn_overlay_scroll_bars": true,
"gn_sb_cnvx": true,
"gn_sidebar_box": true,
"gnc_h10": true,
"gnc_m02": true,
@bradleytaunt
bradleytaunt / typesafe-sans.css
Created February 4, 2020 16:01
TypeSafe Sans CSS
*{box-sizing:border-box;}body{font:16px/1.5 "Helvetica Neue","Helvetica","Arial",sans-serif;margin:0 auto;max-width:66ch;padding:1rem;}h1,h2,h3,h4,h5,h6{font-family:"Georgia",serif;margin:2.5rem 0 1rem;}ul li, ol li{margin-top:0.5rem;}a,a:visited{color:black;}a:hover{color:dodgerblue;}img{height:auto;max-width:100%;}pre{border: 1px solid lightgrey;overflow:auto;}code{color:orangered;display:inline-block;}pre code{padding:1rem;}blockquote{border-left:5px solid lightgrey;font-size:120%;font-style:italic;margin:2rem 0;padding:1rem;}table{border-collapse:collapse;margin:2rem 0;text-align:left;width:100%;}tr{border-bottom:1px solid lightgrey;}th,td{padding:0.5rem;}hr{background:lightgrey;border:0;height:1px;margin:2rem 0;}
https://download.sublimetext.com/latest/stable/linux/x64/deb
@bradleytaunt
bradleytaunt / typesafe.css
Last active May 22, 2022 13:42
TypeSafe CSS
*{box-sizing:border-box;}body{font:16px/1.5 "Georgia",serif;margin:0 auto;max-width:66ch;padding:1rem;}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue","Helvetica","Arial",sans-serif;margin:2.5rem 0 1rem;}ul li, ol li{margin-top:0.5rem;}a,a:visited{color:black;}a:hover{color:dodgerblue;}img{height:auto;max-width:100%;}pre{border: 1px solid lightgrey;overflow:auto;}code{color:orangered;display:inline-block;}pre code{padding:1rem;}blockquote{border-left:5px solid lightgrey;font-size:120%;font-style:italic;margin:2rem 0;padding:1rem;}table{border-collapse:collapse;margin:2rem 0;text-align:left;width:100%;}tr{border-bottom:1px solid lightgrey;}th,td{padding:0.5rem;}hr{background:lightgrey;border:0;height:1px;margin:2rem 0;}
@bradleytaunt
bradleytaunt / settings.json
Last active July 17, 2019 19:28
Visual Studio Code - Settings
{
"editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic
"comment",
"emphasis",
@bradleytaunt
bradleytaunt / user-settings.json
Created January 24, 2018 16:17
Visual Studio Code user settings (based off of Alex Carpenter's setup)
{
"editor.fontSize": 16,
"editor.fontFamily": "PragmataPro Mono, monospace",
"editor.lineHeight": 35,
"workbench.colorTheme": "Palenight Theme",
"editor.tabSize": 4,
"workbench.activityBar.visible": false,
"workbench.statusBar.visible": true,
"workbench.sideBar.location": "right",
"editor.wordWrap": "on",
@bradleytaunt
bradleytaunt / css-reset.css
Created January 11, 2018 02:16
CSS Reset
/*
# CSS Preset
## version 1.0.0
A simple CSS preset to enable box-sizing, set some text rendering options to decrease the differences between browsers, and set a couple of nice defaults.
## Usage
<link href=preset.css rel=stylesheet>
## Info
- author: Tommy Hodgins
- license: MIT
- website: https://github.com/tomhodgins/preset