diff --git a/.develo/activate b/.develo/activate index 3b540d3..98e2c92 100755 --- a/.develo/activate +++ b/.develo/activate @@ -16,5 +16,12 @@ #### # Replace these lines of echo code with your meaningful implementation +echo "Hello from:" +echo "$(pwd)/.develo/${BASH_SOURCE##*/}" +echo +echo "Now your ${BASH_SOURCE##*/} script is blank and useless!" +echo "Hurry up and place your logic there to do something meaningful!" +echo +echo "Bye :)" -#### +#### \ No newline at end of file diff --git a/.gitignore b/.gitignore index ce04f20..dba639f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ Thumbs.db .sass-cache node_modules -_site +_site \ No newline at end of file diff --git a/_assets/css/main.css b/_assets/css/main.css deleted file mode 100644 index a55a3e3..0000000 --- a/_assets/css/main.css +++ /dev/null @@ -1,533 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700); -@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700italic,700); -*, -*:after, -*:before { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -@font-face { - font-family: "RobotoRegular"; - src: url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'), url('../fonts/Roboto-Regular-webfont.svg#RobotoRegular') format('svg'), url('../fonts/Roboto-Regular-webfont.woff') format('woff'), url('../fonts/Roboto-Regular-webfont.eot') format('embedded-opentype'); -} - -html, body { - height: 100%; - margin: 0; - color: #323232; - font-size: 10px; - font-family: "RobotoRegular", sans-serif; - background: white url('../img/bg.png'); - -webkit-overflow-scrolling: touch; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - -webkit-transform: translate3d(0, 0, 0); - -moz-transform: translate3d(0, 0, 0); - -ms-transform: translate3d(0, 0, 0); - -o-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -summary { - display: block; -} - -[hidden] { - display: none; -} - -a { - color: #d58f1a; - text-decoration: none; -} -a:hover { - text-decoration: none; -} - -b, strong { - font-weight: 700; -} - -small { - font-size: 80%; -} - -hr { - clear: both; - height: 0; - margin: 20px 0; - border: 0; - border-top: 1px solid #eeeeee; -} - -img { - display: inline-block; - max-width: 100%; - height: auto; - border: 0; - vertical-align: middle; -} - -p { - margin: 0 0 10px; -} -p a { - color: #ff8800; -} -p a:hover { - text-decoration: underline; -} - -h1, .h1 { - color: #555555; - margin: 0 0 20px; - font-size: 32px; - font-weight: 300; - font-family: "RobotoRegular", sans-serif; -} - -h2, .h2 { - margin: 0 0 20px; - font-size: 28px; - font-weight: 300; - font-family: "RobotoRegular", sans-serif; -} - -h3, .h3 { - margin: 0 0 20px; - font-size: 20px; - font-weight: 300; - font-family: "RobotoRegular", sans-serif; -} - -h4, .h4 { - margin: 0 0 10px; - font-size: 16px; - font-weight: 400; - font-family: "RobotoRegular", sans-serif; -} - -h5, .h5 { - margin: 0 0 12px; - font-size: 14px; - font-weight: 400; - font-family: "RobotoRegular", sans-serif; -} - -h6, .h6 { - margin: 0 0 10px; - font-size: 12px; - font-weight: 400; - font-family: "RobotoRegular", sans-serif; -} - -h1, h2, h3, h4, h5, h6, -.h1, .h2, .h3, .h4, .h5, .h6 { - font-family: "PT Sans Narrow", sans-serif; -} -h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, -.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a { - color: #555555; -} -h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, -.h1 a:hover, .h2 a:hover, .h3 a:hover, .h4 a:hover, .h5 a:hover, .h6 a:hover { - color: #ff8800; -} - -ul, ol { - margin: 0; - padding: 0; - list-style: none; -} - -.push-left { - float: left; -} - -.push-right { - float: right; -} - -.push-center { - width: 100%; - text-align: center; - padding: 1rem 0 2rem; -} - -#wrapper { - width: 98rem; - height: 100%; - min-height: 100%; - margin: 0 auto; - font-size: 0; -} - -#sidebar { - display: inline-block; - width: 20rem; - padding-top: 20rem; - vertical-align: top; - font-size: 1rem; - background: url('../img/freeman.png?1395092326') no-repeat 50% 1rem; - -webkit-transition: all 0.25s ease; - -moz-transition: all 0.25s ease; - -o-transition: all 0.25s ease; - transition: all 0.25s ease; -} -#sidebar nav { - border: 0.1rem solid #cccccc; - border-right: 0; - background-color: white; -} - -#holder { - position: relative; - display: inline-block; - width: 78rem; - min-height: 100%; - vertical-align: top; - font-size: 1rem; - -webkit-transition: all 0.25s ease; - -moz-transition: all 0.25s ease; - -o-transition: all 0.25s ease; - transition: all 0.25s ease; -} - -#header { - height: 7rem; -} -#header .logo { - position: absolute; - top: 2rem; - width: 16.4rem; -} - -.content > div { - min-height: calc(100vh - 13rem); - padding: 3rem; - border: 0.1rem solid #cccccc; - background-color: white; -} - -#footer { - position: relative; - height: 5rem; - padding: 0; - line-height: 5rem; - font-size: 1.4rem; - text-align: center; -} - -@media screen and (max-width: 32rem) { - #wrapper { - position: relative; - width: 100%; - overflow: hidden; - } - - #sidebar { - position: absolute; - top: 0; - right: 20%; - bottom: 0; - left: 0; - width: auto; - padding: 0; - overflow: hidden; - overflow-y: auto; - } - - #holder { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: auto; - -webkit-box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.5); - -moz-box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.5); - box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.5); - overflow: hidden; - } - #holder:target { - -webkit-transform: translateX(80%); - -moz-transform: translateX(80%); - -ms-transform: translateX(80%); - -o-transform: translateX(80%); - transform: translateX(80%); - } - - .logo { - position: absolute; - top: 2rem; - left: 50%; - margin-left: -8.2rem; - } - - #social-share { - display: none; - } - - #header { - position: fixed; - width: 100%; - border-bottom: 0.1rem solid #cccccc; - background: white url('../img/bg.png'); - z-index: 1; - } - - .content { - position: relative; - top: 7rem; - overflow-y: scroll; - height: calc(100% - 7rem); - } - .content > div { - border: none; - } - - #footer { - border-top: 0.1rem solid #cccccc; - background: white url('../img/bg.png'); - } -} -.menu-button { - display: none; -} - -#sidebar nav > ul { - font-size: 1.6rem; - font-family: "RobotoRegular", sans-serif; -} -#sidebar nav > ul a { - display: block; - padding: 0.4rem 2rem; - color: #777777; - font-size: 1.6rem; - font-family: "RobotoRegular", sans-serif; - background-color: transparent; - -webkit-transition: all 0.2s linear; - -moz-transition: all 0.2s linear; - -o-transition: all 0.2s linear; - transition: all 0.2s linear; -} -#sidebar nav > ul > li { - padding-bottom: 3rem; - border-left: 0.6rem solid; -} -#sidebar nav > ul > li:first-of-type { - border-color: #faced2; -} -#sidebar nav > ul > li:first-of-type:hover { - border-color: #f0717c; -} -#sidebar nav > ul > li:first-of-type a:hover { - color: white; - background-color: #f0717c; -} -#sidebar nav > ul > li:nth-of-type(2) { - border-color: #c9e9e5; -} -#sidebar nav > ul > li:nth-of-type(2):hover { - border-color: #63bfb2; -} -#sidebar nav > ul > li:nth-of-type(2) a:hover { - color: white; - background-color: #63bfb2; -} -#sidebar nav > ul > li > h3 { - padding: 0.4rem 2rem; - margin: 0; - color: #323232; - font-size: 2rem; - font-family: "PT Sans Narrow", sans-serif; -} - -@media screen and (max-width: 32rem) { - .menu-button { - display: block; - position: absolute; - top: 0; - left: 0; - width: 7rem; - height: 7rem; - font-size: 0; - background: url('../img/icons/menu.png?1395092326') no-repeat 50% 50%; - } - - #sidebar nav ul a { - padding: 1rem 2rem; - } -} -#social-share { - position: absolute; - top: 1.1rem; - right: 0; - font-size: 0; -} -#social-share a { - display: inline-block; - width: 4.8rem; - height: 4.8rem; - margin-left: 1.2rem; -} - -.content { - font-size: 1.4rem; -} -.content header { - position: relative; - padding-bottom: 3rem; - margin-bottom: 1.4rem; - color: #999999; - font-size: 1.6rem; - border-bottom: 0.1rem solid #cccccc; -} -.content h3 { - color: #555555; - font-size: 4rem; - line-height: 4.4rem; -} -.content .author { - position: absolute; - bottom: 1rem; - left: 0; -} -.content .author > a { - margin-left: 0.4rem; - color: #3399ff; - text-decoration: underline; -} -.content .date { - position: absolute; - bottom: 1rem; - right: 0; - height: 2rem; - padding-left: 2rem; - background: url('../img/icons/time.png?1395092326') no-repeat; -} -.content p { - margin-bottom: 1.4rem; - font-size: 1.6rem; - font-family: "PT Serif", sans-serif; -} -.content footer { - overflow: hidden; - padding: 2rem 0; -} -.content footer .share { - line-height: 4.2rem; -} -.content .tags { - clear: both; - float: left; - height: 2rem; - margin-top: 2rem; - padding-left: 2rem; - color: #cccccc; - background: url('../img/icons/tags.png') no-repeat; -} -.content .tags a { - color: #3399ff; - text-decoration: underline; -} - -.author-info { - padding-top: 3rem; - border-top: 0.1rem solid #cccccc; -} -.author-info .image { - float: left; - width: 10rem; - text-align: center; -} -.author-info .image img { - border-radius: 50%; -} -.author-info .links { - padding-top: 1rem; - font-size: 0; - text-align: center; -} -.author-info .links a { - display: inline-block; - width: 2.4rem; - height: 2.4rem; - margin: 0 0.4rem; -} -.author-info h4 { - margin-left: 12rem; - font-size: 2.4rem; - font-family: "PT Sans Narrow", sans-serif; -} -.author-info p { - margin-left: 12rem; -} - -@media screen and (max-width: 32rem) { - #holder a.show { - display: none; - } - - #holder:target .content { - pointer-events: none; - } - #holder:target a.show { - display: block; - } - - #holder a.hide { - display: block; - } - - #holder:target a.hide { - display: none; - } - - .content .author, - .content .date { - position: relative; - bottom: auto; - margin-top: 1rem; - } - .content footer .share { - float: none !important; - margin-top: 3rem; - } - .content .tags { - float: none !important; - } -} -.button { - height: 4.2rem; - margin: 1rem 0; - padding: 0.2rem 2rem 0; - font-size: 2rem; - line-height: 4rem; - text-align: center; -} -.button.green { - color: white; - background-color: #5aa80d; -} - -@media screen and (max-width: 32rem) { - .button { - float: none !important; - display: block; - width: 100%; - } -} diff --git a/_assets/css/main.min.css b/_assets/css/main.min.css deleted file mode 100644 index bee88ef..0000000 --- a/_assets/css/main.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/* - * Author: Fridaycode - * Last build: 15-4-2014 -*/ - -@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700italic,700);*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@font-face{font-family:RobotoRegular;src:url(../fonts/Roboto-Regular-webfont.ttf) format('truetype'),url(../fonts/Roboto-Regular-webfont.svg#RobotoRegular) format('svg'),url(../fonts/Roboto-Regular-webfont.woff) format('woff'),url(../fonts/Roboto-Regular-webfont.eot) format('embedded-opentype')}html,body{height:100%;margin:0;color:#323232;font-size:10px;font-family:RobotoRegular,sans-serif;background:#fff url(../img/bg.png);-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}[hidden]{display:none}a{color:#d58f1a;text-decoration:none}a:hover{text-decoration:none}b,strong{font-weight:700}small{font-size:80%}hr{clear:both;height:0;margin:20px 0;border:0;border-top:1px solid #eee}img{display:inline-block;max-width:100%;height:auto;border:0;vertical-align:middle}p{margin:0 0 10px}p a{color:#f80}p a:hover{text-decoration:underline}h1,.h1{color:#555;margin:0 0 20px;font-size:32px;font-weight:300;font-family:RobotoRegular,sans-serif}h2,.h2{margin:0 0 20px;font-size:28px;font-weight:300;font-family:RobotoRegular,sans-serif}h3,.h3{margin:0 0 20px;font-size:20px;font-weight:300;font-family:RobotoRegular,sans-serif}h4,.h4{margin:0 0 10px;font-size:16px;font-weight:400;font-family:RobotoRegular,sans-serif}h5,.h5{margin:0 0 12px;font-size:14px;font-weight:400;font-family:RobotoRegular,sans-serif}h6,.h6{margin:0 0 10px;font-size:12px;font-weight:400;font-family:RobotoRegular,sans-serif}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"PT Sans Narrow",sans-serif}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,.h1 a,.h2 a,.h3 a,.h4 a,.h5 a,.h6 a{color:#555}h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover,.h1 a:hover,.h2 a:hover,.h3 a:hover,.h4 a:hover,.h5 a:hover,.h6 a:hover{color:#f80}ul,ol{margin:0;padding:0;list-style:none}.push-left{float:left}.push-right{float:right}.push-center{width:100%;text-align:center;padding:1rem 0 2rem}#wrapper{width:98rem;height:100%;min-height:100%;margin:0 auto;font-size:0}#sidebar{display:inline-block;width:20rem;padding-top:20rem;vertical-align:top;font-size:1rem;background:url(../img/freeman.png?1395092326) no-repeat 50% 1rem;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease}#sidebar nav{border:.1rem solid #ccc;border-right:0;background-color:#fff}#holder{position:relative;display:inline-block;width:78rem;min-height:100%;vertical-align:top;font-size:1rem;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease}#header{height:7rem}#header .logo{position:absolute;top:2rem;width:16.4rem}.content>div{min-height:calc(100vh - 13rem);padding:3rem;border:.1rem solid #ccc;background-color:#fff}#footer{position:relative;height:5rem;padding:0;line-height:5rem;font-size:1.4rem;text-align:center}@media screen and (max-width:32rem){#wrapper{position:relative;width:100%;overflow:hidden}#sidebar{position:absolute;top:0;right:20%;bottom:0;left:0;width:auto;padding:0;overflow:hidden;overflow-y:auto}#holder{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;-webkit-box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);-moz-box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);overflow:hidden}#holder:target{-webkit-transform:translateX(80%);-moz-transform:translateX(80%);-ms-transform:translateX(80%);-o-transform:translateX(80%);transform:translateX(80%)}.logo{position:absolute;top:2rem;left:50%;margin-left:-8.2rem}#social-share{display:none}#header{position:fixed;width:100%;border-bottom:.1rem solid #ccc;background:#fff url(../img/bg.png);z-index:1}.content{position:relative;top:7rem;overflow-y:scroll;height:calc(100% - 7rem)}.content>div{border:0}#footer{border-top:.1rem solid #ccc;background:#fff url(../img/bg.png)}}.menu-button{display:none}#sidebar nav>ul{font-size:1.6rem;font-family:RobotoRegular,sans-serif}#sidebar nav>ul a{display:block;padding:.4rem 2rem;color:#777;font-size:1.6rem;font-family:RobotoRegular,sans-serif;background-color:transparent;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;-o-transition:all .2s linear;transition:all .2s linear}#sidebar nav>ul>li{padding-bottom:3rem;border-left:.6rem solid}#sidebar nav>ul>li:first-of-type{border-color:#faced2}#sidebar nav>ul>li:first-of-type:hover{border-color:#f0717c}#sidebar nav>ul>li:first-of-type a:hover{color:#fff;background-color:#f0717c}#sidebar nav>ul>li:nth-of-type(2){border-color:#c9e9e5}#sidebar nav>ul>li:nth-of-type(2):hover{border-color:#63bfb2}#sidebar nav>ul>li:nth-of-type(2) a:hover{color:#fff;background-color:#63bfb2}#sidebar nav>ul>li>h3{padding:.4rem 2rem;margin:0;color:#323232;font-size:2rem;font-family:"PT Sans Narrow",sans-serif}@media screen and (max-width:32rem){.menu-button{display:block;position:absolute;top:0;left:0;width:7rem;height:7rem;font-size:0;background:url(../img/icons/menu.png?1395092326) no-repeat 50% 50%}#sidebar nav ul a{padding:1rem 2rem}}#social-share{position:absolute;top:1.1rem;right:0;font-size:0}#social-share a{display:inline-block;width:4.8rem;height:4.8rem;margin-left:1.2rem}.content{font-size:1.4rem}.content header{position:relative;padding-bottom:3rem;margin-bottom:1.4rem;color:#999;font-size:1.6rem;border-bottom:.1rem solid #ccc}.content h3{color:#555;font-size:4rem;line-height:4.4rem}.content .author{position:absolute;bottom:1rem;left:0}.content .author>a{margin-left:.4rem;color:#39f;text-decoration:underline}.content .date{position:absolute;bottom:1rem;right:0;height:2rem;padding-left:2rem;background:url(../img/icons/time.png?1395092326) no-repeat}.content p{margin-bottom:1.4rem;font-size:1.6rem;font-family:"PT Serif",sans-serif}.content footer{overflow:hidden;padding:2rem 0}.content footer .share{line-height:4.2rem}.content .tags{clear:both;float:left;height:2rem;margin-top:2rem;padding-left:2rem;color:#ccc;background:url(../img/icons/tags.png) no-repeat}.content .tags a{color:#39f;text-decoration:underline}.author-info{padding-top:3rem;border-top:.1rem solid #ccc}.author-info .image{float:left;width:10rem;text-align:center}.author-info .image img{border-radius:50%}.author-info .links{padding-top:1rem;font-size:0;text-align:center}.author-info .links a{display:inline-block;width:2.4rem;height:2.4rem;margin:0 .4rem}.author-info h4{margin-left:12rem;font-size:2.4rem;font-family:"PT Sans Narrow",sans-serif}.author-info p{margin-left:12rem}@media screen and (max-width:32rem){#holder a.show{display:none}#holder:target .content{pointer-events:none}#holder:target a.show{display:block}#holder a.hide{display:block}#holder:target a.hide{display:none}.content .author,.content .date{position:relative;bottom:auto;margin-top:1rem}.content footer .share{float:none!important;margin-top:3rem}.content .tags{float:none!important}}.button{height:4.2rem;margin:1rem 0;padding:.2rem 2rem 0;font-size:2rem;line-height:4rem;text-align:center}.button.green{color:#fff;background-color:#5aa80d}@media screen and (max-width:32rem){.button{float:none!important;display:block;width:100%}} \ No newline at end of file diff --git a/_assets/img/bg.png b/_assets/img/bg.png deleted file mode 100644 index ee4e4ec..0000000 Binary files a/_assets/img/bg.png and /dev/null differ diff --git a/_assets/img/freeman.png b/_assets/img/freeman.png deleted file mode 100644 index d60d5f6..0000000 Binary files a/_assets/img/freeman.png and /dev/null differ diff --git a/_assets/img/icons/menu.png b/_assets/img/icons/menu.png deleted file mode 100644 index d11ec07..0000000 Binary files a/_assets/img/icons/menu.png and /dev/null differ diff --git a/_assets/img/icons/tags.png b/_assets/img/icons/tags.png deleted file mode 100644 index 1bd93fd..0000000 Binary files a/_assets/img/icons/tags.png and /dev/null differ diff --git a/_assets/img/icons/time.png b/_assets/img/icons/time.png deleted file mode 100644 index 7ddea48..0000000 Binary files a/_assets/img/icons/time.png and /dev/null differ diff --git a/_assets/img/logo.png b/_assets/img/logo.png deleted file mode 100644 index 2c3c796..0000000 Binary files a/_assets/img/logo.png and /dev/null differ diff --git a/_assets/img/social/facebook.png b/_assets/img/social/facebook.png deleted file mode 100644 index 8e606be..0000000 Binary files a/_assets/img/social/facebook.png and /dev/null differ diff --git a/_assets/img/social/rss.png b/_assets/img/social/rss.png deleted file mode 100644 index 667e8e1..0000000 Binary files a/_assets/img/social/rss.png and /dev/null differ diff --git a/_assets/img/social/twitter.png b/_assets/img/social/twitter.png deleted file mode 100644 index ce0cb56..0000000 Binary files a/_assets/img/social/twitter.png and /dev/null differ diff --git a/_assets/js/main.js b/_assets/js/main.js deleted file mode 100644 index f1bbb1d..0000000 --- a/_assets/js/main.js +++ /dev/null @@ -1 +0,0 @@ -//alert("test"); \ No newline at end of file diff --git a/_assets/js/main.min.js b/_assets/js/main.min.js deleted file mode 100644 index c44a313..0000000 --- a/_assets/js/main.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/* - * Author: Fridaycode - * Last build: 15-4-2014 -*/ diff --git a/_assets/sass/core/_extends.sass b/_assets/sass/core/_extends.sass deleted file mode 100644 index 677a316..0000000 --- a/_assets/sass/core/_extends.sass +++ /dev/null @@ -1,11 +0,0 @@ -%bs-border-box - @include box-sizing("border-box") - -%cf:before, -%cf:after - content: '' - display: table - -%cf:after - clear: both - diff --git a/_assets/sass/core/_fonts.sass b/_assets/sass/core/_fonts.sass deleted file mode 100644 index 64b6a0b..0000000 --- a/_assets/sass/core/_fonts.sass +++ /dev/null @@ -1,12 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700) -@mixin PtSansNarrow - font-family: 'PT Sans Narrow', sans-serif - -@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700italic,700) -@mixin PtSerif - font-family: 'PT Serif', sans-serif - -@include font-face("RobotoRegular", font-files("Roboto-Regular-webfont.ttf", "Roboto-Regular-webfont.svg#RobotoRegular", "Roboto-Regular-webfont.woff", "Roboto-Regular-webfont.eot")) -@mixin RobotoRegular - font-family: 'RobotoRegular', sans-serif - diff --git a/_assets/sass/core/_mixins.sass b/_assets/sass/core/_mixins.sass deleted file mode 100644 index 8ac6c21..0000000 --- a/_assets/sass/core/_mixins.sass +++ /dev/null @@ -1,72 +0,0 @@ -@import 'fonts' - -// keyframes mixin -=keyframes($name) - @-webkit-keyframes #{$name} - @content - @-moz-keyframes #{$name} - @content - @-ms-keyframes #{$name} - @content - @keyframes #{$name} - @content - - -// animations -=animation($value) - @include experimental(animation, $value, -webkit, -moz, -ms, -o, official) - -=animation-name($name) - -o-animation-name: $name - -moz-animation-name: $name - -webkit-animation-name: $name - animation-name: $name - -=animation-duration($duration) - -o-animation-duration: $duration - -moz-animation-duration: $duration - -webkit-animation-duration: $duration - animation-duration: $duration - -=animation-timing-function($timing) - -o-animation-timing-function: $timing - -moz-animation-timing-function: $timing - -webkit-animation-timing-function: $timing - animation-timing-function: $timing - -=animation-iteration-count($count) - -o-animation-iteration-count: $count - -moz-animation-iteration-count: $count - -webkit-animation-iteration-count: $count - animation-iteration-count: $count - -=animation-direction($direction) - -o-animation-direction: $direction - -moz-animation-direction: $direction - -webkit-animation-direction: $direction - animation-direction: $direction - -=animation-delay($delay) - -o-animation-delay: $delay - -moz-animation-delay: $delay - -webkit-animation-delay: $delay - animation-delay: $delay - -=animation-fill-mode($fill) - -o-animation-fill-mode: $fill - -moz-animation-fill-mode: $fill - -webkit-animation-fill-mode: $fill - animation-fill-mode: $fill - -=animation-play-state($state) - -o-animation-play-state: $state - -moz-animation-play-state: $state - -webkit-animation-play-state: $state - animation-play-state: $state - -=animation($animation) - -o-animation: $animation - -moz-animation: $animation - -webkit-animation: $animation - animation: $animation - diff --git a/_assets/sass/core/_normalize.sass b/_assets/sass/core/_normalize.sass deleted file mode 100644 index 3b83882..0000000 --- a/_assets/sass/core/_normalize.sass +++ /dev/null @@ -1,123 +0,0 @@ -*, -*:after, -*:before - @extend %bs-border-box - -html,body - height: 100% - margin: 0 - color: #323232 - font-size: 10px - +RobotoRegular - background: #fff image-url('bg.png', false, false) - -webkit-overflow-scrolling: touch - -webkit-text-size-adjust: 100% - -ms-text-size-adjust: 100% - +transform(translate3d(0,0,0)) - -// Correct 'block' display not defined in IE 8/9. -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -summary - display: block - -// Fallback for hidden="hidden" styling not present in IE 8/9 etc. -[hidden] - display: none - -// all sort of content links -a - color: #d58f1a - text-decoration: none - - &:hover - text-decoration: none - -b, strong - font-weight: 700 - -small - font-size: 80% - -hr - clear: both - height: 0 - margin: 20px 0 - border: 0 - border-top: 1px solid #eee - -img - display: inline-block - max-width: 100% - height: auto - border: 0 - vertical-align: middle - -p - margin: 0 0 10px - - a - color: #f80 - &:hover - text-decoration: underline - -// headings -h1, .h1 - color: #555 - margin: 0 0 20px - font-size: 32px - font-weight: 300 - +RobotoRegular - -h2, .h2 - margin: 0 0 20px - font-size: 28px - font-weight: 300 - +RobotoRegular - -h3, .h3 - margin: 0 0 20px - font-size: 20px - font-weight: 300 - +RobotoRegular - -h4, .h4 - margin: 0 0 10px - font-size: 16px - font-weight: 400 - +RobotoRegular - -h5, .h5 - margin: 0 0 12px - font-size: 14px - font-weight: 400 - +RobotoRegular - -h6, .h6 - margin: 0 0 10px - font-size: 12px - font-weight: 400 - +RobotoRegular - -h1, h2, h3, h4, h5, h6, -.h1, .h2, .h3, .h4, .h5, .h6 - +PtSansNarrow - - a - color: #555 - &:hover - color: #f80 - -ul, ol - margin: 0 - padding: 0 - list-style: none diff --git a/_assets/sass/core/_variables.sass b/_assets/sass/core/_variables.sass deleted file mode 100644 index e69de29..0000000 diff --git a/_assets/sass/main.sass b/_assets/sass/main.sass deleted file mode 100644 index 564d4eb..0000000 --- a/_assets/sass/main.sass +++ /dev/null @@ -1,12 +0,0 @@ -@import 'compass' -@import 'compass/css3' - -@import 'core/extends' -@import 'core/mixins' -@import 'core/normalize' - -@import 'modules/layout' -@import 'modules/navigation' -@import 'modules/social' -@import 'modules/content' -@import 'modules/buttons' \ No newline at end of file diff --git a/_assets/sass/modules/_buttons.sass b/_assets/sass/modules/_buttons.sass deleted file mode 100644 index 587212f..0000000 --- a/_assets/sass/modules/_buttons.sass +++ /dev/null @@ -1,17 +0,0 @@ -.button - height: 4.2rem - margin: 1rem 0 - padding: 0.2rem 2rem 0 - font-size: 2rem - line-height: 4rem - text-align: center - - &.green - color: #fff - background-color: #5AA80D - -@media screen and (max-width: 32rem) - .button - float: none !important - display: block - width: 100% diff --git a/_assets/sass/modules/_content.sass b/_assets/sass/modules/_content.sass deleted file mode 100644 index 23bd99d..0000000 --- a/_assets/sass/modules/_content.sass +++ /dev/null @@ -1,130 +0,0 @@ -.content - font-size: 1.4rem - - header - position: relative - padding-bottom: 3rem - margin-bottom: 1.4rem - color: #999 - font-size: 1.6rem - border-bottom: 0.1rem solid #ccc - - h3 - color: #555 - font-size: 4rem - line-height: 4.4rem - - .author - position: absolute - bottom: 1rem - left: 0 - - > a - margin-left: 0.4rem - color: #3399FF - text-decoration: underline - - - .date - position: absolute - bottom: 1rem - right: 0 - height: 2rem - padding-left: 2rem - background: image-url('icons/time.png') no-repeat - - p - margin-bottom: 1.4rem - font-size: 1.6rem - +PtSerif - - footer - overflow: hidden - padding: 2rem 0 - - .share - line-height: 4.2rem - - .tags - clear: both - float: left - height: 2rem - margin-top: 2rem - padding-left: 2rem - color: #ccc - background: image-url('icons/tags.png', false, false) no-repeat - - a - color: #3399FF - text-decoration: underline - - -.author-info - padding-top: 3rem - border-top: 0.1rem solid #ccc - - .image - float: left - width: 10rem - text-align: center - - img - border-radius: 50% - - .links - padding-top: 1rem - font-size: 0 - text-align: center - - a - display: inline-block - width: 2.4rem - height: 2.4rem - margin: 0 0.4rem - - h4 - margin-left: 12rem - font-size: 2.4rem - +PtSansNarrow - - p - margin-left: 12rem - - -@media screen and (max-width: 32rem) - #holder - a.show - display: none - - #holder - &:target - .content - pointer-events: none - - a.show - display: block - - #holder - a.hide - display: block - #holder - &:target - a.hide - display: none - - .content - - .author, - .date - position: relative - bottom: auto - margin-top: 1rem - - footer - .share - float: none !important - margin-top: 3rem - - .tags - float: none !important - diff --git a/_assets/sass/modules/_layout.sass b/_assets/sass/modules/_layout.sass deleted file mode 100644 index 9c3f8fb..0000000 --- a/_assets/sass/modules/_layout.sass +++ /dev/null @@ -1,125 +0,0 @@ -.push-left - float: left - -.push-right - float: right - -.push-center - width: 100% - text-align: center - padding: 1rem 0 2rem - -#wrapper - width: 98rem - height: 100% - min-height: 100% - margin: 0 auto - font-size: 0 - -#sidebar - display: inline-block - width: 20rem - padding-top: 20rem - vertical-align: top - font-size: 1rem - background: image-url('freeman.png') no-repeat 50% 1rem - +transition(all 0.25s ease) - - nav - border: 0.1rem solid #ccc - border-right: 0 - background-color: #fff - -#holder - position: relative - display: inline-block - width: 78rem - min-height: 100% - vertical-align: top - font-size: 1rem - +transition(all 0.25s ease) - -#header - height: 7rem - - .logo - position: absolute - top: 2rem - width: 16.4rem - -.content - > div - min-height: calc(100vh - 13rem) - padding: 3rem - border: 0.1rem solid #ccc - background-color: #fff - -#footer - position: relative - height: 5rem - padding: 0 - line-height: 5rem - font-size: 1.4rem - text-align: center - - -@media screen and (max-width: 32rem) - #wrapper - position: relative - width: 100% - overflow: hidden - - #sidebar - position: absolute - top: 0 - right: 20% - bottom: 0 - left: 0 - width: auto - padding: 0 - overflow: hidden - overflow-y: auto - - #holder - position: absolute - top: 0 - right: 0 - bottom: 0 - left: 0 - width: auto - +single-box-shadow(rgba(0,0,0,.5), 0, 0, 0.8rem, 0) - overflow: hidden - - &:target - +transform(translateX(80%)) - - .logo - position: absolute - top: 2rem - left: 50% - margin-left: -8.2rem - - #social-share - display: none - - #header - position: fixed - width: 100% - border-bottom: 0.1rem solid #ccc - background: #fff image-url('bg.png', false, false) - z-index: 1 - - .content - position: relative - top: 7rem - overflow-y: scroll - height: calc(100% - 7rem) - - > div - border: none - - #footer - border-top: 0.1rem solid #ccc - background: #fff image-url('bg.png', false, false) - - diff --git a/_assets/sass/modules/_navigation.sass b/_assets/sass/modules/_navigation.sass deleted file mode 100644 index 9349fe2..0000000 --- a/_assets/sass/modules/_navigation.sass +++ /dev/null @@ -1,69 +0,0 @@ -.menu-button - display: none - - -#sidebar - nav - > ul - font-size: 1.6rem - +RobotoRegular - - a - display: block - padding: 0.4rem 2rem - color: #777 - font-size: 1.6rem - +RobotoRegular - background-color: transparent - +transition(all .2s linear) - - > li - padding-bottom: 3rem - border-left: 0.6rem solid - - &:first-of-type - border-color: #FACED2 - - &:hover - border-color: #f0717c - - a:hover - color: #fff - background-color: #f0717c - - &:nth-of-type(2) - border-color: #C9E9E5 - - &:hover - border-color: #63BFB2 - - a:hover - color: #fff - background-color: #63BFB2 - - > h3 - padding: 0.4rem 2rem - margin: 0 - color: #323232 - font-size: 2rem - font-family: 'PT Sans Narrow', sans-serif - - -@media screen and (max-width: 32rem) - - .menu-button - display: block - position: absolute - top: 0 - left: 0 - width: 7rem - height: 7rem - font-size: 0 - background: image-url('icons/menu.png') no-repeat 50% 50% - - #sidebar - nav - ul - a - padding: 1rem 2rem - diff --git a/_assets/sass/modules/_social.sass b/_assets/sass/modules/_social.sass deleted file mode 100644 index e0195ae..0000000 --- a/_assets/sass/modules/_social.sass +++ /dev/null @@ -1,11 +0,0 @@ -#social-share - position: absolute - top: 1.1rem - right: 0 - font-size: 0 - - a - display: inline-block - width: 4.8rem - height: 4.8rem - margin-left: 1.2rem \ No newline at end of file diff --git a/_config.yml b/_config.yml index c9919df..d96e28a 100644 --- a/_config.yml +++ b/_config.yml @@ -1,24 +1,15 @@ name: "Fridaycode.net" timezone: Europe/Sofia - -permalink: /blog/:title.html +source: src +# permalink: /blog/:title.html keywords: "" description: "" -navigation: - - title: Уеб Дизайн - group: ["PHP", "Ruby", "Python"] - - - title: Бази Данни - group: ["HTML", "CSS", "база 3"] - - markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] pygments: true -exclude: ["Rakefile", "Rakefile.rb", "*.sublime-project", "*.sublime-workspace", "gruntfile.js", "package.json", "node_modules"] - +exclude: ["Rakefile", "Rakefile.rb", "*.sublime-project", "*.sublime-workspace", "gruntfile.js", "package.json", "node_modules"] \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index c34fd1e..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 160b4a4..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - - - - - - - - - - - - {% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/_includes/social_share.html b/_includes/social_share.html deleted file mode 100644 index 9316bfc..0000000 --- a/_includes/social_share.html +++ /dev/null @@ -1,11 +0,0 @@ -
- - RSS share button - - - Facebook share button - - - Twitter share button - -
\ No newline at end of file diff --git a/_layouts/category_index.html b/_layouts/category_index.html deleted file mode 100644 index d729679..0000000 --- a/_layouts/category_index.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default ---- - -

