type-on-strap 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +311 -0
  4. data/_includes/disqus.html +10 -0
  5. data/_includes/footer.html +13 -0
  6. data/_includes/head.html +69 -0
  7. data/_includes/icons.html +230 -0
  8. data/_includes/navbar.html +56 -0
  9. data/_includes/post_nav.html +20 -0
  10. data/_includes/tags_list.html +19 -0
  11. data/_layouts/bootstrap.html +38 -0
  12. data/_layouts/default.html +11 -0
  13. data/_layouts/home.html +59 -0
  14. data/_layouts/page.html +23 -0
  15. data/_layouts/post.html +30 -0
  16. data/_sass/base/_global.scss +147 -0
  17. data/_sass/base/_utility.scss +71 -0
  18. data/_sass/base/_variables.scss +43 -0
  19. data/_sass/external/_reset.scss +427 -0
  20. data/_sass/external/_syntax.scss +63 -0
  21. data/_sass/includes/_footer.scss +17 -0
  22. data/_sass/includes/_navbar.scss +132 -0
  23. data/_sass/includes/_post_nav.scss +21 -0
  24. data/_sass/layouts/_index.scss +106 -0
  25. data/_sass/layouts/_page.scss +10 -0
  26. data/_sass/layouts/_portfolio.scss +77 -0
  27. data/_sass/layouts/_posts.scss +114 -0
  28. data/_sass/layouts/_search.scss +55 -0
  29. data/_sass/layouts/_tags.scss +52 -0
  30. data/_sass/type-on-strap.scss +21 -0
  31. data/assets/css/bootstrap-iso.min.css +8 -0
  32. data/assets/css/font-awesome.min.css +4 -0
  33. data/assets/css/katex.min.css +1 -0
  34. data/assets/css/main.scss +4 -0
  35. data/assets/favicon.ico +0 -0
  36. data/assets/fonts/FontAwesome.otf +0 -0
  37. data/assets/fonts/KaTeX_AMS-Regular.eot +0 -0
  38. data/assets/fonts/KaTeX_AMS-Regular.ttf +0 -0
  39. data/assets/fonts/KaTeX_AMS-Regular.woff +0 -0
  40. data/assets/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  41. data/assets/fonts/KaTeX_Caligraphic-Bold.eot +0 -0
  42. data/assets/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  43. data/assets/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  44. data/assets/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  45. data/assets/fonts/KaTeX_Caligraphic-Regular.eot +0 -0
  46. data/assets/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  47. data/assets/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  48. data/assets/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  49. data/assets/fonts/KaTeX_Fraktur-Bold.eot +0 -0
  50. data/assets/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  51. data/assets/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  52. data/assets/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  53. data/assets/fonts/KaTeX_Fraktur-Regular.eot +0 -0
  54. data/assets/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  55. data/assets/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  56. data/assets/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  57. data/assets/fonts/KaTeX_Main-Bold.eot +0 -0
  58. data/assets/fonts/KaTeX_Main-Bold.ttf +0 -0
  59. data/assets/fonts/KaTeX_Main-Bold.woff +0 -0
  60. data/assets/fonts/KaTeX_Main-Bold.woff2 +0 -0
  61. data/assets/fonts/KaTeX_Main-Italic.eot +0 -0
  62. data/assets/fonts/KaTeX_Main-Italic.ttf +0 -0
  63. data/assets/fonts/KaTeX_Main-Italic.woff +0 -0
  64. data/assets/fonts/KaTeX_Main-Italic.woff2 +0 -0
  65. data/assets/fonts/KaTeX_Main-Regular.eot +0 -0
  66. data/assets/fonts/KaTeX_Main-Regular.ttf +0 -0
  67. data/assets/fonts/KaTeX_Main-Regular.woff +0 -0
  68. data/assets/fonts/KaTeX_Main-Regular.woff2 +0 -0
  69. data/assets/fonts/KaTeX_Math-BoldItalic.eot +0 -0
  70. data/assets/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  71. data/assets/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  72. data/assets/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  73. data/assets/fonts/KaTeX_Math-Italic.eot +0 -0
  74. data/assets/fonts/KaTeX_Math-Italic.ttf +0 -0
  75. data/assets/fonts/KaTeX_Math-Italic.woff +0 -0
  76. data/assets/fonts/KaTeX_Math-Italic.woff2 +0 -0
  77. data/assets/fonts/KaTeX_Math-Regular.eot +0 -0
  78. data/assets/fonts/KaTeX_Math-Regular.ttf +0 -0
  79. data/assets/fonts/KaTeX_Math-Regular.woff +0 -0
  80. data/assets/fonts/KaTeX_Math-Regular.woff2 +0 -0
  81. data/assets/fonts/KaTeX_SansSerif-Bold.eot +0 -0
  82. data/assets/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  83. data/assets/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  84. data/assets/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  85. data/assets/fonts/KaTeX_SansSerif-Italic.eot +0 -0
  86. data/assets/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  87. data/assets/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  88. data/assets/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  89. data/assets/fonts/KaTeX_SansSerif-Regular.eot +0 -0
  90. data/assets/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  91. data/assets/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  92. data/assets/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  93. data/assets/fonts/KaTeX_Script-Regular.eot +0 -0
  94. data/assets/fonts/KaTeX_Script-Regular.ttf +0 -0
  95. data/assets/fonts/KaTeX_Script-Regular.woff +0 -0
  96. data/assets/fonts/KaTeX_Script-Regular.woff2 +0 -0
  97. data/assets/fonts/KaTeX_Size1-Regular.eot +0 -0
  98. data/assets/fonts/KaTeX_Size1-Regular.ttf +0 -0
  99. data/assets/fonts/KaTeX_Size1-Regular.woff +0 -0
  100. data/assets/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  101. data/assets/fonts/KaTeX_Size2-Regular.eot +0 -0
  102. data/assets/fonts/KaTeX_Size2-Regular.ttf +0 -0
  103. data/assets/fonts/KaTeX_Size2-Regular.woff +0 -0
  104. data/assets/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  105. data/assets/fonts/KaTeX_Size3-Regular.eot +0 -0
  106. data/assets/fonts/KaTeX_Size3-Regular.ttf +0 -0
  107. data/assets/fonts/KaTeX_Size3-Regular.woff +0 -0
  108. data/assets/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  109. data/assets/fonts/KaTeX_Size4-Regular.eot +0 -0
  110. data/assets/fonts/KaTeX_Size4-Regular.ttf +0 -0
  111. data/assets/fonts/KaTeX_Size4-Regular.woff +0 -0
  112. data/assets/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  113. data/assets/fonts/KaTeX_Typewriter-Regular.eot +0 -0
  114. data/assets/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  115. data/assets/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  116. data/assets/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  117. data/assets/fonts/fontawesome-webfont.eot +0 -0
  118. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  119. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  120. data/assets/fonts/fontawesome-webfont.woff +0 -0
  121. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  122. data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  123. data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  124. data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  125. data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  126. data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  127. data/assets/img/pexels/README.md +51 -0
  128. data/assets/img/pexels/book-coffee.jpeg +0 -0
  129. data/assets/img/pexels/book-glass.jpeg +0 -0
  130. data/assets/img/pexels/circuit.jpeg +0 -0
  131. data/assets/img/pexels/computer.jpeg +0 -0
  132. data/assets/img/pexels/computer2.jpeg +0 -0
  133. data/assets/img/pexels/desk-messy.jpeg +0 -0
  134. data/assets/img/pexels/desk-nerd.jpeg +0 -0
  135. data/assets/img/pexels/desk-open.jpeg +0 -0
  136. data/assets/img/pexels/desk-top.jpeg +0 -0
  137. data/assets/img/pexels/disco-full.jpeg +0 -0
  138. data/assets/img/pexels/look-out.jpeg +0 -0
  139. data/assets/img/pexels/motherboard.jpg +0 -0
  140. data/assets/img/pexels/old-phone.jpeg +0 -0
  141. data/assets/img/pexels/retro-school.jpeg +0 -0
  142. data/assets/img/pexels/scrabble-blog.jpeg +0 -0
  143. data/assets/img/pexels/scrabble-search.jpeg +0 -0
  144. data/assets/img/pexels/search-map.jpeg +0 -0
  145. data/assets/img/pexels/triangular.jpeg +0 -0
  146. data/assets/img/pexels/wall_e.jpeg +0 -0
  147. data/assets/img/portfolio/cabin.png +0 -0
  148. data/assets/img/portfolio/cake.png +0 -0
  149. data/assets/img/portfolio/circus.png +0 -0
  150. data/assets/img/portfolio/game.png +0 -0
  151. data/assets/img/portfolio/github.png +0 -0
  152. data/assets/img/portfolio/jekyllblog2.png +0 -0
  153. data/assets/img/portfolio/ninja.png +0 -0
  154. data/assets/img/portfolio/safe.png +0 -0
  155. data/assets/img/portfolio/submarine.png +0 -0
  156. data/assets/img/portfolio/toh.png +0 -0
  157. data/assets/img/portfolio/ttt.png +0 -0
  158. data/assets/img/sample.png +0 -0
  159. data/assets/img/sample2.png +0 -0
  160. data/assets/img/sample3.png +0 -0
  161. data/assets/img/thumbnails/desk-messy.jpeg +0 -0
  162. data/assets/img/triangle.png +0 -0
  163. data/assets/img/triangle.svg +34 -0
  164. data/assets/js/bootstrap.min.js +12 -0
  165. data/assets/js/jekyll-search.min.js +6 -0
  166. data/assets/js/jquery-3.2.1.min.js +5 -0
  167. data/assets/js/katex.min.js +6 -0
  168. data/assets/js/katex_init.js +26 -0
  169. data/assets/js/main.min.js +1 -0
  170. data/assets/js/navbar.js +31 -0
  171. data/pages/portfolio.html +26 -0
  172. data/pages/search.html +32 -0
  173. data/pages/search.json +28 -0
  174. data/pages/tags.html +97 -0
  175. metadata +289 -0
