jekyll-theme-primcraft 0.0.21 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -41
  3. data/_includes/carousel.html +65 -65
  4. data/_includes/fmi.html +15 -15
  5. data/_includes/full-post-list.html +8 -8
  6. data/_includes/page-tags.html +9 -9
  7. data/_includes/page-title.html +4 -4
  8. data/_includes/post-link.html +7 -7
  9. data/_includes/post-preview.html +28 -28
  10. data/_includes/recent-annoucements.html +6 -6
  11. data/_includes/recent-post-list.html +23 -23
  12. data/_includes/related.html +15 -15
  13. data/_includes/server-nav.html +23 -23
  14. data/_includes/server-splash.html +35 -35
  15. data/_includes/server-status.html +18 -18
  16. data/_includes/server-tags.html +3 -3
  17. data/_includes/tfna.html +9 -9
  18. data/_includes/toc.html +7 -7
  19. data/_includes/username.html +10 -10
  20. data/_layouts/archive.html +22 -22
  21. data/_layouts/category.html +8 -8
  22. data/_layouts/content.html +13 -13
  23. data/_layouts/tag.html +8 -8
  24. data/_layouts/user.html +40 -40
  25. data/_sass/_alert.scss +52 -0
  26. data/_sass/_badge.scss +54 -0
  27. data/_sass/_breadcrumb.scss +42 -0
  28. data/_sass/_button-group.scss +163 -0
  29. data/_sass/_buttons.scss +142 -0
  30. data/_sass/_card.scss +286 -0
  31. data/_sass/_carousel.scss +200 -0
  32. data/_sass/_close.scss +40 -0
  33. data/_sass/_code.scss +48 -0
  34. data/_sass/_custom-forms.scss +526 -0
  35. data/_sass/_dropdown.scss +192 -0
  36. data/_sass/_forms.scss +347 -0
  37. data/_sass/_functions.scss +190 -0
  38. data/_sass/_grid.scss +73 -0
  39. data/_sass/_images.scss +42 -0
  40. data/_sass/_input-group.scss +211 -0
  41. data/_sass/_jumbotron.scss +17 -0
  42. data/_sass/_list-group.scss +154 -0
  43. data/_sass/_media.scss +8 -0
  44. data/_sass/_mixins.scss +47 -0
  45. data/_sass/_modal.scss +240 -0
  46. data/_sass/_nav.scss +125 -0
  47. data/_sass/_navbar.scss +332 -0
  48. data/_sass/_pagination.scss +74 -0
  49. data/_sass/_popover.scss +170 -0
  50. data/_sass/_print.scss +132 -0
  51. data/_sass/_progress.scss +47 -0
  52. data/_sass/_reboot.scss +484 -0
  53. data/_sass/_root.scss +19 -0
  54. data/_sass/_spinners.scss +65 -0
  55. data/_sass/_tables.scss +185 -0
  56. data/_sass/_toasts.scss +46 -0
  57. data/_sass/_tooltip.scss +115 -0
  58. data/_sass/_transitions.scss +26 -0
  59. data/_sass/_type.scss +125 -0
  60. data/_sass/_utilities.scss +18 -0
  61. data/_sass/_variables.scss +1149 -0
  62. data/_sass/bootstrap-grid.scss +30 -0
  63. data/_sass/bootstrap-reboot.scss +12 -0
  64. data/_sass/bootstrap.scss +44 -0
  65. data/_sass/bootswatch/cerulean/_bootswatch.scss +102 -0
  66. data/_sass/bootswatch/cerulean/_variables.scss +57 -0
  67. data/_sass/bootswatch/cerulean/bootstrap.css +10452 -0
  68. data/_sass/bootswatch/cerulean/bootstrap.min.css +12 -0
  69. data/_sass/bootswatch/cosmo/_bootswatch.scss +27 -0
  70. data/_sass/bootswatch/cosmo/_variables.scss +67 -0
  71. data/_sass/bootswatch/cosmo/bootstrap.css +10078 -0
  72. data/_sass/bootswatch/cosmo/bootstrap.min.css +12 -0
  73. data/_sass/bootswatch/cyborg/_bootswatch.scss +330 -0
  74. data/_sass/bootswatch/cyborg/_variables.scss +169 -0
  75. data/_sass/bootswatch/cyborg/bootstrap.css +10640 -0
  76. data/_sass/bootswatch/cyborg/bootstrap.min.css +12 -0
  77. data/_sass/bootswatch/darkly/_bootswatch.scss +247 -0
  78. data/_sass/bootswatch/darkly/_variables.scss +164 -0
  79. data/_sass/bootswatch/darkly/bootstrap.css +10544 -0
  80. data/_sass/bootswatch/darkly/bootstrap.min.css +12 -0
  81. data/_sass/bootswatch/flatly/_bootswatch.scss +274 -0
  82. data/_sass/bootswatch/flatly/_variables.scss +106 -0
  83. data/_sass/bootswatch/flatly/bootstrap.css +10550 -0
  84. data/_sass/bootswatch/flatly/bootstrap.min.css +12 -0
  85. data/_sass/bootswatch/journal/_bootswatch.scss +62 -0
  86. data/_sass/bootswatch/journal/_variables.scss +60 -0
  87. data/_sass/bootswatch/journal/bootstrap.css +10384 -0
  88. data/_sass/bootswatch/journal/bootstrap.min.css +12 -0
  89. data/_sass/bootswatch/litera/_bootswatch.scss +268 -0
  90. data/_sass/bootswatch/litera/_variables.scss +96 -0
  91. data/_sass/bootswatch/litera/bootstrap.css +10573 -0
  92. data/_sass/bootswatch/litera/bootstrap.min.css +12 -0
  93. data/_sass/bootswatch/lumen/_bootswatch.scss +532 -0
  94. data/_sass/bootswatch/lumen/_variables.scss +85 -0
  95. data/_sass/bootswatch/lumen/bootstrap.css +10763 -0
  96. data/_sass/bootswatch/lumen/bootstrap.min.css +12 -0
  97. data/_sass/bootswatch/lux/_bootswatch.scss +191 -0
  98. data/_sass/bootswatch/lux/_variables.scss +103 -0
  99. data/_sass/bootswatch/lux/bootstrap.css +10210 -0
  100. data/_sass/bootswatch/lux/bootstrap.min.css +12 -0
  101. data/_sass/bootswatch/materia/_bootswatch.scss +747 -0
  102. data/_sass/bootswatch/materia/_variables.scss +129 -0
  103. data/_sass/bootswatch/materia/bootstrap.css +11807 -0
  104. data/_sass/bootswatch/materia/bootstrap.min.css +12 -0
  105. data/_sass/bootswatch/minty/_bootswatch.scss +380 -0
  106. data/_sass/bootswatch/minty/_variables.scss +94 -0
  107. data/_sass/bootswatch/minty/bootstrap.css +10636 -0
  108. data/_sass/bootswatch/minty/bootstrap.min.css +12 -0
  109. data/_sass/bootswatch/pulse/_bootswatch.scss +145 -0
  110. data/_sass/bootswatch/pulse/_variables.scss +96 -0
  111. data/_sass/bootswatch/pulse/bootstrap.css +10183 -0
  112. data/_sass/bootswatch/pulse/bootstrap.min.css +12 -0
  113. data/_sass/bootswatch/sandstone/_bootswatch.scss +243 -0
  114. data/_sass/bootswatch/sandstone/_variables.scss +129 -0
  115. data/_sass/bootswatch/sandstone/bootstrap.css +10498 -0
  116. data/_sass/bootswatch/sandstone/bootstrap.min.css +12 -0
  117. data/_sass/bootswatch/simplex/_bootswatch.scss +129 -0
  118. data/_sass/bootswatch/simplex/_variables.scss +103 -0
  119. data/_sass/bootswatch/simplex/bootstrap.css +10466 -0
  120. data/_sass/bootswatch/simplex/bootstrap.min.css +12 -0
  121. data/_sass/bootswatch/sketchy/_bootswatch.scss +498 -0
  122. data/_sass/bootswatch/sketchy/_variables.scss +159 -0
  123. data/_sass/bootswatch/sketchy/bootstrap.css +10776 -0
  124. data/_sass/bootswatch/sketchy/bootstrap.min.css +12 -0
  125. data/_sass/bootswatch/slate/_bootswatch.scss +531 -0
  126. data/_sass/bootswatch/slate/_variables.scss +163 -0
  127. data/_sass/bootswatch/slate/bootstrap.css +10837 -0
  128. data/_sass/bootswatch/slate/bootstrap.min.css +12 -0
  129. data/_sass/bootswatch/solar/_bootswatch.scss +243 -0
  130. data/_sass/bootswatch/solar/_variables.scss +171 -0
  131. data/_sass/bootswatch/solar/bootstrap.css +10606 -0
  132. data/_sass/bootswatch/solar/bootstrap.min.css +12 -0
  133. data/_sass/bootswatch/spacelab/_bootswatch.scss +98 -0
  134. data/_sass/bootswatch/spacelab/_variables.scss +62 -0
  135. data/_sass/bootswatch/spacelab/bootstrap.css +10543 -0
  136. data/_sass/bootswatch/spacelab/bootstrap.min.css +12 -0
  137. data/_sass/bootswatch/superhero/_bootswatch.scss +302 -0
  138. data/_sass/bootswatch/superhero/_variables.scss +151 -0
  139. data/_sass/bootswatch/superhero/bootstrap.css +10611 -0
  140. data/_sass/bootswatch/superhero/bootstrap.min.css +12 -0
  141. data/_sass/bootswatch/united/_bootswatch.scss +10 -0
  142. data/_sass/bootswatch/united/_variables.scss +54 -0
  143. data/_sass/bootswatch/united/bootstrap.css +10339 -0
  144. data/_sass/bootswatch/united/bootstrap.min.css +12 -0
  145. data/_sass/bootswatch/yeti/_bootswatch.scss +586 -0
  146. data/_sass/bootswatch/yeti/_variables.scss +110 -0
  147. data/_sass/bootswatch/yeti/bootstrap.css +10812 -0
  148. data/_sass/bootswatch/yeti/bootstrap.min.css +12 -0
  149. data/_sass/mixins/_alert.scss +13 -0
  150. data/_sass/mixins/_background-variant.scss +23 -0
  151. data/_sass/mixins/_badge.scss +17 -0
  152. data/_sass/mixins/_border-radius.scss +76 -0
  153. data/_sass/mixins/_box-shadow.scss +20 -0
  154. data/_sass/mixins/_breakpoints.scss +123 -0
  155. data/_sass/mixins/_buttons.scss +110 -0
  156. data/_sass/mixins/_caret.scss +62 -0
  157. data/_sass/mixins/_clearfix.scss +7 -0
  158. data/_sass/mixins/_deprecate.scss +10 -0
  159. data/_sass/mixins/_float.scss +14 -0
  160. data/_sass/mixins/_forms.scss +195 -0
  161. data/_sass/mixins/_gradients.scss +45 -0
  162. data/_sass/mixins/_grid-framework.scss +80 -0
  163. data/_sass/mixins/_grid.scss +69 -0
  164. data/_sass/mixins/_hover.scss +37 -0
  165. data/_sass/mixins/_image.scss +36 -0
  166. data/_sass/mixins/_list-group.scss +21 -0
  167. data/_sass/mixins/_lists.scss +7 -0
  168. data/_sass/mixins/_nav-divider.scss +11 -0
  169. data/_sass/mixins/_pagination.scss +22 -0
  170. data/_sass/mixins/_reset-text.scss +17 -0
  171. data/_sass/mixins/_resize.scss +6 -0
  172. data/_sass/mixins/_screen-reader.scss +34 -0
  173. data/_sass/mixins/_size.scss +7 -0
  174. data/_sass/mixins/_table-row.scss +39 -0
  175. data/_sass/mixins/_text-emphasis.scss +17 -0
  176. data/_sass/mixins/_text-hide.scss +11 -0
  177. data/_sass/mixins/_text-truncate.scss +8 -0
  178. data/_sass/mixins/_transition.scss +26 -0
  179. data/_sass/mixins/_visibility.scss +8 -0
  180. data/_sass/utilities/_align.scss +8 -0
  181. data/_sass/utilities/_background.scss +19 -0
  182. data/_sass/utilities/_borders.scss +75 -0
  183. data/_sass/utilities/_clearfix.scss +3 -0
  184. data/_sass/utilities/_display.scss +26 -0
  185. data/_sass/utilities/_embed.scss +39 -0
  186. data/_sass/utilities/_flex.scss +51 -0
  187. data/_sass/utilities/_float.scss +11 -0
  188. data/_sass/utilities/_interactions.scss +5 -0
  189. data/_sass/utilities/_overflow.scss +5 -0
  190. data/_sass/utilities/_position.scss +32 -0
  191. data/_sass/utilities/_screenreaders.scss +11 -0
  192. data/_sass/utilities/_shadows.scss +6 -0
  193. data/_sass/utilities/_sizing.scss +20 -0
  194. data/_sass/utilities/_spacing.scss +73 -0
  195. data/_sass/utilities/_stretched-link.scss +19 -0
  196. data/_sass/utilities/_text.scss +72 -0
  197. data/_sass/utilities/_visibility.scss +13 -0
  198. data/_sass/vendor/_rfs.scss +228 -0
  199. data/assets/main.scss +6 -4
  200. metadata +196 -49
