owasp-td-jekyll 0.1.0

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 (129) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +202 -0
  3. data/README.md +212 -0
  4. data/_includes/head.html +11 -0
  5. data/_includes/navbar.html +33 -0
  6. data/_includes/sidebar.html +55 -0
  7. data/_layouts/default.html +15 -0
  8. data/_layouts/page.html +11 -0
  9. data/_layouts/post.html +5 -0
  10. data/_sass/bootstrap-theme.scss +15 -0
  11. data/_sass/bootstrap/LICENSE +22 -0
  12. data/_sass/bootstrap/_alert.scss +52 -0
  13. data/_sass/bootstrap/_badge.scss +54 -0
  14. data/_sass/bootstrap/_breadcrumb.scss +44 -0
  15. data/_sass/bootstrap/_button-group.scss +163 -0
  16. data/_sass/bootstrap/_buttons.scss +142 -0
  17. data/_sass/bootstrap/_card.scss +286 -0
  18. data/_sass/bootstrap/_carousel.scss +197 -0
  19. data/_sass/bootstrap/_close.scss +40 -0
  20. data/_sass/bootstrap/_code.scss +48 -0
  21. data/_sass/bootstrap/_custom-forms.scss +524 -0
  22. data/_sass/bootstrap/_dropdown.scss +192 -0
  23. data/_sass/bootstrap/_forms.scss +347 -0
  24. data/_sass/bootstrap/_functions.scss +144 -0
  25. data/_sass/bootstrap/_grid.scss +73 -0
  26. data/_sass/bootstrap/_images.scss +42 -0
  27. data/_sass/bootstrap/_input-group.scss +192 -0
  28. data/_sass/bootstrap/_jumbotron.scss +17 -0
  29. data/_sass/bootstrap/_list-group.scss +154 -0
  30. data/_sass/bootstrap/_media.scss +8 -0
  31. data/_sass/bootstrap/_mixins.scss +47 -0
  32. data/_sass/bootstrap/_modal.scss +240 -0
  33. data/_sass/bootstrap/_nav.scss +123 -0
  34. data/_sass/bootstrap/_navbar.scss +324 -0
  35. data/_sass/bootstrap/_pagination.scss +74 -0
  36. data/_sass/bootstrap/_popover.scss +170 -0
  37. data/_sass/bootstrap/_print.scss +141 -0
  38. data/_sass/bootstrap/_progress.scss +47 -0
  39. data/_sass/bootstrap/_reboot.scss +484 -0
  40. data/_sass/bootstrap/_root.scss +20 -0
  41. data/_sass/bootstrap/_spinners.scss +56 -0
  42. data/_sass/bootstrap/_tables.scss +185 -0
  43. data/_sass/bootstrap/_toasts.scss +46 -0
  44. data/_sass/bootstrap/_tooltip.scss +115 -0
  45. data/_sass/bootstrap/_transitions.scss +20 -0
  46. data/_sass/bootstrap/_type.scss +125 -0
  47. data/_sass/bootstrap/_utilities.scss +18 -0
  48. data/_sass/bootstrap/_variables.scss +1142 -0
  49. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  50. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  51. data/_sass/bootstrap/bootstrap.scss +44 -0
  52. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  53. data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
  54. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  55. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  56. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  57. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  58. data/_sass/bootstrap/mixins/_buttons.scss +110 -0
  59. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  60. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  61. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  62. data/_sass/bootstrap/mixins/_float.scss +14 -0
  63. data/_sass/bootstrap/mixins/_forms.scss +178 -0
  64. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  65. data/_sass/bootstrap/mixins/_grid-framework.scss +80 -0
  66. data/_sass/bootstrap/mixins/_grid.scss +69 -0
  67. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  68. data/_sass/bootstrap/mixins/_image.scss +36 -0
  69. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  70. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  71. data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
  72. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  73. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  74. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  75. data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
  76. data/_sass/bootstrap/mixins/_size.scss +7 -0
  77. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  78. data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
  79. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  80. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  81. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  82. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  83. data/_sass/bootstrap/utilities/_align.scss +8 -0
  84. data/_sass/bootstrap/utilities/_background.scss +19 -0
  85. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  86. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  87. data/_sass/bootstrap/utilities/_display.scss +26 -0
  88. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  89. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  90. data/_sass/bootstrap/utilities/_float.scss +11 -0
  91. data/_sass/bootstrap/utilities/_interactions.scss +5 -0
  92. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  93. data/_sass/bootstrap/utilities/_position.scss +32 -0
  94. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  95. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  96. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  97. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  98. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  99. data/_sass/bootstrap/utilities/_text.scss +72 -0
  100. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  101. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  102. data/_sass/colors.scss +6 -0
  103. data/_sass/layout.scss +13 -0
  104. data/_sass/navbar.scss +20 -0
  105. data/_sass/sidebar.scss +62 -0
  106. data/assets/css/bootstrap.scss +5 -0
  107. data/assets/css/fontawesome.min.css +5 -0
  108. data/assets/css/style.scss +5 -0
  109. data/assets/images/favicon.ico +0 -0
  110. data/assets/js/bootstrap.bundle.min.js +7 -0
  111. data/assets/js/bootstrap.bundle.min.js.map +1 -0
  112. data/assets/js/jquery.min.js +2 -0
  113. data/assets/js/sidebar.js +25 -0
  114. data/assets/webfonts/fa-brands-400.eot +0 -0
  115. data/assets/webfonts/fa-brands-400.svg +3717 -0
  116. data/assets/webfonts/fa-brands-400.ttf +0 -0
  117. data/assets/webfonts/fa-brands-400.woff +0 -0
  118. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  119. data/assets/webfonts/fa-regular-400.eot +0 -0
  120. data/assets/webfonts/fa-regular-400.svg +801 -0
  121. data/assets/webfonts/fa-regular-400.ttf +0 -0
  122. data/assets/webfonts/fa-regular-400.woff +0 -0
  123. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  124. data/assets/webfonts/fa-solid-900.eot +0 -0
  125. data/assets/webfonts/fa-solid-900.svg +5034 -0
  126. data/assets/webfonts/fa-solid-900.ttf +0 -0
  127. data/assets/webfonts/fa-solid-900.woff +0 -0
  128. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  129. metadata +184 -0