@@ -0,0 +1,56 @@
1
+ <header class="site-header">
2
+
3
+ <!-- Logo and title -->
4
+ <div class="branding">
5
+ <a href="{{ site.baseurl }}/">
6
+ <img class="avatar" src="{{ site.baseurl }}/{{ site.theme_settings.avatar }}" alt=""/>
7
+ </a>
8
+
9
+ <h1 class="site-title">
10
+ <a href="{{ site.baseurl }}/">{{ site.theme_settings.title }}</a>
11
+ </h1>
12
+ </div>
13
+
14
+ <!-- Toggle menu -->
15
+ <nav class="clear">
16
+ <a id="pull" class="toggle" href="#">
17
+ <i class="fa fa-bars fa-lg"></i>
18
+ </a>
19
+
20
+ <!-- Menu -->
21
+ <ul>
22
+ {% for page in site.pages %}
23
+ {% if page.title and page.hide != true %}
24
+ <li>
25
+ <a class="clear" href="{{ page.url | relative_url }}">
26
+ {{ page.title }}
27
+ </a>
28
+ </li>
29
+ {% endif %}
30
+ {% endfor %}
31
+ {% if site.theme_settings.portfolio %}
32
+ <li>
33
+ <a class="clear" href="{{ site.url }}{{ site.baseurl }}/portfolio">
34
+ Portfolio
35
+ </a>
36
+ </li>
37
+ {% endif %}
38
+ {% if site.theme_settings.portfolio %}
39
+ <li>
40
+ <a class="clear" href="{{ site.url }}{{ site.baseurl }}/search">
41
+ Search
42
+ </a>
43
+ </li>
44
+ {% endif %}
45
+ {% if site.theme_settings.portfolio %}
46
+ <li>
47
+ <a class="clear" href="{{ site.url }}{{ site.baseurl }}/tags">
48
+ Tags
49
+ </a>
50
+ </li>
51
+ {% endif %}
52
+
53
+ </ul>
54
+
55
+ </nav>
56
+ </header>
@@ -0,0 +1,20 @@
1
+ <div id="post-nav">
2
+ {% if page.previous.url %}
3
+ <div id="previous-post" class="post-nav-post">
4
+ <p>{{ site.theme_settings.str_previous_post }}</p>
5
+ <a href="{{ site.baseurl }}{{ page.previous.url }}">
6
+ {{ page.previous.title }}
7
+ </a>
8
+ </div>
9
+ {% endif %}
10
+ {% if page.next.url %}
11
+ <div id="next-post" class="post-nav-post">
12
+ <p>{{ site.theme_settings.str_next_post }}</p>
13
+ <a href="{{ site.baseurl }}{{ page.next.url }}">
14
+ {{ page.next.title }}
15
+ </a>
16
+ </div>
17
+ {% endif %}
18
+ </div>
19
+
20
+ {% endif %}
@@ -0,0 +1,19 @@
1
+ {% assign tags = include.tags | split:'|' | sort | uniq %}
2
+
3
+ {% if include.tags.size > 0 %}
4
+ <footer>
5
+ <div class="tag-list">
6
+ {% if include.tags.size == 1 %}
7
+ <div class="meta">Tag</div>
8
+ {% elsif include.tags.size > 1 %}
9
+ <div class="meta">Tags</div>
10
+ {% endif %}
11
+
12
+ {% for tag in tags %}
13
+ <a class="button" href="{{site.baseurl}}/tags#{{tag}}">
14
+ <p><i class="fa fa-tag fa-fw"></i> {{ tag }}</p>
15
+ </a>
16
+ {% endfor %}
17
+ </div>
18
+ </footer>
19
+ {% endif %}
@@ -0,0 +1,38 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <!-- Bootstrap-3.3.7 isolation CSS -->
6
+ <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/css/bootstrap-iso.min.css">
7
+
8
+ <!-- Bootstrap JS -->
9
+ <script src="{{ site.baseurl }}/assets/js/bootstrap.min.js"></script>
10
+
11
+ <article {% if page.feature-img %}class="feature-image" {% endif %}>
12
+ <header id="main" style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
13
+ <h1 class="title">{{ page.title }}</h1> {% if page.subtitle %}
14
+ <h2 class="subtitle">{{ page.subtitle }}</h2>{% endif %}
15
+ </header>
16
+
17
+ {% if page.description %}
18
+ <section class="post-content">
19
+ {{ page.description }}
20
+ </section>
21
+ {% endif %}
22
+
23
+
24
+
25
+ <!-- Bootstrap will work within this div -->
26
+ <section>
27
+ <div class="bootstrap-iso">
28
+ <div class="col-md-1"></div>
29
+ <div class="col-md-10 centered">
30
+ {{ content }}
31
+ </div>
32
+ <div class="col-md-1"></div>
33
+ </div>
34
+ </section>
35
+
36
+
37
+
38
+ </article>
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {% include head.html %}
4
+ <body>
5
+ {% include navbar.html %}
6
+ <div class="content">
7
+ {{ content }}
8
+ </div>
9
+ {% include footer.html %}
10
+ </body>
11
+ </html>
@@ -0,0 +1,59 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="home">
6
+ {% if site.theme_settings.header_text %}
7
+ <div id="main" class="call-out"
8
+ style="background-image: url('{{ site.baseurl }}/{{ site.theme_settings.header_text_feature_image }}')">
9
+ {{ site.theme_settings.header_text }}
10
+ </div>
11
+ {% endif %}
12
+
13
+ <div class="posts">
14
+ {% for post in paginator.posts %}
15
+ <div class="post-teaser">
16
+ {% if post.thumbnail %}
17
+ <div class="post-img">
18
+ <img src="{{ site.baseurl }}/{{ post.thumbnail }}">
19
+ </div>
20
+ {% endif %}
21
+ <span>
22
+ <header>
23
+ <h1>
24
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">
25
+ {{ post.title }}
26
+ </a>
27
+ </h1>
28
+ <p class="meta">
29
+ {{ post.date | date: "%B %-d, %Y" }}
30
+ </p>
31
+ </header>
32
+ <div class="excerpt">
33
+ {{ post.content | strip_html | truncate: "250" }}
34
+ <!--<a class="button" href="{{ post.url | prepend: site.baseurl }}">
35
+ {{ site.theme_settings.str_continue_reading }}
36
+ </a>-->
37
+ </div>
38
+ </span>
39
+ </div>
40
+ {% endfor %}
41
+ </div>
42
+
43
+ {% if paginator.total_pages > 1 %}
44
+ <div class="pagination">
45
+ {% if paginator.previous_page %}
46
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
47
+ <i class="fa fa-chevron-left"></i>
48
+ {{ site.theme_settings.str_previous_page }}
49
+ </a>
50
+ {% endif %}
51
+ {% if paginator.next_page %}
52
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="button" >
53
+ {{ site.theme_settings.str_next_page }}
54
+ <i class="fa fa-chevron-right"></i>
55
+ </a>
56
+ {% endif %}
57
+ </div>
58
+ {% endif %}
59
+ </div>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article {% if page.feature-img %}class="feature-image"{% endif %}>
6
+ <header id="main" style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
7
+ <h1 id="{{ page.title | default: "" | cgi_escape }}" class="title">
8
+ {{ page.title }}
9
+ </h1>
10
+
11
+ {% if page.subtitle %}
12
+ <h2 class="subtitle">{{ page.subtitle }}</h2>
13
+ {% endif %}
14
+
15
+ </header>
16
+ <section class="post-content">{{ content }}</section>
17
+
18
+
19
+ <!-- Tag list for portfolio -->
20
+ {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
21
+ {% include tags_list.html tags=tag_list %}
22
+
23
+ </article>
@@ -0,0 +1,30 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article {% if page.feature-img %}class="feature-image"{% endif %}>
5
+ <header id="main" style="background-image: url('{{ site.baseurl }}/{{ page.feature-img }}')">
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
+ <!-- Tag list -->
15
+ {% capture tag_list %}{{ page.tags | join: "|"}}{% endcapture %}
16
+ {% include tags_list.html tags=tag_list %}
17
+
18
+ </article>
19
+
20
+ <!-- Disqus -->
21
+ {% if site.theme_settings.disqus_shortname %}
22
+ <div class="comments">
23
+ {% include disqus.html %}
24
+ </div>
25
+ {% endif %}
26
+
27
+ <!-- Post navigation -->
28
+ {% if site.theme_settings.post_navigation %}
29
+ {% include post_nav.html %}
30
+ {% endif %}
@@ -0,0 +1,147 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+ figure {
7
+ margin: 0;
8
+ }
9
+ // For correct line number width in Github Gists
10
+ .gist table tbody tr td {
11
+ box-sizing: content-box;
12
+ }
13
+ html {
14
+ background: $background-color;
15
+ }
16
+
17
+ // Typography
18
+ ::selection {
19
+ background: $selection-color;
20
+ }
21
+ ::-moz-selection {
22
+ background: $selection-color;
23
+ }
24
+ body {
25
+ color: $text-color;
26
+ font-family: $font-family-main;
27
+ font-size: $font-size;
28
+ word-wrap: break-word;
29
+ }
30
+ h1, h2, h3, h4, h5, h6 {
31
+ font-family: $font-family-headings;
32
+ line-height: 1.3;
33
+ margin: 0.67em 0;
34
+ a {
35
+ color: $text-color;
36
+ }
37
+ }
38
+ h1 {
39
+ font-size: 2.5em;
40
+ }
41
+ h2 {
42
+ font-size: 2em;
43
+ }
44
+ h3 {
45
+ font-size: 1.5em;
46
+ }
47
+ h4 {
48
+ font-size: 1.15em;
49
+ }
50
+ blockquote {
51
+ border-left: 2px solid darken($blockquote-color, 20%);
52
+ margin: 1em 1em;
53
+ padding: 0.75em 1em;
54
+ background-color: $blockquote-color;
55
+ box-shadow: 0 2px 2px $border-color;
56
+ }
57
+ blockquote p:last-child,
58
+ footer p:last-child {
59
+ margin-bottom: 0;
60
+ }
61
+ table {
62
+ table-layout:fixed;
63
+ width:100%;
64
+ word-wrap:break-word;
65
+ @media (max-width: 1100px) {
66
+ overflow-x: scroll;
67
+ display: inline-block;
68
+ }
69
+ }
70
+ td,
71
+ th {
72
+ padding: 0.5em 1em;
73
+ border: 1px solid $border-color;
74
+ text-align: left;
75
+ }
76
+ table,
77
+ dl,
78
+ code,
79
+ kbd,
80
+ pre,
81
+ samp {
82
+ margin: 1em 0;
83
+ }
84
+ dt {
85
+ font-weight: bold;
86
+ }
87
+ dd {
88
+ margin-left: 2em;
89
+ }
90
+ p, ol, ul, dl, .math-display {
91
+ line-height: 1.5;
92
+ margin-bottom: 1em;
93
+ }
94
+ // KaTeX math display
95
+ .math-display {
96
+ display: inline-block;
97
+ width: 100%;
98
+ }
99
+ // Lists within lists
100
+ li > ul, li > ol {
101
+ margin-bottom: 0;
102
+ margin-left: 1em;
103
+ }
104
+ ol, ul {
105
+ list-style-position: inside;
106
+ }
107
+ hr {
108
+ border: 0;
109
+ border-top: 1px solid $border-color;
110
+ border-bottom: 1px solid #fff;
111
+ margin: 1em 0;
112
+ }
113
+ a {
114
+ color: $link-color;
115
+ text-decoration: none;
116
+ }
117
+
118
+ /* ---- Responsive ---- */
119
+
120
+ iframe, img, embed, object, video {
121
+ max-width: 100%;
122
+ padding: 0 10%;
123
+ }
124
+ img[align=left] {
125
+ margin-right: 3%;
126
+ }
127
+ img[align=right] {
128
+ margin-left: 3%;
129
+ }
130
+
131
+ @media screen and (max-width: $sm-break) {
132
+ h1 {
133
+ font-size: 2em;
134
+ }
135
+ h2 {
136
+ font-size: 1.5em;
137
+ }
138
+ h3 {
139
+ font-size: 1em;
140
+ }
141
+ h4 {
142
+ font-size: 0.75em;
143
+ }
144
+ p, li {
145
+ font-size: 0.75em;
146
+ }
147
+ }
@@ -0,0 +1,71 @@
1
+ // Mix-ins
2
+ %padding-small {
3
+ padding: $padding-x-small $padding-x-small * 2;
4
+ @media (max-width: 1000px) {
5
+ padding: $padding-x-small $padding-x-small;
6
+ }
7
+ }
8
+
9
+ %padding-regular {
10
+ padding: $padding-small $padding-large;
11
+ @media (max-width: 1000px) {
12
+ padding: $padding-small * 1.5 $padding-large / 1.6;
13
+ }
14
+ @media (max-width: 576px) {
15
+ padding: $padding-small;
16
+ }
17
+ }
18
+
19
+ .header-txt-shadow {
20
+ text-shadow: 1px 1px 2px $text-shadow;
21
+ }
22
+
23
+ // Buttons
24
+ .button {
25
+ border-radius: 0.3em;
26
+ border: 1px solid;
27
+ display: inline-block;
28
+ margin: 1em 0;
29
+ padding: 0.5em 0.75em;
30
+ }
31
+
32
+ a.button {
33
+ @extend .button-link;
34
+ }
35
+
36
+ .button-link {
37
+ &:hover {
38
+ background: $link-color;
39
+ border: 1px solid $link-color;
40
+ color: $background-color;
41
+ text-decoration: none;
42
+ }
43
+ }
44
+
45
+ .body-link {
46
+ &:hover {
47
+ text-decoration: underline;
48
+ color: darken($link-color, 15%);
49
+ }
50
+ }
51
+
52
+ .post-link {
53
+ &:hover {
54
+ text-decoration: none;
55
+ color: lighten($link-color, 10%);
56
+ }
57
+ }
58
+
59
+ // States
60
+ .disabled {
61
+ opacity: 0.7;
62
+ }
63
+
64
+ // Custom
65
+ .text-center {
66
+ text-align: center;
67
+ }
68
+
69
+ .right {
70
+ float: right;
71
+ }