Working on homepage and moving stuff around.
|
@ -28,7 +28,8 @@
|
|||
{% endif %}
|
||||
|
||||
{% if debug %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap-responsive.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/pro-adams/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/highlightjs-themes/tomorrow.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/themes.css" />
|
||||
|
@ -36,7 +37,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pro.css?23" />
|
||||
{% endif %}
|
||||
|
||||
<link rel="shortcut icon" href="/static/images/blog-favicon.ico" >
|
||||
<link rel="shortcut icon" href="/static/img/blog-favicon.ico" >
|
||||
|
||||
{% if custom_css %}
|
||||
<style type="text/css">
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
cat media/css/bootstrap.css \
|
||||
cat media/css/bootstrap.min.css \
|
||||
media/css/bootstrap-responsive.min.css \
|
||||
media/css/blog-themes/pro-adams/style.css \
|
||||
media/css/highlightjs-themes/tomorrow.css \
|
||||
media/css/themes.css \
|
||||
> media/css/pro.css
|
||||
|
||||
cat media/css/bootstrap.css \
|
||||
cat media/css/bootstrap.min.css \
|
||||
media/css/bootstrap-responsive.min.css \
|
||||
media/css/style.css \
|
||||
media/css/themes.css \
|
||||
media/css/chosen.css \
|
||||
|
@ -39,7 +41,7 @@ cat media/js/src/pro.js|jsmin > media/js/src/pro.min.js
|
|||
cat media/js/libs/underscore.js \
|
||||
media/js/libs/json2.js \
|
||||
media/js/libs/backbone.js \
|
||||
media/js/libs/bootstrap.js \
|
||||
media/js/libs/bootstrap.min.js \
|
||||
media/js/plugins/jquery.hotkeys.js \
|
||||
media/js/plugins/jquery.infieldlabel.js \
|
||||
media/js/plugins/jquery.chosen.js \
|
||||
|
|
|
@ -1 +1 @@
|
|||
body.blog-site article.snipt div.group div.container{width:718px}body.blog-site article.snipt div.group div.container header{min-height:0}body.blog-site article.snipt div.group div.container header h1{margin:11px 15px}body.blog-site article.snipt footer ul.attrs li.tweet{margin-right:30px}body.blog-site section.main div.ruler{z-index:50}body.blog-site section.main aside.main nav.footer{margin-right:0}body.blog-site section.main aside.main nav.footer ul.powered{border-top:1px solid #DDDDDD;padding-top:30px}body.blog-site section.main aside.main nav.footer ul.powered li{background:transparent url("/static/images/favicon.png") top left no-repeat}body.blog-site section.main aside.main nav.footer ul.powered li a{border:none;color:#3E6B73;display:inline-block;font-style:italic}body.blog-site section.main aside.main nav.footer ul.powered li a:hover{border-bottom:1px solid #333;color:#333}body.blog-site section.main aside.main nav.footer.with-sidebar{margin-top:30px}body.blog-site section.main aside.main section.sidebar{margin-bottom:30px;margin-left:15px}body.blog-site section.main aside.main section.sidebar p{line-height:16px;margin-bottom:15px}body.blog-site section.main aside.main section.sidebar a:hover{text-decoration:none}body.blog-site header.main{background:transparent url("/static/images/blog-header-bg.png") top left repeat;height:auto}body.blog-site header.main div.inner{height:auto}body.blog-site header.main div.inner h1{float:none;position:static}body.blog-site header.main div.inner h1 a{background:none;border-bottom:2px solid transparent;color:#2A535C;font:normal 30px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;height:auto;letter-spacing:-1px;line-height:30px;margin:17px 0 17px 16px;text-decoration:none;text-indent:0;text-shadow:none;width:auto;-webkit-transition:border .08s linear;-moz-transition:border .08s linear;-o-transition:border .08s linear;transition:border .08s linear}body.blog-site header.main div.inner h1 a:hover{border-bottom:2px solid #3A5E67}body.blog-site header.sub div.inner{z-index:51}body.blog-detail section.main div.inner{width:718px}body.blog-detail section.main div.inner section.snipts article.snipt{margin-bottom:0}body.blog-detail section.main div.inner section.snipts article.snipt div.container{width:100%}body.blog-detail section.main div.inner section.snipts article.snipt div.container h1 a{white-space:normal}body.blog-detail section.main div.inner section.snipts article.snipt div.container section.code{height:auto}body.blog-detail section.main div.inner section.snipts article.snipt div.container section.code td.code div.highlight pre{width:683px}body.blog-detail section.main div.inner section.snipts article.snipt footer ul.attrs li.tweet{margin-right:116px}body.blog-detail div#disqus_thread{width:704px}body.blog-detail div#disqus_thread #dsq-content{margin-top:-38px}body.blog-list article.snipt div.container section.code td.code div.highlight pre{width:683px}
|
||||
body.blog-site article.snipt div.group div.container{width:718px}body.blog-site article.snipt div.group div.container header{min-height:0}body.blog-site article.snipt div.group div.container header h1{margin:11px 15px}body.blog-site article.snipt footer ul.attrs li.tweet{margin-right:30px}body.blog-site section.main div.ruler{z-index:50}body.blog-site section.main aside.main nav.footer{margin-right:0}body.blog-site section.main aside.main nav.footer ul.powered{border-top:1px solid #DDDDDD;padding-top:30px}body.blog-site section.main aside.main nav.footer ul.powered li{background:transparent url("/static/img/favicon.png") top left no-repeat}body.blog-site section.main aside.main nav.footer ul.powered li a{border:none;color:#3E6B73;display:inline-block;font-style:italic}body.blog-site section.main aside.main nav.footer ul.powered li a:hover{border-bottom:1px solid #333;color:#333}body.blog-site section.main aside.main nav.footer.with-sidebar{margin-top:30px}body.blog-site section.main aside.main section.sidebar{margin-bottom:30px;margin-left:15px}body.blog-site section.main aside.main section.sidebar p{line-height:16px;margin-bottom:15px}body.blog-site section.main aside.main section.sidebar a:hover{text-decoration:none}body.blog-site header.main{background:transparent url("/static/img/blog-header-bg.png") top left repeat;height:auto}body.blog-site header.main div.inner{height:auto}body.blog-site header.main div.inner h1{float:none;position:static}body.blog-site header.main div.inner h1 a{background:none;border-bottom:2px solid transparent;color:#2A535C;font:normal 30px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;height:auto;letter-spacing:-1px;line-height:30px;margin:17px 0 17px 16px;text-decoration:none;text-indent:0;text-shadow:none;width:auto;-webkit-transition:border .08s linear;-moz-transition:border .08s linear;-o-transition:border .08s linear;transition:border .08s linear}body.blog-site header.main div.inner h1 a:hover{border-bottom:2px solid #3A5E67}body.blog-site header.sub div.inner{z-index:51}body.blog-detail section.main div.inner{width:718px}body.blog-detail section.main div.inner section.snipts article.snipt{margin-bottom:0}body.blog-detail section.main div.inner section.snipts article.snipt div.container{width:100%}body.blog-detail section.main div.inner section.snipts article.snipt div.container h1 a{white-space:normal}body.blog-detail section.main div.inner section.snipts article.snipt div.container section.code{height:auto}body.blog-detail section.main div.inner section.snipts article.snipt div.container section.code td.code div.highlight pre{width:683px}body.blog-detail section.main div.inner section.snipts article.snipt footer ul.attrs li.tweet{margin-right:116px}body.blog-detail div#disqus_thread{width:704px}body.blog-detail div#disqus_thread #dsq-content{margin-top:-38px}body.blog-list article.snipt div.container section.code td.code div.highlight pre{width:683px}
|
||||
|
|
|
@ -36,7 +36,7 @@ body.blog-site {
|
|||
padding-top: 30px;
|
||||
|
||||
li {
|
||||
background: transparent url('/static/images/favicon.png') top left no-repeat;
|
||||
background: transparent url('/static/img/favicon.png') top left no-repeat;
|
||||
|
||||
a {
|
||||
border: none;
|
||||
|
@ -72,7 +72,7 @@ body.blog-site {
|
|||
}
|
||||
}
|
||||
header.main {
|
||||
background: transparent url('/static/images/blog-header-bg.png') top left repeat;
|
||||
background: transparent url('/static/img/blog-header-bg.png') top left repeat;
|
||||
height: auto;
|
||||
|
||||
div.inner {
|
||||
|
|
|
@ -321,7 +321,7 @@ article {
|
|||
}
|
||||
}
|
||||
&:after {
|
||||
background: transparent url('/static/images/date-arrow.gif') top left no-repeat;
|
||||
background: transparent url('/static/img/date-arrow.gif') top left no-repeat;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 11px;
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
width: 12px;
|
||||
height: 13px;
|
||||
font-size: 1px;
|
||||
background: url(/static/images/chosen-sprite.png) right top no-repeat;
|
||||
background: url(/static/img/chosen-sprite.png) right top no-repeat;
|
||||
}
|
||||
.chzn-container-single .chzn-single abbr:hover {
|
||||
background-position: right -11px;
|
||||
|
@ -85,7 +85,7 @@
|
|||
width: 18px;
|
||||
}
|
||||
.chzn-container-single .chzn-single div b {
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 0 0;
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 0 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -98,13 +98,13 @@
|
|||
z-index: 1010;
|
||||
}
|
||||
.chzn-container-single .chzn-search input {
|
||||
background: #fff url('/static/images/chosen-sprite.png') no-repeat 100% -22px;
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: #fff url('/static/img/chosen-sprite.png') no-repeat 100% -22px;
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat 100% -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
margin: 1px 0;
|
||||
padding: 4px 20px 4px 5px;
|
||||
outline: 0;
|
||||
|
@ -209,7 +209,7 @@
|
|||
width: 12px;
|
||||
height: 13px;
|
||||
font-size: 1px;
|
||||
background: url(/static/images/chosen-sprite.png) right top no-repeat;
|
||||
background: url(/static/img/chosen-sprite.png) right top no-repeat;
|
||||
}
|
||||
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
|
||||
background-position: right -11px;
|
||||
|
@ -294,10 +294,10 @@
|
|||
bottom: 0;
|
||||
}
|
||||
.chzn-container .chzn-results-scroll-down span {
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -4px -3px;
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -4px -3px;
|
||||
}
|
||||
.chzn-container .chzn-results-scroll-up span {
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -22px -3px;
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -22px -3px;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
|
@ -379,13 +379,13 @@
|
|||
.chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
|
||||
.chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
|
||||
.chzn-rtl .chzn-search input {
|
||||
background: #fff url('/static/images/chosen-sprite.png') no-repeat -38px -22px;
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/images/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: #fff url('/static/img/chosen-sprite.png') no-repeat -38px -22px;
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, -ms-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
background: url('/static/img/chosen-sprite.png') no-repeat -38px -22px, linear-gradient(top, #eeeeee 1%, #ffffff 15%);
|
||||
padding: 4px 5px 4px 20px;
|
||||
direction: rtl;
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ body {
|
|||
|
||||
// Global
|
||||
header.main {
|
||||
background: #12343D url('/static/images/header-bg.gif') top left repeat-x;
|
||||
background: #12343D url('/static/img/header-bg.gif') top left repeat-x;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
height: 66px;
|
||||
position: relative;
|
||||
|
@ -120,7 +120,7 @@ header.main {
|
|||
width: 939px;
|
||||
|
||||
div.shadey {
|
||||
background: transparent url('/static/images/header-inner-bg.png') top left no-repeat;
|
||||
background: transparent url('/static/img/header-inner-bg.png') top left no-repeat;
|
||||
height: 65px;
|
||||
left: -157px;
|
||||
position: absolute;
|
||||
|
@ -162,8 +162,8 @@ header.main {
|
|||
z-index: 50;
|
||||
|
||||
input {
|
||||
background: #17484F url('/static/images/search-icon.png') top left no-repeat;
|
||||
background: rgba(43, 82, 93, .5) url('/static/images/search-icon.png') 8px center no-repeat;
|
||||
background: #17484F url('/static/img/search-icon.png') top left no-repeat;
|
||||
background: rgba(43, 82, 93, .5) url('/static/img/search-icon.png') 8px center no-repeat;
|
||||
border: 1px solid #3A5E67;
|
||||
color: #FFF;
|
||||
font: normal 12px $Helvetica;
|
||||
|
@ -299,7 +299,7 @@ header.main {
|
|||
}
|
||||
}
|
||||
ul {
|
||||
background: transparent url('/static/images/aside-nav-open-bottom-bg.gif') top left repeat;
|
||||
background: transparent url('/static/img/aside-nav-open-bottom-bg.gif') top left repeat;
|
||||
display: none;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
|
@ -332,7 +332,7 @@ header.main {
|
|||
}
|
||||
&.open {
|
||||
a.mini-profile {
|
||||
background: transparent url('/static/images/aside-nav-open-top-bg.gif') top left repeat-x;
|
||||
background: transparent url('/static/img/aside-nav-open-top-bg.gif') top left repeat-x;
|
||||
opacity: 1;
|
||||
|
||||
span.avatar {
|
||||
|
@ -398,7 +398,7 @@ header.sub {
|
|||
float: right;
|
||||
|
||||
a {
|
||||
background: transparent url('/static/images/rss-icon.png') center left no-repeat;
|
||||
background: transparent url('/static/img/rss-icon.png') center left no-repeat;
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
padding-left: 15px;
|
||||
|
@ -526,7 +526,7 @@ section.main {
|
|||
margin: 0 0 30px 15px;
|
||||
|
||||
h1 {
|
||||
background: transparent url('/static/images/tags-icon.png') 0 0 no-repeat;
|
||||
background: transparent url('/static/img/tags-icon.png') 0 0 no-repeat;
|
||||
color: #3BAAF3;
|
||||
font: bold 12px $Helvetica;
|
||||
padding-bottom: 5px;
|
||||
|
@ -595,7 +595,7 @@ section.main {
|
|||
margin: 0;
|
||||
|
||||
li {
|
||||
background: transparent url('/static/images/api-icon.png') center left no-repeat;
|
||||
background: transparent url('/static/img/api-icon.png') center left no-repeat;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding-left: 22px;
|
||||
|
@ -627,13 +627,13 @@ section.main {
|
|||
padding-top: 1px;
|
||||
}
|
||||
&.twitter {
|
||||
background: transparent url('/static/images/twitter-icon.png') 4px center no-repeat;
|
||||
background: transparent url('/static/img/twitter-icon.png') 4px center no-repeat;
|
||||
}
|
||||
&.pro {
|
||||
background: transparent url('/static/images/upgrade-icon.png') 2px center no-repeat;
|
||||
background: transparent url('/static/img/upgrade-icon.png') 2px center no-repeat;
|
||||
}
|
||||
&.groups {
|
||||
background: transparent url('/static/images/groups-icon.png') 2px center no-repeat;
|
||||
background: transparent url('/static/img/groups-icon.png') 2px center no-repeat;
|
||||
}
|
||||
&:first-of-type {
|
||||
a {
|
||||
|
@ -641,16 +641,16 @@ section.main {
|
|||
}
|
||||
}
|
||||
&.blog {
|
||||
background: transparent url('/static/images/blog-icon.png') 3px center no-repeat;
|
||||
background: transparent url('/static/img/blog-icon.png') 3px center no-repeat;
|
||||
}
|
||||
&.roadmap {
|
||||
background: transparent url('/static/images/roadmap-icon.png') 2px center no-repeat;
|
||||
background: transparent url('/static/img/roadmap-icon.png') 2px center no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
div.linode {
|
||||
background: transparent url('/static/images/linode.png') top left no-repeat;
|
||||
background: transparent url('/static/img/linode.png') top left no-repeat;
|
||||
background-size: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
|
@ -895,7 +895,7 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
a.expand, a.view-full {
|
||||
background: #FFF url('/static/images/expand.png') 15px 18px no-repeat;
|
||||
background: #FFF url('/static/img/expand.png') 15px 18px no-repeat;
|
||||
border-top: 1px solid #F1F1EE;
|
||||
bottom: 0;
|
||||
color: #999999;
|
||||
|
@ -925,7 +925,7 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
a.view-full {
|
||||
background: #FFF url('/static/images/view-full.png') 15px 17px no-repeat;
|
||||
background: #FFF url('/static/img/view-full.png') 15px 17px no-repeat;
|
||||
}
|
||||
textarea.raw, textarea.description {
|
||||
display: none;
|
||||
|
@ -977,7 +977,7 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
&:after {
|
||||
background: transparent url('/static/images/snipt-drop-shadow.png') top left no-repeat;
|
||||
background: transparent url('/static/img/snipt-drop-shadow.png') top left no-repeat;
|
||||
bottom: -15px;
|
||||
content: "";
|
||||
display: block;
|
||||
|
@ -1040,7 +1040,7 @@ article.snipt {
|
|||
margin: 2px 0;
|
||||
|
||||
a {
|
||||
background: rgba(128, 128, 128, .15) url('/static/images/edit-icon.png') 14px center no-repeat;
|
||||
background: rgba(128, 128, 128, .15) url('/static/img/edit-icon.png') 14px center no-repeat;
|
||||
color: #000;
|
||||
display: block;
|
||||
font: bold 12px $Helvetica;
|
||||
|
@ -1068,13 +1068,13 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
&.embed {
|
||||
background-image: url('/static/images/embed-icon.png');
|
||||
background-image: url('/static/img/embed-icon.png');
|
||||
}
|
||||
&.copy {
|
||||
background-image: url('/static/images/copy-icon.png');
|
||||
background-image: url('/static/img/copy-icon.png');
|
||||
}
|
||||
&.favorite {
|
||||
background-image: url('/static/images/favorite-icon.png');
|
||||
background-image: url('/static/img/favorite-icon.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1083,7 +1083,7 @@ article.snipt {
|
|||
padding-top: 10px;
|
||||
|
||||
h2 {
|
||||
background: transparent url('/static/images/snipt-tags-icon.png') 15px center no-repeat;
|
||||
background: transparent url('/static/img/snipt-tags-icon.png') 15px center no-repeat;
|
||||
color: #999999;
|
||||
font: bold 12px $Helvetica;
|
||||
padding: 7px 0 7px 35px;
|
||||
|
@ -1130,7 +1130,7 @@ article.snipt {
|
|||
margin: 14px 0 0 15px;
|
||||
|
||||
li {
|
||||
background: transparent url('/static/images/calendar-icon.png') top left no-repeat;
|
||||
background: transparent url('/static/img/calendar-icon.png') top left no-repeat;
|
||||
color: #999;
|
||||
display: inline;
|
||||
font: normal 12px $Helvetica;
|
||||
|
@ -1195,7 +1195,7 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
&.comments {
|
||||
background: transparent url('/static/images/comments-icon.png') 0 2px no-repeat;
|
||||
background: transparent url('/static/img/comments-icon.png') 0 2px no-repeat;
|
||||
}
|
||||
&.tweet {
|
||||
background: none;
|
||||
|
@ -1243,7 +1243,7 @@ article.snipt {
|
|||
}
|
||||
}
|
||||
a.expand {
|
||||
background-image: url('/static/images/collapse.png');
|
||||
background-image: url('/static/img/collapse.png');
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
@ -1282,7 +1282,7 @@ article.snipt {
|
|||
&.favorited {
|
||||
div.container {
|
||||
header {
|
||||
@include vertical-gradient-with-image(url('/static/images/favorited-icon.png') top right no-repeat, #FFF, #FFFAF2);
|
||||
@include vertical-gradient-with-image(url('/static/img/favorited-icon.png') top right no-repeat, #FFF, #FFFAF2);
|
||||
|
||||
h1 {
|
||||
a {
|
||||
|
@ -1303,7 +1303,7 @@ article.snipt {
|
|||
&.blog-post.favorited {
|
||||
div.container {
|
||||
header {
|
||||
@include vertical-gradient-with-image(url('/static/images/favorited-icon.png') top right no-repeat, #FFF, #F0F4FC);
|
||||
@include vertical-gradient-with-image(url('/static/img/favorited-icon.png') top right no-repeat, #FFF, #F0F4FC);
|
||||
@include inset-box-shadow(0, -1px, 0, #E3E9F5);
|
||||
|
||||
h1 {
|
||||
|
@ -1325,7 +1325,7 @@ article.snipt {
|
|||
article.private-snipt {
|
||||
div.container {
|
||||
header {
|
||||
@include vertical-gradient-with-image(url('/static/images/private-icon.png') top right no-repeat, #FFF, #FFFAF2);
|
||||
@include vertical-gradient-with-image(url('/static/img/private-icon.png') top right no-repeat, #FFF, #FFFAF2);
|
||||
|
||||
h1 {
|
||||
a {
|
||||
|
@ -1337,7 +1337,7 @@ article.private-snipt {
|
|||
&.blog-post {
|
||||
div.container {
|
||||
header {
|
||||
@include vertical-gradient-with-image(url('/static/images/private-icon.png') top right no-repeat, #FFF, #F0F4FC);
|
||||
@include vertical-gradient-with-image(url('/static/img/private-icon.png') top right no-repeat, #FFF, #F0F4FC);
|
||||
|
||||
h1 {
|
||||
a {
|
||||
|
@ -1505,7 +1505,7 @@ div.site-notice {
|
|||
}
|
||||
}
|
||||
a.go-pro {
|
||||
background: transparent url('/static/images/pro-hero-bg.png') top left repeat;
|
||||
background: transparent url('/static/img/pro-hero-bg.png') top left repeat;
|
||||
color: #797979;
|
||||
display: block;
|
||||
font: bold 12px $Helvetica;
|
||||
|
@ -1802,7 +1802,7 @@ body.jobs {
|
|||
}
|
||||
body.pro {
|
||||
div.pro-hero {
|
||||
background: transparent url('/static/images/pro-hero-bg.png') top left repeat;
|
||||
background: transparent url('/static/img/pro-hero-bg.png') top left repeat;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
color: #797979;
|
||||
font: normal 36px $RockwellBoldItalic;
|
||||
|
@ -1887,7 +1887,7 @@ body.pro {
|
|||
font-size: 13px;
|
||||
}
|
||||
div.security {
|
||||
background: #FCF8E3 url('/static/images/private-icon.png') 7px -15px no-repeat;
|
||||
background: #FCF8E3 url('/static/img/private-icon.png') 7px -15px no-repeat;
|
||||
border: 1px solid #FBEED5;
|
||||
color: #C09853;
|
||||
display: inline-block;
|
||||
|
@ -2204,7 +2204,7 @@ body.editing {
|
|||
display: none;
|
||||
}
|
||||
header.fixed-save {
|
||||
background: #FFF url('/static/images/header-fixed-save.gif') top left repeat;
|
||||
background: #FFF url('/static/img/header-fixed-save.gif') top left repeat;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
height: 40px;
|
||||
left: 0;
|
||||
|
@ -2326,7 +2326,7 @@ body.editing {
|
|||
vertical-align: -3px;
|
||||
}
|
||||
&.is-private {
|
||||
background: #EFEEEF url('/static/images/private-icon-edit.png') 199px center no-repeat;
|
||||
background: #EFEEEF url('/static/img/private-icon-edit.png') 199px center no-repeat;
|
||||
}
|
||||
&.is-public {
|
||||
background: #F2DEDE;
|
||||
|
@ -2397,11 +2397,11 @@ body.homepage {
|
|||
}
|
||||
}
|
||||
header.main {
|
||||
background: #415A63 url('../images/homepage-header-bg.jpg') top center no-repeat;
|
||||
height: 450px;
|
||||
background: #415A63 url('../img/homepage-header-bg.jpg') top center no-repeat;
|
||||
height: 250px;
|
||||
@include inset-box-shadow(0, -6px, 17px, #31454D);
|
||||
|
||||
div.inner {
|
||||
div.container {
|
||||
border-left: 0;
|
||||
|
||||
h1 {
|
||||
|
@ -2410,7 +2410,6 @@ body.homepage {
|
|||
}
|
||||
}
|
||||
nav {
|
||||
float: right;
|
||||
padding: 16px 0 0 0;
|
||||
|
||||
ul {
|
||||
|
@ -2499,4 +2498,10 @@ body.homepage {
|
|||
}
|
||||
}
|
||||
}
|
||||
section.features {
|
||||
h1 {
|
||||
color: #3A5159;
|
||||
font: bold 26px $Rockwell;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 559 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 106 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 310 KiB After Width: | Height: | Size: 310 KiB |
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 263 KiB After Width: | Height: | Size: 263 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 325 KiB After Width: | Height: | Size: 325 KiB |
Before Width: | Height: | Size: 368 KiB After Width: | Height: | Size: 368 KiB |
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 283 KiB After Width: | Height: | Size: 283 KiB |
Before Width: | Height: | Size: 223 KiB After Width: | Height: | Size: 223 KiB |
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 327 KiB |
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 206 KiB |
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 173 KiB |
Before Width: | Height: | Size: 431 KiB After Width: | Height: | Size: 431 KiB |
|
@ -46,7 +46,7 @@
|
|||
{% if not request.user.profile.is_pro %}
|
||||
<div class="sifter group">
|
||||
<a class="sifter-logo" href="https://sifterapp.com/from/snipt" title="Sifter: Simple issue tracking for big projects and small teams.">
|
||||
<img src="{{ STATIC_URL }}images/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
<img src="{{ STATIC_URL }}img/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
</a>
|
||||
<div class="right">
|
||||
<h3>Building things is hard.</h3>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
Issue tracking shouldn't be. <a href="https://sifterapp.com/from/snipt" title="Sifter: Simple issue tracking for big projects and small teams.">Sifter</a> makes it simple.
|
||||
</p>
|
||||
<a class="sifter-logo" href="https://sifterapp.com/from/snipt" title="Sifter: Simple issue tracking for big projects and small teams.">
|
||||
<img src="{{ STATIC_URL }}images/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
<img src="{{ STATIC_URL }}img/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Issue tracking shouldn't be. <a href="https://sifterapp.com/from/snipt" title="Sifter: Simple issue tracking for big projects and small teams.">Sifter</a> makes it simple.
|
||||
</p>
|
||||
<a class="sifter-logo" href="https://sifterapp.com/from/snipt" title="Sifter: Simple issue tracking for big projects and small teams.">
|
||||
<img src="{{ STATIC_URL }}images/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
<img src="{{ STATIC_URL }}img/sifter-black-white.png" alt="Sifter: Simple issue tracking for big projects and small teams." />
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<footer>
|
||||
<ul class="attrs">
|
||||
<li class="author">
|
||||
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/<%= snipt.user.email_md5 %>?s=15&d=https%3A%2F%2Fsnipt.net%2Fstatic%2Fimages%2Fauthor-icon.png');"></span>
|
||||
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/<%= snipt.user.email_md5 %>?s=15&d=https%3A%2F%2Fsnipt.net%2Fstatic%img%2Fauthor-icon.png');"></span>
|
||||
<a href="<%= snipt.user.absolute_url %>">
|
||||
<%= snipt.user.username %>
|
||||
</a>
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
<ul class="attrs">
|
||||
{% block author %}
|
||||
<li class="author">
|
||||
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/{{ snipt.user.email|md5 }}?s=15&d=https%3A%2F%2Fsnipt.net%2Fstatic%2Fimages%2Fauthor-icon.png');"></span>
|
||||
<span class="avatar" style="background-image: url('https://secure.gravatar.com/avatar/{{ snipt.user.email|md5 }}?s=15&d=https%3A%2F%2Fsnipt.net%2Fstatic%img%2Fauthor-icon.png');"></span>
|
||||
<a href="{{ snipt.user.get_absolute_url }}">{{ snipt.user.username }}</a>
|
||||
{% if snipt.user.profile.is_pro %}
|
||||
<span class="pro"><a href="/pro/">Pro</a></span>
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
{% endif %}
|
||||
|
||||
{% if debug %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/bootstrap-responsive.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/themes.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/chosen.css" />
|
||||
|
@ -232,7 +233,7 @@
|
|||
{% block rochester-made %}
|
||||
<div class="rochester-made">
|
||||
<a href="http://rochestermade.com/" title="Proudly made in Rochester, NY, USA">
|
||||
<img src="{{ STATIC_URL }}images/rochester-made.png" alt="" />
|
||||
<img src="{{ STATIC_URL }}img/rochester-made.png" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -363,7 +364,7 @@
|
|||
<script type="text/javascript" src="{{ STATIC_URL }}/js/libs/underscore.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/libs/json2.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/libs/backbone.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/libs/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/libs/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/plugins/jquery.hotkeys.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/plugins/jquery.infieldlabel.js"></script>
|
||||
<script type="text/javascript" src="{{ STATIC_URL }}/js/plugins/jquery.chosen.js"></script>
|
||||
|
@ -463,10 +464,10 @@
|
|||
|
||||
{% block preload %}
|
||||
<div class="hidden">
|
||||
<img src="{{ STATIC_URL }}images/header-fixed-save.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}images/chosen-sprite.png" alt="" />
|
||||
<img src="{{ STATIC_URL }}images/aside-nav-open-bottom-bg.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}images/aside-nav-open-top-bg.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}img/header-fixed-save.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}img/chosen-sprite.png" alt="" />
|
||||
<img src="{{ STATIC_URL }}img/aside-nav-open-bottom-bg.gif" alt="" />
|
||||
<img src="{{ STATIC_URL }}img/aside-nav-open-top-bg.gif" alt="" />
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -10,15 +10,16 @@
|
|||
{% block main-edit %}{% endblock %}
|
||||
{% block body-class %}homepage{% endblock %}
|
||||
{% block html-class %}homepage{% endblock %}
|
||||
{% block css %}{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
<header class="main">
|
||||
<div class="inner">
|
||||
<div class="group">
|
||||
<h1>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1 class="span2">
|
||||
<a href="/">snip<span>t</span></a>
|
||||
</h1>
|
||||
<nav>
|
||||
<nav class="span10">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/public/">Public Snipts</a>
|
||||
|
@ -32,12 +33,16 @@
|
|||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="sub">
|
||||
<h2>The publishing platform for coders.</h2>
|
||||
<h3>Store, share, blog, learn.</h3>
|
||||
<div class="row">
|
||||
<div class="sub span12">
|
||||
<h2>The publishing platform for coders.</h2>
|
||||
<h3>Store, share, blog, learn.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<section class="coders">
|
||||
<h4>{{ users_count|intcomma }} coders in over 120 countries have stored {{ snipts_count|intcomma }} snipts, in 145 languages.</h4>
|
||||
<a href="/signup/" class="button">Sign up</a>
|
||||
|
@ -45,12 +50,13 @@
|
|||
<div class="inner">
|
||||
{% for coder in coders %}
|
||||
<a href="/{{ coder.username }}/" title="{{ coder.username }}">
|
||||
<img alt="{{ coder.username }}" title="{{ coder.username }}" src="https://secure.gravatar.com/avatar/{{ coder.email_md5 }}?s=50&d=https://snipt.net/static/images/default-gravatar-homepage.gif" />
|
||||
<img alt="{{ coder.username }}" title="{{ coder.username }}" src="https://secure.gravatar.com/avatar/{{ coder.email_md5 }}?s=50&d=https://snipt.net/static/img/default-gravatar-homepage.gif" />
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<section class="features">
|
||||
<h1>Built for coders.</h1>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
|
@ -38,10 +38,10 @@
|
|||
<label class="control-label" for="number">Card number:</label>
|
||||
<div class="controls cards">
|
||||
<input type="text" class="input-xlarge" id="number" />
|
||||
<img src="/static/images/card-visa.png" alt="Visa" />
|
||||
<img src="/static/images/card-mastercard.png" alt="MasterCard" />
|
||||
<img src="/static/images/card-discover.png" alt="Discover" />
|
||||
<img src="/static/images/card-american-express.png" alt="American Express" />
|
||||
<img src="/static/img/card-visa.png" alt="Visa" />
|
||||
<img src="/static/img/card-mastercard.png" alt="MasterCard" />
|
||||
<img src="/static/img/card-discover.png" alt="Discover" />
|
||||
<img src="/static/img/card-american-express.png" alt="American Express" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
|