@@ -1,19 +1,19 @@
1
- <div class="media mb-4 minecraft-text p-3 w-100 bg-dark" id="server-status">
2
- <img src="/assets/64x64.svg" class="mr-3 align-self-center" id="server-icon" />
3
- <div class="media-body">
4
- <div class="d-flex w-100 justify-content-between">
5
- <h5 class="m-0">PrimCraft</h5>
6
- <p class="mb-0">
7
- <span><a href="https://namemc.com/server/primcraft.com" title="PrimCraft NameMC Page" style="text-decoration: none;" class="minecraft-text-r">★</a></span>
8
- <span id="is-online">
9
- <span class="minecraft-text-7" id="online-count">..</span><span class="minecraft-text-8">/</span><span
10
- class="minecraft-text-7" id="capacity-count">..</span>
11
- </span>
12
- </p>
13
- </div>
14
- <p class="mb-0" id="server-motd">Loading...</p>
15
- <p class="mb-0"><span class="minecraft-text-7">{% t global.server-address %}: </span>primcraft.com</p>
16
- </div>
17
-
18
-
1
+ <div class="media mb-4 minecraft-text p-3 w-100 bg-dark" id="server-status">
2
+ <img src="/assets/64x64.svg" class="mr-3 align-self-center" id="server-icon" />
3
+ <div class="media-body">
4
+ <div class="d-flex w-100 justify-content-between">
5
+ <h5 class="m-0">PrimCraft</h5>
6
+ <p class="mb-0">
7
+ <span><a href="https://namemc.com/server/primcraft.com" title="PrimCraft NameMC Page" style="text-decoration: none;" class="minecraft-text-r">★</a></span>
8
+ <span id="is-online">
9
+ <span class="minecraft-text-7" id="online-count">..</span><span class="minecraft-text-8">/</span><span
10
+ class="minecraft-text-7" id="capacity-count">..</span>
11
+ </span>
12
+ </p>
13
+ </div>
14
+ <p class="mb-0" id="server-motd">Loading...</p>
15
+ <p class="mb-0"><span class="minecraft-text-7">{% t global.server-address %}: </span>primcraft.com</p>
16
+ </div>
17
+
18
+
19
19
  </div>