{{ page.title }}

- \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index b40a518..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,61 +0,0 @@ -{% include header.html %} - -
- - -
- - -
-
- {{ content }} -
- - -
-
-
- -{% include footer.html %} - diff --git a/_plugins/generate_categories.rb b/_plugins/generate_categories.rb deleted file mode 100755 index 7cbeb5e..0000000 --- a/_plugins/generate_categories.rb +++ /dev/null @@ -1,240 +0,0 @@ -# encoding: utf-8 -# -# Jekyll category page generator. -# http://recursive-design.com/projects/jekyll-plugins/ -# -# Version: 0.2.4 (201210160037) -# -# Copyright (c) 2010 Dave Perrett, http://recursive-design.com/ -# Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) -# -# A generator that creates category pages for jekyll sites. -# -# To use it, simply drop this script into the _plugins directory of your Jekyll site. You should -# also create a file called 'category_index.html' in the _layouts directory of your jekyll site -# with the following contents (note: you should remove the leading '# ' characters): -# -# ================================== COPY BELOW THIS LINE ================================== -# --- -# layout: default -# --- -# -#

{{ page.title }}

-# -# ================================== COPY ABOVE THIS LINE ================================== -# -# You can alter the _layout_ setting if you wish to use an alternate layout, and obviously you -# can change the HTML above as you see fit. -# -# When you compile your jekyll site, this plugin will loop through the list of categories in your -# site, and use the layout above to generate a page for each one with a list of links to the -# individual posts. -# -# You can also (optionally) generate an atom.xml feed for each category. To do this, copy -# the category_feed.xml file to the _includes/custom directory of your own project -# (https://github.com/recurser/jekyll-plugins/blob/master/_includes/custom/category_feed.xml). -# You'll also need to copy the octopress_filters.rb file into the _plugins directory of your -# project as the category_feed.xml requires a couple of extra filters -# (https://github.com/recurser/jekyll-plugins/blob/master/_plugins/octopress_filters.rb). -# -# Included filters : -# - category_links: Outputs the list of categories as comma-separated links. -# - date_to_html_string: Outputs the post.date as formatted html, with hooks for CSS styling. -# -# Available _config.yml settings : -# - category_dir: The subfolder to build category pages in (default is 'categories'). -# - category_title_prefix: The string used before the category name in the page title (default is -# 'Category: '). -module Jekyll - - # The CategoryIndex class creates a single category page for the specified category. - class CategoryPage < Page - - # Initializes a new CategoryIndex. - # - # +template_path+ is the path to the layout template to use. - # +site+ is the Jekyll Site instance. - # +base+ is the String path to the . - # +category_dir+ is the String path between and the category folder. - # +category+ is the category currently being processed. - def initialize(template_path, name, site, base, category_dir, category) - @site = site - @base = base - @dir = category_dir - @name = name - - self.process(name) - - if File.exist?(template_path) - @perform_render = true - template_dir = File.dirname(template_path) - template = File.basename(template_path) - # Read the YAML data from the layout page. - self.read_yaml(template_dir, template) - self.data['category'] = category - # Set the title for this page. - title_prefix = site.config['category_title_prefix'] || 'Category: ' - self.data['title'] = "#{title_prefix}#{category}" - # Set the meta-description for this page. - meta_description_prefix = site.config['category_meta_description_prefix'] || 'Category: ' - self.data['description'] = "#{meta_description_prefix}#{category}" - else - @perform_render = false - end - end - - def render? - @perform_render - end - - end - - # The CategoryIndex class creates a single category page for the specified category. - class CategoryIndex < CategoryPage - - # Initializes a new CategoryIndex. - # - # +site+ is the Jekyll Site instance. - # +base+ is the String path to the . - # +category_dir+ is the String path between and the category folder. - # +category+ is the category currently being processed. - def initialize(site, base, category_dir, category) - template_path = File.join(base, '_layouts', 'category_index.html') - super(template_path, 'index.html', site, base, category_dir, category) - end - - end - - # The CategoryFeed class creates an Atom feed for the specified category. - class CategoryFeed < CategoryPage - - # Initializes a new CategoryFeed. - # - # +site+ is the Jekyll Site instance. - # +base+ is the String path to the . - # +category_dir+ is the String path between and the category folder. - # +category+ is the category currently being processed. - def initialize(site, base, category_dir, category) - template_path = File.join(base, '_includes', 'custom', 'category_feed.xml') - super(template_path, 'atom.xml', site, base, category_dir, category) - - # Set the correct feed URL. - self.data['feed_url'] = "#{category_dir}/#{name}" if render? - end - - end - - # The Site class is a built-in Jekyll class with access to global site config information. - class Site - - # Creates an instance of CategoryIndex for each category page, renders it, and - # writes the output to a file. - # - # +category+ is the category currently being processed. - def write_category_index(category) - target_dir = GenerateCategories.category_dir(self.config['category_dir'], category) - index = CategoryIndex.new(self, self.source, target_dir, category) - if index.render? - index.render(self.layouts, site_payload) - index.write(self.dest) - # Record the fact that this pages has been added, otherwise Site::cleanup will remove it. - self.pages << index - end - - # Create an Atom-feed for each index. - feed = CategoryFeed.new(self, self.source, target_dir, category) - if feed.render? - feed.render(self.layouts, site_payload) - feed.write(self.dest) - # Record the fact that this pages has been added, otherwise Site::cleanup will remove it. - self.pages << feed - end - end - - # Loops through the list of category pages and processes each one. - def write_category_indexes - if self.layouts.key? 'category_index' - self.categories.keys.each do |category| - self.write_category_index(category) - end - - # Throw an exception if the layout couldn't be found. - else - throw "No 'category_index' layout found." - end - end - - end - - - # Jekyll hook - the generate method is called by jekyll, and generates all of the category pages. - class GenerateCategories < Generator - safe true - priority :low - - CATEGORY_DIR = 'categories' - - def generate(site) - site.write_category_indexes - end - - # Processes the given dir and removes leading and trailing slashes. Falls - # back on the default if no dir is provided. - def self.category_dir(base_dir, category) - base_dir = (base_dir || CATEGORY_DIR).gsub(/^\/*(.*)\/*$/, '\1') - category = category.gsub(/_|\P{Word}/, '-').gsub(/-{2,}/, '-').downcase - File.join(base_dir, category) - end - - end - - - # Adds some extra filters used during the category creation process. - module Filters - - # Outputs a list of categories as comma-separated links. This is used - # to output the category list for each post on a category page. - # - # +categories+ is the list of categories to format. - # - # Returns string - def category_links(categories) - base_dir = @context.registers[:site].config['category_dir'] - categories = categories.sort!.map do |category| - category_dir = GenerateCategories.category_dir(base_dir, category) - # Make sure the category directory begins with a slash. - category_dir = "/#{category_dir}" unless category_dir =~ /^\// - "#{category}" - end - - case categories.length - when 0 - "" - when 1 - categories[0].to_s - else - categories.join(', ') - end - end - - # Outputs the post.date as formatted html, with hooks for CSS styling. - # - # +date+ is the date object to format as HTML. - # - # Returns string - def date_to_html_string(date) - result = '' + date.strftime('%b').upcase + ' ' - result += date.strftime('%d ') - result += date.strftime('%Y ') - result - end - - end - -end \ No newline at end of file diff --git a/_posts/2014-02-25-jekyll.markdown b/_posts/2014-02-25-jekyll.markdown deleted file mode 100644 index 10e9cab..0000000 --- a/_posts/2014-02-25-jekyll.markdown +++ /dev/null @@ -1,23 +0,0 @@ ---- -layout: post -title: "Welcome to Fridaycode!" -categories: HTML CSS ---- - -You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes! -To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh]. - -[jekyll-gh]: https://github.com/mojombo/jekyll -[jekyll]: http://jekyllrb.com diff --git a/assets/css/main.min.css b/assets/css/main.min.css deleted file mode 100644 index bee88ef..0000000 --- a/assets/css/main.min.css +++ /dev/null @@ -1,6 +0,0 @@ -/* - * Author: Fridaycode - * Last build: 15-4-2014 -*/ - -@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700italic,700);*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@font-face{font-family:RobotoRegular;src:url(../fonts/Roboto-Regular-webfont.ttf) format('truetype'),url(../fonts/Roboto-Regular-webfont.svg#RobotoRegular) format('svg'),url(../fonts/Roboto-Regular-webfont.woff) format('woff'),url(../fonts/Roboto-Regular-webfont.eot) format('embedded-opentype')}html,body{height:100%;margin:0;color:#323232;font-size:10px;font-family:RobotoRegular,sans-serif;background:#fff url(../img/bg.png);-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}[hidden]{display:none}a{color:#d58f1a;text-decoration:none}a:hover{text-decoration:none}b,strong{font-weight:700}small{font-size:80%}hr{clear:both;height:0;margin:20px 0;border:0;border-top:1px solid #eee}img{display:inline-block;max-width:100%;height:auto;border:0;vertical-align:middle}p{margin:0 0 10px}p a{color:#f80}p a:hover{text-decoration:underline}h1,.h1{color:#555;margin:0 0 20px;font-size:32px;font-weight:300;font-family:RobotoRegular,sans-serif}h2,.h2{margin:0 0 20px;font-size:28px;font-weight:300;font-family:RobotoRegular,sans-serif}h3,.h3{margin:0 0 20px;font-size:20px;font-weight:300;font-family:RobotoRegular,sans-serif}h4,.h4{margin:0 0 10px;font-size:16px;font-weight:400;font-family:RobotoRegular,sans-serif}h5,.h5{margin:0 0 12px;font-size:14px;font-weight:400;font-family:RobotoRegular,sans-serif}h6,.h6{margin:0 0 10px;font-size:12px;font-weight:400;font-family:RobotoRegular,sans-serif}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"PT Sans Narrow",sans-serif}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,.h1 a,.h2 a,.h3 a,.h4 a,.h5 a,.h6 a{color:#555}h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover,.h1 a:hover,.h2 a:hover,.h3 a:hover,.h4 a:hover,.h5 a:hover,.h6 a:hover{color:#f80}ul,ol{margin:0;padding:0;list-style:none}.push-left{float:left}.push-right{float:right}.push-center{width:100%;text-align:center;padding:1rem 0 2rem}#wrapper{width:98rem;height:100%;min-height:100%;margin:0 auto;font-size:0}#sidebar{display:inline-block;width:20rem;padding-top:20rem;vertical-align:top;font-size:1rem;background:url(../img/freeman.png?1395092326) no-repeat 50% 1rem;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease}#sidebar nav{border:.1rem solid #ccc;border-right:0;background-color:#fff}#holder{position:relative;display:inline-block;width:78rem;min-height:100%;vertical-align:top;font-size:1rem;-webkit-transition:all .25s ease;-moz-transition:all .25s ease;-o-transition:all .25s ease;transition:all .25s ease}#header{height:7rem}#header .logo{position:absolute;top:2rem;width:16.4rem}.content>div{min-height:calc(100vh - 13rem);padding:3rem;border:.1rem solid #ccc;background-color:#fff}#footer{position:relative;height:5rem;padding:0;line-height:5rem;font-size:1.4rem;text-align:center}@media screen and (max-width:32rem){#wrapper{position:relative;width:100%;overflow:hidden}#sidebar{position:absolute;top:0;right:20%;bottom:0;left:0;width:auto;padding:0;overflow:hidden;overflow-y:auto}#holder{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;-webkit-box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);-moz-box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);box-shadow:0 0 .8rem 0 rgba(0,0,0,.5);overflow:hidden}#holder:target{-webkit-transform:translateX(80%);-moz-transform:translateX(80%);-ms-transform:translateX(80%);-o-transform:translateX(80%);transform:translateX(80%)}.logo{position:absolute;top:2rem;left:50%;margin-left:-8.2rem}#social-share{display:none}#header{position:fixed;width:100%;border-bottom:.1rem solid #ccc;background:#fff url(../img/bg.png);z-index:1}.content{position:relative;top:7rem;overflow-y:scroll;height:calc(100% - 7rem)}.content>div{border:0}#footer{border-top:.1rem solid #ccc;background:#fff url(../img/bg.png)}}.menu-button{display:none}#sidebar nav>ul{font-size:1.6rem;font-family:RobotoRegular,sans-serif}#sidebar nav>ul a{display:block;padding:.4rem 2rem;color:#777;font-size:1.6rem;font-family:RobotoRegular,sans-serif;background-color:transparent;-webkit-transition:all .2s linear;-moz-transition:all .2s linear;-o-transition:all .2s linear;transition:all .2s linear}#sidebar nav>ul>li{padding-bottom:3rem;border-left:.6rem solid}#sidebar nav>ul>li:first-of-type{border-color:#faced2}#sidebar nav>ul>li:first-of-type:hover{border-color:#f0717c}#sidebar nav>ul>li:first-of-type a:hover{color:#fff;background-color:#f0717c}#sidebar nav>ul>li:nth-of-type(2){border-color:#c9e9e5}#sidebar nav>ul>li:nth-of-type(2):hover{border-color:#63bfb2}#sidebar nav>ul>li:nth-of-type(2) a:hover{color:#fff;background-color:#63bfb2}#sidebar nav>ul>li>h3{padding:.4rem 2rem;margin:0;color:#323232;font-size:2rem;font-family:"PT Sans Narrow",sans-serif}@media screen and (max-width:32rem){.menu-button{display:block;position:absolute;top:0;left:0;width:7rem;height:7rem;font-size:0;background:url(../img/icons/menu.png?1395092326) no-repeat 50% 50%}#sidebar nav ul a{padding:1rem 2rem}}#social-share{position:absolute;top:1.1rem;right:0;font-size:0}#social-share a{display:inline-block;width:4.8rem;height:4.8rem;margin-left:1.2rem}.content{font-size:1.4rem}.content header{position:relative;padding-bottom:3rem;margin-bottom:1.4rem;color:#999;font-size:1.6rem;border-bottom:.1rem solid #ccc}.content h3{color:#555;font-size:4rem;line-height:4.4rem}.content .author{position:absolute;bottom:1rem;left:0}.content .author>a{margin-left:.4rem;color:#39f;text-decoration:underline}.content .date{position:absolute;bottom:1rem;right:0;height:2rem;padding-left:2rem;background:url(../img/icons/time.png?1395092326) no-repeat}.content p{margin-bottom:1.4rem;font-size:1.6rem;font-family:"PT Serif",sans-serif}.content footer{overflow:hidden;padding:2rem 0}.content footer .share{line-height:4.2rem}.content .tags{clear:both;float:left;height:2rem;margin-top:2rem;padding-left:2rem;color:#ccc;background:url(../img/icons/tags.png) no-repeat}.content .tags a{color:#39f;text-decoration:underline}.author-info{padding-top:3rem;border-top:.1rem solid #ccc}.author-info .image{float:left;width:10rem;text-align:center}.author-info .image img{border-radius:50%}.author-info .links{padding-top:1rem;font-size:0;text-align:center}.author-info .links a{display:inline-block;width:2.4rem;height:2.4rem;margin:0 .4rem}.author-info h4{margin-left:12rem;font-size:2.4rem;font-family:"PT Sans Narrow",sans-serif}.author-info p{margin-left:12rem}@media screen and (max-width:32rem){#holder a.show{display:none}#holder:target .content{pointer-events:none}#holder:target a.show{display:block}#holder a.hide{display:block}#holder:target a.hide{display:none}.content .author,.content .date{position:relative;bottom:auto;margin-top:1rem}.content footer .share{float:none!important;margin-top:3rem}.content .tags{float:none!important}}.button{height:4.2rem;margin:1rem 0;padding:.2rem 2rem 0;font-size:2rem;line-height:4rem;text-align:center}.button.green{color:#fff;background-color:#5aa80d}@media screen and (max-width:32rem){.button{float:none!important;display:block;width:100%}} \ No newline at end of file diff --git a/assets/img/bg.png b/assets/img/bg.png deleted file mode 100644 index ee4e4ec..0000000 Binary files a/assets/img/bg.png and /dev/null differ diff --git a/assets/img/freeman.png b/assets/img/freeman.png deleted file mode 100644 index d60d5f6..0000000 Binary files a/assets/img/freeman.png and /dev/null differ diff --git a/assets/img/icons/menu.png b/assets/img/icons/menu.png deleted file mode 100644 index d11ec07..0000000 Binary files a/assets/img/icons/menu.png and /dev/null differ diff --git a/assets/img/icons/tags.png b/assets/img/icons/tags.png deleted file mode 100644 index 1bd93fd..0000000 Binary files a/assets/img/icons/tags.png and /dev/null differ diff --git a/assets/img/icons/time.png b/assets/img/icons/time.png deleted file mode 100644 index 7ddea48..0000000 Binary files a/assets/img/icons/time.png and /dev/null differ diff --git a/assets/img/logo.png b/assets/img/logo.png deleted file mode 100644 index 2c3c796..0000000 Binary files a/assets/img/logo.png and /dev/null differ diff --git a/assets/img/social/facebook.png b/assets/img/social/facebook.png deleted file mode 100644 index 8e606be..0000000 Binary files a/assets/img/social/facebook.png and /dev/null differ diff --git a/assets/img/social/rss.png b/assets/img/social/rss.png deleted file mode 100644 index 667e8e1..0000000 Binary files a/assets/img/social/rss.png and /dev/null differ diff --git a/assets/img/social/twitter.png b/assets/img/social/twitter.png deleted file mode 100644 index ce0cb56..0000000 Binary files a/assets/img/social/twitter.png and /dev/null differ diff --git a/assets/js/main.min.js b/assets/js/main.min.js deleted file mode 100644 index c44a313..0000000 --- a/assets/js/main.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/* - * Author: Fridaycode - * Last build: 15-4-2014 -*/ diff --git a/gruntfile.js b/gruntfile.js index 2db9b0b..245c71f 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -9,12 +9,11 @@ module.exports = function (grunt) { // show elapsed time at the end require('time-grunt')(grunt); - // load all grunt tasks require('load-grunt-tasks')(grunt); - // Prepare JS Files - var setupJsFiles = function(jsonConfigFiles, assetsSrc) { + // setupJsFiles + var setupJsFiles = function(jsonConfigFiles, pkgName) { var tempArr = [], tempJsFiles = {}; @@ -23,10 +22,10 @@ module.exports = function (grunt) { tempArr = []; for (var i = 0; i < jsonConfigFiles[key].length; i++) { - tempArr[i] = assetsSrc + '/js/' + jsonConfigFiles[key][i]; + tempArr[i] = pkgName + '/assets/js/source/' + jsonConfigFiles[key][i]; } - tempJsFiles[ assetsSrc + '/js/' + key] = tempArr; + tempJsFiles[ pkgName + '/assets/js/dist/' + key] = tempArr; } return JSON.stringify(tempJsFiles); @@ -35,7 +34,7 @@ module.exports = function (grunt) { // Need to use var because readJSON can't read <%= templates %> var json = grunt.file.readJSON('package.json'); - var jsFiles = JSON.parse(setupJsFiles(grunt.file.readJSON('.jsfilesrc'), json.assetsSrc)); + var jsFiles = JSON.parse(setupJsFiles(grunt.file.readJSON('.jsfilesrc'), json.source)); // Init grunt.initConfig({ @@ -43,22 +42,12 @@ module.exports = function (grunt) { jsFiles: jsFiles, - // src: { - // css : '_assets/css/**/*.css', - // img : '_assets/img/**/*.{png,jpg,gif,jpeg}', - // js : '_assets/js/**/*.js', - // sass : '_assets/sass/**/*.sass', - // minjs : '_assets/js/**/*.min.js' - // }, - src: { - assetsSrc : '<%= pkg.assetsSrc %>', - assetsDist : '<%= pkg.assetsDist %>', - css : '<%= pkg.assetsSrc %>/css', - img : '<%= pkg.assetsSrc %>/img', - js : '<%= pkg.assetsSrc %>/js', - sass : '<%= pkg.assetsSrc %>/sass', - fonts : '<%= pkg.assetsSrc %>/fonts' + sass : '<%= pkg.source %>/assets/sass/**/*.sass', + css : '<%= pkg.source %>/assets/css/**/*.css', + mincss : '<%= pkg.source %>/assets/css/**/*.min.css', + js : '<%= pkg.source %>/assets/js/source/**/*.js', + minjs : '<%= pkg.source %>/assets/js/dist/**/*.min.js' }, // clean all generated files @@ -66,8 +55,8 @@ module.exports = function (grunt) { all: { files: [{ src: [ - '<%= pkg.assetsDist %>', - '_site' + '<%= src.css %>', + '<%= src.minjs %>' ] }] } @@ -77,41 +66,50 @@ module.exports = function (grunt) { compass: { compile: { options: { - sassDir : '<%= src.sass %>', - cssDir : '<%= src.css %>', - imagesDir : '<%= src.img %>', - fontsDir : '<%= src.fonts %>', - relativeAssets : true, - noLineComments : true, - quiet : true, - outputStyle : 'expanded' + sassDir: '<%= pkg.source %>/assets/sass/', + cssDir: '<%= pkg.source %>/assets/css/', + imagesDir: '<%= pkg.source %>/assets/img/source', + fontsDir: '<%= pkg.source %>/assets/fonts', + relativeAssets: true, + noLineComments: true, + quiet: true, + outputStyle: 'expanded' } } }, cssmin: { options: { - banner: '/*\n * Author: Fridaycode\n * Last build: <%= grunt.template.today("dd-m-yyyy") %>\n*/\n', + banner: '/*\n * Author: RaceCloud\n * Last build: <%= grunt.template.today("dd-m-yyyy") %>\n*/\n', }, minify: { expand: true, - cwd : '<%= src.css %>/', - src : ['*.css', '!*.min.css'], - dest : '<%= src.css %>/', - ext : '.min.css' + cwd: '<%= pkg.source %>/assets/css/', + src: ['*.css', '!*.min.css'], + dest: '<%= pkg.source %>/assets/css/', + ext: '.min.css' } }, // Concat & minify uglify: { options: { - banner: '/*\n * Author: Fridaycode\n * Last build: <%= grunt.template.today("dd-m-yyyy") %>\n*/\n', + banner: '/*\n * Author: RaceCloud\n * Last build: <%= grunt.template.today("dd-m-yyyy") %>\n*/\n', report: 'gzip' }, - target: { + dev: { + options: { + mangle: false, + compress: false, + preserveComments: 'all', + beautify: true, + }, + files: ['<%= jsFiles %>'] + }, + dist: { options: { mangle: true, - compress: true + compress: true, }, files: ['<%= jsFiles %>'] } @@ -119,29 +117,17 @@ module.exports = function (grunt) { // Image Optimization imagemin: { - target: { + dist: { options: { optimizationLevel: 3 }, - files: [{ - expand : true, - cwd : '<%= src.img %>', - src : ['**/*.{png,jpg,gif,jpeg}'], - dest : '<%= src.img %>' - }] - } - }, - - copy: { - main: { files: [ { expand: true, - filter: 'isFile', - cwd : '<%= src.assetsSrc %>', - src : ['**', '!**/*.sass', '!**/css/*', '**/*.min.css', '!**/js/*', '**/*.min.js'], - dest : '<%= src.assetsDist %>' - }, + cwd: '<%= pkg.source %>/assets/img/source/', + src: ['**/*.{png,jpg,gif,jpeg}'], + dest: '<%= pkg.source %>/assets/img/dist/' + } ] } }, @@ -150,37 +136,52 @@ module.exports = function (grunt) { options: { spawn: false }, - all: { - files: ['<%= src.assetsSrc %>/**'], - tasks: ['compass', 'newer:cssmin', 'newer:uglify', 'newer:imagemin', 'newer:copy'] + styles_dev: { + files: ['<%= src.sass %>'], + tasks: ['compass', 'newer:cssmin', 'newer:imagemin'] + }, + scripts_dev: { + files: ['<%= src.js %>'], + tasks: ['any-newer:uglify:dev'] + }, + styles_dist: { + files: ['<%= src.sass %>'], + tasks: ['compass', 'newer:cssmin', 'newer:imagemin'] + }, + scripts_dist: { + files: ['<%= src.js %>'], + tasks: ['any-newer:uglify:dist'] } }, - jekyll: { - options: { - bundleExec: true - }, - serve: { + concurrent: { + dev: { + tasks: ['watch:styles_dev', 'watch:scripts_dev', 'jekyll:serve'], options: { - serve: true, - watch: true + logConcurrentOutput: true } }, - build: { - + dist: { + tasks: ['watch:styles_dist', 'watch:scripts_dist'], + options: { + logConcurrentOutput: true + } } }, - concurrent: { - target: { - tasks: [ - 'watch:all', - 'jekyll:serve' - ], + jekyll: { // Task + options: { // Universal options + bundleExec: true, + src : '<%= pkg.source %>' + }, + + serve : { options: { - logConcurrentOutput: true + bundleExec: true, + src : '<%= pkg.source %>', + serve: true } - } + }, } }); @@ -188,20 +189,25 @@ module.exports = function (grunt) { grunt.registerTask('default', [ 'clean', 'compass', - 'cssmin', - 'uglify', - 'imagemin', - 'copy', - 'concurrent' + 'newer:cssmin', + 'newer:uglify:dist', + 'concurrent:dist' + ]); + + grunt.registerTask('dev', [ + 'clean', + 'compass', + 'newer:uglify:dev', + 'concurrent:dev' ]); grunt.registerTask('build', [ 'clean', 'compass', 'cssmin', - 'uglify', + 'uglify:dist', 'imagemin', - 'copy', - 'jekyll:build' + 'jekyll' ]); + }; diff --git a/home.html b/home.html deleted file mode 100644 index 5329150..0000000 --- a/home.html +++ /dev/null @@ -1,69 +0,0 @@ ---- -layout: default -title: Fridaycode is back! -permalink: /home/ ---- - - -
-
-

