Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Move cadair inside the repo
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
- Loading branch information
Showing
12 changed files
with
852 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cadair
deleted from
449d14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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%; | ||
} |
Oops, something went wrong.