docs-cambiocds-com-jekyll-theme 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 445194e7fe48c865ce95e98f095aa25fcf2bd16d
4
- data.tar.gz: ae7bbbe242c71b28bd32f71c44cecefd46b23eec
3
+ metadata.gz: 70cdf60d1746a8cb758da5ea693232425e00394b
4
+ data.tar.gz: 8a3980a6e427ec1e331cbedd5e5053565133d7bd
5
5
  SHA512:
6
- metadata.gz: a90ba350b1673f596e19fd3eab586a66d8000bdb1460b1913266def473f0f46296a72e307d548549048d327ff272681db5fa0005db905832be86b7d04f523bde
7
- data.tar.gz: 01af0255f965d9abc312f7f3409c4d270fad8520e17e6c35b06773335765ae5b5386f5a536199412bf6b3f5680af045ba3d8a5c5c2a51cd18167c2678fdbdf66
6
+ metadata.gz: acd2faef5825e4e764b281aee9cd440fb9a3badccf712e059e9f6dcd68a33b1b2c007c2530b2e0f38da37daa21fb54018d7f8666556b8bae2a11c691d7aee1ce
7
+ data.tar.gz: 3bde58d8e48b3601f4cf8ade5c23a4122464bf61d76c2691a6f80c4762092e479d14e0184f1cb80a05cf3dc97f90402b3bfc052aa1a7d93236edb2aca2a91c33
@@ -19,7 +19,7 @@
19
19
  </head>
20
20
  <body>
21
21
  <!-- Nav Bar -->
22
- <nav class="navbar navbar-expand">
22
+ <nav class="navbar fixed-top navbar-expand">
23
23
  <a class="navbar-brand" href="http://docs.cambiocds.com">CDS Documentation</a>
24
24
  <div class="collapse navbar-collapse">
25
25
  {% if site.title != 'CDS Documentation' %}
@@ -61,7 +61,14 @@
61
61
  {% endif %}
62
62
  <!-- Main Blog Content -->
63
63
  <div class="large-12 columns" role="content">
64
+ {% if site.title != "CDS Documentation" %}
65
+ <div id="toc" class="toc2" >
66
+ {{ page.document | tocify_asciidoc }}
67
+ </div>
68
+ {{ content }}
69
+ {% else %}
64
70
  {{ content }}
71
+ {% endif %}
65
72
  </div>
66
73
  <!-- End Main Content -->
67
74
  <!-- End Main Content and Sidebar -->
@@ -147,7 +147,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
147
147
  #toc a{text-decoration:none}
148
148
  #toc a:active{text-decoration:underline}
149
149
  #toctitle{color:#7a2518;font-size:1.2em}
150
- @media only screen and (min-width:768px){#toctitle{font-size:1.375em}
150
+ @media only screen and (min-width:1650px){#toctitle{font-size:1.375em}
151
151
  body.toc2{padding-left:15em;padding-right:0}
152
152
  #toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
153
153
  #toc.toc2 #toctitle{margin-top:0;font-size:1.2em}
@@ -3,6 +3,7 @@ html {
3
3
  min-height: 100%;
4
4
  }
5
5
  body {
6
+ margin-top: 60px;
6
7
  margin-bottom: 60px;
7
8
  position: initial;
8
9
  }
@@ -53,9 +54,31 @@ li.nav-item h1 a:hover {
53
54
  }
54
55
  h2#adocTitle {
55
56
  max-width: 62.5rem;
57
+ margin-top: 5%;
56
58
  margin-right: auto;
57
59
  margin-left: auto;
58
60
  }
61
+ @media only screen and (min-width: 768px) {
62
+ div#toc.toc2 {
63
+ z-index: -1;
64
+ width: unset;
65
+ }
66
+ }
67
+ @media only screen and (min-width: 1650px) {
68
+ div#toc.toc2 {
69
+ width: 20em;
70
+ }
71
+ }
72
+ @media only screen and (min-width: 1650px) {
73
+ div#toc.toc2>ul {
74
+ padding-top: 20%;
75
+ }
76
+ }
77
+ #toc {
78
+ margin-right: auto;
79
+ margin-left: auto;
80
+ max-width: 62.5rem;
81
+ }
59
82
  .card {
60
83
  margin-top: 20px;
61
84
  margin-bottom: 20px;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docs-cambiocds-com-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MIG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
33
+ version: '1.14'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: '1.14'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement