type-on-strap 2.0.3 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ {%- assign citation = site.data.biblio | where:"key", include.key | first -%}
2
+ <span class="cit-authors">{{citation.authors}}</span>, <span class="cit-title">{{citation.title}}</span>
@@ -1,10 +1,12 @@
1
- <div id="disqus_thread"></div>
2
- <script type="text/javascript">
3
- var disqus_shortname = '{{ site.disqus_shortname }}';
4
- (function() {
5
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
6
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
7
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
8
- })();
9
- </script>
10
- <noscript>{{ site.data.language.str_javascript_required_disqus | default: Please enable JavaScript to view comments." }}</noscript>
1
+ <div class="comments">
2
+ <div id="disqus_thread"></div>
3
+ <script type="text/javascript">
4
+ var disqus_shortname = '{{ site.disqus_shortname }}';
5
+ (function() {
6
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
7
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
8
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
9
+ })();
10
+ </script>
11
+ <noscript>{{ site.data.language.str_javascript_required_disqus | default: Please enable JavaScript to view comments." }}</noscript>
12
+ </div>
@@ -3,7 +3,7 @@
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
4
4
 
5
5
  <!-- Main JS (navbar.js, katex_init.js and masonry_init.js)-->
6
- <script defer=true src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
6
+ <script defer src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
7
7
 
8
8
  <!-- CSS -->
9
9
  <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
@@ -35,31 +35,36 @@
35
35
  <script src="{{ '/assets/js/vendor/katex.min.js' | relative_url }}"></script>
36
36
  {% endif %}
37
37
 
38
- <!-- Google Analytics -->
39
- {% if site.google_analytics %}
40
- <!-- Global site tag (gtag.js) -->
41
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
42
- <script>
43
- window.dataLayer = window.dataLayer || [];
44
- function gtag(){dataLayer.push(arguments);}
45
- gtag('js', new Date());
46
- gtag('config', '{{ site.google_analytics }}');
47
- </script>
48
-
49
- <!-- Page analysis (analytics.js) -->
50
- <script async src='https://www.google-analytics.com/analytics.js'></script>
38
+ <!-- Google Analytics / Cookie Consent -->
51
39
  <script>
52
- window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
53
- ga('create', '{{ site.google_analytics }}', 'auto');
54
- ga('send', 'pageview');
40
+ const cookieName = 'cookie-notice-dismissed-{{ site.url }}';
41
+ const isCookieConsent = '{{ site.cookie_consent }}';
42
+ const analyticsName = '{{ site.google_analytics }}';
55
43
  </script>
56
- {% endif %} <!-- End Google Analytics -->
44
+
45
+ {% if site.cookie_consent %}
46
+ <div id="cookie-notice"><span>{{ site.data.language.str_cookie_disclaimer | default: "We would like to use third party cookies and scripts to improve the functionality of this website." }}
47
+ </span><a id="cookie-notice-accept" class="button">{{ site.data.language.str_cookie_approve | default: "Approve" }}</a>
48
+ </div>
49
+ {% endif %}
50
+ {% if site.google_analytics %}
51
+ <!-- Global site tag (gtag.js) -->
52
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
53
+ <!-- Page analysis (analytics.js) -->
54
+ <script async src='https://www.google-analytics.com/analytics.js'></script>
55
+ {% endif %}
57
56
 
58
57
  <!-- seo tags -->
58
+ <meta property="og:image" content="{{ '/' | absolute_url }}{% if page.thumbnail %}{{ page.thumbnail }}{% else %}{{ page.feature-img | default: site.header_feature_image }}{% endif %}">
59
59
  {% seo %}
60
- <!-- Manual seo tags -->
61
- <!--
62
- <title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.title }}</title>
63
- <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
64
- -->
60
+
61
+ <!-- RSS -->
62
+ {% feed_meta %}
63
+
64
+ <!-- Twitter Cards -->
65
+ <meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.theme_settings.title }}{% endif %}">
66
+ <meta name="twitter:description" content="{{ page.content | strip_html | strip_newlines | truncate: 160 }}">
67
+ {% if site.theme_settings.twitter %}<meta name="twitter:creator" content="@{{ site.theme_settings.twitter }}">{% endif %}
68
+ <meta name="twitter:card" content="{% unless page.thumbnail %}summary{% else %}summary_large_image{% endunless %}">
69
+ <meta name="twitter:image" content="{{ '/' | absolute_url }}{% if page.thumbnail %}{{ page.thumbnail }}{% else %}{{ page.feature-img | default: site.header_feature_image }}{% endif %}">
65
70
  </head>