Какво е HTML5? Защо се говори толкова много за него?

- -
- 27 Февруари 2014 -
- -
- През погледа на: - - Мариан Игнев - -
-
- -

Надяваме се ако не ви е отнесъл ураганният вятър навън, да сте седнали някъде на топло и точно в този момент да четете нашите страници. Все пак е края на ноември и е време да се срещнем отново, за да си побъбрим за нещо различно от работа. Не случайно името на сайта се свързва с "деня на майстора".

-

Искаше ни се още сега да ударим една равносметка, но май ще е по-добре да го направим поне на края на календарната година. Всъщност това може би ще бъде по-скоро, защото наближават празници, отпуски и какво ли още не. Само дано падне и сняг, че най-накрая да имаме една нормална празнична обстановка, такава каквато беше преди 10 г. например, ако някои от вас помнят. Да, знаем че предимно децата се кефят на сняг, но все пак... Честно казано точно сега ни идва да се разпишем на коледна тематика до пръсване, но тук не е мястото, защото... Защото тук, днес и точно сега ще си говорим за това как негово величество Рокът зае първо място в нашата анкета.

- -
- -
- -

Време е за новия въпрос, който този месец ще бъде неангажиращ и сме сигурни, че ще ви накара да се усмихнете. Питаме ви "Н" каква музика обичате да творите?”. Ясно е, че няма как да изброим всички жанрове, поджанрчета и т.н., така че ще се придържаме към по-основните. Въпросът произлезе от това, че програмисти от всякакъв вид/сорт/клан, дизайнери и прочее технически лица имат креативни професии и точно тази креативност бива провокирана по някакъв начин. Един от тези начини е чрез музика. Някои харесват бавна, мелодична, която не им се набива особено в главата и им помага за избистрянето на мисълта. Други пък се кефят на грайндкор слъдж метъл, под въздействието на който се раждат безмилостни лейаути, оправдавани после с репликата "Так" го е видял художникът!”. Има и трети, които си пускат някаква циклачка и със свирка в уста размятат ръце наляво-надясно крещейки "Партии"!”. Това си е забавната страна от ежедневието ни, която обаче не трябва да се подценява точно защото е част от него и както обръщаме внимание на това каква храна ядем или какво гориво сипваме на автомобила, така трябва да подхождаме и тук. Естествено всеки вече е намерил "своята" музиката, така че споделете с нас каква е тя!