@@ -1,4 +1,4 @@
1
- <li class="list-inline-item"><span class="badge badge-pill badge-success">{{ include.server.version }}</span></li>
2
- {%- for tag in include.server.tags -%}
3
- <li class="list-inline-item"><span class="badge badge-pill badge-info">{%- t tag -%}</span></li>
1
+ <li class="list-inline-item"><span class="badge badge-pill badge-success">{{ include.server.version }}</span></li>
2
+ {%- for tag in include.server.tags -%}
3
+ <li class="list-inline-item"><span class="badge badge-pill badge-info">{%- t tag -%}</span></li>
4
4
  {%- endfor -%}
data/_includes/tfna.html CHANGED
@@ -1,10 +1,10 @@
1
- <div class="alert alert-light">
2
- <h4 class="alert-heading">{% t global.tfna-title %}</h4>
3
- <p class="mb-0">{% t global.tfna-description %}
4
- <a class="alert-link" href="{{ site.baseurl_root }}
5
- {%- unless include.lang == site.defaultLang -%}
6
- /{{ include.lang }}
7
- {%- endunless -%}
8
- {{include.page.url}}"><span lang="{{ include.lang }}">{{ site.languageNames[include.lang] }}</span></a>
9
- </p>
1
+ <div class="alert alert-light">
2
+ <h4 class="alert-heading">{% t global.tfna-title %}</h4>
3
+ <p class="mb-0">{% t global.tfna-description %}
4
+ <a class="alert-link" href="{{ site.baseurl_root }}
5
+ {%- unless include.lang == site.defaultLang -%}
6
+ /{{ include.lang }}
7
+ {%- endunless -%}
8
+ {{include.page.url}}"><span lang="{{ include.lang }}">{{ site.languageNames[include.lang] }}</span></a>
9
+ </p>
10
10
  </div>
