diff --git a/state_data.json b/state_data.json index 90adf1f6..4cbb7c93 100644 --- a/state_data.json +++ b/state_data.json @@ -1,3 +1,3 @@ { - "last_deploy": "2016-08-01T03:03:20.628509" + "last_deploy": "2016-08-01T03:06:39.148076" } \ No newline at end of file diff --git a/themes/cadair/LICENSE b/themes/cadair/LICENSE new file mode 100644 index 00000000..02f2fc7c --- /dev/null +++ b/themes/cadair/LICENSE @@ -0,0 +1,23 @@ +Copyright (c) 2014, Stuart Mumford +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/themes/cadair/README.md b/themes/cadair/README.md new file mode 100644 index 00000000..0a46dad3 --- /dev/null +++ b/themes/cadair/README.md @@ -0,0 +1,21 @@ +cadair-nikola-theme +=================== + +Cadair's Nikola theme + +This theme is used on http://www.stuartmumford.co.uk. It is still in beta, and +needs a little work. It is based around a simple homepage with a pretty picture +in a bootstrap3 jumbotron. It also includes the IPython css so it should work +ok with IPython notebooks. + +Preview: http://i.imgur.com/wCcE7kx.png + +##Customising + +If you create a sub-theme of this theme and create a template which is a copy +of `homepage_helper.tmpl` you can customise the image credit text and if you +place a new file under `assets/img/home_banner.jpg` you can customise the +jumbotron image. +There is also the option to put custom code on the right hand side of the Nav +Bar using the `GLOBAL_CONTEXT` varible in `conf.py` define a key in the +dictionary with the name `'cadair_social_links'`. diff --git a/themes/cadair/assets/css/ipython.min.css b/themes/cadair/assets/css/ipython.min.css new file mode 100644 index 00000000..4623293a --- /dev/null +++ b/themes/cadair/assets/css/ipython.min.css @@ -0,0 +1,199 @@ +.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0} +.clearfix:after{clear:both} +.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0} +.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} +code{color:#000} +.border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box} +.corner-all{border-radius:4px} +.hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} +.hbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none} +.vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} +.vbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none} +.hbox.reverse,.vbox.reverse,.reverse{-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;flex-direction:row-reverse} +.hbox.box-flex0,.vbox.box-flex0,.box-flex0{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none;width:auto} +.hbox.box-flex1,.vbox.box-flex1,.box-flex1{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} +.hbox.box-flex,.vbox.box-flex,.box-flex{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} +.hbox.box-flex2,.vbox.box-flex2,.box-flex2{-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2} +.box-group1{-webkit-box-flex-group:1;-moz-box-flex-group:1;box-flex-group:1} +.box-group2{-webkit-box-flex-group:2;-moz-box-flex-group:2;box-flex-group:2} +.hbox.start,.vbox.start,.start{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start} +.hbox.end,.vbox.end,.end{-webkit-box-pack:end;-moz-box-pack:end;box-pack:end;justify-content:flex-end} +.hbox.center,.vbox.center,.center{-webkit-box-pack:center;-moz-box-pack:center;box-pack:center;justify-content:center} +.hbox.align-start,.vbox.align-start,.align-start{-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} +.hbox.align-end,.vbox.align-end,.align-end{-webkit-box-align:end;-moz-box-align:end;box-align:end;align-items:flex-end} +.hbox.align-center,.vbox.align-center,.align-center{-webkit-box-align:center;-moz-box-align:center;box-align:center;align-items:center} +div.error{margin:2em;text-align:center} +div.error>h1{font-size:500%;line-height:normal} +div.error>p{font-size:200%;line-height:normal} +div.traceback-wrapper{text-align:left;max-width:800px;margin:auto} +.center-nav{display:inline-block;margin-bottom:-4px} +.alternate_upload{background-color:none;display:inline} +.alternate_upload.form{padding:0;margin:0} +.alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px} +ul#tabs{margin-bottom:4px} +ul#tabs a{padding-top:4px;padding-bottom:4px} +ul.breadcrumb a:focus,ul.breadcrumb a:hover{text-decoration:none} +ul.breadcrumb i.icon-home{font-size:16px;margin-right:4px} +ul.breadcrumb span{color:#5e5e5e} +.list_toolbar{padding:4px 0 4px 0} +.list_toolbar [class*="span"]{min-height:26px} +.list_header{font-weight:bold} +.list_container{margin-top:4px;margin-bottom:20px;border:1px solid #ababab;border-radius:4px} +.list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} +.list_container>div:last-child{border:none} +.list_item:hover .list_item{background-color:#ddd} +.list_item a{text-decoration:none} +.list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px;height:22px;line-height:22px} +.item_name{line-height:22px;height:26px} +.item_icon{font-size:14px;color:#5e5e5e;margin-right:7px} +.item_buttons{line-height:1em} +.toolbar_info{height:26px;line-height:26px} +input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0} +input.engine_num_input{width:60px} +.highlight_text{color:#00f} +#project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} +.ansibold{font-weight:bold} +.ansiblack{color:#000} +.ansired{color:#8b0000} +.ansigreen{color:#006400} +.ansiyellow{color:#a52a2a} +.ansiblue{color:#00008b} +.ansipurple{color:#9400d3} +.ansicyan{color:#4682b4} +.ansigray{color:#808080} +.ansibgblack{background-color:#000} +.ansibgred{background-color:#f00} +.ansibggreen{background-color:#008000} +.ansibgyellow{background-color:#ff0} +.ansibgblue{background-color:#00f} +.ansibgpurple{background-color:#f0f} +.ansibgcyan{background-color:#0ff} +.ansibggray{background-color:#808080} +div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid} +div.cell.edit_mode{border-radius:4px;border:thin #008000 solid} +div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none} +div.prompt{min-width:11ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em} +@media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} +div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7} +div.prompt:empty{padding-top:0;padding-bottom:0} +div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} +@media (max-width:480px){div.input{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.input_prompt{color:#000080;border-top:1px solid transparent} +div.input_area>div.highlight{margin:.4em;border:none;padding:0;background-color:transparent} +div.input_area>div.highlight>pre{margin:0;border:0;padding:0;background-color:transparent;font-size:14px;line-height:1.21429em} +.CodeMirror{line-height:1.21429em;height:auto;background:none;} +.CodeMirror-scroll{overflow-y:hidden;overflow-x:auto} +@-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em} +.CodeMirror-linenumber{padding:0 8px 0 4px} +.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px} +.CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +pre code{display:block;padding:.5em} +.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000} +.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121} +.highlight-comment,pre .comment,pre .annotation,pre .template_comment,pre .diff .header,pre .chunk,pre .markdown .blockquote{color:#408080;font-style:italic} +.highlight-number,pre .number,pre .date,pre .regexp,pre .literal,pre .smalltalk .symbol,pre .smalltalk .char,pre .go .constant,pre .change,pre .markdown .bullet,pre .markdown .link_url{color:#080} +pre .label,pre .javadoc,pre .ruby .string,pre .decorator,pre .filter .argument,pre .localvars,pre .array,pre .attr_selector,pre .important,pre .pseudo,pre .pi,pre .doctype,pre .deletion,pre .envvar,pre .shebang,pre .apache .sqbracket,pre .nginx .built_in,pre .tex .formula,pre .erlang_repl .reserved,pre .prompt,pre .markdown .link_label,pre .vhdl .attribute,pre .clojure .attribute,pre .coffeescript .property{color:#88f} +.highlight-keyword,pre .keyword,pre .id,pre .phpdoc,pre .aggregate,pre .css .tag,pre .javadoctag,pre .phpdoc,pre .yardoctag,pre .smalltalk .class,pre .winutils,pre .bash .variable,pre .apache .tag,pre .go .typename,pre .tex .command,pre .markdown .strong,pre .request,pre .status{color:#008000;font-weight:bold} +.highlight-builtin,pre .built_in{color:#008000} +pre .markdown .emphasis{font-style:italic} +pre .nginx .built_in{font-weight:normal} +pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .javascript,pre .xml .vbscript,pre .xml .css,pre .xml .cdata{opacity:.5} +.cm-s-ipython span.cm-variable{color:#000} +.cm-s-ipython span.cm-keyword{color:#008000;font-weight:bold} +.cm-s-ipython span.cm-number{color:#080} +.cm-s-ipython span.cm-comment{color:#408080;font-style:italic} +.cm-s-ipython span.cm-string{color:#ba2121} +.cm-s-ipython span.cm-builtin{color:#008000} +.cm-s-ipython span.cm-error{color:#f00} +.cm-s-ipython span.cm-operator{color:#a2f;font-weight:bold} +.cm-s-ipython span.cm-meta{color:#a2f} +.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat} +div.output_wrapper{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} +div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);-moz-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);display:block} +div.output_collapsed{margin:0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} +div.out_prompt_overlay{height:100%;padding:0 .4em;position:absolute;border-radius:4px} +div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000;-moz-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000;background:rgba(240,240,240,0.5)} +div.output_prompt{color:#8b0000} +div.output_area{padding:0;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}div.output_area .MathJax_Display{text-align:left !important} +div.output_area .rendered_html table{margin-left:0;margin-right:0} +div.output_area .rendered_html img{margin-left:0;margin-right:0} +.output{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} +@media (max-width:480px){div.output_area{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.output_area pre{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:#000;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit} +div.output_subarea{padding:.4em .4em 0 .4em;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} +div.output_text{text-align:left;color:#000;line-height:1.21429em} +div.output_stderr{background:#fdd;} +div.output_latex{text-align:left} +div.output_javascript:empty{padding:0} +.js-error{color:#8b0000} +div.raw_input_container{font-family:monospace;padding-top:5px} +span.raw_input_prompt{} +input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em} +input.raw_input:focus{box-shadow:none} +p.p-space{margin-bottom:10px} +.rendered_html{color:#000;}.rendered_html em{font-style:italic} +.rendered_html strong{font-weight:bold} +.rendered_html u{text-decoration:underline} +.rendered_html :link{text-decoration:underline} +.rendered_html :visited{text-decoration:underline} +.rendered_html h1{font-size:185.7%;margin:1.08em 0 0 0;font-weight:bold;line-height:1} +.rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1} +.rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1} +.rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1} +.rendered_html h5{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic} +.rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic} +.rendered_html h1:first-child{margin-top:.538em} +.rendered_html h2:first-child{margin-top:.636em} +.rendered_html h3:first-child{margin-top:.777em} +.rendered_html h4:first-child{margin-top:1em} +.rendered_html h5:first-child{margin-top:1em} +.rendered_html h6:first-child{margin-top:1em} +.rendered_html ul{list-style:disc;margin:0 2em} +.rendered_html ul ul{list-style:square;margin:0 2em} +.rendered_html ul ul ul{list-style:circle;margin:0 2em} +.rendered_html ol{list-style:decimal;margin:0 2em} +.rendered_html ol ol{list-style:upper-alpha;margin:0 2em} +.rendered_html ol ol ol{list-style:lower-alpha;margin:0 2em} +.rendered_html ol ol ol ol{list-style:lower-roman;margin:0 2em} +.rendered_html ol ol ol ol ol{list-style:decimal;margin:0 2em} +.rendered_html *+ul{margin-top:1em} +.rendered_html *+ol{margin-top:1em} +.rendered_html hr{color:#000;background-color:#000} +.rendered_html pre{margin:1em 2em} +.rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:#000;font-size:100%;padding:0} +.rendered_html blockquote{margin:1em 2em} +.rendered_html table{margin-left:auto;margin-right:auto;border:1px solid #000;border-collapse:collapse} +.rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid #000;border-collapse:collapse;margin:1em 2em} +.rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px} +.rendered_html th{font-weight:bold} +.rendered_html *+table{margin-top:1em} +.rendered_html p{text-align:justify} +.rendered_html *+p{margin-top:1em} +.rendered_html img{display:block;margin-left:auto;margin-right:auto} +.rendered_html *+img{margin-top:1em} +div.text_cell{padding:5px 5px 5px 0;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} +@media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:#000} +a.anchor-link:link{text-decoration:none;padding:0 20px;visibility:hidden} +h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible} +div.cell.text_cell.rendered{padding:0} +.widget-area{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-area .widget-subarea{padding:.44em .4em .4em 1px;margin-left:6px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} +.widget-hlabel{min-width:10ex;padding-right:8px;padding-top:3px;text-align:right;vertical-align:text-top} +.widget-vlabel{padding-bottom:5px;text-align:center;vertical-align:text-bottom} +.widget-hreadout{padding-left:8px;padding-top:3px;text-align:left;vertical-align:text-top} +.widget-vreadout{padding-top:5px;text-align:center;vertical-align:text-top} +.slide-track{border:1px solid #ccc;background:#fff;border-radius:4px;} +.widget-hslider{padding-left:8px;padding-right:5px;overflow:visible;width:348px;height:5px;max-height:5px;margin-top:11px;margin-bottom:10px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-hslider .ui-slider{border:0 !important;background:none !important;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-hslider .ui-slider .ui-slider-handle{width:14px !important;height:28px !important;margin-top:-8px !important} +.widget-vslider{padding-bottom:8px;overflow:visible;width:5px;max-width:5px;height:250px;margin-left:12px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}.widget-vslider .ui-slider{border:0 !important;background:none !important;margin-left:-4px;margin-top:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-vslider .ui-slider .ui-slider-handle{width:28px !important;height:14px !important;margin-left:-9px} +.widget-text{width:350px;margin:0 !important} +.widget-listbox{width:364px;margin-bottom:0} +.widget-numeric-text{width:150px;margin:0 !important} +.widget-progress{width:363px}.widget-progress .bar{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none} +.widget-combo-btn{min-width:138px;} +.widget-box{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} +.widget-hbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} +.widget-hbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;height:30px} +.widget-vbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} +.widget-vbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;width:30px} +.widget-modal{overflow:hidden;position:absolute !important;top:0;left:0;margin-left:0 !important} +.widget-modal-body{max-height:none !important} +.widget-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} +.widget-radio-box{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding-top:4px} +.docked-widget-modal{overflow:hidden;position:relative !important;top:0 !important;left:0 !important;margin-left:0 !important} diff --git a/themes/cadair/assets/css/nikola_ipython.css b/themes/cadair/assets/css/nikola_ipython.css new file mode 100644 index 00000000..c17becad --- /dev/null +++ b/themes/cadair/assets/css/nikola_ipython.css @@ -0,0 +1,83 @@ +pre { + padding: 0.4em; + margin: 0px; + font-family: monospace, sans-serif; + border: none; +} + +div.prompt { +padding: 0.6em; +font-size: 13px; +} + +div.output_prompt { + /* 5px right shift to account for margin in parent container */ + margin: 0 5px 0 0px; +} + +div.output_area pre { +font-size: 13px; +} + +.highlight .hll { background-color: #ffffcc } +.highlight { background: #f8f8f8; } +.highlight .c { color: #408080; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #008000; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #BC7A00 } /* Comment.Preproc */ +.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #888888 } /* Generic.Output */ +.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #008000 } /* Keyword.Pseudo */ +.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #B00040 } /* Keyword.Type */ +.highlight .m { color: #666666 } /* Literal.Number */ +.highlight .s { color: #BA2121 } /* Literal.String */ +.highlight .na { color: #7D9029 } /* Name.Attribute */ +.highlight .nb { color: #008000 } /* Name.Builtin */ +.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */ +.highlight .no { color: #880000 } /* Name.Constant */ +.highlight .nd { color: #AA22FF } /* Name.Decorator */ +.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #0000FF } /* Name.Function */ +.highlight .nl { color: #A0A000 } /* Name.Label */ +.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #19177C } /* Name.Variable */ +.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #666666 } /* Literal.Number.Float */ +.highlight .mh { color: #666666 } /* Literal.Number.Hex */ +.highlight .mi { color: #666666 } /* Literal.Number.Integer */ +.highlight .mo { color: #666666 } /* Literal.Number.Oct */ +.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */ +.highlight .sc { color: #BA2121 } /* Literal.String.Char */ +.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #BA2121 } /* Literal.String.Double */ +.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */ +.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.highlight .sx { color: #008000 } /* Literal.String.Other */ +.highlight .sr { color: #BB6688 } /* Literal.String.Regex */ +.highlight .s1 { color: #BA2121 } /* Literal.String.Single */ +.highlight .ss { color: #19177C } /* Literal.String.Symbol */ +.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #19177C } /* Name.Variable.Class */ +.highlight .vg { color: #19177C } /* Name.Variable.Global */ +.highlight .vi { color: #19177C } /* Name.Variable.Instance */ +.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */ diff --git a/themes/cadair/assets/css/theme.css b/themes/cadair/assets/css/theme.css new file mode 100644 index 00000000..83097632 --- /dev/null +++ b/themes/cadair/assets/css/theme.css @@ -0,0 +1,108 @@ +html { + height: 100%; +} + +body { + height: 100%; + padding-top: 50px; + font-family: 'sans'; +/* background-color: #f7fffb; */ + font-size: large; +} + +.container { + hyphens: manual; + -webkit-hyphens: manual; + -moz-hyphens: manual; +} + +.container h1 { + text-align: center; + font-size: 450%; + font-weight: bold; + font-family: 'sans'; +} + +.storypage { + margin-top:10px; + padding-left: 5px; + padding-right: 5px; +} + +.metadata { + padding-left: 10px; +} + +h1 a { + color: #222222; +} + +h1, h2, h3, h4, h5, h6 { + margin-top: 0.2em; + hyphens: none; + -webkit-hyphens: none; + -moz-hyphens: none; +} + +.jumbotron { + position: relative; + height: 60%; + color: inherit; + background-image: url('../img/home_banner.jpg'); + background-position: top center; + background-size: cover; + padding: 9px 11px; + -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .25); + -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, .25); + box-shadow: 0 3px 8px rgba(0, 0, 0, .25); +} + +.jumbotron .photo-copy { + color: #fff; + position:absolute; + bottom:5px; + right:5px; + margin-bottom: -10px; +} + +.jumbotron .photo-copy a { + color: #fff; +} + +footer { + margin-bottom: 5px; +} + +.papertitle { + display: block; + font-weight: bold; + font-size: 110%; +} + +.paperblock { + padding-bottom: 1em; +} + +a .anchor { + display: block; + padding-top: 50px; +} + +/* YouTube responsive embed from +See more at: http://avexdesigns.com/responsive-youtube-embed/#sthash.bOTFuSnA.dpuf + */ +.video-container { + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; height: 0; overflow: hidden; +} + +.video-container iframe, +.video-container object, +.video-container embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/themes/cadair/assets/css/typeplate.css b/themes/cadair/assets/css/typeplate.css new file mode 100644 index 00000000..0c9a7a12 --- /dev/null +++ b/themes/cadair/assets/css/typeplate.css @@ -0,0 +1,534 @@ +/* + * + *.||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||. + * + * . '|| . + *.||. .... ... ... ... .... ... ... || .... .||. .... + * || '|. | ||' || .|...|| ||' || || '' .|| || .|...|| + * || '|.| || | || || | || .|' || || || + * '|.' '| ||...' '|...' ||...' .||. '|..'|' '|.' '|...' + * .. | || || + * '' '''' '''' + * + * URL ............ http://typeplate.com + * VERSION ........ 1.1.2 + * Github ......... https://github.com/typeplate/typeplate.github.io + * AUTHORS ........ Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain) + * LICENSE ........ Creative Commmons Attribution 3.0 + * LICENSE URL .... http://creativecommons.org/licenses/by/3.0 + * + * .||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||. + * + */ + + + +/** + * + * ======================================================================= + Unicode Ampersand + * ======================================================================= + */ + +@font-face { + font-family: "Ampersand"; + src: local("Georgia"), local("Garamond"), local("Palatino"), local("Book Antiqua"); + unicode-range: U+0026; +} + +@font-face { + font-family: "Ampersand"; + src: local("Georgia"); + unicode-range: U+270C; +} + + +/** + * + * Extend this class on any element of your + * choice for ampersands. + * + * For example: + +
What a wonderful day it is out there wouldn't you'd say?
+ + * ======================================================================= + */ + +.drop-cap:first-letter { + float: left; + margin: auto .25em auto auto; + padding: inherit; + font-size: 4em; + font-family: inherit; + line-height: 1; + text-indent: 0; + background: transparent; + color: inherit; +} + +p + .drop-cap { + text-indent: 0; + margin-top: 0; +} + + +/** + * + * ======================================================================= + Base Type + * ======================================================================= + * + */ + +html { + font: normal 112.5%/1.65 serif; /*base font size 18px with 1.65 line-height */ +} + +body { + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + -o-hyphens: auto; + hyphens: auto; + word-wrap: break-word; + color: #444444; +} + + +/** + * + * ======================================================================= + Fine Print + * ======================================================================= + */ + +small { + font-size: 65%; +} + + +/** + * + * ======================================================================= + Headings + * ======================================================================= + */ + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1; + margin-top: 0; + text-rendering: optimizeLegibility; /* voodoo to enable ligatures and kerning | https://developer.mozilla.org/en-US/docs/CSS/text-rendering */ + color: #222222; +} + + +/** +* Extend included classes on any element of your +* choosing for adjusting type based on the scale +* provided. + +* For example: + +a story about a dude
+ +* Our Type Scale is as follows with px fallbacks +* for IE 6-8 as they do not understand REM units. +* +* 18, 21, 24, 36, 48, 60, 72, 90, 117 +* +*/ + +.tera { + font-size: 117px; + font-size: 6.5rem; /* 117 / 18 = 6.5 */ + margin-bottom: 0.25385em; +} + +.giga { + font-size: 90px; + font-size: 5rem; /* 90 / 18 = 5 */ + margin-bottom: 0.33em; +} + +.mega { + font-size: 72px; + font-size: 4rem; /* 72 / 18 = 4 */ + margin-bottom: 0.4125em; +} + +h1, +.alpha { + font-size: 60px; + font-size: 3.33333rem; /* 60 / 18 = 3.3333 */ + margin-bottom: 0.495em; +} + +h2, +.beta { + font-size: 48px; + font-size: 2.6667rem; /* 48 / 18 = 2.6667 */ + margin-bottom: 0.61875em; +} + +h3, +.gamma { + font-size: 36px; + font-size: 2rem; /* 36 / 18 = 2 */ + margin-bottom: 0.825em; +} + +h4, +.delta { + font-size: 24px; + font-size: 1.3333333333333333rem; /* 24 / 18 = 1.3333 */ + margin-bottom: 1.2375em; +} + +h5, +.epsilon { + font-size: 21px; + font-size: 1.16667rem; /* 21 / 18 = 1.1667 */ + margin-bottom: 1.4142857142857141em; /* measure( base font-size(18) * base line-height(1.65) ) / current font-size(21) = margin-bottom(1.4142857142857141) */ +} + +h6, +.zeta { + font-size: 18px; + font-size: 1rem; /* 18 = 18 × 1 */ + margin-bottom: 1.65em; /* measure( base font-size(18) * base line-height(1.65) ) / current font-size(18) = margin-bottom(1.65) */ +} + +/* margin-bottom for headings: + * + * Explanation: + * Makes sure that there's always one unit of measure's worth of space between shit + * for headings. This is better than spacing using line-height because of the wrapping issue where we have + * wrapping onto 2 lines with a high line-height. + */ + + +/** + * + * ======================================================================= + Paragraphs and Indentation + * ======================================================================= + */ + +p { + margin: auto auto 1.5em; /* bottom margin for paragraphs */ +} + +p + p { + text-indent: 1.5em; /* indent subsequent paragraphs */ + margin-top: -1.5em; /* no top margin on subsequent paragraphs */ +} + + +/** + * + * ======================================================================= + Hyphens + * ======================================================================= + */ + +abbr, +acronym, +blockquote, +code, +dir, +kbd, +listing, +plaintext, +q, +samp, +tt, +var, +xmp { + /* Accepted values: [ none | manual | auto ] */ /* http://meyerweb.com/eric/thoughts/2012/12/17/where-to-avoid-css-hyphenation */ + -webkit-hyphens: none; /* Safari 5.1 thru 6, iOS 4.2 thru 6 */ + -moz-hyphens: none; /* Firefox 16 thru 20 */ + -ms-hyphens: none; /* IE10 */ + -o-hyphens: none; /* PRESTO...haha LOL */ + hyphens: none; /* W3C standard */ +} + + +/** + * + * ======================================================================= + Code Blocks + * ======================================================================= + */ + +pre code { + word-wrap: normal; + white-space: -moz-pre-wrap; + white-space: pre-wrap; /* http://css-tricks.com/almanac/properties/w/whitespace */ +} + +pre { + white-space: pre; +} + +code { + white-space: pre; + font-family: monospace; +} + + +/** + * + * ======================================================================= + * Abbreviations Markup + * Extend this object into your markup + + HMTL + + * Extend this object into your markup. + * ======================================================================= + */ + +abbr { + font-variant: small-caps; /* https://developer.mozilla.org/en-US/docs/CSS/font-variant */ + font-weight: 600; + text-transform: lowercase; + color: #808080; +} + +abbr[title]:hover { + cursor: help; /* cursor changed to a question mark when it has a title */ +} + + +/** + * + * ======================================================================= + Definition Lists + * ======================================================================= + */ + +/** + * Lining Definition Style Markup + * ++ ++