This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/User/Schemes/Dark/RailsCasts.tmTheme", | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "Cyrillic (Windows 1251)", | |
"find_selected_text": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* CSS3 Cube */ | |
* {box-sizing: border-box;} | |
body { | |
background: #000; | |
} | |
@keyframes cube { | |
from { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Full height child of min-height parent | |
*/ | |
.parent { | |
margin: 100px; | |
width: 200px; | |
min-height: 200px; | |
background: #eee; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Russian or english quotes depending on `lang` attribute | |
*/ | |
p:lang(en) q { | |
quotes: "\201C" "\201D" "\2018" "\2019"; | |
} | |
p:lang(ru) q { | |
quotes: "\00AB" "\00BB" "\201E" "\201C"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Examples of fallbacks for rem units. | |
*/ | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* rem with fallback to px | |
* | |
* Use px as unit and only within a property. | |
* Default root font-size is standard 16px. | |
* | |
* Example: | |
* p { | |
* font-size: rem(18px); | |
* box-shadow: 0 0 rem(7px) #000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dl, dd { | |
/*margin: 0;*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var types = require('pg').types; | |
var TIMESTAMP_WOTZ = 1114; // timestamp without time zone | |
var PARSER = types.getTypeParser(TIMESTAMP_WOTZ); | |
types.setTypeParser(TIMESTAMP_WOTZ, function(val) { | |
var result = PARSER(val); | |
return val === null ? null : new Date(result - new Date().getTimezoneOffset() * 60 * 1000); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Solarized Light Theme for Miniflux */ | |
:root { | |
/* Base colors from Solarized Light */ | |
--base03: #002b36; | |
--base02: #073642; | |
--base01: #586e75; | |
--base00: #657b83; | |
--base0: #839496; | |
--base1: #93a1a1; | |
--base2: #eee8d5; |