Skip to content

Commit cde7fa3

Browse files
committed
bumped version to v1.3.0 - added horizontal scrolling for HighlightJs; add styles for horizontal/vertical scrolling
1 parent 978ec70 commit cde7fa3

11 files changed

+90
-15
lines changed

assets/css/bastard.css

+39-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Bastard - A Boilerplate Theme for Ghost using Twitter Bootstrap, Font Awesome Icons, SASS, Bower, and Gulp
3-
* @version v1.2.3
3+
* @version v1.3.0
44
* @homepage https://github.com/karloespiritu/Bastard
55
* @copyright 2016 Karlo Espiritu
66
* @license MIT
@@ -6292,8 +6292,10 @@ button.close {
62926292
11. Footer
62936293
12. Social
62946294
13. Slider Menu
6295-
14. Media Queries
6296-
15. Animations
6295+
14. Scrollbars
6296+
15. HighlightJs
6297+
16. Media Queries
6298+
17. Animations
62976299
*/
62986300
/* ==========================================================================
62996301
Theme colors
@@ -7546,7 +7548,39 @@ h1.post-title {
75467548
height: 5px; }
75477549

75487550
/* ==========================================================================
7549-
14. Media Queries - Smaller than 900px
7551+
14. Thin Scrollbar - Display thin scrollbars
7552+
========================================================================== */
7553+
/* Thin Scrollbar */
7554+
::-webkit-scrollbar {
7555+
width: 8px; }
7556+
7557+
::-webkit-scrollbar-button {
7558+
width: 8px;
7559+
height: 5px; }
7560+
7561+
::-webkit-scrollbar-track {
7562+
background: #333;
7563+
border: thin solid #111;
7564+
border-radius: 10px; }
7565+
7566+
::-webkit-scrollbar-thumb {
7567+
background: #222;
7568+
border: thin solid #222;
7569+
border-radius: 10px; }
7570+
7571+
::-webkit-scrollbar-thumb:hover {
7572+
background: #7d7d7d; }
7573+
7574+
/* ==========================================================================
7575+
15. HighlightJs
7576+
Custom styles for HighlightJs
7577+
========================================================================== */
7578+
.hljs {
7579+
white-space: pre;
7580+
word-wrap: normal; }
7581+
7582+
/* ==========================================================================
7583+
16. Media Queries - Smaller than 900px
75507584
========================================================================== */
75517585
@media only screen and (max-width: 900px) {
75527586
blockquote {
@@ -7738,7 +7772,7 @@ h1.post-title {
77387772
below this point, or it will probably fuck everything up.
77397773
========================================================================== */
77407774
/* ==========================================================================
7741-
15. Animations
7775+
17. Animations
77427776
Add subtle load-in animation for content on the home page
77437777
========================================================================== */
77447778
.blog-logo img {

assets/css/bastard.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Bastard - A Boilerplate Theme for Ghost using Twitter Bootstrap, Font Awesome Icons, SASS, Bower, and Gulp
3-
* @version v1.2.3
3+
* @version v1.3.0
44
* @homepage https://github.com/karloespiritu/Bastard
55
* @copyright 2016 Karlo Espiritu
66
* @license MIT

assets/js/scripts.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/bastard.scss

+6-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
11. Footer
2121
12. Social
2222
13. Slider Menu
23-
14. Media Queries
24-
15. Animations
23+
14. Scrollbars
24+
15. HighlightJs
25+
16. Media Queries
26+
17. Animations
2527
*/
2628

2729
@import "partials/colors";
@@ -38,5 +40,7 @@
3840
@import "partials/footer";
3941
@import "partials/social";
4042
@import "partials/slidemenu";
43+
@import "partials/scrollbars";
44+
@import "partials/highlight";
4145
@import "partials/mediaqueries";
4246
@import "partials/animations";

assets/sass/partials/_animations.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ==========================================================================
2-
15. Animations
2+
17. Animations
33
Add subtle load-in animation for content on the home page
44
========================================================================== */
55
.blog-logo img {

assets/sass/partials/_highlight.scss

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* ==========================================================================
2+
15. HighlightJs
3+
Custom styles for HighlightJs
4+
========================================================================== */
5+
6+
.hljs {
7+
white-space: pre;
8+
word-wrap: normal;
9+
}

assets/sass/partials/_mediaqueries.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ==========================================================================
2-
14. Media Queries - Smaller than 900px
2+
16. Media Queries - Smaller than 900px
33
========================================================================== */
44

55
@media only screen and (max-width: 900px) {

assets/sass/partials/_scrollbars.scss

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* ==========================================================================
2+
14. Thin Scrollbar - Display thin scrollbars
3+
========================================================================== */
4+
5+
/* Thin Scrollbar */
6+
::-webkit-scrollbar {
7+
width: 8px;
8+
}
9+
10+
::-webkit-scrollbar-button {
11+
width: 8px;
12+
height: 5px;
13+
}
14+
15+
::-webkit-scrollbar-track {
16+
background: #333;
17+
border: thin solid #111;
18+
border-radius: 10px;
19+
}
20+
21+
::-webkit-scrollbar-thumb {
22+
background: #222;
23+
border: thin solid #222;
24+
border-radius: 10px;
25+
&:hover {
26+
background: #7d7d7d;
27+
}
28+
}

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Bastard",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"dependencies": {
55
"bootstrap-sass": "^3.3.6",
66
"highlightjs": "^9.4.0"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Bastard",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"description": "A Boilerplate Theme for Ghost using Twitter Bootstrap, Font Awesome Icons, SASS, Bower, and Gulp",
55
"author": {
66
"name": "Karlo Espiritu",

0 commit comments

Comments
 (0)