Skip to content
Permalink
Browse files

Port of Casper theme, originally from Ghost

  • Loading branch information
ralsina committed May 11, 2017
1 parent 19825d7 commit fa719c0d2a93c5240a7f2f66a32d94287f568781
@@ -0,0 +1,9 @@
The MIT License (MIT)

Copyright (c) 2017 Roberto Alsina, Valere Jeantet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,14 @@
A port of the Casper theme from Ghost, via https://github.com/vjeantet/hugo-theme-casper/

License is MIT

Included is a copy of Genericons, which is GPLv2

The Silk Road image is CC licensed from
[Jonathan Kos-Read](http://www.flickr.com/photos/jonathankosread/)

Special variables

* TWITTER_URL
* GITHUB_URL
* BANNER_URL
@@ -0,0 +1,108 @@
nav.breadcrumb{
margin-bottom:0px;
}
nav.breadcrumb li {
display: inline ;
font-size: 14px;
font-family: helvetica;
}
nav.breadcrumb li a {
text-decoration: none;
}
nav.breadcrumb li a:after {
content: " >";
}

nav.navpage {
font-size: 1em;
font-family: helvetica;
width: 100%;

}

nav.navpage > ul {
background: #efefef;
background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
box-shadow: 0px 0px 90px rgba(0,0,0,0.15);
padding: 0 20px;
border-radius: 10px;
list-style: none;
position: relative;
display: inline-table;
width: 100%;
}
nav.navpage li {
list-style: none;
}

nav.navpage:after {
content: ""; clear: both; display: block;
}

nav.navpage > ul > li > a {
font-weight: bold;
text-decoration: none;
font-size: 1.2em;
font-variant: small-caps;
}


nav.navpage ul {
padding-left: 0px;
margin-left: 0px;
}
nav.navpage ul ul li {
display: block;
margin-left: 30px;
line-height: 1.2em;
}
nav.navpage ul ul li a {
text-decoration: none
}
nav.navpage ul ul li a:hover {
text-decoration: underline;
}
nav.navpage ul ul li:after {
content: "";
}

nav.navpage ul ul li ul li{
display: block;
font-size: smaller;
margin-left: 30px;
line-height: 1.1em;
}

nav.navchildren{
margin-top: 0px;
background: #efefef;
background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%);
background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%);
box-shadow: 0px 0px 90px rgba(0,0,0,0.15);
padding: 0 20px;
border-radius: 10px;
list-style: none;
position: relative;
display: inline-table;
width: 100%;
}

nav.navchildren li {
font-size: smaller;
line-height: 1.1em;
font-family: helvetica;
/*display: block;*/

}
nav.navchildren a {

line-height: 1.1em;

text-decoration: none
}
nav.navchildren a:hover {
text-decoration: underline;
}

0 comments on commit fa719c0

Please sign in to comment.