This file contains 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
div.tag { | |
background: #EDF; | |
display: inline-block; | |
padding: .3em .6em; | |
padding-left: .8em; | |
border-radius: .6em; | |
font: 10pt arial; | |
text-shadow: 1px 1px #F7F7F7; | |
} |
This file contains 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
function __get_git_branch { | |
local br="" | |
local git="$(git symbolic-ref HEAD 2> /dev/null)" | |
# git | |
if [ -n "$git" ]; then | |
br="${git##refs/heads/}" | |
fi | |
echo "$br" |
This file contains 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
function __get_git_branch { | |
local br="" | |
local git="$(git symbolic-ref HEAD 2> /dev/null)" | |
# git | |
if [ -n "$git" ]; then | |
br="${git##refs/heads/}" | |
fi | |
echo "$br" |
This file contains 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
"a=1&b=2".match(/[a-z]=\d/i) // --> ["a=1"] | |
"a=1&b=2".match(/[a-z]=\d/gi) // --> ["a=1", "b=2"] | |
"a=1&b=2".match(/[a-z]=(\d)/i) // --> ["a=1", "1"] | |
"a=1&b=2".match(/[a-z]=(\d)/gi) // --> ["a=1", "b=2"] - !!! |
This file contains 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
.img { | |
position: absolute; | |
background: #FBB; | |
width: 400px; | |
height: 80%; | |
} | |
.arrow-right { | |
position: absolute; | |
right: 0; |
This file contains 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
.left { | |
border: 1px solid; | |
border-color: #d7d7d7 #b8b8b8 #656667; | |
background: -webkit-linear-gradient(top,#fdfdfd 0,#BBB 100%); | |
left: 0; | |
width: 11px; | |
height: 12px; | |
position: absolute; | |
border-top-left-radius: 3px; | |
border-bottom-left-radius: 3px; |
This file contains 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
body { | |
background: #CCC; | |
} | |
.tags { | |
position: relative; | |
top: 100px; | |
left: 100px; | |
width: 300px; | |
height: 200px; |
This file contains 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
body { | |
background: #CCC; | |
} | |
.tags { | |
position: relative; | |
top: 100px; | |
left: 100px; | |
width: 300px; | |
height: 200px; |
This file contains 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
.body { | |
position: absolute; | |
top: 100px; | |
left: 100px; | |
width: 200px; | |
height: 130px; | |
background: #444; | |
border-radius: 14px; |
This file contains 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
.search { | |
position: relative; | |
overflow: hidden; | |
height: 50px; | |
padding-right: 95px; | |
padding-left: 5px; | |
background: url("http://www.brandbuildsell.com/wp-content/uploads/2010/08/patterns_2-6-tumblr-background-images.jpg"); | |
} |