@@ -0,0 +1,123 @@
1
+ // Base class
2
+ //
3
+ // Kickstart any navigation component with a set of style resets. Works with
4
+ // `<nav>`s, `<ul>`s or `<ol>`s.
5
+
6
+ .nav {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ padding-left: 0;
10
+ margin-bottom: 0;
11
+ list-style: none;
12
+ }
13
+
14
+ .nav-link {
15
+ display: block;
16
+ padding: $nav-link-padding-y $nav-link-padding-x;
17
+ text-decoration: if($link-decoration == none, null, none);
18
+
19
+ @include hover-focus() {
20
+ text-decoration: none;
21
+ }
22
+
23
+ // Disabled state lightens text
24
+ &.disabled {
25
+ color: $nav-link-disabled-color;
26
+ pointer-events: none;
27
+ cursor: default;
28
+ }
29
+ }
30
+
31
+ //
32
+ // Tabs
33
+ //
34
+
35
+ .nav-tabs {
36
+ border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
37
+
38
+ .nav-item {
39
+ margin-bottom: -$nav-tabs-border-width;
40
+ }
41
+
42
+ .nav-link {
43
+ border: $nav-tabs-border-width solid transparent;
44
+ @include border-top-radius($nav-tabs-border-radius);
45
+
46
+ @include hover-focus() {
47
+ border-color: $nav-tabs-link-hover-border-color;
48
+ }
49
+
50
+ &.disabled {
51
+ color: $nav-link-disabled-color;
52
+ background-color: transparent;
53
+ border-color: transparent;
54
+ }
55
+ }
56
+
57
+ .nav-link.active,
58
+ .nav-item.show .nav-link {
59
+ color: $nav-tabs-link-active-color;
60
+ background-color: $nav-tabs-link-active-bg;
61
+ border-color: $nav-tabs-link-active-border-color;
62
+ }
63
+
64
+ .dropdown-menu {
65
+ // Make dropdown border overlap tab border
66
+ margin-top: -$nav-tabs-border-width;
67
+ // Remove the top rounded corners here since there is a hard edge above the menu
68
+ @include border-top-radius(0);
69
+ }
70
+ }
71
+
72
+
73
+ //
74
+ // Pills
75
+ //
76
+
77
+ .nav-pills {
78
+ .nav-link {
79
+ @include border-radius($nav-pills-border-radius);
80
+ }
81
+
82
+ .nav-link.active,
83
+ .show > .nav-link {
84
+ color: $nav-pills-link-active-color;
85
+ background-color: $nav-pills-link-active-bg;
86
+ }
87
+ }
88
+
89
+
90
+ //
91
+ // Justified variants
92
+ //
93
+
94
+ .nav-fill {
95
+ > .nav-link,
96
+ .nav-item {
97
+ flex: 1 1 auto;
98
+ text-align: center;
99
+ }
100
+ }
101
+
102
+ .nav-justified {
103
+ > .nav-link,
104
+ .nav-item {
105
+ flex-basis: 0;
106
+ flex-grow: 1;
107
+ text-align: center;
108
+ }
109
+ }
110
+
111
+
112
+ // Tabbable tabs
113
+ //
114
+ // Hide tabbable panes to start, show them when `.active`
115
+
116
+ .tab-content {
117
+ > .tab-pane {
118
+ display: none;
119
+ }
120
+ > .active {
121
+ display: block;
122
+ }
123
+ }
@@ -0,0 +1,324 @@
1
+ // Contents
2
+ //
3
+ // Navbar
4
+ // Navbar brand
5
+ // Navbar nav
6
+ // Navbar text
7
+ // Navbar divider
8
+ // Responsive navbar
9
+ // Navbar position
10
+ // Navbar themes
11
+
12
+
13
+ // Navbar
14
+ //
15
+ // Provide a static navbar from which we expand to create full-width, fixed, and
16
+ // other navbar variations.
17
+
18
+ .navbar {
19
+ position: relative;
20
+ display: flex;
21
+ flex-wrap: wrap; // allow us to do the line break for collapsing content
22
+ align-items: center;
23
+ justify-content: space-between; // space out brand from logo
24
+ padding: $navbar-padding-y $navbar-padding-x;
25
+
26
+ // Because flex properties aren't inherited, we need to redeclare these first
27
+ // few properties so that content nested within behave properly.
28
+ %container-flex-properties {
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ align-items: center;
32
+ justify-content: space-between;
33
+ }
34
+
35
+ .container,
36
+ .container-fluid {
37
+ @extend %container-flex-properties;
38
+ }
39
+
40
+ @each $breakpoint, $container-max-width in $container-max-widths {
41
+ > .container#{breakpoint-infix($breakpoint, $container-max-widths)} {
42
+ @extend %container-flex-properties;
43
+ }
44
+ }
45
+ }
46
+
47
+
48
+ // Navbar brand
49
+ //
50
+ // Used for brand, project, or site names.
51
+
52
+ .navbar-brand {
53
+ display: inline-block;
54
+ padding-top: $navbar-brand-padding-y;
55
+ padding-bottom: $navbar-brand-padding-y;
56
+ margin-right: $navbar-padding-x;
57
+ @include font-size($navbar-brand-font-size);
58
+ line-height: inherit;
59
+ white-space: nowrap;
60
+
61
+ @include hover-focus() {
62
+ text-decoration: none;
63
+ }
64
+ }
65
+
66
+
67
+ // Navbar nav
68
+ //
69
+ // Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`).
70
+
71
+ .navbar-nav {
72
+ display: flex;
73
+ flex-direction: column; // cannot use `inherit` to get the `.navbar`s value
74
+ padding-left: 0;
75
+ margin-bottom: 0;
76
+ list-style: none;
77
+
78
+ .nav-link {
79
+ padding-right: 0;
80
+ padding-left: 0;
81
+ }
82
+
83
+ .dropdown-menu {
84
+ position: static;
85
+ float: none;
86
+ }
87
+ }
88
+
89
+
90
+ // Navbar text
91
+ //
92
+ //
93
+
94
+ .navbar-text {
95
+ display: inline-block;
96
+ padding-top: $nav-link-padding-y;
97
+ padding-bottom: $nav-link-padding-y;
98
+ }
99
+
100
+
101
+ // Responsive navbar
102
+ //
103
+ // Custom styles for responsive collapsing and toggling of navbar contents.
104
+ // Powered by the collapse Bootstrap JavaScript plugin.
105
+
106
+ // When collapsed, prevent the toggleable navbar contents from appearing in
107
+ // the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
108
+ // on the `.navbar` parent.
109
+ .navbar-collapse {
110
+ flex-basis: 100%;
111
+ flex-grow: 1;
112
+ // For always expanded or extra full navbars, ensure content aligns itself
113
+ // properly vertically. Can be easily overridden with flex utilities.
114
+ align-items: center;
115
+ }
116
+
117
+ // Button for toggling the navbar when in its collapsed state
118
+ .navbar-toggler {
119
+ padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
120
+ @include font-size($navbar-toggler-font-size);
121
+ line-height: 1;
122
+ background-color: transparent; // remove default button style
123
+ border: $border-width solid transparent; // remove default button style
124
+ @include border-radius($navbar-toggler-border-radius);
125
+
126
+ @include hover-focus() {
127
+ text-decoration: none;
128
+ }
129
+ }
130
+
131
+ // Keep as a separate element so folks can easily override it with another icon
132
+ // or image file as needed.
133
+ .navbar-toggler-icon {
134
+ display: inline-block;
135
+ width: 1.5em;
136
+ height: 1.5em;
137
+ vertical-align: middle;
138
+ content: "";
139
+ background: no-repeat center center;
140
+ background-size: 100% 100%;
141
+ }
142
+
143
+ // Generate series of `.navbar-expand-*` responsive classes for configuring
144
+ // where your navbar collapses.
145
+ .navbar-expand {
146
+ @each $breakpoint in map-keys($grid-breakpoints) {
147
+ $next: breakpoint-next($breakpoint, $grid-breakpoints);
148
+ $infix: breakpoint-infix($next, $grid-breakpoints);
149
+
150
+ &#{$infix} {
151
+ @include media-breakpoint-down($breakpoint) {
152
+ %container-navbar-expand-#{$breakpoint} {
153
+ padding-right: 0;
154
+ padding-left: 0;
155
+ }
156
+
157
+ > .container,
158
+ > .container-fluid {
159
+ @extend %container-navbar-expand-#{$breakpoint};
160
+ }
161
+
162
+ @each $size, $container-max-width in $container-max-widths {
163
+ > .container#{breakpoint-infix($size, $container-max-widths)} {
164
+ @extend %container-navbar-expand-#{$breakpoint};
165
+ }
166
+ }
167
+ }
168
+
169
+ @include media-breakpoint-up($next) {
170
+ flex-flow: row nowrap;
171
+ justify-content: flex-start;
172
+
173
+ .navbar-nav {
174
+ flex-direction: row;
175
+
176
+ .dropdown-menu {
177
+ position: absolute;
178
+ }
179
+
180
+ .nav-link {
181
+ padding-right: $navbar-nav-link-padding-x;
182
+ padding-left: $navbar-nav-link-padding-x;
183
+ }
184
+ }
185
+
186
+ // For nesting containers, have to redeclare for alignment purposes
187
+ %container-nesting-#{$breakpoint} {
188
+ flex-wrap: nowrap;
189
+ }
190
+
191
+ > .container,
192
+ > .container-fluid {
193
+ @extend %container-nesting-#{$breakpoint};
194
+ }
195
+
196
+ @each $size, $container-max-width in $container-max-widths {
197
+ > .container#{breakpoint-infix($size, $container-max-widths)} {
198
+ @extend %container-nesting-#{$breakpoint};
199
+ }
200
+ }
201
+
202
+ .navbar-collapse {
203
+ display: flex !important; // stylelint-disable-line declaration-no-important
204
+
205
+ // Changes flex-bases to auto because of an IE10 bug
206
+ flex-basis: auto;
207
+ }
208
+
209
+ .navbar-toggler {
210
+ display: none;
211
+ }
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+
218
+ // Navbar themes
219
+ //
220
+ // Styles for switching between navbars with light or dark background.
221
+
222
+ // Dark links against a light background
223
+ .navbar-light {
224
+ .navbar-brand {
225
+ color: $navbar-light-brand-color;
226
+
227
+ @include hover-focus() {
228
+ color: $navbar-light-brand-hover-color;
229
+ }
230
+ }
231
+
232
+ .navbar-nav {
233
+ .nav-link {
234
+ color: $navbar-light-color;
235
+
236
+ @include hover-focus() {
237
+ color: $navbar-light-hover-color;
238
+ }
239
+
240
+ &.disabled {
241
+ color: $navbar-light-disabled-color;
242
+ }
243
+ }
244
+
245
+ .show > .nav-link,
246
+ .active > .nav-link,
247
+ .nav-link.show,
248
+ .nav-link.active {
249
+ color: $navbar-light-active-color;
250
+ }
251
+ }
252
+
253
+ .navbar-toggler {
254
+ color: $navbar-light-color;
255
+ border-color: $navbar-light-toggler-border-color;
256
+ }
257
+
258
+ .navbar-toggler-icon {
259
+ background-image: escape-svg($navbar-light-toggler-icon-bg);
260
+ }
261
+
262
+ .navbar-text {
263
+ color: $navbar-light-color;
264
+ a {
265
+ color: $navbar-light-active-color;
266
+
267
+ @include hover-focus() {
268
+ color: $navbar-light-active-color;
269
+ }
270
+ }
271
+ }
272
+ }
273
+
274
+ // White links against a dark background
275
+ .navbar-dark {
276
+ .navbar-brand {
277
+ color: $navbar-dark-brand-color;
278
+
279
+ @include hover-focus() {
280
+ color: $navbar-dark-brand-hover-color;
281
+ }
282
+ }
283
+
284
+ .navbar-nav {
285
+ .nav-link {
286
+ color: $navbar-dark-color;
287
+
288
+ @include hover-focus() {
289
+ color: $navbar-dark-hover-color;
290
+ }
291
+
292
+ &.disabled {
293
+ color: $navbar-dark-disabled-color;
294
+ }
295
+ }
296
+
297
+ .show > .nav-link,
298
+ .active > .nav-link,
299
+ .nav-link.show,
300
+ .nav-link.active {
301
+ color: $navbar-dark-active-color;
302
+ }
303
+ }
304
+
305
+ .navbar-toggler {
306
+ color: $navbar-dark-color;
307
+ border-color: $navbar-dark-toggler-border-color;
308
+ }
309
+
310
+ .navbar-toggler-icon {
311
+ background-image: escape-svg($navbar-dark-toggler-icon-bg);
312
+ }
313
+
314
+ .navbar-text {
315
+ color: $navbar-dark-color;
316
+ a {
317
+ color: $navbar-dark-active-color;
318
+
319
+ @include hover-focus() {
320
+ color: $navbar-dark-active-color;
321
+ }
322
+ }
323
+ }
324
+ }
@@ -0,0 +1,74 @@
1
+ .pagination {
2
+ display: flex;
3
+ @include list-unstyled();
4
+ @include border-radius();
5
+ }
6
+
7
+ .page-link {
8
+ position: relative;
9
+ display: block;
10
+ padding: $pagination-padding-y $pagination-padding-x;
11
+ margin-left: -$pagination-border-width;
12
+ line-height: $pagination-line-height;
13
+ color: $pagination-color;
14
+ text-decoration: if($link-decoration == none, null, none);
15
+ background-color: $pagination-bg;
16
+ border: $pagination-border-width solid $pagination-border-color;
17
+
18
+ &:hover {
19
+ z-index: 2;
20
+ color: $pagination-hover-color;
21
+ text-decoration: none;
22
+ background-color: $pagination-hover-bg;
23
+ border-color: $pagination-hover-border-color;
24
+ }
25
+
26
+ &:focus {
27
+ z-index: 3;
28
+ outline: $pagination-focus-outline;
29
+ box-shadow: $pagination-focus-box-shadow;
30
+ }
31
+ }
32
+
33
+ .page-item {
34
+ &:first-child {
35
+ .page-link {
36
+ margin-left: 0;
37
+ @include border-left-radius($border-radius);
38
+ }
39
+ }
40
+ &:last-child {
41
+ .page-link {
42
+ @include border-right-radius($border-radius);
43
+ }
44
+ }
45
+
46
+ &.active .page-link {
47
+ z-index: 3;
48
+ color: $pagination-active-color;
49
+ background-color: $pagination-active-bg;
50
+ border-color: $pagination-active-border-color;
51
+ }
52
+
53
+ &.disabled .page-link {
54
+ color: $pagination-disabled-color;
55
+ pointer-events: none;
56
+ // Opinionated: remove the "hand" cursor set previously for .page-link
57
+ cursor: auto;
58
+ background-color: $pagination-disabled-bg;
59
+ border-color: $pagination-disabled-border-color;
60
+ }
61
+ }
62
+
63
+
64
+ //
65
+ // Sizing
66
+ //
67
+
68
+ .pagination-lg {
69
+ @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
70
+ }
71
+
72
+ .pagination-sm {
73
+ @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
74
+ }