federalist-basic-report-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +31 -0
  3. data/README.md +164 -0
  4. data/_includes/analytics.html +20 -0
  5. data/_includes/banner.html +1 -0
  6. data/_includes/components/banner.html +20 -0
  7. data/_includes/components/footer--medium.html +81 -0
  8. data/_includes/components/graphic-list.html +16 -0
  9. data/_includes/components/header--basic.html +74 -0
  10. data/_includes/components/header--extended.html +88 -0
  11. data/_includes/components/hero.html +32 -0
  12. data/_includes/components/sidenav--default.html +26 -0
  13. data/_includes/favicon.html +24 -0
  14. data/_includes/footer.html +3 -0
  15. data/_includes/graphic-list.html +2 -0
  16. data/_includes/header.html +9 -0
  17. data/_includes/meta.html +6 -0
  18. data/_includes/scripts.html +39 -0
  19. data/_includes/sidenav.html +27 -0
  20. data/_includes/skipnav.html +1 -0
  21. data/_includes/styles.html +14 -0
  22. data/_includes/subnav.html +5 -0
  23. data/_layouts/default.html +24 -0
  24. data/_layouts/home.html +43 -0
  25. data/_layouts/page.html +13 -0
  26. data/_layouts/post.html +7 -0
  27. data/_sass/components/_all.scss +7 -0
  28. data/_sass/components/_alt-color-section.scss +35 -0
  29. data/_sass/components/_footer.scss +26 -0
  30. data/_sass/components/_header.scss +27 -0
  31. data/_sass/components/_hero.scss +45 -0
  32. data/_sass/components/_nav-buttons.scss +24 -0
  33. data/_sass/components/_side-nav.scss +56 -0
  34. data/_sass/components/_site-width.scss +12 -0
  35. data/_sass/components/_top-nav.scss +73 -0
  36. data/_sass/components/_usa-banner.scss +29 -0
  37. data/assets/css/federalist.scss +91 -0
  38. data/assets/css/theme.scss +38 -0
  39. data/assets/docs/sample-document.pdf +0 -0
  40. data/assets/img/circle.png +0 -0
  41. data/assets/img/hero.png +0 -0
  42. data/assets/img/us_seal.png +0 -0
  43. data/assets/js/main.js +14 -0
  44. data/assets/js/vendor/anchor.min.js +6 -0
  45. metadata +143 -0
