Skip to content

Commit

Permalink
readme + siteicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Neumegen committed Dec 1, 2016
1 parent 1ac3176 commit d657b43
Show file tree
Hide file tree
Showing 15 changed files with 160 additions and 128 deletions.
6 changes: 3 additions & 3 deletions Gemfile
@@ -1,8 +1,8 @@
source 'https://rubygems.org'

gem 'jekyll', '3.1.6'
gem 'jekyll', '3.3.1'

group :jekyll_plugins do
gem 'jekyll-sitemap', '0.11.0'
gem 'jekyll-seo-tag', '2.0.0'
gem 'jekyll-seo-tag', '2.1.0'
gem 'jekyll-sitemap', '0.12.0'
end
35 changes: 21 additions & 14 deletions Gemfile.lock
@@ -1,33 +1,40 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.4.0)
colorator (0.1)
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
colorator (1.1.0)
ffi (1.9.14)
jekyll (3.1.6)
colorator (~> 0.1)
forwardable-extended (2.6.0)
jekyll (3.3.1)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.4.0)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-seo-tag (2.0.0)
jekyll (~> 3.1)
jekyll-sitemap (0.11.0)
addressable (~> 2.4.0)
jekyll-seo-tag (2.1.0)
jekyll (~> 3.3)
jekyll-sitemap (0.12.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.11.1)
kramdown (1.13.0)
liquid (3.0.6)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
rb-fsevent (0.9.7)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.4)
rb-fsevent (0.9.8)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rouge (1.11.1)
Expand All @@ -38,9 +45,9 @@ PLATFORMS
ruby

DEPENDENCIES
jekyll (= 3.1.6)
jekyll-seo-tag (= 2.0.0)
jekyll-sitemap (= 0.11.0)
jekyll (= 3.3.1)
jekyll-seo-tag (= 2.1.0)
jekyll-sitemap (= 0.12.0)

BUNDLED WITH
1.12.5
7 changes: 7 additions & 0 deletions _api/_defaults.md
@@ -0,0 +1,7 @@
---
title:
position:
type:
description:
right_code:
---
16 changes: 7 additions & 9 deletions _config.yml
Expand Up @@ -5,6 +5,7 @@ title: Aviator
description: Jekyll template for API documentation.
url: https://example.com
google_analytics_key:
permalink: pretty

collections:
documentation:
Expand All @@ -20,19 +21,16 @@ gems:
exclude:
- readme.md
- LICENCE

defaults:
-
scope:
path: ""
values:
layout: default

# -----
# Build


# -----------
# CloudCannon

version: 3.0.3
types:
- get
- put
- delete
- post
7 changes: 7 additions & 0 deletions _documentation/_defaults.md
@@ -0,0 +1,7 @@
---
title:
position:
type:
description:
right_code:
---
9 changes: 7 additions & 2 deletions _layouts/default.html
Expand Up @@ -23,8 +23,7 @@
<body>
<header>
<h1>
<a href="/"><img src="/images/emblem.svg" width="40" height="40" alt="{{ site.title }} logo"></a>
{{ site.title }}
<a href="/"><img src="/images/logo.svg" height="40" alt="{{ site.title }} logo"></a>
<button type="button" class="open-nav" id="open-nav"></button>
</h1>

Expand All @@ -34,6 +33,12 @@ <h1>
</form>

{% include sidebar.html %}

<p class="copyright">
<a href="https://cloudcannon.com/">
Template by CloudCannon
</a>
</p>
</header>
<div class="main">
{{ content }}
Expand Down
49 changes: 23 additions & 26 deletions _sass/_main.scss
Expand Up @@ -363,21 +363,21 @@ hr {
li {
display: inline-block;

a {
display: block;
padding: 5px 10px;
z-index: 100;
border: 1px solid transparent;

&:hover {
border-color: #eee;
border-radius: 5px;
}

&.active:hover {
border-color: transparent;
}
}
a {
display: block;
padding: 5px 10px;
z-index: 100;
border: 1px solid transparent;

&:hover {
border-color: #eee;
border-radius: 5px;
}

&.active:hover {
border-color: transparent;
}
}
}
}

Expand Down Expand Up @@ -431,9 +431,6 @@ hr {
}

header {
$emblem-size: 35px;
$emblem-vertical-padding: ($nav-header-height - $emblem-size) / 2;
$emblem-horizontal-padding: $space;
max-height: 100vh;
position: fixed;
top: 0;
Expand All @@ -444,7 +441,6 @@ header {
background-color: $nav-background-color;

h1 {
padding: $emblem-vertical-padding $emblem-horizontal-padding;
height: $nav-header-height;
box-sizing: border-box;
background-color: $brand-colour;
Expand All @@ -461,9 +457,8 @@ header {
border-bottom: 1px solid rgba(0, 0, 0, 0.075);

img {
height: $emblem-size;
width: $emblem-size;
margin-right: $space - 5;
height: 26px;
margin: 0 18px;
}
}

Expand All @@ -472,12 +467,8 @@ header {
background-color: transparent;
background-repeat: no-repeat;
background-size: 100%;
width: $emblem-size;
height: $emblem-size;
border: 0;
position: absolute;
top: $emblem-vertical-padding;
right: $emblem-horizontal-padding;
border-radius: 2px;
cursor: pointer;

Expand Down Expand Up @@ -554,3 +545,9 @@ header {
}
}
}

.copyright {
text-align: center;
font-size: .6em;
margin: 30px 0 0 0;
}
Binary file added apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/_screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions images/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d657b43

Please sign in to comment.