Skip to content

Instantly share code, notes, and snippets.

View don1138's full-sized avatar
🐝

Don Schnitzius don1138

🐝
View GitHub Profile
pre {
background: #e4e4e4;
font-family: Consolas, "Liberation Mono", Courier, monospace;
font-weight: bold;
padding: 22px;
color: #777;
font-size: 14px;
line-height:1.32;
margin-bottom: 22px;
max-width: 100%;
h1 a , h2 a , h3 a , h4 a , h5 a , h6 a {
color:inherit;
opacity:1;
}
h1 a:hover , h2 a:hover , h3 a:hover , h4 a:hover , h5 a:hover, h6 a:hover{
color:inherit;
opacity:0.8;
}
@media screen and (min-width: 720px) {
.table {
display: table;
width: 100%;
border-collapse: collapse;
}
}
.tr {
margin-bottom: 1.6rem;
@don1138
don1138 / clearfix.css
Last active August 7, 2016 21:58
CSS Clearfix
/* CLEARFIX */
.clearfix:before, .container:after { content: ""; display: table; }
.clearfix:after { clear: both; }
/* IE 6/7 */
.clearfix { zoom: 1; }
img {
max-width: 100%;
height: auto;
image-rendering: optimizeQuality;
}
/* This parent can be any width and height */
.block {
text-align: center;
/* May want to do this if there is risk the container may be narrower than the element inside */
white-space: nowrap;
}
/* The ghost, nudged to maintain perfect centering */
.block:before {
@don1138
don1138 / base64-trans-gif-1x.html
Created June 11, 2013 21:57
HTML Base-64 Encoded 1x1 Transparent GIF
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" />
/* via "Operating systems default sans-serif fonts" (https://fontsarena.com/blog/operating-systems-default-sans-serif-fonts) */
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
/* System Fonts as used by GitHub */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
/* System Fonts as used by Medium and WordPress */
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
@don1138
don1138 / blender_python_modifier_chars.py
Last active September 23, 2020 06:15
Modifier Key Symbols for Text Labels
# If you want to use modifier keys symbols in your text labels, use these:
# Control ⌃
# Option/Alt ⌥
# Shift ⇧
# Command ⌘
@don1138
don1138 / webkit-only.css
Created September 5, 2016 10:12
Hack for Webkit
@media all and (-webkit-min-device-pixel-ratio: 1){
selectors {
properties: values;
}
}