@@ -0,0 +1,24 @@
1
+ .usa-header,
2
+ .usa-sidenav-list {
3
+ @include media($nav-width) {
4
+ .usa-button {
5
+ margin: 0;
6
+ width: auto;
7
+ }
8
+ }
9
+ .usa-button {
10
+ color: $color-white;
11
+ padding: 1rem;
12
+ &:hover {
13
+ background-color: $color-primary-darker;
14
+ color: $color-white;
15
+ text-decoration: none;
16
+ }
17
+ }
18
+ }
19
+ .usa-sidenav-list,
20
+ .usa-footer-nav .usa-footer-primary-content {
21
+ .usa-button {
22
+ margin: 1rem 0;
23
+ }
24
+ }
@@ -0,0 +1,56 @@
1
+ .usa-sidenav-list {
2
+ @if variable-exists(side-nav-bg) {
3
+ background-color: $side-nav-bg;
4
+ }
5
+
6
+ a {
7
+ @if variable-exists(side-nav-link) {
8
+ color: $side-nav-link;
9
+ }
10
+
11
+ &:hover {
12
+ @if variable-exists(side-nav-link-hover-bg) {
13
+ background-color: $side-nav-link-hover-bg;
14
+ }
15
+ @if variable-exists(side-nav-link-hover) {
16
+ color: $side-nav-link-hover;
17
+ }
18
+ }
19
+
20
+ &.usa-current {
21
+ @if variable-exists(side-nav-link-current) {
22
+ border-color: $side-nav-link-current;
23
+ }
24
+ @if variable-exists(side-nav-link-current) {
25
+ color: $side-nav-link-current;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ // Styles for adjusting the breakpoint for the side nav
31
+ .usa-layout-docs {
32
+ display: flex;
33
+ }
34
+ @include media ($medium-screen){
35
+ .sidenav {
36
+ width: 250px;
37
+ }
38
+ }
39
+
40
+ @include media($nav-width) {
41
+ .usa-layout-docs {
42
+ display: block;
43
+
44
+ .sidenav {
45
+ display: block;
46
+ float: left;
47
+ padding-right: 1rem;
48
+
49
+ + .usa-layout-docs-main_content {
50
+ display: inline-block;
51
+ padding-left: 3rem;
52
+ width: calc(100% - 250px);
53
+ }
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,12 @@
1
+ .site-wide {
2
+ .usa-grid {
3
+ max-width: 100%;
4
+ }
5
+
6
+ .usa-header {
7
+ .usa-navbar,
8
+ .usa-nav-inner {
9
+ max-width: 100%;
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,73 @@
1
+
2
+ .usa-header {
3
+ .usa-nav {
4
+ @if variable-exists(top-nav-bg) {
5
+ background-color: $top-nav-bg;
6
+ }
7
+ }
8
+
9
+ .usa-nav-primary {
10
+ a,
11
+ button {
12
+ &:hover {
13
+ @if variable-exists(top-nav-link-hover-bg) {
14
+ background-color: $top-nav-link-hover-bg;
15
+ }
16
+ }
17
+ }
18
+
19
+ .usa-nav-link {
20
+ span {
21
+ @if variable-exists(top-nav-link) {
22
+ color: $top-nav-link;
23
+ }
24
+ }
25
+
26
+ &:hover {
27
+ @if variable-exists(top-nav-link-hover) {
28
+ color: $top-nav-link-hover;
29
+ }
30
+
31
+ span {
32
+ @if variable-exists(top-nav-link-current) {
33
+ border-bottom-color: $top-nav-link-current;
34
+ }
35
+ @if variable-exists(top-nav-link-hover) {
36
+ color: $top-nav-link-hover;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .usa-current,
43
+ button[aria-expanded=true] {
44
+ span {
45
+ @if variable-exists(top-nav-link-current) {
46
+ border-color: $top-nav-link-current;
47
+ }
48
+ @if variable-exists(top-nav-link-current) {
49
+ color: $top-nav-link-current;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ button[aria-expanded=true],
56
+ button[aria-expanded=true]:hover,
57
+ .usa-nav-submenu {
58
+ @if variable-exists(top-nav-dropdown-bg) {
59
+ background-color: $top-nav-dropdown-bg;
60
+ }
61
+ }
62
+
63
+ .usa-nav-submenu {
64
+ a:hover {
65
+ @if variable-exists(top-nav-dropdown-link-hover-bg) {
66
+ background-color: $top-nav-dropdown-link-hover-bg;
67
+ }
68
+ @if variable-exists(top-nav-dropdown-link) {
69
+ color: $top-nav-dropdown-link;
70
+ }
71
+ }
72
+ }
73
+ }
@@ -0,0 +1,29 @@
1
+ .usa-banner {
2
+ @if variable-exists(usa-banner-bg) {
3
+ background-color: $usa-banner-bg;
4
+ }
5
+
6
+ .usa-banner-header {
7
+ @if variable-exists(usa-banner-text) {
8
+ color: $usa-banner-text;
9
+ }
10
+ }
11
+
12
+ .usa-banner-button {
13
+ @if variable-exists(usa-banner-link) {
14
+ color: $usa-banner-link;
15
+ }
16
+
17
+ &:hover {
18
+ @if variable-exists(usa-banner-link-hover) {
19
+ color: $usa-banner-link-hover;
20
+ }
21
+ }
22
+ }
23
+
24
+ .usa-banner-content {
25
+ @if variable-exists(usa-banner-text) {
26
+ color: $usa-banner-text;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,91 @@
1
+ ---
2
+ ---
3
+ // This file should not be modified unless by an advanced user.
4
+
5
+
6
+ // U.S. Web Design System setup
7
+ $font-path: '../uswds/fonts';
8
+ $image-path: '../uswds/img';
9
+
10
+ // Typography
11
+ {% if site.data.theme.fonts.sans %}$font-sans: {{ site.data.theme.fonts.sans }};{% endif %}
12
+ {% if site.data.theme.fonts.serif %}$font-serif: {{ site.data.theme.fonts.serif }};{% endif %}
13
+ {% if site.data.theme.fonts.normal %}$font-normal: {{ site.data.theme.fonts.normal }};{% endif %}
14
+ {% if site.data.theme.fonts.bold %}$font-bold: {{ site.data.theme.fonts.bold }};{% endif %}
15
+
16
+ // Color - USA banner
17
+ {% if site.data.theme.colors.usa-banner.usa-banner-bg %}$usa-banner-bg: {{ site.data.theme.colors.usa-banner.usa-banner-bg }};{% endif %}
18
+ {% if site.data.theme.colors.usa-banner.usa-banner-text %}$usa-banner-text: {{ site.data.theme.colors.usa-banner.usa-banner-text }};{% endif %}
19
+ {% if site.data.theme.colors.usa-banner.usa-banner-link %}$usa-banner-link: {{ site.data.theme.colors.usa-banner.usa-banner-link }};{% endif %}
20
+ {% if site.data.theme.colors.usa-banner.usa-banner-link-hover %}$usa-banner-link-hover: {{ site.data.theme.colors.usa-banner.usa-banner-link-hover }};{% endif %}
21
+
22
+ // Header colors
23
+ $header-bg: #003965 !default;
24
+ $header-title: white !default;
25
+ $header-link: white !default;
26
+ $header-link-hover: white !default;
27
+
28
+ // Color - Primary
29
+ {% if site.data.theme.colors.primary %}$color-primary: {{ site.data.theme.colors.primary }};{% endif %}
30
+ {% if site.data.theme.colors.primary-darker %}$color-primary-darker: {{ site.data.theme.colors.primary-darker }};{% endif %}
31
+
32
+ // Color - Text and links
33
+ {% if site.data.theme.colors.base %}$color-base: {{ site.data.theme.colors.base }};{% endif %}
34
+ {% if site.data.theme.colors.visited %}$color-visited: {{ site.data.theme.colors.visited }};{% endif %}
35
+
36
+ // Color - Additional variables
37
+ {% if site.data.theme.colors.color-gray-lightest %}$color-gray-lightest: {{ site.data.theme.colors.color-gray-lightest }};{% endif %}
38
+
39
+ // Color - Navigation
40
+ // Top nav
41
+ {% if site.data.theme.colors.top-navigation.top-nav-bg %}$top-nav-bg: {{ site.data.theme.colors.top-navigation.top-nav-bg }};{% endif %}
42
+ {% if site.data.theme.colors.top-navigation.top-nav-link %}$top-nav-link: {{ site.data.theme.colors.top-navigation.top-nav-link }};{% endif %}
43
+ {% if site.data.theme.colors.top-navigation.top-nav-link-hover %}$top-nav-link-hover: {{ site.data.theme.colors.top-navigation.top-nav-link-hover }};{% endif %}
44
+ {% if site.data.theme.colors.top-navigation.top-nav-link-hover-bg %}$top-nav-link-hover-bg: {{ site.data.theme.colors.top-navigation.top-nav-link-hover-bg }};{% endif %}
45
+ {% if site.data.theme.colors.top-navigation.top-nav-link-current %}$top-nav-link-current: {{ site.data.theme.colors.top-navigation.top-nav-link-current }};{% endif %}
46
+ {% if site.data.theme.colors.top-navigation.top-nav-dropdown-bg %}$top-nav-dropdown-bg: {{ site.data.theme.colors.top-navigation.top-nav-dropdown-bg }};{% endif %}
47
+ {% if site.data.theme.colors.top-navigation.top-nav-dropdown-link %}$top-nav-dropdown-link: {{ site.data.theme.colors.top-navigation.top-nav-dropdown-link }};{% endif %}
48
+ {% if site.data.theme.colors.top-navigation.top-nav-dropdown-link-hover-bg %}$top-nav-dropdown-link-hover-bg: {{ site.data.theme.colors.top-navigation.top-nav-dropdown-link-hover-bg }};{% endif %}
49
+
50
+ // Side nav
51
+ {% if site.data.theme.colors.side-navigation.side-nav-bg %}$side-nav-bg: {{ site.data.theme.colors.side-navigation.side-nav-bg }};{% endif %}
52
+ {% if site.data.theme.colors.side-navigation.side-nav-link %}$side-nav-link: {{ site.data.theme.colors.side-navigation.side-nav-link }};{% endif %}
53
+ {% if site.data.theme.colors.side-navigation.side-nav-link-hover %}$side-nav-link-hover: {{ site.data.theme.colors.side-navigation.side-nav-link-hover }};{% endif %}
54
+ {% if site.data.theme.colors.side-navigation.side-nav-link-hover-bg %}$side-nav-link-hover-bg: {{ site.data.theme.colors.side-navigation.side-nav-link-hover-bg }};{% endif %}
55
+ {% if site.data.theme.colors.side-navigation.side-nav-link-current %}$side-nav-link-current: {{ site.data.theme.colors.side-navigation.side-nav-link-current }};{% endif %}
56
+
57
+ // Color - Hero
58
+ {% if site.data.theme.colors.hero.hero-bg %}$hero-bg: {{ site.data.theme.colors.hero.hero-bg }};{% endif %}
59
+ {% if site.data.theme.colors.hero.hero-header-alt %}$hero-header-alt: {{ site.data.theme.colors.hero.hero-header-alt }};{% endif %}
60
+ {% if site.data.theme.colors.hero.hero-header %}$hero-header: {{ site.data.theme.colors.hero.hero-header }};{% endif %}
61
+ {% if site.data.theme.colors.hero.hero-text %}$hero-text: {{ site.data.theme.colors.hero.hero-text }};{% endif %}
62
+ {% if site.data.theme.colors.hero.hero-link %}$hero-link: {{ site.data.theme.colors.hero.hero-link }};{% endif %}
63
+ {% if site.data.theme.colors.hero.hero-button-bg %}$hero-button-bg: {{ site.data.theme.colors.hero.hero-button-bg }};{% endif %}
64
+ {% if site.data.theme.colors.hero.hero-button-text %}$hero-button-text: {{ site.data.theme.colors.hero.hero-button-text }};{% endif %}
65
+
66
+ // Color - Alt section
67
+ {% if site.data.theme.colors.alt-section.bg-color %}$alt-section-bg: {{ site.data.theme.colors.alt-section.bg-color }};{% endif %}
68
+ {% if site.data.theme.colors.alt-section.header-color %}$alt-section-header: {{ site.data.theme.colors.alt-section.header-color }};{% endif %}
69
+ {% if site.data.theme.colors.alt-section.text-color %}$alt-section-text: {{ site.data.theme.colors.alt-section.text-color }};{% endif %}
70
+ {% if site.data.theme.colors.alt-section.link-color %}$alt-section-link: {{ site.data.theme.colors.alt-section.link-color }};{% endif %}
71
+ {% if site.data.theme.colors.alt-section.link-hover-color %}$alt-section-link-hover: {{ site.data.theme.colors.alt-section.link-hover-color }};{% endif %}
72
+
73
+ // Color - Footer
74
+ {% if site.data.theme.colors.footer.primary-footer-bg %}$primary-footer-bg: {{ site.data.theme.colors.footer.primary-footer-bg }};{% endif %}
75
+ {% if site.data.theme.colors.footer.primary-footer-link %}$primary-footer-link: {{ site.data.theme.colors.footer.primary-footer-link }};{% endif %}
76
+ {% if site.data.theme.colors.footer.footer-bg %}$footer-bg: {{ site.data.theme.colors.footer.footer-bg }};{% endif %}
77
+ {% if site.data.theme.colors.footer.footer-text %}$footer-text: {{ site.data.theme.colors.footer.footer-text }};{% endif %}
78
+ {% if site.data.theme.colors.footer.footer-link %}$footer-link: {{ site.data.theme.colors.footer.footer-link }};{% endif %}
79
+
80
+ @import 'uswds/all';
81
+ @import 'components/all';
82
+
83
+ {% for item in site.data.navigation.primary %}
84
+ {% if item.class %}
85
+ @import 'components/nav-buttons';
86
+ {% break %}
87
+ {% endif %}
88
+ {% endfor %}
89
+
90
+ // Setting site width
91
+ @import 'components/site-width';
@@ -0,0 +1,38 @@
1
+ ---
2
+ ---
3
+
4
+ .usa-header-extended {
5
+ border-bottom: 0;
6
+
7
+ .usa-navbar {
8
+ border: 0;
9
+ }
10
+
11
+ .usa-logo {
12
+ float: none;
13
+ margin-bottom: 0;
14
+ margin-top: 0;
15
+ padding-bottom: 1rem;
16
+ padding-top: 1rem;
17
+
18
+ .usa-logo-text {
19
+ font-family: 'Merriweather', 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif;
20
+ line-height: 1.3;
21
+ }
22
+ }
23
+
24
+ @media (min-width: 951px) {
25
+ .usa-navbar {
26
+ height: auto;
27
+ }
28
+
29
+ .usa-logo {
30
+ padding-bottom: 1.5rem;
31
+ padding-top: 1.5rem;
32
+ }
33
+
34
+ .usa-logo-text {
35
+ font-size: 2.6rem;
36
+ }
37
+ }
38
+ }
Binary file
Binary file
Binary file
Binary file
data/assets/js/main.js ADDED
@@ -0,0 +1,14 @@
1
+ ---
2
+ ---
3
+
4
+ {%- if site.anchor_js_targets -%}
5
+ {%- assign _anchor_js_targets = site.anchor_js_targets -%}
6
+ {%- assign _prepended_targets = '' | split: '' -%}
7
+ {%- for _target in _anchor_js_targets -%}
8
+ {%- assign _prepended_target = _target | prepend: '.usa-layout-docs ' -%}
9
+ {%- assign _prepended_targets = _prepended_targets | push: _prepended_target -%}
10
+ {%- endfor -%}
11
+
12
+ // Adding anchor links to headers on docs layouts only
13
+ anchors.add('{{ _prepended_targets | join: ', ' }}');
14
+ {%- endif -%}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * AnchorJS - v4.1.0 - 2017-09-20
3
+ * https://github.com/bryanbraun/anchorjs
4
+ * Copyright (c) 2017 Bryan Braun; Licensed MIT
5
+ */
6
+ !function(A,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():(A.AnchorJS=e(),A.anchors=new A.AnchorJS)}(this,function(){"use strict";return function(A){function e(A){A.icon=A.hasOwnProperty("icon")?A.icon:"",A.visible=A.hasOwnProperty("visible")?A.visible:"hover",A.placement=A.hasOwnProperty("placement")?A.placement:"right",A.ariaLabel=A.hasOwnProperty("ariaLabel")?A.ariaLabel:"Anchor",A.class=A.hasOwnProperty("class")?A.class:"",A.truncate=A.hasOwnProperty("truncate")?Math.floor(A.truncate):64}function t(A){var e;if("string"==typeof A||A instanceof String)e=[].slice.call(document.querySelectorAll(A));else{if(!(Array.isArray(A)||A instanceof NodeList))throw new Error("The selector provided to AnchorJS was invalid.");e=[].slice.call(A)}return e}function i(){if(null===document.head.querySelector("style.anchorjs")){var A,e=document.createElement("style");e.className="anchorjs",e.appendChild(document.createTextNode("")),void 0===(A=document.head.querySelector('[rel="stylesheet"], style'))?document.head.appendChild(e):document.head.insertBefore(e,A),e.sheet.insertRule(" .anchorjs-link { opacity: 0; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }",e.sheet.cssRules.length),e.sheet.insertRule(" *:hover > .anchorjs-link, .anchorjs-link:focus { opacity: 1; }",e.sheet.cssRules.length),e.sheet.insertRule(" [data-anchorjs-icon]::after { content: attr(data-anchorjs-icon); }",e.sheet.cssRules.length),e.sheet.insertRule(' @font-face { font-family: "anchorjs-icons"; src: url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype"); }',e.sheet.cssRules.length)}}this.options=A||{},this.elements=[],e(this.options),this.isTouchDevice=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(A){var n,o,s,a,r,c,h,l,u,d,f,p=[];if(e(this.options),"touch"===(f=this.options.visible)&&(f=this.isTouchDevice()?"always":"hover"),A||(A="h2, h3, h4, h5, h6"),0===(n=t(A)).length)return this;for(i(),o=document.querySelectorAll("[id]"),s=[].map.call(o,function(A){return A.id}),r=0;r<n.length;r++)if(this.hasAnchorJSLink(n[r]))p.push(r);else{if(n[r].hasAttribute("id"))a=n[r].getAttribute("id");else if(n[r].hasAttribute("data-anchor-id"))a=n[r].getAttribute("data-anchor-id");else{u=l=this.urlify(n[r].textContent),h=0;do{void 0!==c&&(u=l+"-"+h),c=s.indexOf(u),h+=1}while(-1!==c);c=void 0,s.push(u),n[r].setAttribute("id",u),a=u}a.replace(/-/g," "),(d=document.createElement("a")).className="anchorjs-link "+this.options.class,d.href="#"+a,d.setAttribute("aria-label",this.options.ariaLabel),d.setAttribute("data-anchorjs-icon",this.options.icon),"always"===f&&(d.style.opacity="1"),""===this.options.icon&&(d.style.font="1em/1 anchorjs-icons","left"===this.options.placement&&(d.style.lineHeight="inherit")),"left"===this.options.placement?(d.style.position="absolute",d.style.marginLeft="-1em",d.style.paddingRight="0.5em",n[r].insertBefore(d,n[r].firstChild)):(d.style.paddingLeft="0.375em",n[r].appendChild(d))}for(r=0;r<p.length;r++)n.splice(p[r]-r,1);return this.elements=this.elements.concat(n),this},this.remove=function(A){for(var e,i,n=t(A),o=0;o<n.length;o++)(i=n[o].querySelector(".anchorjs-link"))&&(-1!==(e=this.elements.indexOf(n[o]))&&this.elements.splice(e,1),n[o].removeChild(i));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(A){var t=/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\]/g;return this.options.truncate||e(this.options),A.trim().replace(/\'/gi,"").replace(t,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(A){var e=A.firstChild&&(" "+A.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,t=A.lastChild&&(" "+A.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return e||t||!1}}});
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: federalist-basic-report-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Aaron D Borden
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-04-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: html-proofer
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.8'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.8'
69
+ description:
70
+ email:
71
+ - adborden@a14n.net
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.md
77
+ - README.md
78
+ - _includes/analytics.html
79
+ - _includes/banner.html
80
+ - _includes/components/banner.html
81
+ - _includes/components/footer--medium.html
82
+ - _includes/components/graphic-list.html
83
+ - _includes/components/header--basic.html
84
+ - _includes/components/header--extended.html
85
+ - _includes/components/hero.html
86
+ - _includes/components/sidenav--default.html
87
+ - _includes/favicon.html
88
+ - _includes/footer.html
89
+ - _includes/graphic-list.html
90
+ - _includes/header.html
91
+ - _includes/meta.html
92
+ - _includes/scripts.html
93
+ - _includes/sidenav.html
94
+ - _includes/skipnav.html
95
+ - _includes/styles.html
96
+ - _includes/subnav.html
97
+ - _layouts/default.html
98
+ - _layouts/home.html
99
+ - _layouts/page.html
100
+ - _layouts/post.html
101
+ - _sass/components/_all.scss
102
+ - _sass/components/_alt-color-section.scss
103
+ - _sass/components/_footer.scss
104
+ - _sass/components/_header.scss
105
+ - _sass/components/_hero.scss
106
+ - _sass/components/_nav-buttons.scss
107
+ - _sass/components/_side-nav.scss
108
+ - _sass/components/_site-width.scss
109
+ - _sass/components/_top-nav.scss
110
+ - _sass/components/_usa-banner.scss
111
+ - assets/css/federalist.scss
112
+ - assets/css/theme.scss
113
+ - assets/docs/sample-document.pdf
114
+ - assets/img/circle.png
115
+ - assets/img/hero.png
116
+ - assets/img/us_seal.png
117
+ - assets/js/main.js
118
+ - assets/js/vendor/anchor.min.js
119
+ homepage: https://federalist.18f.gov/
120
+ licenses:
121
+ - CC0-1.0
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubyforge_project:
139
+ rubygems_version: 2.4.5.1
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Jekyll theme for the Federalist Basic Report site template.
143
+ test_files: []