drush distro mynewprofile_name --untar
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
@include background( | |
// image in the default images folder | |
image-url("logo.png") 0 0 no-repeat, | |
// base encoded transparent noise image, source: https://coderwall.com/p/m-uwvg | |
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+ |
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
@include single-box-shadow(rgba(0, 0, 0, .75), 0, -2px, 8px, -1px, inset); |
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
// http://bavotasan.com/2011/adding-inset-shadow-to-image-css3/ | |
@mixin img-link-inner-shadow { | |
a { | |
float: left; | |
position: relative; | |
max-width: 100%; | |
@include border-radius(10px); | |
} | |
a:hover::before, |
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
article, | |
aside, | |
blockquote, | |
body, | |
br, | |
button, | |
canvas, | |
caption, | |
col, | |
colgroup, |
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
// | |
// Default font dir is <css_dir>/fonts Set fonts_dir in config.rb | |
// if you want to change. See: | |
// http://compass-style.org/help/tutorials/configuration-reference/ | |
// | |
// http://compass-style.org/reference/compass/css3/font_face/ | |
// "Order of the includes matters, and it is: normal, bold, italic, bold+italic." | |
// | |
// See also: http://mikefowler.me/thoughts/compass-font-face-syntax/; | |
// |
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
{ "rules_access_w_alias_only" : { | |
"LABEL" : "Acces content with alias only", | |
"PLUGIN" : "reaction rule", | |
"TAGS" : [ "access" ], | |
"REQUIRES" : [ "rules" ], | |
"ON" : [ "node_view" ], | |
"IF" : [ | |
{ "user_has_role" : { | |
"account" : [ "site:current-user" ], | |
"roles" : { "value" : { "1" : "1" } } |
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
//see http://compass-style.org/reference/compass/typography/text/replacement | |
//compass 0.12.2 | |
@import "compass/typography/text/replacement" | |
span.logo { | |
@include replace-text-with-dimensions("logo.png"); | |
display: inline-block; | |
position: relative; | |
top: 4px; |
Using Sublime Text's Replace function with regex
changes this:
"1997.01.01.";
to this:
"1997.01.03.";"Január";
Find What:
Using Sublime Text's Replace function with regex
Remove newlines from paragraph:
Changes this:
"On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment.
OlderNewer