diff --git a/README.md b/README.md index efc152c..cda8151 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # hacked-jekyll -Hacked Jekyll is a responsive, minimalistic Jekyll theme for a tiny (163kb!) personal website. It consists of a homepage and a 404 page. The homepage lists information set within the configuration file in a format that resembles JSON, giving the website a "hacked" appearance. The user description features [typed.js](https://mattboldt.com/demos/typed-js/) to cycle through multiple lines of text, as long as multiple lines are provided in the configuration. +Hacked Jekyll is a responsive, minimalistic Jekyll theme for a tiny personal website. It consists of a homepage and a 404 page. The homepage lists information about the user in a format that resembles JSON, giving the website a "hacked" appearance. As in JSON, elements can be strings, arrays, or hashes. One of the string elements, typically the user's description, can use [typed.js](https://mattboldt.com/demos/typed-js/) to cycle through multiple lines of text. The style is rebooted through [normalize.css](https://necolas.github.io/normalize.css/) and based on the [Open Color](https://yeun.github.io/open-color/) library. The monospaced typeface [Hack](https://sourcefoundry.org/hack/) is served together with the website. The favicons are generated by [favicon.io](https://favicon.io/). @@ -38,31 +38,79 @@ To customize hidden files, you can create new files with the same names and path ## Usage -All customization happens in the `json` section of `_config.yml`. Eight variables can be set, including the user's name and description (note that this is not the same as site description), path to the CV, address and contact details, homepage, repository, and social profiles. All of these variables are optional. +You can input the content of your JSON object in `_data/json.yml`. This is a list of key-value pairs: you need to provide a `key` and a `value`, as in the example below. -The user description and address variables can be set as arrays (default) or single strings. The contact variable can be set as a hash (default) or single string. The profiles variable must necessarily be a hash. +```yaml +- key: Name + value: Place Holder +``` + +In addition, you can provide a `url`, in which case `value` is rendered as a hyperlink. Here is an example: + +```yaml +- key: Source + value: github.com/piazzai/hacked-jekyll + url: https://github.com/piazzai/hacked-jekyll +``` + +If `value` is a single line of text, the resulting JSON element will be rendered as a string. If `value` includes multiple lines of text, as in the example below, the resulting JSON element will be rendered as an array. + +```yaml +- key: Address + value: + - University of Jekyll + - Department of Themes + - 123 Main St, Anytown, USA +``` + +An array can also consist of hyperlinks. In this case, each element of `value` should have its own `value` and `url`, as shown below. + +```yaml +- key: Profiles + value: + - value: Facebook + url: https://www.facebook.com + - value: X + url: https://www.x.com +``` -It is possible to set up the site so that all links open in the same tab (default) or in a new tab. To make links open in a new tab, just add the following line to your `_config.yml` file. +Finally, it is possible to render `value` as a hash, which is a list of key-value pairs. This will happen automatically if the elements of `value` have their own `key` and `value` (and possibly a `url`). ```yaml -newtab: true +- key: Contact + value: + - key: Office + value: Foobar Hall 1.23 + - key: Phone + value: +1 234 567 890 + - key: Email + value: username@domain.com + url: "mailto:username@domain.com" ``` -It is also possible to change the color scheme. If you want to do so, you should create a file called `_sass/base.scss` with the following code: +You can customize the appearance of the rendered JSON object using site variables. These have default values that can be overridden by specifying a new value in your `_config.yml` file. -```scss -body { - background-color: var(--oc-gray-9); // background color - color: var(--oc-green-4); // color of main text and links -} +| Variable | Default | Purpose | +| :------------: | :-----------------: | ----------------------------------------------------- | +| `lowercase` | `true` | Set all values to lowercase | +| `color_bg` | `var(--oc-gray-9)` | Set the background color | +| `color_punct` | `var(--oc-green-9)` | Set the color of quote marks, commas, and parentheses | +| `color_keyval` | `var(--oc-green-4)` | Set the color of all keys and values | +| `color_hover` | `var(--oc-green-5)` | Set the color of values on hover (if they are links) | +| `show_quotes` | `true` | Display quote marks around keys and values | +| `show_commas` | `true` | Display commas between key-value pairs | +| `target` | `_self` | Set the target tab/window of hyperlinks | -a:hover, -a:active { - color: var(--oc-green-5); // hover color of links -} +All color defaults use the naming convention of the Open Color library ([read here]([https://yeun](https://yeun.github.io/open-color/documents.html))). You can change them to any other color in the library, any base CSS color, or any three or six-digit hex color, as shown below. + +```yaml +color_bg: var(--oc-indigo-8) +color_punct: black +color_keyval: '#fff' +color_hover: '#cc5de8' ``` -The values above are defaults. You can change them to any color you want using hexadecimal codes, base CSS names, or Open Color names as in the example above. In the latter case, please [read the docs](https://yeun.github.io/open-color/documents.html) of the Open Color library to familiarize with the naming convention. +If you use Open Color names, remember to wrap them in a CSS variable. ## Bugs diff --git a/_config.yml b/_config.yml index 2dd4f21..be45849 100644 --- a/_config.yml +++ b/_config.yml @@ -3,19 +3,15 @@ description: "" baseurl: "" url: "" -newtab: false - -exclude: - - demo/ - - hacked-jekyll.gemspec - - LICENSE - - README.md - - screenshot.png +lowercase: true +color_bg: var(--oc-gray-9) +color_punct: var(--oc-green-9) +color_keyval: var(--oc-green-4) +color_hover: var(--oc-green-5) +show_quotes: true +show_commas: true +target: "_self" plugins: - jekyll-seo-tag - jekyll-sitemap - -sass: - style: compressed - sourcemap: never diff --git a/_data/json.yml b/_data/json.yml new file mode 100644 index 0000000..bc63beb --- /dev/null +++ b/_data/json.yml @@ -0,0 +1 @@ +# empty \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 992f6e8..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - {% seo %} - - - - - - - - - - - - - \ No newline at end of file diff --git a/_includes/typed.html b/_includes/typed.html deleted file mode 100644 index 2130724..0000000 --- a/_includes/typed.html +++ /dev/null @@ -1,12 +0,0 @@ - - - \ No newline at end of file diff --git a/_layouts/404.html b/_layouts/404.html index 2503b33..40acea6 100644 --- a/_layouts/404.html +++ b/_layouts/404.html @@ -2,13 +2,8 @@ layout: default --- -
-
-

404

-

Page not found

-
-
- {% assign home = site.url | split: "//" | slice: 1 %} - {{ home }} -
-
\ No newline at end of file +
+

404

+

Page not found

+

{{ site.url | split: "//" | slice: 1 }}

+
\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 5e4f452..a6cd942 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,10 +1,40 @@ -{% include head.html %} + + + + + {{ site.title }} + +{% seo title=false %} + + + + + + + + + + - {{ content }} +
+ +{{ content }} + +
+ \ No newline at end of file diff --git a/_layouts/home.html b/_layouts/home.html index eada730..c6d844c 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -2,87 +2,77 @@ layout: default --- -{% assign target = 'target="_self"' %} -{% if site.newtab %} -{% assign target = 'target="_blank"' %} -{% endif %} +{% if site.show_quotes -%} +{% assign quote = '"' -%} +{% endif -%} +{% if site.show_commas -%} +{% assign comma = ',' -%} +{% endif -%} +{% assign target = site.target | prepend: 'target="' | append: '"' -%} -
-
- {% if site.json.name %} -

name{{ site.json.name }}

- {% else %} -

name{{ site.title }}

- {% endif %} - {% if site.json.description %} - {% if site.json.description.first %} -
- {% for i in site.json.description %} - {{ i | prepend: '"' | append: '",'}} - {% endfor %} +
+ {% for pair in site.data.json %} +
+ {% if pair.typed -%} +
+ {% for value in pair.value -%} + {{ value }} + {%- endfor %}
-

description{% include typed.html %}

- {% else %} -

description{{ site.json.description }}

- {% endif %} - {% else %} -

description{{ site.description }}

- {% endif %} -
-
- {% if site.json.cv %} - {% assign cv = site.json.cv | split: "/" | slice: -1 %} -

cv{{ cv }}

- {% endif %} -
-
- {% if site.json.address %} - {% if site.json.address.first %} -

address

-
- {% for i in site.json.address %} -

{{ i }}

- {% endfor %} -
- {% else %} -

address{{ site.json.address }}

- {% endif %} - {% endif %} -
-
- {% if site.json.contact %} - {% if site.json.contact.first %} -

contact

-
- {% for i in site.json.contact %} -

{{ i | slice: 0 }}{{ i | slice: 1 }}

- {% endfor %} -
- {% else %} -

contact{{ site.json.contact }}

- {% endif %} - {% endif %} -
-
- {% if site.json.demo %} - {% assign demo = site.json.demo | split: "//" | slice: 1 %} -