- - - -
-
- Мариан Игнев - -
-

Мариан Игнев

-

- Искаше ни се още сега да ударим една равносметка, но май ще е по-добре да го направим поне на края на календарната година. - Искаше ни се още сега да ударим една равносметка, но май ще е по-добре да го направим поне на края на календарната година. -

-
-
\ No newline at end of file diff --git a/images/marian_ignev/post_1/1.png b/images/marian_ignev/post_1/1.png deleted file mode 100644 index a64719d..0000000 Binary files a/images/marian_ignev/post_1/1.png and /dev/null differ diff --git a/index.html b/index.html deleted file mode 100644 index b45ef6f..0000000 --- a/index.html +++ /dev/null @@ -1 +0,0 @@ -Hello, World! \ No newline at end of file diff --git a/package.json b/package.json index 5f85780..41afe23 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { "name": "Fridaycode", - "source": ".", - "assetsSrc": "_assets", - "assetsDist": "assets", + "source": "src", "version": "0.0.1", "main": "gruntfile.js", "dependencies": { "grunt": "~0.4.2", "load-grunt-tasks": "~0.2.1", + "cssmin": "~0.4.1", "time-grunt": "~0.1.1", "grunt-newer": "~0.5.3", "grunt-contrib-watch": "~0.5.3", "grunt-contrib-uglify": "~0.2.4", + "grunt-contrib-jshint": "~0.6.4", "grunt-contrib-clean": "~0.5.0", "grunt-contrib-imagemin": "~0.3.0", "grunt-contrib-compass": "~0.5.0", - "grunt-contrib-copy": "~0.5.0", "grunt-contrib-cssmin": "~0.6.2", + "grunt-contrib-csslint": "~0.1.2", "grunt-concurrent": "~0.4.0" }, "devDependencies": { diff --git a/src/_layouts/default.html b/src/_layouts/default.html new file mode 100644 index 0000000..f6586b6 --- /dev/null +++ b/src/_layouts/default.html @@ -0,0 +1,44 @@ + + + + + + {{ page.title }} + + + + + + + + + + + +
+
+

{{ site.name }}

+ home +
+ + {{ content }} + + +
+ + + diff --git a/_layouts/post.html b/src/_layouts/post.html similarity index 100% rename from _layouts/post.html rename to src/_layouts/post.html diff --git a/_posts/2014-02-24-welcome-to-jekyll.markdown b/src/_posts/2014-02-24-welcome-to-jekyll.markdown similarity index 96% rename from _posts/2014-02-24-welcome-to-jekyll.markdown rename to src/_posts/2014-02-24-welcome-to-jekyll.markdown index 8a8332f..4360f8b 100644 --- a/_posts/2014-02-24-welcome-to-jekyll.markdown +++ b/src/_posts/2014-02-24-welcome-to-jekyll.markdown @@ -2,7 +2,7 @@ layout: post title: "Welcome to Jekyll!" date: 2014-02-24 19:51:50 -categories: PHP Ruby +categories: jekyll update --- You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes! diff --git a/src/assets/css/style.css b/src/assets/css/style.css new file mode 100644 index 0000000..bfcb47b --- /dev/null +++ b/src/assets/css/style.css @@ -0,0 +1,4 @@ +body { + margin: 0; + background: red; +} diff --git a/src/assets/js/dist/main.min.js b/src/assets/js/dist/main.min.js new file mode 100644 index 0000000..0fb98eb --- /dev/null +++ b/src/assets/js/dist/main.min.js @@ -0,0 +1,5 @@ +/* + * Author: RaceCloud + * Last build: 24-2-2014 +*/ +alert("test"); \ No newline at end of file diff --git a/src/assets/js/source/main.js b/src/assets/js/source/main.js new file mode 100644 index 0000000..66d9aec --- /dev/null +++ b/src/assets/js/source/main.js @@ -0,0 +1 @@ +alert("test"); \ No newline at end of file diff --git a/src/assets/sass/style.sass b/src/assets/sass/style.sass new file mode 100644 index 0000000..a0476da --- /dev/null +++ b/src/assets/sass/style.sass @@ -0,0 +1,3 @@ +body + margin: 0 + background: red diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..c726819 --- /dev/null +++ b/src/index.html @@ -0,0 +1,13 @@ +--- +layout: default +title: Your New Jekyll Site +--- + +
+

Blog Posts

+ +
\ No newline at end of file