@@ -1,8 +1,8 @@
1
1
  {% if site.data.social.rss or site.theme_settings.rss %}
2
2
  <li>
3
- <a feed.xml href="{{ "" | absolute_url }}" title="{{ site.data.language.str_rss_follow | default: "Follow RSS feed"
4
- }}">
5
- <span class="fa-stack fa-lg">
3
+ <a feed.xml href="{{ absolute_url }}{{ site.data.social.feed.path | default: 'feed.xml' }}"
4
+ title="{{ site.data.language.str_rss_follow | default: "Follow RSS feed" }}">
5
+ <span class="fa-stack fa-lg">
6
6
  <i class="fa fa-circle fa-stack-2x"></i>
7
7
  <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
8
8
  </span>
@@ -1,35 +1,32 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article {% if page.feature-img %}class="feature-image"{% endif %} style="padding:0;">
5
- <header id="main" style="background-image: url('{{ page.feature-img | relative_url }}')">
6
- <h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
7
- <p class="meta">
8
- {{ page.date | date: "%B %-d, %Y" }}
9
- {% if page.author %} - {{ page.author }}{% endif %}
10
- </p>
11
- </header>
12
- <section class="post-content">{{ content }}</section>
13
-
14
- <div style="display: inline-block;">
15
- <!-- Social media shares -->
16
- {% include share_buttons.html %}
17
-
18
- <!-- Tag list -->
19
- {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
20
- {% include tags_list.html tags=tag_list %}
4
+
5
+ <article {% if page.feature-img %}class="feature-image" {% endif %} style="padding:0;">
6
+ <header id="main" style="background-image: url('{{ page.feature-img | relative_url }}')">
7
+ <h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
8
+ {% if include.is_post %}
9
+ {% include post_info.html author=page.author date=page.date %}
10
+ {% else %}
11
+ </header>
12
+ <section class="post-content">{{ content }}</section>
13
+
14
+ <div style="display: inline-block;">
15
+ <!-- Social media shares -->
16
+ {% if include.is_post %} {% include share_buttons.html %} {% endif %}
17
+
18
+ <!-- Tag list -->
19
+ {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
20
+ {% include tags_list.html tags=tag_list %}
21
21
  </div>
22
-
22
+
23
23
  </article>
24
24
 
25
25
  <!-- Disqus -->
26
- {% if site.disqus_shortname %}
27
- <div class="comments">
28
- {% include disqus.html %}
29
- </div>
30
- {% endif %}
26
+ {% if site.disqus_shortname or site.theme_settings.disqus_shortname %}
27
+ {% include disqus.html %}{% endif %}
31
28
 
32
29
  <!-- Post navigation -->
33
30
  {% if site.post_navigation %}
34
- {% include post_nav.html %}
31
+ {% include post_nav.html %}
35
32
  {% endif %}
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.0.0
4
- Copyright 2016-2019 Sylhare
3
+ Type on Strap jekyll theme v2.2.5
4
+ Copyright 2016-2020 Sylhare
5
5
  Theme free for personal and commercial use under the MIT license
6
6
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
7
7
  -->
@@ -4,11 +4,11 @@ layout: default
4
4
 
5
5
  <div class="home">
6
6
 
7
- <div id="main" class="call-out"
8
- style="background-image: url('{{ site.header_feature_image | relative_url }}')">
9
- <h1> {{ site.header_text | default: "Change <code>header_text</code> in <code>_config.yml</code>"}} </h1>
10
- </div>
7
+ <div id="main" class="call-out"
8
+ style="background-image: url('{{ site.header_feature_image | relative_url }}')">
9
+ <h1> {{ site.header_text | default: "Change <code>header_text</code> in <code>_config.yml</code>"}} </h1>
10
+ </div>
11
+
12
+ {% include blog.html %}
11
13
 
12
- {% include blog.html %}
13
-
14
14
  </div>
@@ -1,19 +1,22 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% include share_thumbnail.html page=page %}
5
4
 
6
5
  <article {% if page.feature-img %}class="feature-image"{% endif %}>
6
+
7
7
  <header id="main" style="background-image: url('{{ page.feature-img | relative_url }}')">
8
- <h1 id="{{ page.title | default: "" | cgi_escape }}" class="title">
9
- {{ page.title }}
10
- </h1>
11
-
12
- {% if page.subtitle %}
13
- <h2 class="subtitle">{{ page.subtitle }}</h2>
14
- {% endif %}
15
-
8
+ <div class="title-padder">
9
+ {% if page.hide_title %}
10
+ <div class="feature-image-padding"></div>
11
+ {% else %}
12
+ <h1 id="{{ page.title | default: "" | cgi_escape }}" class="title"> {{ page.title }}</h1>
13
+ {% if page.subtitle %}
14
+ <h2 class="subtitle">{{ page.subtitle }}</h2>
15
+ {% endif %}
16
+ {% endif %}
17
+ </div>
16
18
  </header>
19
+
17
20
  <section class="post-content">
18
21
  {% if page.bootstrap %}
19
22
  <div class="bootstrap-iso">
@@ -23,10 +26,10 @@ layout: default
23
26
  </div>
24
27
  {% endif %}
25
28
  </section>
26
-
27
-
29
+
30
+
28
31
  <!-- Tag list for portfolio -->
29
32
  {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
30
33
  {% include tags_list.html tags=tag_list %}
31
-
34
+
32
35
  </article>
@@ -1,15 +1,18 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- {% include share_thumbnail.html page=page %}
5
-
6
- <article {% if page.feature-img or page.color %}class="feature-image"{% endif %}>
4
+ <article {% if page.feature-img or page.color %}class="feature-image" {% endif %}>
7
5
  <header id="main" style="">
8
- {% unless page.hide_title %}
6
+ <div class="title-padder">
7
+ {% if page.hide_title %}
8
+ <div class="feature-image-padding"></div>
9
+ {% else %}
9
10
  <h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
10
11
  {% include post_info.html author=page.author date=page.date %}
11
- {% endunless %}
12
+ {% endif %}
13
+ </div>
12
14
  </header>
15
+
13
16
  <section class="post-content">
14
17
  {% if page.bootstrap %}
15
18
  <div class="bootstrap-iso">
@@ -31,10 +34,7 @@ layout: default
31
34
 
32
35
  <!-- Disqus -->
33
36
  {% if site.disqus_shortname or site.theme_settings.disqus_shortname %}
34
- <div class="comments">
35
- {% include disqus.html %}
36
- </div>
37
- {% endif %}
37
+ {% include disqus.html %}{% endif %}
38
38
 
39
39
  <!-- Post navigation -->
40
40
  {% if site.post_navigation or site.theme_settings.post_navigation %}
@@ -44,16 +44,16 @@ layout: default
44
44
  <!-- To change color of links in the page -->
45
45
  <style>
46
46
  {% if page.color %}
47
- .feature-image a { color: {{ page.color }} !important; }
48
- div#post-nav a { color: {{ page.color }} !important; }
49
- footer a { color: {{ page.color }} !important; }
50
- .site-header nav a:hover { color: {{ page.color }} !important; }
51
- header#main { background-color: {{ page.color }} !important; }
47
+ .feature-image a { color: {{ page.color }} !important; }
48
+ div#post-nav a { color: {{ page.color }} !important; }
49
+ footer a { color: {{ page.color }} !important; }
50
+ .site-header nav a:hover { color: {{ page.color }} !important; }
51
+ header#main { background-color: {{ page.color }} !important; }
52
52
  {% endif %}
53
53
 
54
54
  header#main {
55
55
  background-repeat:no-repeat;
56
- {% if page.feature-img %} background-image: url('{{ page.feature-img | relative_url }}');
57
- {% elsif page.color %}background-image: url('{{ site.color_image | relative_url }}'); {% endif %}
56
+ {% if page.feature-img %} background-image: url('{{ page.feature-img | relative_url }}');
57
+ {% elsif page.color %}background-image: url('{{ site.color_image | relative_url }}'); {% endif %}
58
58
  }
59
59
  </style>
@@ -3,14 +3,14 @@ layout: page
3
3
  ---
4
4
 
5
5
  <!-- Html Elements for Search -->
6
- <input type="text" id="search-input" placeholder="Enter keywords..." class="search-bar">
6
+ <input type="text" id="search-input" placeholder="Enter keywords..." class="search-bar" autofocus>
7
7
  <br>
8
8
  <br>
9
9
  <ul id="results-container"></ul>
10
10
 
11
11
  <section>
12
12
  <!-- Script pointing to jekyll-search.js -->
13
- <script src="{{ "/assets/js/vendor/simple-jekyll-search.min.js" | relative_url }}" type="text/javascript"></script>
13
+ <script src="{{ '/assets/js/vendor/simple-jekyll-search.min.js' | relative_url }}" type="text/javascript"></script>
14
14
 
15
15
  <script type="text/javascript">
16
16
  SimpleJekyllSearch({
@@ -18,7 +18,7 @@ layout: page
18
18
  resultsContainer: document.getElementById('results-container'),
19
19
  json: '{{ "/assets/data/search.json" | relative_url }}',
20
20
  searchResultTemplate: '<div class="search-title"><a href="{url}"><h3> {title}</h3></a><div class="meta">{date} <div class="right"><i class="fa fa-tag"></i> {tags}</div></div><p>{excerpt}</p></div><hr> ',
21
- noResultsText: 'No results found',
21
+ noResultsText: '{{ site.data.language.str_no_result_found | default: "No result found" }}',
22
22
  limit: 10,
23
23
  fuzzy: false,
24
24
  exclude: []
@@ -76,6 +76,8 @@ object,
76
76
  video {
77
77
  max-width: 100%;
78
78
  padding: 0 9%;
79
+ margin-left: auto;
80
+ margin-right: auto;
79
81
  }
80
82
 
81
83
  img[align=left] {
@@ -104,12 +106,6 @@ img[align=right] {
104
106
  p, li, td {
105
107
  font-size: 0.8em;
106
108
  }
107
- li li {
108
- font-size: 0.95em;
109
- }
110
- li li * {
111
- font-size: 1em;
112
- }
113
109
 
114
110
  iframe,
115
111
  img,
@@ -209,6 +205,7 @@ dl,
209
205
  // Lists within lists
210
206
  li {
211
207
  p {
208
+ font-size: inherit;
212
209
  display: inline;
213
210
  }
214
211
 
@@ -0,0 +1,288 @@
1
+ // ==========================================================================
2
+ // Syntax highlighting
3
+ // ==========================================================================
4
+
5
+ div.highlighter-rouge,
6
+ figure.highlight,
7
+ .highlight code {
8
+ position: relative;
9
+ background: $base00;
10
+ color: $base05;
11
+ font-family: $monospace;
12
+ font-size: $font-size-code;
13
+ line-height: $font-height-code;
14
+ border-radius: $border-radius;
15
+
16
+
17
+ > pre,
18
+ pre.highlight {
19
+ margin: 0;
20
+ padding: 1em;
21
+ }
22
+ }
23
+
24
+ li .highlight * {
25
+ font-size: 14px;
26
+ }
27
+
28
+ pre .rouge-table,
29
+ .highlight pre,
30
+ .code pre {
31
+ margin: 0;
32
+ }
33
+
34
+ .rouge-table * {
35
+ font-size: 1em;
36
+ }
37
+
38
+ li div.highlighter-rouge {
39
+ margin-top: 0.5em;
40
+ }
41
+
42
+ div.highlighter-rouge,
43
+ figure.highlight {
44
+ margin-bottom: 1em;
45
+ }
46
+
47
+ code.highlighter-rouge {
48
+ padding: 0.2em 0.4em;
49
+ font-size: $font-size-code;
50
+ background-color: transparentize($base00, 0.85);
51
+ color: rgb(36, 41, 46);
52
+ border-radius: 2px;
53
+ font-family: $monospace;
54
+ }
55
+
56
+ .highlight table {
57
+ margin-bottom: 0;
58
+ font-size: 1em;
59
+ border: 0;
60
+
61
+ td {
62
+ padding: 0;
63
+ width: calc(100% - 1em);
64
+ border: 0;
65
+ /* line numbers*/
66
+ &.gutter,
67
+ &.rouge-gutter {
68
+ padding-right: 1em;
69
+ width: 2em;
70
+ color: $base04;
71
+ border-right: 1px solid $base04;
72
+ text-align: right
73
+ }
74
+
75
+ /* code */
76
+ &.code,
77
+ &.rouge-code {
78
+ padding-left: 1em
79
+ }
80
+ }
81
+
82
+ pre {
83
+ margin: 0
84
+ }
85
+ }
86
+
87
+ .highlight pre {
88
+ width: 100%
89
+ }
90
+
91
+ .highlight .hll {
92
+ background-color: $base06
93
+ }
94
+
95
+ .highlight {
96
+ .bp{ /* Name.Builtin.Pseudo */
97
+ color: $base0c }
98
+ .c { /* Comment */
99
+ color: $base04 }
100
+ .cm{ /* Comment.Multiline */
101
+ color: $base04 }
102
+ .cp{ /* Comment.Preproc */
103
+ color: $base04 }
104
+ .c1{ /* Comment.Single */
105
+ color: $base04 }
106
+ .cs{ /* Comment.Special */
107
+ color: $base04 }
108
+ .dl{ /* String.Quotes 8 */
109
+ color: $base0a }
110
+ .err { /* Error */
111
+ color: $base0c }
112
+ .gd{ /* Generic.Deleted */
113
+ color: $base0c }
114
+ .ge{ /* Generic.Emph */
115
+ font-style: italic }
116
+ .gh{ /* Generic.Heading */
117
+ color: $base05;font-weight: bold }
118
+ .gi{ /* Generic.Inserted */
119
+ color: $base0a }
120
+ .gp{ /* Generic.Prompt */
121
+ color: $base04;font-weight: bold }
122
+ .gs{ /* Generic.Strong */
123
+ font-weight: bold }
124
+ .gu{ /* Generic.Subheading */
125
+ color: $base08;font-weight: bold }
126
+ .il{ /* Literal.Number.Integer.Long */
127
+ color: $base0e }
128
+ .k { /* Keyword */
129
+ color: $base0d }
130
+ .kc{ /* Keyword.Constant */
131
+ color: $base0d }
132
+ .kd{ /* Keyword.Declaration */
133
+ color: $base0d }
134
+ .kn{ /* Keyword.Namespace */
135
+ color: $base09 }
136
+ .kp{ /* Keyword.Pseudo */
137
+ color: $base0d }
138
+ .kr{ /* Keyword.Reserved */
139
+ color: $base0d }
140
+ .kt{ /* Keyword.Type */
141
+ color: $base09 }
142
+ .l{ /* Literal */
143
+ color: $base0e }
144
+ .ld{ /* Literal.Date */
145
+ color: $base0a }
146
+ .m{ /* Literal.Number */
147
+ color: $base0e }
148
+ .mb{ /* Literal.Bytes */
149
+ color: $base0e }
150
+ .mf{ /* Literal.Number.Float */
151
+ color: $base0e }
152
+ .mh{ /* Literal.Number.Hex */
153
+ color: $base0e }
154
+ .mi{ /* Literal.Number.Integer */
155
+ color: $base0e }
156
+ .mo{ /* Literal.Number.Oct */
157
+ color: $base0e }
158
+ .n{ /* Name */
159
+ color: $base05 }
160
+ .na{ /* Name.Attribute */
161
+ color: $base0b }
162
+ .nb{ /* Name.Builtin */
163
+ color: $base05 }
164
+ .nc{ /* Name.Class */
165
+ color: $base05 }
166
+ .no{ /* Name.Constant */
167
+ color: $base05 }
168
+ .nd{ /* Name.Decorator */
169
+ color: $base0f }
170
+ .ni{ /* Name.Entity */
171
+ color: $base05 }
172
+ .ne{ /* Name.Exception */
173
+ color: $base0c }
174
+ .nf{ /* Name.Function */
175
+ color: $base0b }
176
+ .nl{ /* Name.Label */
177
+ color: $base05 }
178
+ .nn{ /* Name.Namespace */
179
+ color: $base05 }
180
+ .nt{ /* Name.Tag */
181
+ color: $base08 }
182
+ .nv{ /* Name.Variable */
183
+ color: $base0c }
184
+ .nx{ /* Name.Other */
185
+ color: $base0b }
186
+ .o{ /* Operator */
187
+ color: $base08 }
188
+ .ow{ /* Operator.Word */
189
+ color: $base0d }
190
+ .p{ /* Punctuation */
191
+ color: $base05 }
192
+ .py{ /* Name.Property */
193
+ color: $base05 }
194
+ .s{ /* Literal.String */
195
+ color: $base0a }
196
+ .sb{ /* Literal.String.Backtick */
197
+ color: $base0a }
198
+ .sc{ /* Literal.String.Char */
199
+ color: $base05 }
200
+ .sd{ /* Literal.String.Doc */
201
+ color: $base04 }
202
+ .s2{ /* Literal.String.Double */
203
+ color: $base0a }
204
+ .se{ /* Literal.String.Escape */
205
+ color: $base0e }
206
+ .sh{ /* Literal.String.Heredoc */
207
+ color: $base0a }
208
+ .si{ /* Literal.String.Interpol */
209
+ color: $base0e }
210
+ .sx{ /* Literal.String.Other */
211
+ color: $base0a }
212
+ .sr{ /* Literal.String.Regex */
213
+ color: $base0a }
214
+ .s1{ /* Literal.String.Single */
215
+ color: $base0a }
216
+ .ss{ /* Literal.String.Symbol */
217
+ color: $base0a }
218
+ .vc{ /* Name.Variable.Class */
219
+ color: $base0c }
220
+ .vg{ /* Name.Variable.Global */
221
+ color: $base0c }
222
+ .vi{ /* Name.Variable.Instance */
223
+ color: $base0c }
224
+ .w{ /* Text.Whitespace */
225
+ color: $base05 }
226
+ }
227
+
228
+ // Fix Github syntax display
229
+ .gist .blob-num {
230
+ width: 3.5% !important;
231
+ }
232
+
233
+ .gist {
234
+ th, td {
235
+ border-bottom: 0;
236
+ }
237
+ }
238
+
239
+ // Fix nbconvert dataframe
240
+ .dataframe tbody {
241
+ font-size: 0.8em;
242
+ border-color: white;
243
+
244
+ tr {
245
+ :nth-child(even) {
246
+ background-color: #f8f8f8;
247
+ }
248
+
249
+ th {
250
+ border-top: 0;
251
+ border-left: 0;
252
+ border-bottom: 0;
253
+ }
254
+
255
+
256
+ td {
257
+ padding: 0;
258
+ border: 0;
259
+ text-align: center;
260
+ }
261
+ }
262
+
263
+
264
+ }
265
+
266
+ .dataframe thead tr {
267
+ :nth-child(n+2) {
268
+ color: black;
269
+ //width: 100px;
270
+
271
+ font-size: 0.75em;
272
+ text-align: center !important;
273
+ border-top: 0;
274
+ border-left: 0;
275
+ border-right: 0;
276
+ }
277
+
278
+ :first-child {
279
+ border-top: 0;
280
+ border-left: 0;
281
+ }
282
+
283
+ }
284
+
285
+ table.dataframe {
286
+ border: 0 solid $border-color;
287
+ border-collapse: collapse;
288
+ }