demo{{ demo }} + {{ quote }}{{ pair.key }}{{ quote }}: + {{ quote }}{{ quote }} + {%- elsif pair.value.first.key -%} + {{ quote }}{{ pair.key }}{{ quote }}: [ + {% for value in pair.value -%} + {% if value.url -%} +

+ {{ quote }}{{ value.key }}{{ quote }}: + {{ quote }}{{ value.value }}{{ quote }} + {%- unless forloop.last -%} + {{ comma }} + {%- endunless %}

- {% endif %} - {% if site.json.source %} - {% assign source = site.json.source | split: "github.com/" | slice: 1 %} -

source{{ source - }}

- {% endif %} -
-
- {% if site.json.profiles %} - profiles -
- {% for i in site.json.profiles %} -

{{ i | slice: 0 }}

- {% endfor %} -
- {% endif %} + {% else -%} +

+ {{ quote }}{{ value.key }}{{ quote }}: + {{ quote }}{{ value.value }}{{ quote }} + {%- unless forloop.last -%} + {{ comma }} + {%- endunless %} +

+ {% endif -%} + {%- endfor -%} + ] + {%- elsif pair.value.first -%} + {{ quote }}{{ pair.key }}{{ quote }}: [ + {% for value in pair.value -%} + {% if value.url -%} +

+ {{ quote }}{{ value.value }}{{ quote }} + {%- unless forloop.last -%} + {{ comma }} + {%- endunless %} +

+ {% else -%} +

+ {{ quote }}{{ value }}{{ quote }} + {%- unless forloop.last -%} + {{ comma }} + {%- endunless %} +

+ {% endif -%} + {%- endfor -%} + ] + {%- elsif pair.url -%} + {{ quote }}{{ pair.key }}{{ quote }}: + {{ quote }}{{ pair.value }}{{ quote }} + {%- else -%} + {{ quote }}{{ pair.key }}{{ quote }}: + {{ quote }}{{ pair.value }}{{ quote }} + {%- endif -%} + {%- unless forloop.last -%} + {{ comma }} + {%- endunless %}
-
\ No newline at end of file + {% endfor %} + \ No newline at end of file diff --git a/_sass/_base.scss b/_sass/_base.scss deleted file mode 100644 index 1e3e0c1..0000000 --- a/_sass/_base.scss +++ /dev/null @@ -1,40 +0,0 @@ -body { - font-family: "hack", monospace; - font-size: 16px; - font-weight: 400; - background-color: var(--oc-gray-9); - color: var(--oc-green-4); -} - -main { - position: absolute; - width: 100%; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - text-transform: lowercase; - - @media (min-width: 576px) { - font-size: 18px; - width: 80%; - } - - @media (min-width: 768px) { - font-size: 20px; - width: 60% - } -} - -p { - margin: 0; -} - -a { - color: inherit; - font-style: italic; - - &:hover, - &:active { - color: var(--oc-green-5); - } -} diff --git a/_sass/_fonts.scss b/_sass/_fonts.scss deleted file mode 100644 index 6aff51b..0000000 --- a/_sass/_fonts.scss +++ /dev/null @@ -1,15 +0,0 @@ -@font-face { - font-family: "hack"; - src: url("../fonts/hack-regular-subset.woff2") format("woff2"); - font-style: normal; - font-weight: 400; - text-rendering: optimizeLegibility; -} - -@font-face { - font-family: "hack"; - src: url("../fonts/hack-italic-subset.woff2") format("woff2"); - font-style: italic; - font-weight: 400; - text-rendering: optimizeLegibility; -} diff --git a/_sass/_json.scss b/_sass/_json.scss deleted file mode 100644 index 4ab0686..0000000 --- a/_sass/_json.scss +++ /dev/null @@ -1,65 +0,0 @@ -.json { - white-space: nowrap; - - &:before { - content: "{"; - } - &:after { - content: "}"; - } -} - -.block { - margin-left: 1.5rem; - margin-top: 1rem; - margin-bottom: 1rem; -} - -.key:after { - content: ": "; -} - -.attr, -.list-attr { - &:before { - content: '"'; - } - &:after { - content: '",'; - } -} - -.array-key:after { - content: ": ["; -} - -.array-attr { - margin-left: 1.5rem; - - &:before { - content: '"'; - } - &:after { - content: '",'; - } -} - -.array:after { - content: "],"; -} - -.list-key:after { - content: ": {"; -} - -.list:after { - content: "},"; -} - -.list-subkey { - margin-left: 1.5rem; - - &:after { - content: ": "; - } -} diff --git a/assets/css/normalize.css b/assets/css/normalize.css new file mode 100644 index 0000000..192eb9c --- /dev/null +++ b/assets/css/normalize.css @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/assets/css/normalize.min.css b/assets/css/normalize.min.css deleted file mode 100644 index 696e9f3..0000000 --- a/assets/css/normalize.min.css +++ /dev/null @@ -1 +0,0 @@ -html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;}main{display:block;}h1{font-size:2em;margin:.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-.25em;}sup{top:-.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible;}button,select{text-transform:none;}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText;}fieldset{padding:.35em .75em .625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;} \ No newline at end of file diff --git a/assets/css/open-color.css b/assets/css/open-color.css new file mode 100644 index 0000000..5152f87 --- /dev/null +++ b/assets/css/open-color.css @@ -0,0 +1,343 @@ +/* + * + * 𝗖 𝗢 𝗟 𝗢 𝗥 + * v 1.6.3 + * + * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */ + +:root { + +/* General + * ─────────────────────────────────── */ + + --oc-white: #ffffff; + --oc-white-rgb: 255, 255, 255; + --oc-black: #000000; + --oc-black-rgb: 0, 0, 0; + + +/* Gray + * ─────────────────────────────────── */ + + --oc-gray-0: #f8f9fa; + --oc-gray-0-rgb: 248, 249, 250; + --oc-gray-1: #f1f3f5; + --oc-gray-1-rgb: 241, 243, 245; + --oc-gray-2: #e9ecef; + --oc-gray-2-rgb: 233, 236, 239; + --oc-gray-3: #dee2e6; + --oc-gray-3-rgb: 222, 226, 230; + --oc-gray-4: #ced4da; + --oc-gray-4-rgb: 206, 212, 218; + --oc-gray-5: #adb5bd; + --oc-gray-5-rgb: 173, 181, 189; + --oc-gray-6: #868e96; + --oc-gray-6-rgb: 134, 142, 150; + --oc-gray-7: #495057; + --oc-gray-7-rgb: 73, 80, 87; + --oc-gray-8: #343a40; + --oc-gray-8-rgb: 52, 58, 64; + --oc-gray-9: #212529; + --oc-gray-9-rgb: 33, 37, 41; + + +/* Red + * ─────────────────────────────────── */ + + --oc-red-0: #fff5f5; + --oc-red-0-rgb: 255, 245, 245; + --oc-red-1: #ffe3e3; + --oc-red-1-rgb: 255, 227, 227; + --oc-red-2: #ffc9c9; + --oc-red-2-rgb: 255, 201, 201; + --oc-red-3: #ffa8a8; + --oc-red-3-rgb: 255, 168, 168; + --oc-red-4: #ff8787; + --oc-red-4-rgb: 255, 135, 135; + --oc-red-5: #ff6b6b; + --oc-red-5-rgb: 255, 107, 107; + --oc-red-6: #fa5252; + --oc-red-6-rgb: 250, 82, 82; + --oc-red-7: #f03e3e; + --oc-red-7-rgb: 240, 62, 62; + --oc-red-8: #e03131; + --oc-red-8-rgb: 224, 49, 49; + --oc-red-9: #c92a2a; + --oc-red-9-rgb: 201, 42, 42; + + +/* Pink + * ─────────────────────────────────── */ + + --oc-pink-0: #fff0f6; + --oc-pink-0-rgb: 255, 240, 246; + --oc-pink-1: #ffdeeb; + --oc-pink-1-rgb: 255, 222, 235; + --oc-pink-2: #fcc2d7; + --oc-pink-2-rgb: 252, 194, 215; + --oc-pink-3: #faa2c1; + --oc-pink-3-rgb: 250, 162, 193; + --oc-pink-4: #f783ac; + --oc-pink-4-rgb: 247, 131, 172; + --oc-pink-5: #f06595; + --oc-pink-5-rgb: 240, 101, 149; + --oc-pink-6: #e64980; + --oc-pink-6-rgb: 230, 73, 128; + --oc-pink-7: #d6336c; + --oc-pink-7-rgb: 214, 51, 108; + --oc-pink-8: #c2255c; + --oc-pink-8-rgb: 194, 37, 92; + --oc-pink-9: #a61e4d; + --oc-pink-9-rgb: 166, 30, 77; + + +/* Grape + * ─────────────────────────────────── */ + + --oc-grape-0: #f8f0fc; + --oc-grape-0-rgb: 248, 240, 252; + --oc-grape-1: #f3d9fa; + --oc-grape-1-rgb: 243, 217, 250; + --oc-grape-2: #eebefa; + --oc-grape-2-rgb: 238, 190, 250; + --oc-grape-3: #e599f7; + --oc-grape-3-rgb: 229, 153, 247; + --oc-grape-4: #da77f2; + --oc-grape-4-rgb: 218, 119, 242; + --oc-grape-5: #cc5de8; + --oc-grape-5-rgb: 204, 93, 232; + --oc-grape-6: #be4bdb; + --oc-grape-6-rgb: 190, 75, 219; + --oc-grape-7: #ae3ec9; + --oc-grape-7-rgb: 174, 62, 201; + --oc-grape-8: #9c36b5; + --oc-grape-8-rgb: 156, 54, 181; + --oc-grape-9: #862e9c; + --oc-grape-9-rgb: 134, 46, 156; + + +/* Violet + * ─────────────────────────────────── */ + + --oc-violet-0: #f3f0ff; + --oc-violet-0-rgb: 243, 240, 255; + --oc-violet-1: #e5dbff; + --oc-violet-1-rgb: 229, 219, 255; + --oc-violet-2: #d0bfff; + --oc-violet-2-rgb: 208, 191, 255; + --oc-violet-3: #b197fc; + --oc-violet-3-rgb: 177, 151, 252; + --oc-violet-4: #9775fa; + --oc-violet-4-rgb: 151, 117, 250; + --oc-violet-5: #845ef7; + --oc-violet-5-rgb: 132, 94, 247; + --oc-violet-6: #7950f2; + --oc-violet-6-rgb: 121, 80, 242; + --oc-violet-7: #7048e8; + --oc-violet-7-rgb: 112, 72, 232; + --oc-violet-8: #6741d9; + --oc-violet-8-rgb: 103, 65, 217; + --oc-violet-9: #5f3dc4; + --oc-violet-9-rgb: 95, 61, 196; + + +/* Indigo + * ─────────────────────────────────── */ + + --oc-indigo-0: #edf2ff; + --oc-indigo-0-rgb: 237, 242, 255; + --oc-indigo-1: #dbe4ff; + --oc-indigo-1-rgb: 219, 228, 255; + --oc-indigo-2: #bac8ff; + --oc-indigo-2-rgb: 186, 200, 255; + --oc-indigo-3: #91a7ff; + --oc-indigo-3-rgb: 145, 167, 255; + --oc-indigo-4: #748ffc; + --oc-indigo-4-rgb: 116, 143, 252; + --oc-indigo-5: #5c7cfa; + --oc-indigo-5-rgb: 92, 124, 250; + --oc-indigo-6: #4c6ef5; + --oc-indigo-6-rgb: 76, 110, 245; + --oc-indigo-7: #4263eb; + --oc-indigo-7-rgb: 66, 99, 235; + --oc-indigo-8: #3b5bdb; + --oc-indigo-8-rgb: 59, 91, 219; + --oc-indigo-9: #364fc7; + --oc-indigo-9-rgb: 54, 79, 199; + + +/* Blue + * ─────────────────────────────────── */ + + --oc-blue-0: #e7f5ff; + --oc-blue-0-rgb: 231, 245, 255; + --oc-blue-1: #d0ebff; + --oc-blue-1-rgb: 208, 235, 255; + --oc-blue-2: #a5d8ff; + --oc-blue-2-rgb: 165, 216, 255; + --oc-blue-3: #74c0fc; + --oc-blue-3-rgb: 116, 192, 252; + --oc-blue-4: #4dabf7; + --oc-blue-4-rgb: 77, 171, 247; + --oc-blue-5: #339af0; + --oc-blue-5-rgb: 51, 154, 240; + --oc-blue-6: #228be6; + --oc-blue-6-rgb: 34, 139, 230; + --oc-blue-7: #1c7ed6; + --oc-blue-7-rgb: 28, 126, 214; + --oc-blue-8: #1971c2; + --oc-blue-8-rgb: 25, 113, 194; + --oc-blue-9: #1864ab; + --oc-blue-9-rgb: 24, 100, 171; + + +/* Cyan + * ─────────────────────────────────── */ + + --oc-cyan-0: #e3fafc; + --oc-cyan-0-rgb: 227, 250, 252; + --oc-cyan-1: #c5f6fa; + --oc-cyan-1-rgb: 197, 246, 250; + --oc-cyan-2: #99e9f2; + --oc-cyan-2-rgb: 153, 233, 242; + --oc-cyan-3: #66d9e8; + --oc-cyan-3-rgb: 102, 217, 232; + --oc-cyan-4: #3bc9db; + --oc-cyan-4-rgb: 59, 201, 219; + --oc-cyan-5: #22b8cf; + --oc-cyan-5-rgb: 34, 184, 207; + --oc-cyan-6: #15aabf; + --oc-cyan-6-rgb: 21, 170, 191; + --oc-cyan-7: #1098ad; + --oc-cyan-7-rgb: 16, 152, 173; + --oc-cyan-8: #0c8599; + --oc-cyan-8-rgb: 12, 133, 153; + --oc-cyan-9: #0b7285; + --oc-cyan-9-rgb: 11, 114, 133; + + +/* Teal + * ─────────────────────────────────── */ + + --oc-teal-0: #e6fcf5; + --oc-teal-0-rgb: 230, 252, 245; + --oc-teal-1: #c3fae8; + --oc-teal-1-rgb: 195, 250, 232; + --oc-teal-2: #96f2d7; + --oc-teal-2-rgb: 150, 242, 215; + --oc-teal-3: #63e6be; + --oc-teal-3-rgb: 99, 230, 190; + --oc-teal-4: #38d9a9; + --oc-teal-4-rgb: 56, 217, 169; + --oc-teal-5: #20c997; + --oc-teal-5-rgb: 32, 201, 151; + --oc-teal-6: #12b886; + --oc-teal-6-rgb: 18, 184, 134; + --oc-teal-7: #0ca678; + --oc-teal-7-rgb: 12, 166, 120; + --oc-teal-8: #099268; + --oc-teal-8-rgb: 9, 146, 104; + --oc-teal-9: #087f5b; + --oc-teal-9-rgb: 8, 127, 91; + + +/* Green + * ─────────────────────────────────── */ + + --oc-green-0: #ebfbee; + --oc-green-0-rgb: 235, 251, 238; + --oc-green-1: #d3f9d8; + --oc-green-1-rgb: 211, 249, 216; + --oc-green-2: #b2f2bb; + --oc-green-2-rgb: 178, 242, 187; + --oc-green-3: #8ce99a; + --oc-green-3-rgb: 140, 233, 154; + --oc-green-4: #69db7c; + --oc-green-4-rgb: 105, 219, 124; + --oc-green-5: #51cf66; + --oc-green-5-rgb: 81, 207, 102; + --oc-green-6: #40c057; + --oc-green-6-rgb: 64, 192, 87; + --oc-green-7: #37b24d; + --oc-green-7-rgb: 55, 178, 77; + --oc-green-8: #2f9e44; + --oc-green-8-rgb: 47, 158, 68; + --oc-green-9: #2b8a3e; + --oc-green-9-rgb: 43, 138, 62; + + +/* Lime + * ─────────────────────────────────── */ + + --oc-lime-0: #f4fce3; + --oc-lime-0-rgb: 244, 252, 227; + --oc-lime-1: #e9fac8; + --oc-lime-1-rgb: 233, 250, 200; + --oc-lime-2: #d8f5a2; + --oc-lime-2-rgb: 216, 245, 162; + --oc-lime-3: #c0eb75; + --oc-lime-3-rgb: 192, 235, 117; + --oc-lime-4: #a9e34b; + --oc-lime-4-rgb: 169, 227, 75; + --oc-lime-5: #94d82d; + --oc-lime-5-rgb: 148, 216, 45; + --oc-lime-6: #82c91e; + --oc-lime-6-rgb: 130, 201, 30; + --oc-lime-7: #74b816; + --oc-lime-7-rgb: 116, 184, 22; + --oc-lime-8: #66a80f; + --oc-lime-8-rgb: 102, 168, 15; + --oc-lime-9: #5c940d; + --oc-lime-9-rgb: 92, 148, 13; + + +/* Yellow + * ─────────────────────────────────── */ + + --oc-yellow-0: #fff9db; + --oc-yellow-0-rgb: 255, 249, 219; + --oc-yellow-1: #fff3bf; + --oc-yellow-1-rgb: 255, 243, 191; + --oc-yellow-2: #ffec99; + --oc-yellow-2-rgb: 255, 236, 153; + --oc-yellow-3: #ffe066; + --oc-yellow-3-rgb: 255, 224, 102; + --oc-yellow-4: #ffd43b; + --oc-yellow-4-rgb: 255, 212, 59; + --oc-yellow-5: #fcc419; + --oc-yellow-5-rgb: 252, 196, 25; + --oc-yellow-6: #fab005; + --oc-yellow-6-rgb: 250, 176, 5; + --oc-yellow-7: #f59f00; + --oc-yellow-7-rgb: 245, 159, 0; + --oc-yellow-8: #f08c00; + --oc-yellow-8-rgb: 240, 140, 0; + --oc-yellow-9: #e67700; + --oc-yellow-9-rgb: 230, 119, 0; + + +/* Orange + * ─────────────────────────────────── */ + + --oc-orange-0: #fff4e6; + --oc-orange-0-rgb: 255, 244, 230; + --oc-orange-1: #ffe8cc; + --oc-orange-1-rgb: 255, 232, 204; + --oc-orange-2: #ffd8a8; + --oc-orange-2-rgb: 255, 216, 168; + --oc-orange-3: #ffc078; + --oc-orange-3-rgb: 255, 192, 120; + --oc-orange-4: #ffa94d; + --oc-orange-4-rgb: 255, 169, 77; + --oc-orange-5: #ff922b; + --oc-orange-5-rgb: 255, 146, 43; + --oc-orange-6: #fd7e14; + --oc-orange-6-rgb: 253, 126, 20; + --oc-orange-7: #f76707; + --oc-orange-7-rgb: 247, 103, 7; + --oc-orange-8: #e8590c; + --oc-orange-8-rgb: 232, 89, 12; + --oc-orange-9: #d9480f; + --oc-orange-9-rgb: 217, 72, 15; + +} diff --git a/assets/css/open-color.min.css b/assets/css/open-color.min.css deleted file mode 100644 index 78111bd..0000000 --- a/assets/css/open-color.min.css +++ /dev/null @@ -1 +0,0 @@ -:root{--oc-white:#ffffff;--oc-white-rgb:255,255,255;--oc-black:#000000;--oc-black-rgb:0,0,0;--oc-gray-0:#f8f9fa;--oc-gray-0-rgb:248,249,250;--oc-gray-1:#f1f3f5;--oc-gray-1-rgb:241,243,245;--oc-gray-2:#e9ecef;--oc-gray-2-rgb:233,236,239;--oc-gray-3:#dee2e6;--oc-gray-3-rgb:222,226,230;--oc-gray-4:#ced4da;--oc-gray-4-rgb:206,212,218;--oc-gray-5:#adb5bd;--oc-gray-5-rgb:173,181,189;--oc-gray-6:#868e96;--oc-gray-6-rgb:134,142,150;--oc-gray-7:#495057;--oc-gray-7-rgb:73,80,87;--oc-gray-8:#343a40;--oc-gray-8-rgb:52,58,64;--oc-gray-9:#212529;--oc-gray-9-rgb:33,37,41;--oc-red-0:#fff5f5;--oc-red-0-rgb:255,245,245;--oc-red-1:#ffe3e3;--oc-red-1-rgb:255,227,227;--oc-red-2:#ffc9c9;--oc-red-2-rgb:255,201,201;--oc-red-3:#ffa8a8;--oc-red-3-rgb:255,168,168;--oc-red-4:#ff8787;--oc-red-4-rgb:255,135,135;--oc-red-5:#ff6b6b;--oc-red-5-rgb:255,107,107;--oc-red-6:#fa5252;--oc-red-6-rgb:250,82,82;--oc-red-7:#f03e3e;--oc-red-7-rgb:240,62,62;--oc-red-8:#e03131;--oc-red-8-rgb:224,49,49;--oc-red-9:#c92a2a;--oc-red-9-rgb:201,42,42;--oc-pink-0:#fff0f6;--oc-pink-0-rgb:255,240,246;--oc-pink-1:#ffdeeb;--oc-pink-1-rgb:255,222,235;--oc-pink-2:#fcc2d7;--oc-pink-2-rgb:252,194,215;--oc-pink-3:#faa2c1;--oc-pink-3-rgb:250,162,193;--oc-pink-4:#f783ac;--oc-pink-4-rgb:247,131,172;--oc-pink-5:#f06595;--oc-pink-5-rgb:240,101,149;--oc-pink-6:#e64980;--oc-pink-6-rgb:230,73,128;--oc-pink-7:#d6336c;--oc-pink-7-rgb:214,51,108;--oc-pink-8:#c2255c;--oc-pink-8-rgb:194,37,92;--oc-pink-9:#a61e4d;--oc-pink-9-rgb:166,30,77;--oc-grape-0:#f8f0fc;--oc-grape-0-rgb:248,240,252;--oc-grape-1:#f3d9fa;--oc-grape-1-rgb:243,217,250;--oc-grape-2:#eebefa;--oc-grape-2-rgb:238,190,250;--oc-grape-3:#e599f7;--oc-grape-3-rgb:229,153,247;--oc-grape-4:#da77f2;--oc-grape-4-rgb:218,119,242;--oc-grape-5:#cc5de8;--oc-grape-5-rgb:204,93,232;--oc-grape-6:#be4bdb;--oc-grape-6-rgb:190,75,219;--oc-grape-7:#ae3ec9;--oc-grape-7-rgb:174,62,201;--oc-grape-8:#9c36b5;--oc-grape-8-rgb:156,54,181;--oc-grape-9:#862e9c;--oc-grape-9-rgb:134,46,156;--oc-violet-0:#f3f0ff;--oc-violet-0-rgb:243,240,255;--oc-violet-1:#e5dbff;--oc-violet-1-rgb:229,219,255;--oc-violet-2:#d0bfff;--oc-violet-2-rgb:208,191,255;--oc-violet-3:#b197fc;--oc-violet-3-rgb:177,151,252;--oc-violet-4:#9775fa;--oc-violet-4-rgb:151,117,250;--oc-violet-5:#845ef7;--oc-violet-5-rgb:132,94,247;--oc-violet-6:#7950f2;--oc-violet-6-rgb:121,80,242;--oc-violet-7:#7048e8;--oc-violet-7-rgb:112,72,232;--oc-violet-8:#6741d9;--oc-violet-8-rgb:103,65,217;--oc-violet-9:#5f3dc4;--oc-violet-9-rgb:95,61,196;--oc-indigo-0:#edf2ff;--oc-indigo-0-rgb:237,242,255;--oc-indigo-1:#dbe4ff;--oc-indigo-1-rgb:219,228,255;--oc-indigo-2:#bac8ff;--oc-indigo-2-rgb:186,200,255;--oc-indigo-3:#91a7ff;--oc-indigo-3-rgb:145,167,255;--oc-indigo-4:#748ffc;--oc-indigo-4-rgb:116,143,252;--oc-indigo-5:#5c7cfa;--oc-indigo-5-rgb:92,124,250;--oc-indigo-6:#4c6ef5;--oc-indigo-6-rgb:76,110,245;--oc-indigo-7:#4263eb;--oc-indigo-7-rgb:66,99,235;--oc-indigo-8:#3b5bdb;--oc-indigo-8-rgb:59,91,219;--oc-indigo-9:#364fc7;--oc-indigo-9-rgb:54,79,199;--oc-blue-0:#e7f5ff;--oc-blue-0-rgb:231,245,255;--oc-blue-1:#d0ebff;--oc-blue-1-rgb:208,235,255;--oc-blue-2:#a5d8ff;--oc-blue-2-rgb:165,216,255;--oc-blue-3:#74c0fc;--oc-blue-3-rgb:116,192,252;--oc-blue-4:#4dabf7;--oc-blue-4-rgb:77,171,247;--oc-blue-5:#339af0;--oc-blue-5-rgb:51,154,240;--oc-blue-6:#228be6;--oc-blue-6-rgb:34,139,230;--oc-blue-7:#1c7ed6;--oc-blue-7-rgb:28,126,214;--oc-blue-8:#1971c2;--oc-blue-8-rgb:25,113,194;--oc-blue-9:#1864ab;--oc-blue-9-rgb:24,100,171;--oc-cyan-0:#e3fafc;--oc-cyan-0-rgb:227,250,252;--oc-cyan-1:#c5f6fa;--oc-cyan-1-rgb:197,246,250;--oc-cyan-2:#99e9f2;--oc-cyan-2-rgb:153,233,242;--oc-cyan-3:#66d9e8;--oc-cyan-3-rgb:102,217,232;--oc-cyan-4:#3bc9db;--oc-cyan-4-rgb:59,201,219;--oc-cyan-5:#22b8cf;--oc-cyan-5-rgb:34,184,207;--oc-cyan-6:#15aabf;--oc-cyan-6-rgb:21,170,191;--oc-cyan-7:#1098ad;--oc-cyan-7-rgb:16,152,173;--oc-cyan-8:#0c8599;--oc-cyan-8-rgb:12,133,153;--oc-cyan-9:#0b7285;--oc-cyan-9-rgb:11,114,133;--oc-teal-0:#e6fcf5;--oc-teal-0-rgb:230,252,245;--oc-teal-1:#c3fae8;--oc-teal-1-rgb:195,250,232;--oc-teal-2:#96f2d7;--oc-teal-2-rgb:150,242,215;--oc-teal-3:#63e6be;--oc-teal-3-rgb:99,230,190;--oc-teal-4:#38d9a9;--oc-teal-4-rgb:56,217,169;--oc-teal-5:#20c997;--oc-teal-5-rgb:32,201,151;--oc-teal-6:#12b886;--oc-teal-6-rgb:18,184,134;--oc-teal-7:#0ca678;--oc-teal-7-rgb:12,166,120;--oc-teal-8:#099268;--oc-teal-8-rgb:9,146,104;--oc-teal-9:#087f5b;--oc-teal-9-rgb:8,127,91;--oc-green-0:#ebfbee;--oc-green-0-rgb:235,251,238;--oc-green-1:#d3f9d8;--oc-green-1-rgb:211,249,216;--oc-green-2:#b2f2bb;--oc-green-2-rgb:178,242,187;--oc-green-3:#8ce99a;--oc-green-3-rgb:140,233,154;--oc-green-4:#69db7c;--oc-green-4-rgb:105,219,124;--oc-green-5:#51cf66;--oc-green-5-rgb:81,207,102;--oc-green-6:#40c057;--oc-green-6-rgb:64,192,87;--oc-green-7:#37b24d;--oc-green-7-rgb:55,178,77;--oc-green-8:#2f9e44;--oc-green-8-rgb:47,158,68;--oc-green-9:#2b8a3e;--oc-green-9-rgb:43,138,62;--oc-lime-0:#f4fce3;--oc-lime-0-rgb:244,252,227;--oc-lime-1:#e9fac8;--oc-lime-1-rgb:233,250,200;--oc-lime-2:#d8f5a2;--oc-lime-2-rgb:216,245,162;--oc-lime-3:#c0eb75;--oc-lime-3-rgb:192,235,117;--oc-lime-4:#a9e34b;--oc-lime-4-rgb:169,227,75;--oc-lime-5:#94d82d;--oc-lime-5-rgb:148,216,45;--oc-lime-6:#82c91e;--oc-lime-6-rgb:130,201,30;--oc-lime-7:#74b816;--oc-lime-7-rgb:116,184,22;--oc-lime-8:#66a80f;--oc-lime-8-rgb:102,168,15;--oc-lime-9:#5c940d;--oc-lime-9-rgb:92,148,13;--oc-yellow-0:#fff9db;--oc-yellow-0-rgb:255,249,219;--oc-yellow-1:#fff3bf;--oc-yellow-1-rgb:255,243,191;--oc-yellow-2:#ffec99;--oc-yellow-2-rgb:255,236,153;--oc-yellow-3:#ffe066;--oc-yellow-3-rgb:255,224,102;--oc-yellow-4:#ffd43b;--oc-yellow-4-rgb:255,212,59;--oc-yellow-5:#fcc419;--oc-yellow-5-rgb:252,196,25;--oc-yellow-6:#fab005;--oc-yellow-6-rgb:250,176,5;--oc-yellow-7:#f59f00;--oc-yellow-7-rgb:245,159,0;--oc-yellow-8:#f08c00;--oc-yellow-8-rgb:240,140,0;--oc-yellow-9:#e67700;--oc-yellow-9-rgb:230,119,0;--oc-orange-0:#fff4e6;--oc-orange-0-rgb:255,244,230;--oc-orange-1:#ffe8cc;--oc-orange-1-rgb:255,232,204;--oc-orange-2:#ffd8a8;--oc-orange-2-rgb:255,216,168;--oc-orange-3:#ffc078;--oc-orange-3-rgb:255,192,120;--oc-orange-4:#ffa94d;--oc-orange-4-rgb:255,169,77;--oc-orange-5:#ff922b;--oc-orange-5-rgb:255,146,43;--oc-orange-6:#fd7e14;--oc-orange-6-rgb:253,126,20;--oc-orange-7:#f76707;--oc-orange-7-rgb:247,103,7;--oc-orange-8:#e8590c;--oc-orange-8-rgb:232,89,12;--oc-orange-9:#d9480f;--oc-orange-9-rgb:217,72,15;} \ No newline at end of file diff --git a/assets/css/styles.css b/assets/css/styles.css new file mode 100644 index 0000000..88fc7d2 --- /dev/null +++ b/assets/css/styles.css @@ -0,0 +1,101 @@ +--- +--- + +@font-face { + font-family: "hack"; + src: url("../webfonts/hack-regular-subset.woff2") format("woff2"); + font-style: normal; + font-weight: 400; + text-rendering: optimizeLegibility; +} + +@font-face { + font-family: "hack"; + src: url("../webfonts/hack-italic-subset.woff2") format("woff2"); + font-style: italic; + font-weight: 400; + text-rendering: optimizeLegibility; +} + +body { + font-family: "hack", monospace; + font-size: 16px; + font-weight: 400; + background-color: {{ site.color_bg }}; + color: {{ site.color_punct }}; +} + +main { + position: absolute; + width: 98%; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +@media (min-width: 576px) { + main { + font-size: 18px; + width: 90%; + } +} + +@media (min-width: 768px) { + main { + font-size: 20px; + width: 80%; + } +} + +h1, +p { + margin: 0; +} + +a { + color: inherit; + font-style: italic; +} + +a:hover, +a:active { + color: {{ site.color_hover }}; +} + +#json { + white-space: nowrap; +} + +#json:before { + content: "{"; +} + +#json:after { + content: "}"; +} + +.my { + margin-top: 1rem; + margin-bottom: 1rem; +} + +.mt { + margin-top: 1.5rem; +} + +.ms { + margin-left: 1.5rem; +} + +.error, +.key { + text-transform: lowercase; + color: {{ site.color_keyval }}; +} + +.value { + {% if site.lowercase -%} + text-transform: lowercase; + {% endif -%} + color: {{ site.color_keyval }}; +} diff --git a/assets/css/styles.min.scss b/assets/css/styles.min.scss deleted file mode 100644 index d9dbd96..0000000 --- a/assets/css/styles.min.scss +++ /dev/null @@ -1,8 +0,0 @@ ---- -# Use a comment to ensure Jekyll reads the file to be transformed into CSS later -# only main files contain this front matter, not partials. ---- - -@import "fonts"; -@import "base"; -@import "json"; \ No newline at end of file diff --git a/assets/js/typed.min.js b/assets/js/typed.min.js deleted file mode 100644 index 82c6e9a..0000000 --- a/assets/js/typed.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()}(this,(function(){return function(t){var e={};function s(n){if(e[n])return e[n].exports;var i=e[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}return s.m=t,s.c=e,s.p="",s(0)}([function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var s=0;st.length)););var u=t.substring(0,e),l=t.substring(u.length+1,e+i),c=t.substring(e+i+1);t=u+l+c,i--}s.timeout=setTimeout((function(){s.toggleBlinking(!1),e>=t.length?s.doneTyping(t,e):s.keepTyping(t,e,i),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))}),n)}),n):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){s.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var s=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=r.htmlParser.backSpaceHtmlChars(t,e,s);var n=t.substr(0,e);if(s.replaceText(n),s.smartBackspace){var i=s.strings[s.arrayPos+1];i&&n===i.substr(0,e)?s.stopNum=e:s.stopNum=0}e>s.stopNum?(e--,s.backspace(t,e)):e<=s.stopNum&&(s.arrayPos++,s.arrayPos===s.strings.length?(s.arrayPos=0,s.options.onLastStringBackspaced(),s.shuffleStringsIfNeeded(),s.begin()):s.typewrite(s.strings[s.sequence[s.arrayPos]],e))}),n)}else this.setPauseStatus(t,e,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==i&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&!(--e<0););e--}return e}}]),t}();e.default=n;var i=new n;e.htmlParser=i}])})); \ No newline at end of file diff --git a/assets/js/typed.umd.js b/assets/js/typed.umd.js new file mode 100644 index 0000000..0a4e41d --- /dev/null +++ b/assets/js/typed.umd.js @@ -0,0 +1,3 @@ +!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t||self).Typed=s()}(this,function(){function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}());/*#__PURE__*/ +return function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),p=t.substring(u.length+1,s+r),c=t.substring(s+r+1);t=u+p+c,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var n=t.substring(0,s+=e);this.replaceText(n),this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){e.backspace(t,s)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.arrayPos+1];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.arrayPos++,e.arrayPos===e.strings.length?(e.arrayPos=0,e.options.onLastStringBackspaced(),e.shuffleStringsIfNeeded(),e.begin()):e.typewrite(e.strings[e.sequence[e.arrayPos]],s))},i)}else this.setPauseStatus(t,s,!1)},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}()}); +//# sourceMappingURL=typed.umd.js.map diff --git a/assets/fonts/hack-italic-subset.woff2 b/assets/webfonts/hack-italic-subset.woff2 similarity index 100% rename from assets/fonts/hack-italic-subset.woff2 rename to assets/webfonts/hack-italic-subset.woff2 diff --git a/assets/fonts/hack-regular-subset.woff2 b/assets/webfonts/hack-regular-subset.woff2 similarity index 100% rename from assets/fonts/hack-regular-subset.woff2 rename to assets/webfonts/hack-regular-subset.woff2 diff --git a/demo/Gemfile b/demo/Gemfile index 3377c51..c9ae6c6 100644 --- a/demo/Gemfile +++ b/demo/Gemfile @@ -1,3 +1,3 @@ source 'https://rubygems.org' -gem 'hacked-jekyll', '~> 1.4', '>= 1.4.1' +gem 'hacked-jekyll', '~> 2.0' diff --git a/demo/_config.yml b/demo/_config.yml index 6012fc8..5d2e4c9 100644 --- a/demo/_config.yml +++ b/demo/_config.yml @@ -1,5 +1,3 @@ -# this is only for search engines, it does not appear in the home -# as long as the json variables name and description are provided title: Hacked Jekyll description: Jekyll microtheme that looks like JSON baseurl: "" @@ -7,33 +5,6 @@ url: https://piazzai.github.io/hacked-jekyll theme: hacked-jekyll -# this information is shown on the homepage, all fields are optional and -# can be declared either as a single string or as a string array/hash -json: - name: Place Holder - description: - - Hello! - - This tiny website - - Looks like json - cv: cv.pdf - address: - - University of Jekyll - - Department of Themes - - 123 Main St, Anytown, USA - contact: - office: Foobar Hall 1.23 - phone: +1 234 567 890 - email: username@domain.com - demo: https://piazzai.github.io/hacked-jekyll - source: https://github.com/piazzai/hacked-jekyll - profiles: - facebook: https://www.facebook.com - x: https://www.x.com - instagram: https://www.instagram.com - linkedin: https://www.linkedin.com - stackoverflow: https://stackoverflow.com - github: https://github.com - exclude: - LICENSE - README.md diff --git a/demo/_data/json.yml b/demo/_data/json.yml new file mode 100644 index 0000000..1ce4383 --- /dev/null +++ b/demo/_data/json.yml @@ -0,0 +1,42 @@ +- key: Name + value: Place Holder +- key: Description + value: + - Hello! + - This tiny website + - Looks like JSON + typed: true +- key: CV + value: cv.pdf + url: /cv.pdf +- key: Address + value: + - University of Jekyll + - Department of Themes + - 123 Main St, Anytown, USA +- key: Contact + value: + - key: Office + value: Foobar Hall 1.23 + - key: Phone + value: +1 234 567 890 + - key: Email + value: username@domain.com + url: "mailto:username@domain.com" +- key: Source + value: github.com/piazzai/hacked-jekyll + url: https://github.com/piazzai/hacked-jekyll +- key: Profiles + value: + - value: Facebook + url: https://www.facebook.com + - value: X + url: https://www.x.com + - value: Instagram + url: https://www.instagram.com + - value: LinkedIn + url: https://www.linkedin.com + - value: StackOverflow + url: https://stackoverflow.com + - value: GitHub + url: https://github.com diff --git a/docs/404.html b/docs/404.html index 39540df..f54f43b 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,52 +1,59 @@ + + Hacked Jekyll - -Hacked Jekyll | Jekyll microtheme that looks like JSON + - - + + +{"@context":"https://schema.org","@type":"WebPage","description":"Jekyll microtheme that looks like JSON","headline":"Hacked Jekyll","url":"http://localhost:4000/404.html"} - - - - - - - + + + +
-
-

404

-

Page not found

-
- -
+ +
+

404

+

Page not found

+

localhost:4000

+
+ + + \ No newline at end of file diff --git a/docs/assets/css/normalize.css b/docs/assets/css/normalize.css new file mode 100644 index 0000000..192eb9c --- /dev/null +++ b/docs/assets/css/normalize.css @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/docs/assets/css/normalize.min.css b/docs/assets/css/normalize.min.css deleted file mode 100644 index 696e9f3..0000000 --- a/docs/assets/css/normalize.min.css +++ /dev/null @@ -1 +0,0 @@ -html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;}main{display:block;}h1{font-size:2em;margin:.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-.25em;}sup{top:-.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible;}button,select{text-transform:none;}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button;}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0;}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText;}fieldset{padding:.35em .75em .625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline;}textarea{overflow:auto;}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto;}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;} \ No newline at end of file diff --git a/docs/assets/css/open-color.css b/docs/assets/css/open-color.css new file mode 100644 index 0000000..5152f87 --- /dev/null +++ b/docs/assets/css/open-color.css @@ -0,0 +1,343 @@ +/* + * + * 𝗖 𝗢 𝗟 𝗢 𝗥 + * v 1.6.3 + * + * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */ + +:root { + +/* General + * ─────────────────────────────────── */ + + --oc-white: #ffffff; + --oc-white-rgb: 255, 255, 255; + --oc-black: #000000; + --oc-black-rgb: 0, 0, 0; + + +/* Gray + * ─────────────────────────────────── */ + + --oc-gray-0: #f8f9fa; + --oc-gray-0-rgb: 248, 249, 250; + --oc-gray-1: #f1f3f5; + --oc-gray-1-rgb: 241, 243, 245; + --oc-gray-2: #e9ecef; + --oc-gray-2-rgb: 233, 236, 239; + --oc-gray-3: #dee2e6; + --oc-gray-3-rgb: 222, 226, 230; + --oc-gray-4: #ced4da; + --oc-gray-4-rgb: 206, 212, 218; + --oc-gray-5: #adb5bd; + --oc-gray-5-rgb: 173, 181, 189; + --oc-gray-6: #868e96; + --oc-gray-6-rgb: 134, 142, 150; + --oc-gray-7: #495057; + --oc-gray-7-rgb: 73, 80, 87; + --oc-gray-8: #343a40; + --oc-gray-8-rgb: 52, 58, 64; + --oc-gray-9: #212529; + --oc-gray-9-rgb: 33, 37, 41; + + +/* Red + * ─────────────────────────────────── */ + + --oc-red-0: #fff5f5; + --oc-red-0-rgb: 255, 245, 245; + --oc-red-1: #ffe3e3; + --oc-red-1-rgb: 255, 227, 227; + --oc-red-2: #ffc9c9; + --oc-red-2-rgb: 255, 201, 201; + --oc-red-3: #ffa8a8; + --oc-red-3-rgb: 255, 168, 168; + --oc-red-4: #ff8787; + --oc-red-4-rgb: 255, 135, 135; + --oc-red-5: #ff6b6b; + --oc-red-5-rgb: 255, 107, 107; + --oc-red-6: #fa5252; + --oc-red-6-rgb: 250, 82, 82; + --oc-red-7: #f03e3e; + --oc-red-7-rgb: 240, 62, 62; + --oc-red-8: #e03131; + --oc-red-8-rgb: 224, 49, 49; + --oc-red-9: #c92a2a; + --oc-red-9-rgb: 201, 42, 42; + + +/* Pink + * ─────────────────────────────────── */ + + --oc-pink-0: #fff0f6; + --oc-pink-0-rgb: 255, 240, 246; + --oc-pink-1: #ffdeeb; + --oc-pink-1-rgb: 255, 222, 235; + --oc-pink-2: #fcc2d7; + --oc-pink-2-rgb: 252, 194, 215; + --oc-pink-3: #faa2c1; + --oc-pink-3-rgb: 250, 162, 193; + --oc-pink-4: #f783ac; + --oc-pink-4-rgb: 247, 131, 172; + --oc-pink-5: #f06595; + --oc-pink-5-rgb: 240, 101, 149; + --oc-pink-6: #e64980; + --oc-pink-6-rgb: 230, 73, 128; + --oc-pink-7: #d6336c; + --oc-pink-7-rgb: 214, 51, 108; + --oc-pink-8: #c2255c; + --oc-pink-8-rgb: 194, 37, 92; + --oc-pink-9: #a61e4d; + --oc-pink-9-rgb: 166, 30, 77; + + +/* Grape + * ─────────────────────────────────── */ + + --oc-grape-0: #f8f0fc; + --oc-grape-0-rgb: 248, 240, 252; + --oc-grape-1: #f3d9fa; + --oc-grape-1-rgb: 243, 217, 250; + --oc-grape-2: #eebefa; + --oc-grape-2-rgb: 238, 190, 250; + --oc-grape-3: #e599f7; + --oc-grape-3-rgb: 229, 153, 247; + --oc-grape-4: #da77f2; + --oc-grape-4-rgb: 218, 119, 242; + --oc-grape-5: #cc5de8; + --oc-grape-5-rgb: 204, 93, 232; + --oc-grape-6: #be4bdb; + --oc-grape-6-rgb: 190, 75, 219; + --oc-grape-7: #ae3ec9; + --oc-grape-7-rgb: 174, 62, 201; + --oc-grape-8: #9c36b5; + --oc-grape-8-rgb: 156, 54, 181; + --oc-grape-9: #862e9c; + --oc-grape-9-rgb: 134, 46, 156; + + +/* Violet + * ─────────────────────────────────── */ + + --oc-violet-0: #f3f0ff; + --oc-violet-0-rgb: 243, 240, 255; + --oc-violet-1: #e5dbff; + --oc-violet-1-rgb: 229, 219, 255; + --oc-violet-2: #d0bfff; + --oc-violet-2-rgb: 208, 191, 255; + --oc-violet-3: #b197fc; + --oc-violet-3-rgb: 177, 151, 252; + --oc-violet-4: #9775fa; + --oc-violet-4-rgb: 151, 117, 250; + --oc-violet-5: #845ef7; + --oc-violet-5-rgb: 132, 94, 247; + --oc-violet-6: #7950f2; + --oc-violet-6-rgb: 121, 80, 242; + --oc-violet-7: #7048e8; + --oc-violet-7-rgb: 112, 72, 232; + --oc-violet-8: #6741d9; + --oc-violet-8-rgb: 103, 65, 217; + --oc-violet-9: #5f3dc4; + --oc-violet-9-rgb: 95, 61, 196; + + +/* Indigo + * ─────────────────────────────────── */ + + --oc-indigo-0: #edf2ff; + --oc-indigo-0-rgb: 237, 242, 255; + --oc-indigo-1: #dbe4ff; + --oc-indigo-1-rgb: 219, 228, 255; + --oc-indigo-2: #bac8ff; + --oc-indigo-2-rgb: 186, 200, 255; + --oc-indigo-3: #91a7ff; + --oc-indigo-3-rgb: 145, 167, 255; + --oc-indigo-4: #748ffc; + --oc-indigo-4-rgb: 116, 143, 252; + --oc-indigo-5: #5c7cfa; + --oc-indigo-5-rgb: 92, 124, 250; + --oc-indigo-6: #4c6ef5; + --oc-indigo-6-rgb: 76, 110, 245; + --oc-indigo-7: #4263eb; + --oc-indigo-7-rgb: 66, 99, 235; + --oc-indigo-8: #3b5bdb; + --oc-indigo-8-rgb: 59, 91, 219; + --oc-indigo-9: #364fc7; + --oc-indigo-9-rgb: 54, 79, 199; + + +/* Blue + * ─────────────────────────────────── */ + + --oc-blue-0: #e7f5ff; + --oc-blue-0-rgb: 231, 245, 255; + --oc-blue-1: #d0ebff; + --oc-blue-1-rgb: 208, 235, 255; + --oc-blue-2: #a5d8ff; + --oc-blue-2-rgb: 165, 216, 255; + --oc-blue-3: #74c0fc; + --oc-blue-3-rgb: 116, 192, 252; + --oc-blue-4: #4dabf7; + --oc-blue-4-rgb: 77, 171, 247; + --oc-blue-5: #339af0; + --oc-blue-5-rgb: 51, 154, 240; + --oc-blue-6: #228be6; + --oc-blue-6-rgb: 34, 139, 230; + --oc-blue-7: #1c7ed6; + --oc-blue-7-rgb: 28, 126, 214; + --oc-blue-8: #1971c2; + --oc-blue-8-rgb: 25, 113, 194; + --oc-blue-9: #1864ab; + --oc-blue-9-rgb: 24, 100, 171; + + +/* Cyan + * ─────────────────────────────────── */ + + --oc-cyan-0: #e3fafc; + --oc-cyan-0-rgb: 227, 250, 252; + --oc-cyan-1: #c5f6fa; + --oc-cyan-1-rgb: 197, 246, 250; + --oc-cyan-2: #99e9f2; + --oc-cyan-2-rgb: 153, 233, 242; + --oc-cyan-3: #66d9e8; + --oc-cyan-3-rgb: 102, 217, 232; + --oc-cyan-4: #3bc9db; + --oc-cyan-4-rgb: 59, 201, 219; + --oc-cyan-5: #22b8cf; + --oc-cyan-5-rgb: 34, 184, 207; + --oc-cyan-6: #15aabf; + --oc-cyan-6-rgb: 21, 170, 191; + --oc-cyan-7: #1098ad; + --oc-cyan-7-rgb: 16, 152, 173; + --oc-cyan-8: #0c8599; + --oc-cyan-8-rgb: 12, 133, 153; + --oc-cyan-9: #0b7285; + --oc-cyan-9-rgb: 11, 114, 133; + + +/* Teal + * ─────────────────────────────────── */ + + --oc-teal-0: #e6fcf5; + --oc-teal-0-rgb: 230, 252, 245; + --oc-teal-1: #c3fae8; + --oc-teal-1-rgb: 195, 250, 232; + --oc-teal-2: #96f2d7; + --oc-teal-2-rgb: 150, 242, 215; + --oc-teal-3: #63e6be; + --oc-teal-3-rgb: 99, 230, 190; + --oc-teal-4: #38d9a9; + --oc-teal-4-rgb: 56, 217, 169; + --oc-teal-5: #20c997; + --oc-teal-5-rgb: 32, 201, 151; + --oc-teal-6: #12b886; + --oc-teal-6-rgb: 18, 184, 134; + --oc-teal-7: #0ca678; + --oc-teal-7-rgb: 12, 166, 120; + --oc-teal-8: #099268; + --oc-teal-8-rgb: 9, 146, 104; + --oc-teal-9: #087f5b; + --oc-teal-9-rgb: 8, 127, 91; + + +/* Green + * ─────────────────────────────────── */ + + --oc-green-0: #ebfbee; + --oc-green-0-rgb: 235, 251, 238; + --oc-green-1: #d3f9d8; + --oc-green-1-rgb: 211, 249, 216; + --oc-green-2: #b2f2bb; + --oc-green-2-rgb: 178, 242, 187; + --oc-green-3: #8ce99a; + --oc-green-3-rgb: 140, 233, 154; + --oc-green-4: #69db7c; + --oc-green-4-rgb: 105, 219, 124; + --oc-green-5: #51cf66; + --oc-green-5-rgb: 81, 207, 102; + --oc-green-6: #40c057; + --oc-green-6-rgb: 64, 192, 87; + --oc-green-7: #37b24d; + --oc-green-7-rgb: 55, 178, 77; + --oc-green-8: #2f9e44; + --oc-green-8-rgb: 47, 158, 68; + --oc-green-9: #2b8a3e; + --oc-green-9-rgb: 43, 138, 62; + + +/* Lime + * ─────────────────────────────────── */ + + --oc-lime-0: #f4fce3; + --oc-lime-0-rgb: 244, 252, 227; + --oc-lime-1: #e9fac8; + --oc-lime-1-rgb: 233, 250, 200; + --oc-lime-2: #d8f5a2; + --oc-lime-2-rgb: 216, 245, 162; + --oc-lime-3: #c0eb75; + --oc-lime-3-rgb: 192, 235, 117; + --oc-lime-4: #a9e34b; + --oc-lime-4-rgb: 169, 227, 75; + --oc-lime-5: #94d82d; + --oc-lime-5-rgb: 148, 216, 45; + --oc-lime-6: #82c91e; + --oc-lime-6-rgb: 130, 201, 30; + --oc-lime-7: #74b816; + --oc-lime-7-rgb: 116, 184, 22; + --oc-lime-8: #66a80f; + --oc-lime-8-rgb: 102, 168, 15; + --oc-lime-9: #5c940d; + --oc-lime-9-rgb: 92, 148, 13; + + +/* Yellow + * ─────────────────────────────────── */ + + --oc-yellow-0: #fff9db; + --oc-yellow-0-rgb: 255, 249, 219; + --oc-yellow-1: #fff3bf; + --oc-yellow-1-rgb: 255, 243, 191; + --oc-yellow-2: #ffec99; + --oc-yellow-2-rgb: 255, 236, 153; + --oc-yellow-3: #ffe066; + --oc-yellow-3-rgb: 255, 224, 102; + --oc-yellow-4: #ffd43b; + --oc-yellow-4-rgb: 255, 212, 59; + --oc-yellow-5: #fcc419; + --oc-yellow-5-rgb: 252, 196, 25; + --oc-yellow-6: #fab005; + --oc-yellow-6-rgb: 250, 176, 5; + --oc-yellow-7: #f59f00; + --oc-yellow-7-rgb: 245, 159, 0; + --oc-yellow-8: #f08c00; + --oc-yellow-8-rgb: 240, 140, 0; + --oc-yellow-9: #e67700; + --oc-yellow-9-rgb: 230, 119, 0; + + +/* Orange + * ─────────────────────────────────── */ + + --oc-orange-0: #fff4e6; + --oc-orange-0-rgb: 255, 244, 230; + --oc-orange-1: #ffe8cc; + --oc-orange-1-rgb: 255, 232, 204; + --oc-orange-2: #ffd8a8; + --oc-orange-2-rgb: 255, 216, 168; + --oc-orange-3: #ffc078; + --oc-orange-3-rgb: 255, 192, 120; + --oc-orange-4: #ffa94d; + --oc-orange-4-rgb: 255, 169, 77; + --oc-orange-5: #ff922b; + --oc-orange-5-rgb: 255, 146, 43; + --oc-orange-6: #fd7e14; + --oc-orange-6-rgb: 253, 126, 20; + --oc-orange-7: #f76707; + --oc-orange-7-rgb: 247, 103, 7; + --oc-orange-8: #e8590c; + --oc-orange-8-rgb: 232, 89, 12; + --oc-orange-9: #d9480f; + --oc-orange-9-rgb: 217, 72, 15; + +} diff --git a/docs/assets/css/open-color.min.css b/docs/assets/css/open-color.min.css deleted file mode 100644 index 78111bd..0000000 --- a/docs/assets/css/open-color.min.css +++ /dev/null @@ -1 +0,0 @@ -:root{--oc-white:#ffffff;--oc-white-rgb:255,255,255;--oc-black:#000000;--oc-black-rgb:0,0,0;--oc-gray-0:#f8f9fa;--oc-gray-0-rgb:248,249,250;--oc-gray-1:#f1f3f5;--oc-gray-1-rgb:241,243,245;--oc-gray-2:#e9ecef;--oc-gray-2-rgb:233,236,239;--oc-gray-3:#dee2e6;--oc-gray-3-rgb:222,226,230;--oc-gray-4:#ced4da;--oc-gray-4-rgb:206,212,218;--oc-gray-5:#adb5bd;--oc-gray-5-rgb:173,181,189;--oc-gray-6:#868e96;--oc-gray-6-rgb:134,142,150;--oc-gray-7:#495057;--oc-gray-7-rgb:73,80,87;--oc-gray-8:#343a40;--oc-gray-8-rgb:52,58,64;--oc-gray-9:#212529;--oc-gray-9-rgb:33,37,41;--oc-red-0:#fff5f5;--oc-red-0-rgb:255,245,245;--oc-red-1:#ffe3e3;--oc-red-1-rgb:255,227,227;--oc-red-2:#ffc9c9;--oc-red-2-rgb:255,201,201;--oc-red-3:#ffa8a8;--oc-red-3-rgb:255,168,168;--oc-red-4:#ff8787;--oc-red-4-rgb:255,135,135;--oc-red-5:#ff6b6b;--oc-red-5-rgb:255,107,107;--oc-red-6:#fa5252;--oc-red-6-rgb:250,82,82;--oc-red-7:#f03e3e;--oc-red-7-rgb:240,62,62;--oc-red-8:#e03131;--oc-red-8-rgb:224,49,49;--oc-red-9:#c92a2a;--oc-red-9-rgb:201,42,42;--oc-pink-0:#fff0f6;--oc-pink-0-rgb:255,240,246;--oc-pink-1:#ffdeeb;--oc-pink-1-rgb:255,222,235;--oc-pink-2:#fcc2d7;--oc-pink-2-rgb:252,194,215;--oc-pink-3:#faa2c1;--oc-pink-3-rgb:250,162,193;--oc-pink-4:#f783ac;--oc-pink-4-rgb:247,131,172;--oc-pink-5:#f06595;--oc-pink-5-rgb:240,101,149;--oc-pink-6:#e64980;--oc-pink-6-rgb:230,73,128;--oc-pink-7:#d6336c;--oc-pink-7-rgb:214,51,108;--oc-pink-8:#c2255c;--oc-pink-8-rgb:194,37,92;--oc-pink-9:#a61e4d;--oc-pink-9-rgb:166,30,77;--oc-grape-0:#f8f0fc;--oc-grape-0-rgb:248,240,252;--oc-grape-1:#f3d9fa;--oc-grape-1-rgb:243,217,250;--oc-grape-2:#eebefa;--oc-grape-2-rgb:238,190,250;--oc-grape-3:#e599f7;--oc-grape-3-rgb:229,153,247;--oc-grape-4:#da77f2;--oc-grape-4-rgb:218,119,242;--oc-grape-5:#cc5de8;--oc-grape-5-rgb:204,93,232;--oc-grape-6:#be4bdb;--oc-grape-6-rgb:190,75,219;--oc-grape-7:#ae3ec9;--oc-grape-7-rgb:174,62,201;--oc-grape-8:#9c36b5;--oc-grape-8-rgb:156,54,181;--oc-grape-9:#862e9c;--oc-grape-9-rgb:134,46,156;--oc-violet-0:#f3f0ff;--oc-violet-0-rgb:243,240,255;--oc-violet-1:#e5dbff;--oc-violet-1-rgb:229,219,255;--oc-violet-2:#d0bfff;--oc-violet-2-rgb:208,191,255;--oc-violet-3:#b197fc;--oc-violet-3-rgb:177,151,252;--oc-violet-4:#9775fa;--oc-violet-4-rgb:151,117,250;--oc-violet-5:#845ef7;--oc-violet-5-rgb:132,94,247;--oc-violet-6:#7950f2;--oc-violet-6-rgb:121,80,242;--oc-violet-7:#7048e8;--oc-violet-7-rgb:112,72,232;--oc-violet-8:#6741d9;--oc-violet-8-rgb:103,65,217;--oc-violet-9:#5f3dc4;--oc-violet-9-rgb:95,61,196;--oc-indigo-0:#edf2ff;--oc-indigo-0-rgb:237,242,255;--oc-indigo-1:#dbe4ff;--oc-indigo-1-rgb:219,228,255;--oc-indigo-2:#bac8ff;--oc-indigo-2-rgb:186,200,255;--oc-indigo-3:#91a7ff;--oc-indigo-3-rgb:145,167,255;--oc-indigo-4:#748ffc;--oc-indigo-4-rgb:116,143,252;--oc-indigo-5:#5c7cfa;--oc-indigo-5-rgb:92,124,250;--oc-indigo-6:#4c6ef5;--oc-indigo-6-rgb:76,110,245;--oc-indigo-7:#4263eb;--oc-indigo-7-rgb:66,99,235;--oc-indigo-8:#3b5bdb;--oc-indigo-8-rgb:59,91,219;--oc-indigo-9:#364fc7;--oc-indigo-9-rgb:54,79,199;--oc-blue-0:#e7f5ff;--oc-blue-0-rgb:231,245,255;--oc-blue-1:#d0ebff;--oc-blue-1-rgb:208,235,255;--oc-blue-2:#a5d8ff;--oc-blue-2-rgb:165,216,255;--oc-blue-3:#74c0fc;--oc-blue-3-rgb:116,192,252;--oc-blue-4:#4dabf7;--oc-blue-4-rgb:77,171,247;--oc-blue-5:#339af0;--oc-blue-5-rgb:51,154,240;--oc-blue-6:#228be6;--oc-blue-6-rgb:34,139,230;--oc-blue-7:#1c7ed6;--oc-blue-7-rgb:28,126,214;--oc-blue-8:#1971c2;--oc-blue-8-rgb:25,113,194;--oc-blue-9:#1864ab;--oc-blue-9-rgb:24,100,171;--oc-cyan-0:#e3fafc;--oc-cyan-0-rgb:227,250,252;--oc-cyan-1:#c5f6fa;--oc-cyan-1-rgb:197,246,250;--oc-cyan-2:#99e9f2;--oc-cyan-2-rgb:153,233,242;--oc-cyan-3:#66d9e8;--oc-cyan-3-rgb:102,217,232;--oc-cyan-4:#3bc9db;--oc-cyan-4-rgb:59,201,219;--oc-cyan-5:#22b8cf;--oc-cyan-5-rgb:34,184,207;--oc-cyan-6:#15aabf;--oc-cyan-6-rgb:21,170,191;--oc-cyan-7:#1098ad;--oc-cyan-7-rgb:16,152,173;--oc-cyan-8:#0c8599;--oc-cyan-8-rgb:12,133,153;--oc-cyan-9:#0b7285;--oc-cyan-9-rgb:11,114,133;--oc-teal-0:#e6fcf5;--oc-teal-0-rgb:230,252,245;--oc-teal-1:#c3fae8;--oc-teal-1-rgb:195,250,232;--oc-teal-2:#96f2d7;--oc-teal-2-rgb:150,242,215;--oc-teal-3:#63e6be;--oc-teal-3-rgb:99,230,190;--oc-teal-4:#38d9a9;--oc-teal-4-rgb:56,217,169;--oc-teal-5:#20c997;--oc-teal-5-rgb:32,201,151;--oc-teal-6:#12b886;--oc-teal-6-rgb:18,184,134;--oc-teal-7:#0ca678;--oc-teal-7-rgb:12,166,120;--oc-teal-8:#099268;--oc-teal-8-rgb:9,146,104;--oc-teal-9:#087f5b;--oc-teal-9-rgb:8,127,91;--oc-green-0:#ebfbee;--oc-green-0-rgb:235,251,238;--oc-green-1:#d3f9d8;--oc-green-1-rgb:211,249,216;--oc-green-2:#b2f2bb;--oc-green-2-rgb:178,242,187;--oc-green-3:#8ce99a;--oc-green-3-rgb:140,233,154;--oc-green-4:#69db7c;--oc-green-4-rgb:105,219,124;--oc-green-5:#51cf66;--oc-green-5-rgb:81,207,102;--oc-green-6:#40c057;--oc-green-6-rgb:64,192,87;--oc-green-7:#37b24d;--oc-green-7-rgb:55,178,77;--oc-green-8:#2f9e44;--oc-green-8-rgb:47,158,68;--oc-green-9:#2b8a3e;--oc-green-9-rgb:43,138,62;--oc-lime-0:#f4fce3;--oc-lime-0-rgb:244,252,227;--oc-lime-1:#e9fac8;--oc-lime-1-rgb:233,250,200;--oc-lime-2:#d8f5a2;--oc-lime-2-rgb:216,245,162;--oc-lime-3:#c0eb75;--oc-lime-3-rgb:192,235,117;--oc-lime-4:#a9e34b;--oc-lime-4-rgb:169,227,75;--oc-lime-5:#94d82d;--oc-lime-5-rgb:148,216,45;--oc-lime-6:#82c91e;--oc-lime-6-rgb:130,201,30;--oc-lime-7:#74b816;--oc-lime-7-rgb:116,184,22;--oc-lime-8:#66a80f;--oc-lime-8-rgb:102,168,15;--oc-lime-9:#5c940d;--oc-lime-9-rgb:92,148,13;--oc-yellow-0:#fff9db;--oc-yellow-0-rgb:255,249,219;--oc-yellow-1:#fff3bf;--oc-yellow-1-rgb:255,243,191;--oc-yellow-2:#ffec99;--oc-yellow-2-rgb:255,236,153;--oc-yellow-3:#ffe066;--oc-yellow-3-rgb:255,224,102;--oc-yellow-4:#ffd43b;--oc-yellow-4-rgb:255,212,59;--oc-yellow-5:#fcc419;--oc-yellow-5-rgb:252,196,25;--oc-yellow-6:#fab005;--oc-yellow-6-rgb:250,176,5;--oc-yellow-7:#f59f00;--oc-yellow-7-rgb:245,159,0;--oc-yellow-8:#f08c00;--oc-yellow-8-rgb:240,140,0;--oc-yellow-9:#e67700;--oc-yellow-9-rgb:230,119,0;--oc-orange-0:#fff4e6;--oc-orange-0-rgb:255,244,230;--oc-orange-1:#ffe8cc;--oc-orange-1-rgb:255,232,204;--oc-orange-2:#ffd8a8;--oc-orange-2-rgb:255,216,168;--oc-orange-3:#ffc078;--oc-orange-3-rgb:255,192,120;--oc-orange-4:#ffa94d;--oc-orange-4-rgb:255,169,77;--oc-orange-5:#ff922b;--oc-orange-5-rgb:255,146,43;--oc-orange-6:#fd7e14;--oc-orange-6-rgb:253,126,20;--oc-orange-7:#f76707;--oc-orange-7-rgb:247,103,7;--oc-orange-8:#e8590c;--oc-orange-8-rgb:232,89,12;--oc-orange-9:#d9480f;--oc-orange-9-rgb:217,72,15;} \ No newline at end of file diff --git a/docs/assets/css/styles.css b/docs/assets/css/styles.css new file mode 100644 index 0000000..21126b3 --- /dev/null +++ b/docs/assets/css/styles.css @@ -0,0 +1,96 @@ +@font-face { + font-family: "hack"; + src: url("../webfonts/hack-regular-subset.woff2") format("woff2"); + font-style: normal; + font-weight: 400; + text-rendering: optimizeLegibility; +} + +@font-face { + font-family: "hack"; + src: url("../webfonts/hack-italic-subset.woff2") format("woff2"); + font-style: italic; + font-weight: 400; + text-rendering: optimizeLegibility; +} + +body { + font-family: "hack", monospace; + font-size: 16px; + font-weight: 400; + background-color: var(--oc-gray-9); + color: var(--oc-green-9); +} + +main { + position: absolute; + width: 98%; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +@media (min-width: 576px) { + main { + font-size: 18px; + width: 90%; + } +} + +@media (min-width: 768px) { + main { + font-size: 20px; + width: 80%; + } +} + +h1, +p { + margin: 0; +} + +a { + color: inherit; + font-style: italic; +} + +a:hover, +a:active { + color: var(--oc-green-5); +} + +#json { + white-space: nowrap; +} + +#json:before { + content: "{"; +} + +#json:after { + content: "}"; +} + +.my { + margin-top: 1rem; + margin-bottom: 1rem; +} + +.mt { + margin-top: 1.5rem; +} + +.ms { + margin-left: 1.5rem; +} + +.error, +.key { + text-transform: lowercase; + color: var(--oc-green-4); +} + +.value { + text-transform: lowercase; + color: var(--oc-green-4); +} diff --git a/docs/assets/css/styles.min.css b/docs/assets/css/styles.min.css deleted file mode 100644 index e9f4399..0000000 --- a/docs/assets/css/styles.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:"hack";src:url("../fonts/hack-regular-subset.woff2") format("woff2");font-style:normal;font-weight:400;text-rendering:optimizeLegibility}@font-face{font-family:"hack";src:url("../fonts/hack-italic-subset.woff2") format("woff2");font-style:italic;font-weight:400;text-rendering:optimizeLegibility}body{font-family:"hack",monospace;font-size:16px;font-weight:400;background-color:var(--oc-gray-9);color:var(--oc-green-4)}main{position:absolute;width:100%;top:50%;left:50%;transform:translate(-50%, -50%);text-transform:lowercase}@media(min-width: 576px){main{font-size:18px;width:80%}}@media(min-width: 768px){main{font-size:20px;width:60%}}p{margin:0}a{color:inherit;font-style:italic}a:hover,a:active{color:var(--oc-green-5)}.json{white-space:nowrap}.json:before{content:"{"}.json:after{content:"}"}.block{margin-left:1.5rem;margin-top:1rem;margin-bottom:1rem}.key:after{content:": "}.attr:before,.list-attr:before{content:'"'}.attr:after,.list-attr:after{content:'",'}.array-key:after{content:": ["}.array-attr{margin-left:1.5rem}.array-attr:before{content:'"'}.array-attr:after{content:'",'}.array:after{content:"],"}.list-key:after{content:": {"}.list:after{content:"},"}.list-subkey{margin-left:1.5rem}.list-subkey:after{content:": "} \ No newline at end of file diff --git a/docs/assets/js/typed.min.js b/docs/assets/js/typed.min.js deleted file mode 100644 index 82c6e9a..0000000 --- a/docs/assets/js/typed.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()}(this,(function(){return function(t){var e={};function s(n){if(e[n])return e[n].exports;var i=e[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}return s.m=t,s.c=e,s.p="",s(0)}([function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var s=0;st.length)););var u=t.substring(0,e),l=t.substring(u.length+1,e+i),c=t.substring(e+i+1);t=u+l+c,i--}s.timeout=setTimeout((function(){s.toggleBlinking(!1),e>=t.length?s.doneTyping(t,e):s.keepTyping(t,e,i),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))}),n)}),n):this.setPauseStatus(t,e,!0)}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){s.backspace(t,e)}),this.backDelay))}},{key:"backspace",value:function(t,e){var s=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){e=r.htmlParser.backSpaceHtmlChars(t,e,s);var n=t.substr(0,e);if(s.replaceText(n),s.smartBackspace){var i=s.strings[s.arrayPos+1];i&&n===i.substr(0,e)?s.stopNum=e:s.stopNum=0}e>s.stopNum?(e--,s.backspace(t,e)):e<=s.stopNum&&(s.arrayPos++,s.arrayPos===s.strings.length?(s.arrayPos=0,s.options.onLastStringBackspaced(),s.shuffleStringsIfNeeded(),s.begin()):s.typewrite(s.strings[s.sequence[s.arrayPos]],e))}),n)}else this.setPauseStatus(t,e,!1)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",(function(e){t.stop()})),this.el.addEventListener("blur",(function(e){t.el.value&&0!==t.el.value.length||t.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e.default=o,t.exports=e.default},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=Object.assign||function(t){for(var e=1;e":";";t.substr(e+1).charAt(0)!==i&&!(1+ ++e>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&!(--e<0););e--}return e}}]),t}();e.default=n;var i=new n;e.htmlParser=i}])})); \ No newline at end of file diff --git a/docs/assets/js/typed.umd.js b/docs/assets/js/typed.umd.js new file mode 100644 index 0000000..0a4e41d --- /dev/null +++ b/docs/assets/js/typed.umd.js @@ -0,0 +1,3 @@ +!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t||self).Typed=s()}(this,function(){function t(){return t=Object.assign?Object.assign.bind():function(t){for(var s=1;s0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[u]=u;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},n.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},n.appendCursorAnimationCss=function(t){var s="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(e)}},n.appendFadeOutAnimationCss=function(t){var s="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+s+"]")){var e=document.createElement("style");e.setAttribute(s,"true"),e.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(e)}},e}()),n=new(/*#__PURE__*/function(){function t(){}var s=t.prototype;return s.typeHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if("<"===n||"&"===n){var i;for(i="<"===n?">":";";t.substring(s+1).charAt(0)!==i&&!(1+ ++s>t.length););s++}return s},s.backSpaceHtmlChars=function(t,s,e){if("html"!==e.contentType)return s;var n=t.substring(s).charAt(0);if(">"===n||";"===n){var i;for(i=">"===n?"<":"&";t.substring(s-1).charAt(0)!==i&&!(--s<0););s--}return s},t}());/*#__PURE__*/ +return function(){function t(t,s){e.load(this,s,t),this.begin()}var s=t.prototype;return s.toggle=function(){this.pause.status?this.start():this.stop()},s.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},s.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},s.destroy=function(){this.reset(!1),this.options.onDestroy(this)},s.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},s.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},s.typewrite=function(t,s){var e=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),r=1;!0!==this.pause.status?this.timeout=setTimeout(function(){s=n.typeHtmlChars(t,s,e);var i=0,o=t.substring(s);if("^"===o.charAt(0)&&/^\^\d+/.test(o)){var a=1;a+=(o=/\d+/.exec(o)[0]).length,i=parseInt(o),e.temporaryPause=!0,e.options.onTypingPaused(e.arrayPos,e),t=t.substring(0,s)+t.substring(s+a),e.toggleBlinking(!0)}if("`"===o.charAt(0)){for(;"`"!==t.substring(s+r).charAt(0)&&(r++,!(s+r>t.length)););var u=t.substring(0,s),p=t.substring(u.length+1,s+r),c=t.substring(s+r+1);t=u+p+c,r--}e.timeout=setTimeout(function(){e.toggleBlinking(!1),s>=t.length?e.doneTyping(t,s):e.keepTyping(t,s,r),e.temporaryPause&&(e.temporaryPause=!1,e.options.onTypingResumed(e.arrayPos,e))},i)},i):this.setPauseStatus(t,s,!0)},s.keepTyping=function(t,s,e){0===s&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var n=t.substring(0,s+=e);this.replaceText(n),this.typewrite(t,s)},s.doneTyping=function(t,s){var e=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){e.backspace(t,s)},this.backDelay))},s.backspace=function(t,s){var e=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){s=n.backSpaceHtmlChars(t,s,e);var i=t.substring(0,s);if(e.replaceText(i),e.smartBackspace){var r=e.strings[e.arrayPos+1];e.stopNum=r&&i===r.substring(0,s)?s:0}s>e.stopNum?(s--,e.backspace(t,s)):s<=e.stopNum&&(e.arrayPos++,e.arrayPos===e.strings.length?(e.arrayPos=0,e.options.onLastStringBackspaced(),e.shuffleStringsIfNeeded(),e.begin()):e.typewrite(e.strings[e.sequence[e.arrayPos]],s))},i)}else this.setPauseStatus(t,s,!1)},s.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},s.setPauseStatus=function(t,s,e){this.pause.typewrite=e,this.pause.curString=t,this.pause.curStrPos=s},s.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},s.humanizer=function(t){return Math.round(Math.random()*t/2)+t},s.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},s.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},s.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},s.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(s){t.stop()}),this.el.addEventListener("blur",function(s){t.el.value&&0!==t.el.value.length||t.start()}))},s.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}()}); +//# sourceMappingURL=typed.umd.js.map diff --git a/docs/assets/fonts/hack-italic-subset.woff2 b/docs/assets/webfonts/hack-italic-subset.woff2 similarity index 100% rename from docs/assets/fonts/hack-italic-subset.woff2 rename to docs/assets/webfonts/hack-italic-subset.woff2 diff --git a/docs/assets/fonts/hack-regular-subset.woff2 b/docs/assets/webfonts/hack-regular-subset.woff2 similarity index 100% rename from docs/assets/fonts/hack-regular-subset.woff2 rename to docs/assets/webfonts/hack-regular-subset.woff2 diff --git a/docs/index.html b/docs/index.html index 7ccaaf7..95729bc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,146 +1,134 @@ + + Hacked Jekyll - -Hacked Jekyll | Jekyll microtheme that looks like JSON + - - + + +{"@context":"https://schema.org","@type":"WebSite","description":"Jekyll microtheme that looks like JSON","headline":"Hacked Jekyll","name":"Hacked Jekyll","url":"http://localhost:4000/"} - - - - - - - + + + + - +
- -
-
- -

namePlace Holder

- - - -
- - "Hello!", - - "This tiny website", - - "Looks like json", - -
-

description - -

- - -
-
- - -

cvcv.pdf

- +
+ +
+ "Name": + "Place Holder",
-
- - -

address

-
- -

University of Jekyll

- -

Department of Themes

- -

123 Main St, Anytown, USA

- + +
+
+ Hello!This tiny websiteLooks like JSON
- - + "Description": + "",
-
- - -

contact

-
- -

officeFoobar Hall 1.23

- -

phone+1 234 567 890

- -

emailusername@domain.com

- -
- - + +
+ "CV": + "cv.pdf",
-
- - -

demopiazzai.github.io/hacked-jekyll + +

+ "Address": [ +

+ "University of Jekyll", +

+

+ "Department of Themes",

- - - -

sourcepiazzai/hacked-jekyll

- +

+ "123 Main St, Anytown, USA" +

+ ],
-
- - profiles -
- -

facebook

- -

x

- -

instagram

- -

linkedin

- -

stackoverflow

- -

github

- -
- + +
+ "Contact": [ +

+ "Office": + "Foobar Hall 1.23", +

+

+ "Phone": + "+1 234 567 890", +

+

+ "Email": + "username@domain.com" +

+ ], +
+ + + +
+ "Profiles": [ +

+ "Facebook", +

+

+ "X", +

+

+ "Instagram", +

+

+ "LinkedIn", +

+

+ "StackOverflow", +

+

+ "GitHub" +

+ ]
-
+ + + +
+ \ No newline at end of file diff --git a/docs/robots.txt b/docs/robots.txt index 7ec2da5..d297064 100644 --- a/docs/robots.txt +++ b/docs/robots.txt @@ -1 +1 @@ -Sitemap: https://piazzai.github.io/hacked-jekyll/sitemap.xml +Sitemap: http://localhost:4000/sitemap.xml diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 461f7aa..c82405c 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -1,6 +1,6 @@ -https://piazzai.github.io/hacked-jekyll/ +http://localhost:4000/ diff --git a/hacked-jekyll.gemspec b/hacked-jekyll.gemspec index 52b6a11..1b83696 100644 --- a/hacked-jekyll.gemspec +++ b/hacked-jekyll.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "hacked-jekyll" - spec.version = "1.4.1" + spec.version = "2.0.0" spec.authors = ["piazzai"] spec.email = ["42124135+piazzai@users.noreply.github.com"] @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/piazzai/hacked-jekyll" spec.license = "MIT" - spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) } + spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_data|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) } spec.add_runtime_dependency "jekyll", "~> 4.3", ">= 4.3.2" spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8" diff --git a/screenshot.png b/screenshot.png index 2e0aa7d..d120f09 100644 Binary files a/screenshot.png and b/screenshot.png differ