data/_includes/toc.html CHANGED
@@ -1,8 +1,8 @@
1
- {%- if page.toc -%}
2
- <div class="card col-4 mb-5">
3
- <div class="card-body">
4
- <h5 class="card-title text-center">{% t pages.toc %}</h5>
5
- {{ content | toc_only }}
6
- </div>
7
- </div>
1
+ {%- if page.toc -%}
2
+ <div class="card col-4 mb-5">
3
+ <div class="card-body">
4
+ <h5 class="card-title text-center">{% t pages.toc %}</h5>
5
+ {{ content | toc_only }}
6
+ </div>
7
+ </div>
8
8
  {%- endif -%}
@@ -1,11 +1,11 @@
1
- {%- assign user = include.user -%}
2
- {% assign user-data = site.users | where: 'minecraft-id', user | first %}
3
- {%- if user-data -%}
4
- {%- if user-data.name -%}
5
- {{include.prepend}}<a href="/users/{{ user }}">{{ user-data.name}}</a>
6
- {%- else -%}
7
- {{include.prepend}}<a href="/users/{{ user }}"></a>{{ user }}</a>
8
- {%- endif -%}
9
- {%- else -%}
10
- {{ user | prepend: include.prepend }}
1
+ {%- assign user = include.user -%}
2
+ {% assign user-data = site.users | where: 'minecraft-id', user | first %}
3
+ {%- if user-data -%}
4
+ {%- if user-data.name -%}
5
+ {{include.prepend}}<a href="/users/{{ user }}">{{ user-data.name}}</a>
6
+ {%- else -%}
7
+ {{include.prepend}}<a href="/users/{{ user }}"></a>{{ user }}</a>
8
+ {%- endif -%}
9
+ {%- else -%}
10
+ {{ user | prepend: include.prepend }}
11
11
  {%- endif -%}
