jekyll-theme-type-on-strap 6.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +97 -36
- data/_data/language.yml +13 -0
- data/_includes/blog.html +14 -8
- data/_includes/blog_nav.html +12 -10
- data/_includes/disqus.html +1 -1
- data/_includes/head.html +19 -33
- data/_includes/icons.html +55 -55
- data/_includes/navbar.html +16 -32
- data/_includes/post_info.html +13 -0
- data/_includes/post_nav.html +17 -16
- data/_includes/share_buttons.html +19 -26
- data/_layouts/feed.xml +9 -3
- data/_layouts/post.html +24 -9
- data/_sass/base/_global.scss +127 -110
- data/_sass/base/_utility.scss +60 -45
- data/_sass/base/_variables.scss +30 -26
- data/_sass/external/_font-awesome.scss +17 -0
- data/_sass/external/_katex.scss +1010 -0
- data/_sass/external/_pacifico.scss +17 -0
- data/{assets/css/vendor/google_fonts.css → _sass/external/_source-sans-pro.scss} +15 -5
- data/_sass/external/_syntax.scss +85 -83
- data/_sass/external/font-awesome/_animated.scss +34 -0
- data/_sass/external/font-awesome/_bordered-pulled.scss +25 -0
- data/_sass/external/font-awesome/_core.scss +12 -0
- data/_sass/external/font-awesome/_fixed-width.scss +6 -0
- data/_sass/external/font-awesome/_icons.scss +789 -0
- data/_sass/external/font-awesome/_larger.scss +13 -0
- data/_sass/external/font-awesome/_list.scss +19 -0
- data/_sass/external/font-awesome/_mixins.scss +60 -0
- data/_sass/external/font-awesome/_path.scss +16 -0
- data/_sass/external/font-awesome/_rotated-flipped.scss +20 -0
- data/_sass/external/font-awesome/_screen-reader.scss +5 -0
- data/_sass/external/font-awesome/_stacked.scss +20 -0
- data/_sass/external/font-awesome/_variables.scss +800 -0
- data/_sass/external/font-awesome/font-awesome.scss +17 -0
- data/_sass/includes/_blog_nav.scss +36 -38
- data/_sass/includes/_footer.scss +19 -16
- data/_sass/includes/_grid.scss +22 -22
- data/_sass/includes/_navbar.scss +117 -128
- data/_sass/includes/_portfolio.scss +40 -39
- data/_sass/includes/_post_nav.scss +28 -23
- data/_sass/includes/_share_buttons.scss +26 -25
- data/_sass/layouts/_blog.scss +103 -0
- data/_sass/layouts/_page.scss +5 -4
- data/_sass/layouts/_posts.scss +102 -96
- data/_sass/layouts/_search.scss +45 -44
- data/_sass/layouts/_tags.scss +43 -34
- data/_sass/type-on-strap.scss +6 -6
- data/assets/css/main.scss +1 -1
- data/assets/css/vendor/bootstrap-iso.css +1387 -468
- data/assets/css/vendor/bootstrap-iso.min.css +5 -5
- data/assets/css/vendor/bootstrap.css +1457 -450
- data/assets/data/search.json +25 -27
- data/assets/fonts/Pacifico/Pacifico.eot +0 -0
- data/assets/fonts/Pacifico/Pacifico.svg +10833 -0
- data/assets/fonts/Pacifico/Pacifico.ttf +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff +0 -0
- data/assets/fonts/Pacifico/Pacifico.woff2 +0 -0
- data/assets/fonts/Pacifico/original-pacifico-regular.ttf +0 -0
- data/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/{fontawesome-webfont.woff → fontawesome/fontawesome-webfont.woff} +0 -0
- data/assets/fonts/{fontawesome-webfont.woff2 → fontawesome/fontawesome-webfont.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_AMS-Regular.woff → katex/KaTeX_AMS-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_AMS-Regular.woff2 → katex/KaTeX_AMS-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Bold.woff → katex/KaTeX_Caligraphic-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Bold.woff2 → katex/KaTeX_Caligraphic-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Regular.woff → katex/KaTeX_Caligraphic-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Caligraphic-Regular.woff2 → katex/KaTeX_Caligraphic-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Bold.woff → katex/KaTeX_Fraktur-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Bold.woff2 → katex/KaTeX_Fraktur-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Regular.woff → katex/KaTeX_Fraktur-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Fraktur-Regular.woff2 → katex/KaTeX_Fraktur-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Bold.woff → katex/KaTeX_Main-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Bold.woff2 → katex/KaTeX_Main-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Italic.woff → katex/KaTeX_Main-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Italic.woff2 → katex/KaTeX_Main-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Main-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Main-Regular.woff → katex/KaTeX_Main-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Main-Regular.woff2 → katex/KaTeX_Main-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-BoldItalic.woff → katex/KaTeX_Math-BoldItalic.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-BoldItalic.woff2 → katex/KaTeX_Math-BoldItalic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-Italic.woff → katex/KaTeX_Math-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-Italic.woff2 → katex/KaTeX_Math-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Math-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Math-Regular.woff → katex/KaTeX_Math-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Math-Regular.woff2 → katex/KaTeX_Math-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Bold.woff → katex/KaTeX_SansSerif-Bold.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Bold.woff2 → katex/KaTeX_SansSerif-Bold.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Italic.woff → katex/KaTeX_SansSerif-Italic.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Italic.woff2 → katex/KaTeX_SansSerif-Italic.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Regular.woff → katex/KaTeX_SansSerif-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_SansSerif-Regular.woff2 → katex/KaTeX_SansSerif-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Script-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Script-Regular.woff → katex/KaTeX_Script-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Script-Regular.woff2 → katex/KaTeX_Script-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size1-Regular.woff → katex/KaTeX_Size1-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size1-Regular.woff2 → katex/KaTeX_Size1-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size2-Regular.woff → katex/KaTeX_Size2-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size2-Regular.woff2 → katex/KaTeX_Size2-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size3-Regular.woff → katex/KaTeX_Size3-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size3-Regular.woff2 → katex/KaTeX_Size3-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Size4-Regular.woff → katex/KaTeX_Size4-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Size4-Regular.woff2 → katex/KaTeX_Size4-Regular.woff2} +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.eot +0 -0
- data/assets/fonts/katex/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/fonts/{KaTeX_Typewriter-Regular.woff → katex/KaTeX_Typewriter-Regular.woff} +0 -0
- data/assets/fonts/{KaTeX_Typewriter-Regular.woff2 → katex/KaTeX_Typewriter-Regular.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-bold-italic.woff2 → source-sans-pro/source-sans-pro-bold-italic.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-bold.woff2 → source-sans-pro/source-sans-pro-bold.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-italic.woff2 → source-sans-pro/source-sans-pro-italic.woff2} +0 -0
- data/assets/fonts/{source-sans-pro-regular.woff2 → source-sans-pro/source-sans-pro-regular.woff2} +0 -0
- data/assets/js/partials/katex_init.js +20 -20
- data/assets/js/partials/masonry_init.js +17 -17
- data/assets/js/partials/navbar.js +18 -18
- data/assets/js/vendor/imagesloaded.min.js +7 -1
- data/assets/js/vendor/katex.min.js +1 -6
- data/assets/js/vendor/masonry.pkgd.min.js +2 -2
- metadata +137 -78
- data/_sass/layouts/_index.scss +0 -103
- data/assets/css/vendor/font-awesome.min.css +0 -4
- data/assets/css/vendor/google_fonts.min.css +0 -1
- data/assets/css/vendor/katex.min.css +0 -1
- data/assets/fonts/.DS_Store +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
data/_layouts/feed.xml
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<rss version="2.0"
|
2
|
+
<rss version="2.0"
|
3
|
+
xmlns:atom="http://www.w3.org/2005/Atom"
|
4
|
+
xmlns:webfeeds="http://webfeeds.org/rss/1.0">
|
3
5
|
<channel>
|
4
|
-
<title>{{ site.
|
6
|
+
<title>{{ site.title | xml_escape }}</title>
|
5
7
|
<atom:link href="{{ "/feed.xml" | absolute_url }}" rel="self" type="application/rss+xml"/>
|
6
8
|
<link>{{ "/" | absolute_url }}</link>
|
7
|
-
<description>{{ site.
|
9
|
+
<description>{{ site.description | xml_escape }}</description>
|
8
10
|
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
11
|
+
<webfeeds:icon>{{ site.theme_settings.avatar | absolute_url }}</webfeeds:icon>
|
9
12
|
{% for post in site.posts limit:15 %}
|
10
13
|
<item>
|
14
|
+
{% if post.thumbnail %}
|
15
|
+
<enclosure length="1" type="image" url="{{ post.thumbnail | absolute_url }}"/>
|
16
|
+
{% endif %}
|
11
17
|
<title>{{ post.title | xml_escape }}</title>
|
12
18
|
<link>{{ post.url | absolute_url }}</link>
|
13
19
|
<guid isPermaLink="false">{{ post.url | relative_url }}</guid>
|
data/_layouts/post.html
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
4
|
+
|
5
|
+
<article {% if page.feature-img or page.color %}class="feature-image"{% endif %}>
|
6
|
+
<header id="main" style="">
|
6
7
|
{% unless page.hide_title %}
|
7
8
|
<h1 id="{{ page.title | cgi_escape }}" class="title">{{ page.title }}</h1>
|
8
|
-
|
9
|
-
{{ page.date | date: "%B %-d, %Y" }}
|
10
|
-
{% if page.author %} - {{ page.author }}{% endif %}
|
11
|
-
</p>
|
9
|
+
{% include post_info.html author=page.author date=page.date %}
|
12
10
|
{% endunless %}
|
13
11
|
</header>
|
14
12
|
<section class="post-content">
|
@@ -20,14 +18,14 @@ layout: default
|
|
20
18
|
</div>
|
21
19
|
{% endif %}
|
22
20
|
</section>
|
23
|
-
|
21
|
+
|
24
22
|
<!-- Social media shares -->
|
25
23
|
{% include share_buttons.html %}
|
26
|
-
|
24
|
+
|
27
25
|
<!-- Tag list -->
|
28
26
|
{% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
|
29
27
|
{% include tags_list.html tags=tag_list %}
|
30
|
-
|
28
|
+
|
31
29
|
</article>
|
32
30
|
|
33
31
|
<!-- Disqus -->
|
@@ -41,3 +39,20 @@ layout: default
|
|
41
39
|
{% if site.theme_settings.post_navigation %}
|
42
40
|
{% include post_nav.html %}
|
43
41
|
{% endif %}
|
42
|
+
|
43
|
+
<!-- To change color of links in the page -->
|
44
|
+
<style>
|
45
|
+
{% if page.color %}
|
46
|
+
.feature-image a { color: {{ page.color }} !important; }
|
47
|
+
div#post-nav a { color: {{ page.color }} !important; }
|
48
|
+
footer a { color: {{ page.color }} !important; }
|
49
|
+
.site-header nav a:hover { color: {{ page.color }} !important; }
|
50
|
+
header#main { background-color: {{ page.color }} !important; }
|
51
|
+
{% endif %}
|
52
|
+
|
53
|
+
{% if page.feature-img %}{% assign image_url = page.feature-img %}{% elsif page.color %}{% assign image_url = site.theme_settings.color_image %}{% endif %}
|
54
|
+
header#main {
|
55
|
+
background-repeat:no-repeat;
|
56
|
+
background-image: url('{{ image_url | relative_url }}');
|
57
|
+
}
|
58
|
+
</style>
|
data/_sass/base/_global.scss
CHANGED
@@ -1,36 +1,40 @@
|
|
1
1
|
* {
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
box-sizing: border-box;
|
5
5
|
}
|
6
6
|
|
7
7
|
figure {
|
8
|
-
|
8
|
+
margin: 0;
|
9
9
|
}
|
10
10
|
|
11
11
|
// For correct line number width in Github Gists
|
12
12
|
.gist table tbody tr td {
|
13
|
-
|
13
|
+
box-sizing: content-box;
|
14
|
+
}
|
15
|
+
|
16
|
+
pre {
|
17
|
+
overflow-x: scroll;
|
14
18
|
}
|
15
19
|
|
16
20
|
html {
|
17
|
-
|
21
|
+
background: $background-color;
|
18
22
|
}
|
19
23
|
|
20
24
|
// Typography
|
21
25
|
::selection {
|
22
|
-
|
26
|
+
background: $selection-color;
|
23
27
|
}
|
24
28
|
|
25
29
|
::-moz-selection {
|
26
|
-
|
30
|
+
background: $selection-color;
|
27
31
|
}
|
28
32
|
|
29
33
|
body {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
+
color: $text-color;
|
35
|
+
font-family: $font-family-main;
|
36
|
+
font-size: $font-size;
|
37
|
+
word-wrap: break-word;
|
34
38
|
}
|
35
39
|
|
36
40
|
h1,
|
@@ -39,114 +43,143 @@ h3,
|
|
39
43
|
h4,
|
40
44
|
h5,
|
41
45
|
h6 {
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
46
|
+
font-family: $font-family-headings;
|
47
|
+
line-height: 1.3;
|
48
|
+
margin: 0.67em 0;
|
49
|
+
|
50
|
+
a {
|
51
|
+
color: $text-color;
|
52
|
+
}
|
53
|
+
|
50
54
|
}
|
51
55
|
|
52
56
|
h1 {
|
53
|
-
|
57
|
+
font-size: 2.3em;
|
54
58
|
}
|
55
59
|
|
56
60
|
h2 {
|
57
|
-
|
61
|
+
font-size: 1.75em;
|
58
62
|
}
|
59
63
|
|
60
64
|
h3 {
|
61
|
-
|
65
|
+
font-size: 1.5em;
|
62
66
|
}
|
63
67
|
|
64
68
|
h4 {
|
65
|
-
|
69
|
+
font-size: 1.15em;
|
70
|
+
}
|
71
|
+
|
72
|
+
iframe,
|
73
|
+
img,
|
74
|
+
embed,
|
75
|
+
object,
|
76
|
+
video {
|
77
|
+
max-width: 100%;
|
78
|
+
padding: 0 9%;
|
79
|
+
}
|
80
|
+
|
81
|
+
img[align=left] {
|
82
|
+
margin-right: 3%;
|
83
|
+
}
|
84
|
+
|
85
|
+
img[align=right] {
|
86
|
+
margin-left: 3%;
|
66
87
|
}
|
67
88
|
|
68
89
|
/* ---- Responsive ---- */
|
69
90
|
|
70
91
|
@media screen and (max-width: $break) {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
92
|
+
h1 {
|
93
|
+
font-size: 2em;
|
94
|
+
}
|
95
|
+
h2 {
|
96
|
+
font-size: 1.5em;
|
97
|
+
}
|
98
|
+
h3 {
|
99
|
+
font-size: 1em;
|
100
|
+
}
|
101
|
+
h4,
|
102
|
+
.meta {
|
103
|
+
font-size: 0.9em;
|
104
|
+
}
|
105
|
+
p, li {
|
106
|
+
font-size: 0.8em;
|
107
|
+
}
|
108
|
+
|
109
|
+
iframe,
|
110
|
+
img,
|
111
|
+
embed,
|
112
|
+
object,
|
113
|
+
video {
|
114
|
+
max-width: 100%;
|
115
|
+
padding: 0 1%;
|
116
|
+
}
|
87
117
|
}
|
88
118
|
|
89
119
|
@media screen and (max-width: $sm-break) {
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
120
|
+
h1 {
|
121
|
+
font-size: 1.5em;
|
122
|
+
}
|
123
|
+
h2 {
|
124
|
+
font-size: 1em;
|
125
|
+
}
|
126
|
+
h3 {
|
127
|
+
font-size: 0.9em;
|
128
|
+
}
|
129
|
+
h4,
|
130
|
+
.meta {
|
131
|
+
font-size: 0.85em;
|
132
|
+
}
|
133
|
+
p, li {
|
134
|
+
font-size: 0.8em;
|
135
|
+
}
|
136
|
+
|
137
|
+
table {
|
138
|
+
overflow-x: scroll;
|
139
|
+
}
|
106
140
|
}
|
107
141
|
|
108
142
|
|
109
143
|
blockquote {
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
144
|
+
border-left: 2px solid darken($blockquote-color, 20%);
|
145
|
+
margin: 1em 1em;
|
146
|
+
padding: 0.75em 1em;
|
147
|
+
background-color: $blockquote-color;
|
148
|
+
box-shadow: 0 2px 2px $border-color;
|
115
149
|
}
|
116
150
|
|
117
151
|
blockquote p:last-child,
|
118
152
|
footer p:last-child {
|
119
|
-
|
153
|
+
margin-bottom: 0;
|
120
154
|
}
|
121
155
|
|
122
156
|
table {
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
display: inline-block;
|
157
|
+
table-layout: fixed;
|
158
|
+
width: 100%;
|
159
|
+
word-wrap: break-word;
|
160
|
+
display: inline-block;
|
128
161
|
}
|
129
162
|
|
130
163
|
td,
|
131
164
|
th {
|
132
|
-
|
133
|
-
|
134
|
-
|
165
|
+
padding: 0.5em 1em;
|
166
|
+
border: 1px solid $border-color;
|
167
|
+
text-align: left;
|
135
168
|
}
|
136
169
|
|
137
170
|
table,
|
138
171
|
dl,
|
139
172
|
kbd,
|
140
173
|
samp {
|
141
|
-
|
174
|
+
margin: 1em 0;
|
142
175
|
}
|
143
176
|
|
144
177
|
dt {
|
145
|
-
|
178
|
+
font-weight: bold;
|
146
179
|
}
|
147
180
|
|
148
181
|
dd {
|
149
|
-
|
182
|
+
margin-left: 2em;
|
150
183
|
}
|
151
184
|
|
152
185
|
p,
|
@@ -154,59 +187,43 @@ ol,
|
|
154
187
|
ul,
|
155
188
|
dl,
|
156
189
|
.math-display {
|
157
|
-
|
158
|
-
|
190
|
+
line-height: 1.5;
|
191
|
+
margin-bottom: 1em;
|
159
192
|
}
|
160
193
|
|
161
194
|
// KaTeX math display
|
162
195
|
.math-display {
|
163
|
-
|
164
|
-
|
196
|
+
display: inline-block;
|
197
|
+
width: 100%;
|
165
198
|
}
|
166
199
|
|
167
200
|
// Lists within lists
|
168
201
|
li {
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
202
|
+
p {
|
203
|
+
display: inline;
|
204
|
+
}
|
205
|
+
|
206
|
+
& > ul,
|
207
|
+
& > ol {
|
208
|
+
margin-bottom: 0;
|
209
|
+
margin-left: 1em;
|
210
|
+
}
|
177
211
|
}
|
178
212
|
|
179
213
|
ol,
|
180
214
|
ul {
|
181
|
-
|
182
|
-
|
215
|
+
list-style-position: outside;
|
216
|
+
margin-left: 1em;
|
183
217
|
}
|
184
218
|
|
185
219
|
hr {
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
220
|
+
border: 0;
|
221
|
+
border-top: 1px solid $border-color;
|
222
|
+
border-bottom: 1px solid #fff;
|
223
|
+
margin: 1em 0;
|
190
224
|
}
|
191
225
|
|
192
226
|
a {
|
193
|
-
|
194
|
-
|
227
|
+
color: $link-color;
|
228
|
+
text-decoration: none;
|
195
229
|
}
|
196
|
-
|
197
|
-
iframe,
|
198
|
-
img,
|
199
|
-
embed,
|
200
|
-
object,
|
201
|
-
video {
|
202
|
-
max-width: 100%;
|
203
|
-
padding: 0 10%;
|
204
|
-
}
|
205
|
-
|
206
|
-
img[align=left] {
|
207
|
-
margin-right: 3%;
|
208
|
-
}
|
209
|
-
|
210
|
-
img[align=right] {
|
211
|
-
margin-left: 3%;
|
212
|
-
}
|
data/_sass/base/_utility.scss
CHANGED
@@ -1,81 +1,96 @@
|
|
1
1
|
// Mix-ins
|
2
|
-
%padding-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
%padding-nav {
|
3
|
+
padding: $padding-small $padding-x-large;
|
4
|
+
@media (max-width: $xl-break) {
|
5
|
+
padding: $padding-small ($padding-large * 2);
|
6
|
+
}
|
7
|
+
@media (max-width: $l-break) {
|
8
|
+
padding: $padding-small $padding-large;
|
9
|
+
}
|
10
|
+
@media (max-width: $m-break) {
|
11
|
+
padding: $padding-small $padding-medium;
|
12
|
+
}
|
13
|
+
@media (max-width: $sm-break) {
|
14
|
+
padding: $padding-small $padding-x-small;
|
15
|
+
}
|
7
16
|
}
|
8
17
|
|
9
|
-
%padding-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
18
|
+
%padding-post {
|
19
|
+
padding: $padding-x-small $padding-x-large;
|
20
|
+
@media (max-width: $xl-break) {
|
21
|
+
padding: $padding-x-small ($padding-large * 2);
|
22
|
+
}
|
23
|
+
@media (max-width: $l-break) {
|
24
|
+
padding: $padding-x-small $padding-large;
|
25
|
+
}
|
26
|
+
@media (max-width: $m-break) {
|
27
|
+
padding: $padding-x-small $padding-medium;
|
28
|
+
}
|
29
|
+
@media (max-width: $sm-break) {
|
30
|
+
padding: $padding-x-small $padding-small;
|
31
|
+
}
|
17
32
|
}
|
18
33
|
|
19
|
-
%padding-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
34
|
+
%padding-header {
|
35
|
+
padding: $padding-medium $padding-large;
|
36
|
+
@media (min-width: $xl-break) {
|
37
|
+
padding: $padding-large $padding-large;
|
38
|
+
}
|
39
|
+
@media (max-width: $sm-break) {
|
40
|
+
padding: $padding-medium;
|
41
|
+
}
|
27
42
|
}
|
28
43
|
|
29
44
|
.header-txt-shadow {
|
30
|
-
|
45
|
+
text-shadow: 1px 1px 2px $text-shadow;
|
31
46
|
}
|
32
47
|
|
33
48
|
// Buttons
|
34
49
|
.button {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
50
|
+
border-radius: 0.3em;
|
51
|
+
border: 1px solid;
|
52
|
+
display: inline-block;
|
53
|
+
margin: 1em 0;
|
54
|
+
padding: 0.5em 0.75em;
|
40
55
|
}
|
41
56
|
|
42
57
|
a.button {
|
43
|
-
|
58
|
+
@extend .button-link;
|
44
59
|
}
|
45
60
|
|
46
61
|
.button-link {
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
62
|
+
&:hover {
|
63
|
+
background: $link-color;
|
64
|
+
border: 1px solid $link-color;
|
65
|
+
color: $background-color;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
53
68
|
}
|
54
69
|
|
55
70
|
.body-link {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
71
|
+
&:hover {
|
72
|
+
text-decoration: underline;
|
73
|
+
color: darken($link-color, 15%);
|
74
|
+
}
|
60
75
|
}
|
61
76
|
|
62
77
|
.post-link {
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
78
|
+
&:hover {
|
79
|
+
text-decoration: none;
|
80
|
+
color: lighten($link-color, 10%);
|
81
|
+
}
|
67
82
|
}
|
68
83
|
|
69
84
|
// States
|
70
85
|
.disabled {
|
71
|
-
|
86
|
+
opacity: 0.7;
|
72
87
|
}
|
73
88
|
|
74
89
|
// Custom
|
75
90
|
.text-center {
|
76
|
-
|
91
|
+
text-align: center;
|
77
92
|
}
|
78
93
|
|
79
94
|
.right {
|
80
|
-
|
95
|
+
float: right;
|
81
96
|
}
|