Permalink
Browse files

Added pre deploy script

  • Loading branch information...
1 parent 3db47c1 commit a208f4879323578453eefce8e18ded5f78c74410 @jeromegn committed Jul 15, 2012
View
548 app/stylesheets/themes/anne_veal.styl
@@ -0,0 +1,548 @@
+html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ vertical-align: baseline
+}
+
+table {
+ border-collapse: separate;
+ border-spacing: 0
+}
+
+caption,th,td {
+ text-align: left;
+ font-weight: normal
+}
+
+table,td,th {
+ vertical-align: middle
+}
+
+blockquote:before,blockquote:after,q:before,q:after {
+ content: ""
+}
+
+blockquote,q {
+ quotes: "" ""
+}
+
+a img {
+ border: none
+}
+
+body {
+ margin: 10px
+}
+
+pre code {
+ display: block;
+ padding: .5em;
+ color: #000;
+ background: #f8f8ff;
+ padding: 20px;
+ border: 1px solid #ccc;
+ overflow-y: auto
+}
+
+pre .comment,pre .template_comment,pre .diff .header,pre .javadoc {
+ color: #998;
+ font-style: italic
+}
+
+pre .keyword,pre .css .rule .keyword,pre .winutils,pre .javascript .title,pre .lisp .title,pre .subst {
+ color: #000;
+ font-weight: bold
+}
+
+pre .number,pre .hexcolor {
+ color: #40a070
+}
+
+pre .string,pre .tag .value,pre .phpdoc,pre .tex .formula {
+ color: #d14
+}
+
+pre .title,pre .id {
+ color: #900;
+ font-weight: bold
+}
+
+pre .javascript .title,pre .lisp .title,pre .subst {
+ font-weight: normal
+}
+
+pre .class .title,pre .haskell .label,pre .tex .command {
+ color: #458;
+ font-weight: bold
+}
+
+pre .tag,pre .tag .title,pre .rules .property,pre .django .tag .keyword {
+ color: #000080;
+ font-weight: normal
+}
+
+pre .attribute,pre .variable,pre .instancevar,pre .lisp .body {
+ color: #008080
+}
+
+pre .regexp {
+ color: #009926
+}
+
+pre .class {
+ color: #458;
+ font-weight: bold
+}
+
+pre .symbol,pre .ruby .symbol .string,pre .ruby .symbol .keyword,pre .ruby .symbol .keymethods,pre .lisp .keyword,pre .tex .special,pre .input_number {
+ color: #990073
+}
+
+pre .builtin,pre .built_in,pre .lisp .title {
+ color: #0086b3
+}
+
+pre .preprocessor,pre .pi,pre .doctype,pre .shebang,pre .cdata {
+ color: #999;
+ font-weight: bold
+}
+
+pre .deletion {
+ background: #fdd
+}
+
+pre .addition {
+ background: #dfd
+}
+
+pre .diff .change {
+ background: #0086b3
+}
+
+pre .chunk {
+ color: #aaa
+}
+
+pre .tex .formula {
+ opacity: .5;
+ filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=50)")
+}
+
+html {
+ height: 100%
+}
+
+body {
+ padding: 0;
+ margin: 0;
+ /*font: 16px/1.4em Constantia,"Lucida Bright",Lucidabright,"Lucida Serif",Lucida,"DejaVu Serif","Bitstream Vera Serif","Liberation Serif",Georgia,serif;*/
+ font: 16px/1.4em Helvetica;
+ font-size-adjust: none;
+ font-style: normal;
+ font-variant: normal;
+ font-weight: 300
+}
+
+h1,h2,h3,h4,#header,#nav,#loader {
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif
+}
+
+a {
+ color: #369
+}
+
+#header {
+}
+
+#header #logo {
+ color: rgba(255,255,255,0.8);
+ font-size: 18px;
+ font-weight: normal;
+ padding: 10px 15px;
+ line-height: 1.2em;
+ text-decoration: none
+}
+
+#nav {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 250px;
+ height: 100%;
+ background: #a00;
+ background: rgb(132, 63, 81);
+ overflow-x: hidden;
+ overflow-y: auto;
+ border-right: 4px solid rgba(255,255,255,0.75);
+}
+
+#nav a {
+ display: block;
+ font-weight: bold;
+ text-decoration: none
+}
+
+#nav #sections {
+ margin-bottom: 5px;
+ /*border-bottom: 1px solid #ccc;*/
+ background: rgba(0,0,0,0.2);
+}
+
+#nav #sections > li {
+ border-bottom: 1px solid rgba(0,0,0,0.15);
+ /*border-top: 1px solid rgba(255,255,255,0.50);*/
+}
+
+#nav #sections > li > a {
+ padding: 5px 15px;
+ color: rgba(255,255,255,0.9);
+ font-size: 13px;
+}
+
+#nav #sections li > a:hover {
+ background: #ddd;
+ background: rgba(0,0,0,0.35)
+}
+
+#nav #sections > li li > a {
+ padding: 5px 15px;
+ color: rgba(255,255,255,0.5);
+ font-size: 14px;
+ font-weight: normal;
+}
+
+#nav #sections > li:last-child {
+ /*border-bottom: 1px solid rgba(255,255,255,0.50)*/
+}
+
+#nav #sections ul {
+ margin-bottom: 6px;
+}
+
+#nav #sections ul li a {
+ padding: 1px 25px;
+ font-size: 13px;
+}
+
+#nav #sections ul li a:hover {
+}
+
+#nav .extra {
+ padding: 5px 15px;
+ min-height: 1.4em;
+ font-size: 80%;
+ font-weight: normal;
+}
+
+#nav .extra a {
+ color: rgba(255,255,255,0.6);
+ font-weight: normal;
+}
+
+#nav #travis img {
+ margin-top: 10px;
+ display: block
+}
+
+#nav > *:last-child {
+ margin-bottom: 20px
+}
+
+#github-ribbon {
+ position: absolute;
+ top: 0;
+ right: 0;
+}
+
+#github-ribbon img {
+ border: 0
+}
+
+#refresh {
+ z-index: 3;
+ position: fixed;
+ display: block;
+ top: 0;
+ left: 50%;
+ width: 320px;
+ margin-left: -160px;
+ font-family: "Helvetica Neue","Helvetica",arial,sans-serif;
+ line-height: 1.4em;
+ padding: 10px;
+ color: #fff;
+ text-shadow: rgba(0,0,0,0.30) 0 1px 1px;
+ font-weight: bold;
+ font-size: 13px;
+ text-decoration: none;
+ text-align: center;
+ background: #666;
+ -moz-border-radius-bottomleft: 5px;
+ -webkit-border-bottom-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ -moz-border-radius-bottomright: 5px;
+ -webkit-border-bottom-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
+#content {
+ margin: 0 40px 0 290px;
+ padding: 30px 0 20px;
+ min-height: 100px;
+ max-width: 688px;
+ font-size: 95%;
+}
+
+#content #loader {
+ color: #888;
+ width: 300px;
+ height: 24px;
+ line-height: 24px;
+ position: absolute;
+ top: 30px;
+ left: 30px;
+ background: url("data:image/gif;base64,R0lGODlhGAAYAPYAAP///5mZmfn5+dvb27i4uKmpqaCgoNra2v39/c/Pz6CgoJmZmfT09K+vr66urvb29qWlpaSkpPPz8/v7+87Ozvj4+NXV1dTU1Li4uKysrJubm52dnaqqqu7u7uPj46Ojo8LCwvb29ra2tqenp7q6utzc3JycnNfX1/Ly8uzs7J6ensbGxs3NzeDg4MvLy9LS0r+/v/r6+qysrOrq6t7e3tnZ2cTExLS0tLOzs6ioqLGxsefn57W1tcvLy7y8vMHBwd7e3qKiovHx8cfHx+Hh4QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAFAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAGAAYAAAHmoAAgoOEhYaHgxUWBA4aCxwkJwKIhBMJBguZmpkqLBOUDw2bo5kKEogMEKSkLYgIoqubK5QJsZsNCIgCCraZBiiUA72ZJZQABMMgxgAFvRyfxpixGx3LANKxHtbNth8hy8i9IssHwwsXxgLYsSYpxrXDz5QIDubKlAwR5q2UErC2poxNoLBukwoX0IxVuIAhQ6YRBC5MskaxUCAAIfkEAAUAAQAsAAAAABgAGAAAB6GAAIKDhIWGh4MVFgQOGhsOGAcxiIQTCQYLmZqZGwkIlA8Nm6OaMgyHDBCkqwsjEoUIoqykNxWFCb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IhBhHeRUBxSIKsXBxeHZpAYd8mFS5seatwAUOGTAVIWBDgraS3QAAh+QQABQAGACwAAAAAGAAYAAAHooAAgoOEhYaHgxUWBA4aCzkkJwKIhBMJBguZmpkqLAiUDw2bo5oyEocMEKSrCxCnhAiirKs3hQmzsy+DAgq4pBogKIMDvpvAwoQExQvHhwW+zYiYrNGU06wNHpSCz746O5TKyzwzhwfLmgQphQLX6D4dhLfomgmwDvQLOoYMEegRyApJkIWLQ0BDEyi426Six4RtgipcwJAhUwQCFypA3IgoEAAh+QQABQAHACwAAAAAGAAYAAAHoYAAgoOEhYaHgxUWBA4aGw4YBzGIhBMJBguZmpkbCQiUDw2bo5oyDIcMEKSrCyMShQiirKQ3FYUJs6Q2hgIKuZomNYcDv5kfM4gExQ0PlAW/MBOUAJizL9OC1awik9PPuTKvlMq/x5QHxQsbNIgC2r8JiLjpCzCfsA70Czi2hQwR9FwdkiAL3ClEEyi829Tp3rQKFzBkWKDBgYgDArBpRBQIADsAAAAAAAAAAAA=") no-repeat center left;
+ padding-left: 32px;
+ font-size: 18px
+}
+
+#content p {
+ padding: 0 0 .8125em 0;
+ color: #111;
+ font-weight: 300;
+ zoom: 1
+}
+
+#content p:before,#content p:after {
+ content: "";
+ display: table
+}
+
+#content p:after {
+ clear: both
+}
+
+#content p img {
+ float: left;
+ margin: .5em .8125em .8125em 0;
+ padding: 0
+}
+
+#content img {
+ max-width: 100%
+}
+
+#content h1,#content h2,#content h3,#content h4,#content h5,#content h6 {
+ font-weight: normal;
+ color: #333;
+ line-height: 1.2em
+}
+
+#content h1 {
+ font-size: 2.125em;
+ margin-bottom: .765em
+}
+
+#content h2 {
+ font-size: 1.7em;
+ margin: .855em 0
+}
+
+#content h3 {
+ font-size: 1.3em;
+ margin: .956em 0
+}
+
+#content h4 {
+ font-size: 1.1em;
+ margin: 1.161em 0
+}
+
+#content h5,#content h6 {
+ font-size: 1em;
+ font-weight: bold;
+ margin: 1.238em 0
+}
+
+#content ul {
+ list-style-position: outside
+}
+
+#content li ul,#content li ol {
+ margin: 0 1.625em
+}
+
+#content ul,#content ol {
+ margin: 0 0 1.625em 1em
+}
+
+#content dl {
+ margin: 0 0 1.625em 0
+}
+
+#content dl dt {
+ font-weight: bold
+}
+
+#content dl dd {
+ margin-left: 1.625em
+}
+
+#content a {
+ text-decoration: none
+}
+
+#content a:hover {
+ text-decoration: underline
+}
+
+#content table {
+ margin-bottom: 1.625em;
+ border-collapse: collapse
+}
+
+#content th {
+ font-weight: bold
+}
+
+#content tr,#content th,#content td {
+ margin: 0;
+ padding: 0 1.625em 0 1em;
+ height: 26px
+}
+
+#content tfoot {
+ font-style: italic
+}
+
+#content caption {
+ text-align: center;
+ font-family: Georgia,serif
+}
+
+#content abbr,#content acronym {
+ border-bottom: 1px dotted #000
+}
+
+#content address {
+ margin-top: 1.625em;
+ font-style: italic
+}
+
+#content del {
+ color: #000
+}
+
+#content blockquote {
+ padding: 1em 1em 1.625em 1em;
+ font-family: georgia,serif;
+ font-style: italic
+}
+
+#content blockquote:before {
+ content: "\201C";
+ font-size: 3em;
+ margin-left: -.625em;
+ font-family: georgia,serif;
+ color: #aaa;
+ line-height: 0
+}
+
+#content blockquote > p {
+ padding: 0;
+ margin: 0
+}
+
+#content strong {
+ font-weight: bold
+}
+
+#content em,#content dfn {
+ font-style: italic
+}
+
+#content dfn {
+ font-weight: bold
+}
+
+#content pre,#content code {
+ margin: 0 0 1.625em;
+ white-space: pre
+}
+
+#content pre,#content code,#content tt {
+ font-size: .9em;
+ font-family: Monaco,Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L","Courier New",Courier,monospace;
+ line-height: 1.5
+}
+
+#content code {
+ /*background: #f8f8ff;*/
+ background: rgb(249, 250, 252);
+ padding: 1px 2px;
+ border: 1px solid rgb(229, 232, 238);
+}
+
+#content pre code {
+ padding: 10px 12px;
+ word-wrap: normal
+}
+
+#content tt {
+ display: block;
+ margin: 1.625em 0
+}
+
+#content hr {
+ margin-bottom: 1.625em
+}
+
+#content table {
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
+ width: 100%
+}
+
+#content th,#content td {
+ padding: 5px 10px;
+ border: 1px solid #ccc
+}
+
+#content th {
+ background: #eee;
+ padding: 7px 10px
+}
+
+#content td {
+ font-size: .9em;
+ border-color: #ddd
+}
+
+#content tbody tr:nth-child(2n) {
+ background: #f5f5f5
+}
+
+@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (max-width : 480px) {
+ #nav {
+ position: static;
+ width: 100%;
+ height: auto;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ border-bottom: 1px solid #aaa
+ }
+
+ #content {
+ margin: 0;
+ padding: 30px;
+ position: relative
+ }
+
+ #github-ribbon img {
+ width: 100px
+ }
+}
View
3 deploy.conf
@@ -4,4 +4,5 @@ host documentup.com
repo git@github.com:jeromegn/DocumentUp.git
path /var/www/documentup.com
ref origin/master
-post-deploy ./scripts/post-deploy.sh
+pre-deploy ./scripts/pre_deploy.sh
+post-deploy ./scripts/post_deploy.sh
View
0 scripts/post-deploy.sh → scripts/post_deploy.sh
File renamed without changes.
View
1 scripts/pre_deploy.sh
@@ -0,0 +1 @@
+rm -rf public/stylesheets

0 comments on commit a208f48

Please sign in to comment.