Skip to content

Commit a67a0f8

Browse files
author
Jordan McCullough
committed
Merge pull request #107 from github/workbook-style-tuneup
Tunes stylesheet and removes unnecessary customization to elements in Workbook. Adds support for `https` protocol external link Octicon. Includes wrapper for grid layout support on Workbook content.
2 parents 12e2681 + e3b0380 commit a67a0f8

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed

_layouts/workbook.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ <h2>{{ page.title }}</h2>
3333
</label>
3434
</div>
3535

36-
<!-- <nav class="toc">
37-
TOC
38-
</nav> -->
39-
40-
<span id="scope">
41-
{{ content }}
42-
</span>
36+
<div class="content">
37+
<span id="scope">
38+
{{ content }}
39+
</span>
40+
</div>
4341
</div>
4442
</section>
4543

_stylesheets/workbook.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_stylesheets/workbook.scss

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
.workbook{
2121
/* General external link */
22-
a[href^="http://"] {
22+
a[href^="http://"],
23+
a[href^="https://"] {
2324
@include octicon-link("\f0b6");
2425
}
2526

@@ -186,20 +187,6 @@ pre:before {
186187
opacity: .4;
187188
}
188189

189-
ul{
190-
padding-top: 10px;
191-
padding-bottom: 10px;
192-
margin-left: 40px;
193-
}
194-
195-
p{
196-
text-indent: 5px;
197-
margin-left: 30px;
198-
margin-bottom: 20px;
199-
}
200-
201-
202-
203190
blockquote{
204191
width: 80%;
205192
line-height: 140%;

0 commit comments

Comments
 (0)