@@ -1,23 +1,23 @@
1
- ---
2
- layout: default
3
- ---
4
- <div class="pagetop"></div>
5
- <div class="container">
6
- <div class="row">
7
- <div class="col-lg-8">
8
- {%- capture post_type_t -%}{{ page.type | prepend: "archive.of-"}}{%- endcapture -%}
9
- {%- comment -%}TODO: deal with date formatting...{%- endcomment -%}
10
- {%- if page.type == "year" -%}
11
- {%- assign archive-filter = page.date | date: "%Y" -%}
12
- {%- elsif page.type == "month" -%}
13
- {%- assign archive-filter = page.date | date: "%Y/%m" -%}
14
- {%- elsif page.type == "day" -%}
15
- {%- assign archive-filter = page.date | date: "%Y/%m/%d" -%}
16
- {%- else -%}
17
- {%- capture archive-filter -%}{% t page.title %}{%- endcapture -%}
18
- {%- endif -%}
19
- <h1>{%t post_type_t %}: {{archive-filter}}</h1>
20
- {%- include full-post-list.html posts = page.posts -%}
21
- </div>
22
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="pagetop"></div>
5
+ <div class="container">
6
+ <div class="row">
7
+ <div class="col-lg-8">
8
+ {%- capture post_type_t -%}{{ page.type | prepend: "archive.of-"}}{%- endcapture -%}
9
+ {%- comment -%}TODO: deal with date formatting...{%- endcomment -%}
10
+ {%- if page.type == "year" -%}
11
+ {%- assign archive-filter = page.date | date: "%Y" -%}
12
+ {%- elsif page.type == "month" -%}
13
+ {%- assign archive-filter = page.date | date: "%Y/%m" -%}
14
+ {%- elsif page.type == "day" -%}
15
+ {%- assign archive-filter = page.date | date: "%Y/%m/%d" -%}
16
+ {%- else -%}
17
+ {%- capture archive-filter -%}{% t page.title %}{%- endcapture -%}
18
+ {%- endif -%}
19
+ <h1>{%t post_type_t %}: {{archive-filter}}</h1>
20
+ {%- include full-post-list.html posts = page.posts -%}
21
+ </div>
22
+ </div>
23
23
  </div>
@@ -1,9 +1,9 @@
1
- ---
2
- layout: page
3
- ---
4
- <ul class="list-unstyled">
5
- {% assign sorted_cats = site.categories | sort %}
6
- {%- for cat in sorted_cats -%}
7
- <li><a href="{{site.baseurl}}/category/{{cat[0] | slugify}}">{%t cat[0] %}</a></li>
8
- {%- endfor -%}
1
+ ---
2
+ layout: page
3
+ ---
4
+ <ul class="list-unstyled">
5
+ {% assign sorted_cats = site.categories | sort %}
6
+ {%- for cat in sorted_cats -%}
7
+ <li><a href="{{site.baseurl}}/category/{{cat[0] | slugify}}">{%t cat[0] %}</a></li>
8
+ {%- endfor -%}
9
9
  </ul>
@@ -1,14 +1,14 @@
1
- ---
2
- layout: default
3
- ---
4
- <div class="pagetop"></div>
5
- <div class="container">
6
- <div class="row">
7
- <div class="col-lg-9">
8
- {{ content }}
9
- </div>
10
- <div class="col-lg-3">
11
- {%- include recent.html -%}
12
- </div>
13
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="pagetop"></div>
5
+ <div class="container">
6
+ <div class="row">
7
+ <div class="col-lg-9">
8
+ {{ content }}
9
+ </div>
10
+ <div class="col-lg-3">
11
+ {%- include recent.html -%}
12
+ </div>
13
+ </div>
14
14
  </div>
data/_layouts/tag.html CHANGED
@@ -1,9 +1,9 @@
1
- ---
2
- layout: page
3
- ---
4
- <ul class="list-unstyled">
5
- {% assign sorted_tags = site.tags | sort %}
6
- {%- for tag in sorted_tags -%}
7
- <li><a href="{{site.baseurl}}/tag/{{tag[0] | slugify}}">{%t tag[0] %}</a></li>
8
- {%- endfor -%}
1
+ ---
2
+ layout: page
3
+ ---
4
+ <ul class="list-unstyled">
5
+ {% assign sorted_tags = site.tags | sort %}
6
+ {%- for tag in sorted_tags -%}
7
+ <li><a href="{{site.baseurl}}/tag/{{tag[0] | slugify}}">{%t tag[0] %}</a></li>
8
+ {%- endfor -%}
9
9
  </ul>
data/_layouts/user.html CHANGED
@@ -1,41 +1,41 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
-
4
- {%- include head.html -%}
5
-
6
- <body>
7
- {%- include header.html -%}
8
- <div class="pagetop"></div>
9
- <div class="container">
10
- <div class="row">
11
- <div class="col-lg-9">
12
- {{ content }}
13
- </div>
14
- <div class="col-lg-3">
15
- <div class="card mb-4">
16
- <div class="card-header">{% t user.user-info %}</div>
17
- <ul class="list-group list-group-flush">
18
- <li class="list-group-item">
19
- <div class="d-flex w-100 justify-content-between">
20
- <p class="text-muted mb-0">{% t user.minecraft-id %}</p>
21
- <h6 class="mb-1">{{ page.minecraft-id }}</h6>
22
- </div>
23
- </li>
24
- <li class="list-group-item">
25
- <div class="d-flex w-100 justify-content-between">
26
- <p class="text-muted mb-0">{% t user.name %}</p>
27
- <h6 class="mb-1">{{ page.name }}</h6>
28
- </div>
29
- </li>
30
- </ul>
31
- </div>
32
- </div>
33
- </div>
34
- </div>
35
-
36
-
37
- {%- include footer.html -%}
38
-
39
- </body>
40
-
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+ {%- include header.html -%}
8
+ <div class="pagetop"></div>
9
+ <div class="container">
10
+ <div class="row">
11
+ <div class="col-lg-9">
12
+ {{ content }}
13
+ </div>
14
+ <div class="col-lg-3">
15
+ <div class="card mb-4">
16
+ <div class="card-header">{% t user.user-info %}</div>
17
+ <ul class="list-group list-group-flush">
18
+ <li class="list-group-item">
19
+ <div class="d-flex w-100 justify-content-between">
20
+ <p class="text-muted mb-0">{% t user.minecraft-id %}</p>
21
+ <h6 class="mb-1">{{ page.minecraft-id }}</h6>
22
+ </div>
23
+ </li>
24
+ <li class="list-group-item">
25
+ <div class="d-flex w-100 justify-content-between">
26
+ <p class="text-muted mb-0">{% t user.name %}</p>
27
+ <h6 class="mb-1">{{ page.name }}</h6>
28
+ </div>
29
+ </li>
30
+ </ul>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </div>
35
+
36
+
37
+ {%- include footer.html -%}
38
+
39
+ </body>
40
+
41
41
  </html>
data/_sass/_alert.scss ADDED
@@ -0,0 +1,52 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ .alert {
6
+ position: relative;
7
+ padding: $alert-padding-y $alert-padding-x;
8
+ margin-bottom: $alert-margin-bottom;
9
+ border: $alert-border-width solid transparent;
10
+ @include border-radius($alert-border-radius);
11
+ }
12
+
13
+ // Headings for larger alerts
14
+ .alert-heading {
15
+ // Specified to prevent conflicts of changing $headings-color
16
+ color: inherit;
17
+ }
18
+
19
+ // Provide class for links that match alerts
20
+ .alert-link {
21
+ font-weight: $alert-link-font-weight;
22
+ }
23
+
24
+
25
+ // Dismissible alerts
26
+ //
27
+ // Expand the right padding and account for the close button's positioning.
28
+
29
+ .alert-dismissible {
30
+ padding-right: $close-font-size + $alert-padding-x * 2;
31
+
32
+ // Adjust close link position
33
+ .close {
34
+ position: absolute;
35
+ top: 0;
36
+ right: 0;
37
+ z-index: 2;
38
+ padding: $alert-padding-y $alert-padding-x;
39
+ color: inherit;
40
+ }
41
+ }
42
+
43
+
44
+ // Alternate styles
45
+ //
46
+ // Generate contextual modifier classes for colorizing the alert.
47
+
48
+ @each $color, $value in $theme-colors {
49
+ .alert-#{$color} {
50
+ @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
51
+ }
52
+ }
data/_sass/_badge.scss ADDED
@@ -0,0 +1,54 @@
1
+ // Base class
2
+ //
3
+ // Requires one of the contextual, color modifier classes for `color` and
4
+ // `background-color`.
5
+
6
+ .badge {
7
+ display: inline-block;
8
+ padding: $badge-padding-y $badge-padding-x;
9
+ @include font-size($badge-font-size);
10
+ font-weight: $badge-font-weight;
11
+ line-height: 1;
12
+ text-align: center;
13
+ white-space: nowrap;
14
+ vertical-align: baseline;
15
+ @include border-radius($badge-border-radius);
16
+ @include transition($badge-transition);
17
+
18
+ @at-root a#{&} {
19
+ @include hover-focus() {
20
+ text-decoration: none;
21
+ }
22
+ }
23
+
24
+ // Empty badges collapse automatically
25
+ &:empty {
26
+ display: none;
27
+ }
28
+ }
29
+
30
+ // Quick fix for badges in buttons
31
+ .btn .badge {
32
+ position: relative;
33
+ top: -1px;
34
+ }
35
+
36
+ // Pill badges
37
+ //
38
+ // Make them extra rounded with a modifier to replace v3's badges.
39
+
40
+ .badge-pill {
41
+ padding-right: $badge-pill-padding-x;
42
+ padding-left: $badge-pill-padding-x;
43
+ @include border-radius($badge-pill-border-radius);
44
+ }
45
+
46
+ // Colors
47
+ //
48
+ // Contextual variations (linked badges get darker on :hover).
49
+
50
+ @each $color, $value in $theme-colors {
51
+ .badge-#{$color} {
52
+ @include badge-variant($value);
53
+ }
54
+ }
@@ -0,0 +1,42 @@
1
+ .breadcrumb {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5
+ margin-bottom: $breadcrumb-margin-bottom;
6
+ @include font-size($breadcrumb-font-size);
7
+ list-style: none;
8
+ background-color: $breadcrumb-bg;
9
+ @include border-radius($breadcrumb-border-radius);
10
+ }
11
+
12
+ .breadcrumb-item {
13
+ // The separator between breadcrumbs (by default, a forward-slash: "/")
14
+ + .breadcrumb-item {
15
+ padding-left: $breadcrumb-item-padding;
16
+
17
+ &::before {
18
+ float: left; // Suppress inline spacings and underlining of the separator
19
+ padding-right: $breadcrumb-item-padding;
20
+ color: $breadcrumb-divider-color;
21
+ content: escape-svg($breadcrumb-divider);
22
+ }
23
+ }
24
+
25
+ // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
26
+ // without `<ul>`s. The `::before` pseudo-element generates an element
27
+ // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
28
+ //
29
+ // To trick IE into suppressing the underline, we give the pseudo-element an
30
+ // underline and then immediately remove it.
31
+ + .breadcrumb-item:hover::before {
32
+ text-decoration: underline;
33
+ }
34
+ // stylelint-disable-next-line no-duplicate-selectors
35
+ + .breadcrumb-item:hover::before {
36
+ text-decoration: none;
37
+ }
38
+
39
+ &.active {
40
+ color: $breadcrumb-active-color;
41
+ }
42
+ }
@@ -0,0 +1,163 @@
1
+ // stylelint-disable selector-no-qualifying-type
2
+
3
+ // Make the div behave like a button
4
+ .btn-group,
5
+ .btn-group-vertical {
6
+ position: relative;
7
+ display: inline-flex;
8
+ vertical-align: middle; // match .btn alignment given font-size hack above
9
+
10
+ > .btn {
11
+ position: relative;
12
+ flex: 1 1 auto;
13
+
14
+ // Bring the hover, focused, and "active" buttons to the front to overlay
15
+ // the borders properly
16
+ @include hover() {
17
+ z-index: 1;
18
+ }
19
+ &:focus,
20
+ &:active,
21
+ &.active {
22
+ z-index: 1;
23
+ }
24
+ }
25
+ }
26
+
27
+ // Optional: Group multiple button groups together for a toolbar
28
+ .btn-toolbar {
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ justify-content: flex-start;
32
+
33
+ .input-group {
34
+ width: auto;
35
+ }
36
+ }
37
+
38
+ .btn-group {
39
+ // Prevent double borders when buttons are next to each other
40
+ > .btn:not(:first-child),
41
+ > .btn-group:not(:first-child) {
42
+ margin-left: -$btn-border-width;
43
+ }
44
+
45
+ // Reset rounded corners
46
+ > .btn:not(:last-child):not(.dropdown-toggle),
47
+ > .btn-group:not(:last-child) > .btn {
48
+ @include border-right-radius(0);
49
+ }
50
+
51
+ > .btn:not(:first-child),
52
+ > .btn-group:not(:first-child) > .btn {
53
+ @include border-left-radius(0);
54
+ }
55
+ }
56
+
57
+ // Sizing
58
+ //
59
+ // Remix the default button sizing classes into new ones for easier manipulation.
60
+
61
+ .btn-group-sm > .btn { @extend .btn-sm; }
62
+ .btn-group-lg > .btn { @extend .btn-lg; }
63
+
64
+
65
+ //
66
+ // Split button dropdowns
67
+ //
68
+
69
+ .dropdown-toggle-split {
70
+ padding-right: $btn-padding-x * .75;
71
+ padding-left: $btn-padding-x * .75;
72
+
73
+ &::after,
74
+ .dropup &::after,
75
+ .dropright &::after {
76
+ margin-left: 0;
77
+ }
78
+
79
+ .dropleft &::before {
80
+ margin-right: 0;
81
+ }
82
+ }
83
+
84
+ .btn-sm + .dropdown-toggle-split {
85
+ padding-right: $btn-padding-x-sm * .75;
86
+ padding-left: $btn-padding-x-sm * .75;
87
+ }
88
+
89
+ .btn-lg + .dropdown-toggle-split {
90
+ padding-right: $btn-padding-x-lg * .75;
91
+ padding-left: $btn-padding-x-lg * .75;
92
+ }
93
+
94
+
95
+ // The clickable button for toggling the menu
96
+ // Set the same inset shadow as the :active state
97
+ .btn-group.show .dropdown-toggle {
98
+ @include box-shadow($btn-active-box-shadow);
99
+
100
+ // Show no shadow for `.btn-link` since it has no other button styles.
101
+ &.btn-link {
102
+ @include box-shadow(none);
103
+ }
104
+ }
105
+
106
+
107
+ //
108
+ // Vertical button groups
109
+ //
110
+
111
+ .btn-group-vertical {
112
+ flex-direction: column;
113
+ align-items: flex-start;
114
+ justify-content: center;
115
+
116
+ > .btn,
117
+ > .btn-group {
118
+ width: 100%;
119
+ }
120
+
121
+ > .btn:not(:first-child),
122
+ > .btn-group:not(:first-child) {
123
+ margin-top: -$btn-border-width;
124
+ }
125
+
126
+ // Reset rounded corners
127
+ > .btn:not(:last-child):not(.dropdown-toggle),
128
+ > .btn-group:not(:last-child) > .btn {
129
+ @include border-bottom-radius(0);
130
+ }
131
+
132
+ > .btn:not(:first-child),
133
+ > .btn-group:not(:first-child) > .btn {
134
+ @include border-top-radius(0);
135
+ }
136
+ }
137
+
138
+
139
+ // Checkbox and radio options
140
+ //
141
+ // In order to support the browser's form validation feedback, powered by the
142
+ // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
143
+ // `display: none;` or `visibility: hidden;` as that also hides the popover.
144
+ // Simply visually hiding the inputs via `opacity` would leave them clickable in
145
+ // certain cases which is prevented by using `clip` and `pointer-events`.
146
+ // This way, we ensure a DOM element is visible to position the popover from.
147
+ //
148
+ // See https://github.com/twbs/bootstrap/pull/12794 and
149
+ // https://github.com/twbs/bootstrap/pull/14559 for more information.
150
+
151
+ .btn-group-toggle {
152
+ > .btn,
153
+ > .btn-group > .btn {
154
+ margin-bottom: 0; // Override default `<label>` value
155
+
156
+ input[type="radio"],
157
+ input[type="checkbox"] {
158
+ position: absolute;
159
+ clip: rect(0, 0, 0, 0);
160
+ pointer-events: none;
161
+ }
162
+ }
163
+ }