diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-11-19 06:55:41 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2018-11-19 06:55:41 +0100 |
| commit | c2b52c035b4ed907ba1a704286aceb778421cc70 (patch) | |
| tree | 59e1bfc66d8c19e0f8c26ed6e6cc248b3ce799f9 | |
| parent | 122af6684de0bc83a530b5bf5760e8112f8708f1 (diff) | |
| download | mitjafelicijan.com-c2b52c035b4ed907ba1a704286aceb778421cc70.tar.gz | |
content update
| -rw-r--r-- | .eslintrc.json | 16 | ||||
| -rw-r--r-- | .jekyll-metadata | bin | 39107 -> 39024 bytes | |||
| -rw-r--r-- | .jsbeautifyrc | 51 | ||||
| -rw-r--r-- | .jshintignore | 9 | ||||
| -rw-r--r-- | .jshintrc | 9 | ||||
| -rw-r--r-- | .prettierrc.json | 8 | ||||
| -rw-r--r-- | _includes/footer.html | 78 | ||||
| -rw-r--r-- | _includes/header.html | 16 | ||||
| -rw-r--r-- | _includes/site.css | 260 | ||||
| -rw-r--r-- | _includes/site.min.css | 2 | ||||
| -rw-r--r-- | _layouts/index.html | 120 | ||||
| -rw-r--r-- | _layouts/page.html | 79 | ||||
| -rw-r--r-- | _layouts/post.html | 222 | ||||
| -rw-r--r-- | assets/cache-polyfill.js | 142 | ||||
| -rw-r--r-- | assets/manifest.json | 37 | ||||
| -rw-r--r-- | assets/site.min.css | 2 |
16 files changed, 493 insertions, 558 deletions
diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..90221fb --- /dev/null +++ b/.eslintrc.json | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | { | ||
| 2 | "env": { | ||
| 3 | "browser": true, | ||
| 4 | "es6": true | ||
| 5 | }, | ||
| 6 | "extends": "eslint:recommended", | ||
| 7 | "parserOptions": { | ||
| 8 | "ecmaVersion": 2016 | ||
| 9 | }, | ||
| 10 | "rules": { | ||
| 11 | "indent": ["error", 4], | ||
| 12 | "linebreak-style": ["error", "unix"], | ||
| 13 | "quotes": ["error", "single"], | ||
| 14 | "semi": ["error", "always"] | ||
| 15 | } | ||
| 16 | } | ||
diff --git a/.jekyll-metadata b/.jekyll-metadata index 8fc3f84..782a2fd 100644 --- a/.jekyll-metadata +++ b/.jekyll-metadata | |||
| Binary files differ | |||
diff --git a/.jsbeautifyrc b/.jsbeautifyrc deleted file mode 100644 index 5d90dea..0000000 --- a/.jsbeautifyrc +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | { | ||
| 2 | "html": { | ||
| 3 | "allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "dust", "njk"], | ||
| 4 | "brace_style": "collapse", | ||
| 5 | "end_with_newline": true, | ||
| 6 | "indent_char": " ", | ||
| 7 | "indent_handlebars": true, | ||
| 8 | "indent_inner_html": true, | ||
| 9 | "indent_scripts": "keep", | ||
| 10 | "indent_size": 4, | ||
| 11 | "indent_with_tabs": true, | ||
| 12 | "max_preserve_newlines": 10, | ||
| 13 | "preserve_newlines": true, | ||
| 14 | "unformatted": ["a", "span", "img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "h1", "h2", "h3", "h4", "h5", "h6", "hr"], | ||
| 15 | "wrap_line_length": 0 | ||
| 16 | }, | ||
| 17 | "css": { | ||
| 18 | "allowed_file_extensions": ["css", "scss", "sass", "less"], | ||
| 19 | "end_with_newline": true, | ||
| 20 | "indent_char": " ", | ||
| 21 | "indent_size": 4, | ||
| 22 | "indent_with_tabs": true, | ||
| 23 | "newline_between_rules": true, | ||
| 24 | "selector_separator": " ", | ||
| 25 | "selector_separator_newline": true, | ||
| 26 | "preserve_newlines": false, | ||
| 27 | "max_preserve_newlines": 10 | ||
| 28 | }, | ||
| 29 | "js": { | ||
| 30 | "allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], | ||
| 31 | "brace_style": "collapse", | ||
| 32 | "break_chained_methods": false, | ||
| 33 | "e4x": true, | ||
| 34 | "end_with_newline": true, | ||
| 35 | "indent_char": " ", | ||
| 36 | "indent_level": 0, | ||
| 37 | "indent_size": 4, | ||
| 38 | "indent_with_tabs": true, | ||
| 39 | "jslint_happy": false, | ||
| 40 | "keep_array_indentation": true, | ||
| 41 | "keep_function_indentation": true, | ||
| 42 | "max_preserve_newlines": 0, | ||
| 43 | "preserve_newlines": true, | ||
| 44 | "space_after_anon_function": false, | ||
| 45 | "space_before_conditional": true, | ||
| 46 | "space_in_empty_paren": false, | ||
| 47 | "space_in_paren": false, | ||
| 48 | "unescape_strings": false, | ||
| 49 | "wrap_line_length": 0 | ||
| 50 | } | ||
| 51 | } | ||
diff --git a/.jshintignore b/.jshintignore deleted file mode 100644 index 4d662aa..0000000 --- a/.jshintignore +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | node_modules | ||
| 2 | bower_components | ||
| 3 | lib/external | ||
| 4 | vendor | ||
| 5 | help | ||
| 6 | steal | ||
| 7 | funcunit | ||
| 8 | **/*.min.js | ||
| 9 | **/production.js | ||
diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index 7c84ea6..0000000 --- a/.jshintrc +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | { | ||
| 2 | "strict": false, | ||
| 3 | "esversion": 6, | ||
| 4 | "curly": true, | ||
| 5 | "noempty": true, | ||
| 6 | "trailing": true, | ||
| 7 | "white": false, | ||
| 8 | "evil": true | ||
| 9 | } | ||
diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..dbd34fe --- /dev/null +++ b/.prettierrc.json | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | { | ||
| 2 | "trailingComma": "es5", | ||
| 3 | "tabWidth": 2, | ||
| 4 | "semi": true, | ||
| 5 | "singleQuote": true, | ||
| 6 | "arrowParens": "always", | ||
| 7 | "printWidth": 1000 | ||
| 8 | } | ||
diff --git a/_includes/footer.html b/_includes/footer.html index 7a4c478..9d95bac 100644 --- a/_includes/footer.html +++ b/_includes/footer.html | |||
| @@ -1,59 +1,59 @@ | |||
| 1 | <!-- Global site tag (gtag.js) - Google Analytics --> | 1 | <!-- Global site tag (gtag.js) - Google Analytics --> |
| 2 | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12769079-10"></script> | 2 | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12769079-10"></script> |
| 3 | <script> | 3 | <script> |
| 4 | window.dataLayer = window.dataLayer || []; | 4 | window.dataLayer = window.dataLayer || []; |
| 5 | function gtag(){dataLayer.push(arguments);} | 5 | function gtag() { |
| 6 | gtag('js', new Date()); | 6 | dataLayer.push(arguments); |
| 7 | gtag('config', 'UA-12769079-10'); | 7 | } |
| 8 | gtag('js', new Date()); | ||
| 9 | gtag('config', 'UA-12769079-10'); | ||
| 8 | </script> | 10 | </script> |
| 9 | 11 | ||
| 10 | <!-- Responsive tables --> | 12 | <!-- Responsive tables --> |
| 11 | <script> | 13 | <script> |
| 12 | document.querySelectorAll('table').forEach(function(element) { | 14 | document.querySelectorAll('table').forEach(function(element) { |
| 13 | if (!element.classList.contains('rouge-table')) { | 15 | if (!element.classList.contains('rouge-table')) { |
| 14 | let parent = element.parentNode; | 16 | let parent = element.parentNode; |
| 15 | let wrapper = document.createElement('div'); | 17 | let wrapper = document.createElement('div'); |
| 16 | wrapper.classList.add('responsive-table'); | 18 | wrapper.classList.add('responsive-table'); |
| 17 | parent.replaceChild(wrapper, element); | 19 | parent.replaceChild(wrapper, element); |
| 18 | wrapper.appendChild(element); | 20 | wrapper.appendChild(element); |
| 19 | } | 21 | } |
| 20 | }); | 22 | }); |
| 21 | </script> | 23 | </script> |
| 22 | 24 | ||
| 23 | <!-- Open external links in new tab --> | 25 | <!-- Open external links in new tab --> |
| 24 | <script> | 26 | <script> |
| 25 | let links = document.links; | 27 | let links = document.links; |
| 26 | for (let i = 0, linksLength = links.length; i < linksLength; i++) { | 28 | for (let i = 0, linksLength = links.length; i < linksLength; i++) { |
| 27 | if (links[i].hostname != window.location.hostname) { | 29 | if (links[i].hostname != window.location.hostname) { |
| 28 | links[i].target = '_blank'; | 30 | links[i].target = '_blank'; |
| 29 | links[i].setAttribute('rel', 'noopener'); | 31 | links[i].setAttribute('rel', 'noopener'); |
| 30 | } | 32 | } |
| 31 | } | 33 | } |
| 32 | </script> | 34 | </script> |
| 33 | 35 | ||
| 34 | <!-- Linked data - Social profile --> | 36 | <!-- Linked data - Social profile --> |
| 35 | <script type="application/ld+json"> | 37 | <script type="application/ld+json"> |
| 36 | { | 38 | { |
| 37 | "@context": "http://schema.org", | 39 | "@context": "http://schema.org", |
| 38 | "@type": "Person", | 40 | "@type": "Person", |
| 39 | "name": "Mitja Felicijan", | 41 | "name": "Mitja Felicijan", |
| 40 | "jobTitle": "Embedded systems developer", | 42 | "jobTitle": "Embedded systems developer", |
| 41 | "url": "https://mitjafelicijan.com", | 43 | "url": "https://mitjafelicijan.com", |
| 42 | "sameAs": [ | 44 | "sameAs": [ |
| 43 | "https://github.com/mitjafelicijan", | 45 | "https://github.com/mitjafelicijan", |
| 44 | "https://twitter.com/mitjafelicijan", | 46 | "https://twitter.com/mitjafelicijan", |
| 45 | "https://plus.google.com/+MitjaFelicijan" | 47 | "https://plus.google.com/+MitjaFelicijan" |
| 46 | ] | 48 | ] |
| 47 | } | 49 | } |
| 48 | </script> | 50 | </script> |
| 49 | 51 | ||
| 50 | <!-- Service worker --> | 52 | <!-- Service worker --> |
| 51 | <script> | 53 | <script> |
| 52 | if('serviceWorker' in navigator) { | 54 | if ('serviceWorker' in navigator) { |
| 53 | navigator.serviceWorker | 55 | navigator.serviceWorker.register('/sw.js').then(function() { |
| 54 | .register('/sw.js') | 56 | console.log('Service Worker Registered'); |
| 55 | .then(function() { | 57 | }); |
| 56 | console.log('Service Worker Registered'); | 58 | } |
| 57 | }); | ||
| 58 | } | ||
| 59 | </script> | 59 | </script> |
diff --git a/_includes/header.html b/_includes/header.html index 217bfaf..adfda98 100644 --- a/_includes/header.html +++ b/_includes/header.html | |||
| @@ -1,12 +1,10 @@ | |||
| 1 | <header> | 1 | <header><a href="/">@mitjafelicijan</a></header> |
| 2 | <a href="/">@mitjafelicijan</a> | ||
| 3 | </header> | ||
| 4 | 2 | ||
| 5 | <nav> | 3 | <nav> |
| 6 | <ul> | 4 | <ul> |
| 7 | <li><a href="//github.com/mitjafelicijan" target="_blank" rel="noopener">github</a></li> | 5 | <li><a href="//github.com/mitjafelicijan" target="_blank" rel="noopener">github</a></li> |
| 8 | <li><a href="//twitter.com/mitjafelicijan" target="_blank" rel="noopener">twitter</a></li> | 6 | <li><a href="//twitter.com/mitjafelicijan" target="_blank" rel="noopener">twitter</a></li> |
| 9 | <li><a href="//plus.google.com/+MitjaFelicijan?rel=author" target="_blank" rel="noopener">google+</a></li> | 7 | <li><a href="//plus.google.com/+MitjaFelicijan?rel=author" target="_blank" rel="noopener">google+</a></li> |
| 10 | <li><a href="/curriculum-vitae">curriculum vitae</a></li> | 8 | <li><a href="/curriculum-vitae">curriculum vitae</a></li> |
| 11 | </ul> | 9 | </ul> |
| 12 | </nav> | 10 | </nav> |
diff --git a/_includes/site.css b/_includes/site.css index 18f4320..35a613d 100644 --- a/_includes/site.css +++ b/_includes/site.css | |||
| @@ -1,20 +1,20 @@ | |||
| 1 | @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&subset=latin-ext"); | 1 | @import url('https://fonts.googleapis.com/css?family=Yrsa:300,400,500,600,700&subset=latin-ext'); |
| 2 | 2 | ||
| 3 | * { | 3 | * { |
| 4 | box-sizing: border-box; | 4 | box-sizing: border-box; |
| 5 | } | 5 | } |
| 6 | 6 | ||
| 7 | body { | 7 | body { |
| 8 | font-family: 'Roboto', 'Times New Roman', Times, serif; | 8 | font-family: 'Yrsa', 'Roboto', 'Times New Roman', Times, serif; |
| 9 | font-size: 18px; | 9 | font-size: 22px; |
| 10 | line-height: 1.8; | 10 | line-height: 1.6; |
| 11 | color: #000; | 11 | color: #000; |
| 12 | margin: 0; | 12 | margin: 0; |
| 13 | padding: 0 0 50px 0; | 13 | padding: 0 0 50px 0; |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | a { | 16 | a { |
| 17 | color: #000; | 17 | color: #000; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | article, | 20 | article, |
| @@ -22,229 +22,229 @@ main, | |||
| 22 | footer, | 22 | footer, |
| 23 | nav, | 23 | nav, |
| 24 | header { | 24 | header { |
| 25 | max-width: 800px; | 25 | max-width: 800px; |
| 26 | margin: 0 auto; | 26 | margin: 0 auto; |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | header { | 29 | header { |
| 30 | margin-top: 30px; | 30 | margin-top: 30px; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | header a, | 33 | header a, |
| 34 | nav ul li a { | 34 | nav ul li a { |
| 35 | text-decoration: none; | 35 | text-decoration: none; |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | header a { | 38 | header a { |
| 39 | font-size: 150%; | 39 | font-size: 150%; |
| 40 | font-weight: 700; | 40 | font-weight: 700; |
| 41 | color: #000; | 41 | color: #000; |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | nav ul { | 44 | nav ul { |
| 45 | margin-top: 10px; | 45 | margin-top: 10px; |
| 46 | padding: 0; | 46 | padding: 0; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | nav ul li { | 49 | nav ul li { |
| 50 | display: inline-block; | 50 | display: inline-block; |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | nav ul li a { | 53 | nav ul li a { |
| 54 | color: #444; | 54 | color: #444; |
| 55 | font-size: 85%; | 55 | font-size: 85%; |
| 56 | margin-right: 10px; | 56 | margin-right: 10px; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | h1 { | 59 | h1 { |
| 60 | font-size: 260%; | 60 | font-size: 200%; |
| 61 | line-height: 150%; | 61 | line-height: 120%; |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | h2 { | 64 | h2 { |
| 65 | font-size: 160%; | 65 | font-size: 160%; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | h3 { | 68 | h3 { |
| 69 | font-size: 140%; | 69 | font-size: 140%; |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | h4 { | 72 | h4 { |
| 73 | font-size: 120%; | 73 | font-size: 120%; |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | article img { | 76 | article img { |
| 77 | max-width: 100%; | 77 | max-width: 100%; |
| 78 | display: block; | 78 | display: block; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | time { | 81 | time { |
| 82 | display: block; | 82 | display: block; |
| 83 | font-size: 85%; | 83 | font-size: 85%; |
| 84 | color: #444; | 84 | color: #444; |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | ul { | 87 | ul { |
| 88 | list-style-type: square; | 88 | list-style-type: square; |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | main ul { | 91 | main ul { |
| 92 | margin-top: 40px; | 92 | margin-top: 40px; |
| 93 | padding: 0 20px; | 93 | padding: 0 20px; |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | main ul li { | 96 | main ul li { |
| 97 | margin-bottom: 25px; | 97 | margin-bottom: 25px; |
| 98 | margin-left: -20px; | 98 | margin-left: -20px; |
| 99 | list-style-type: none; | 99 | list-style-type: none; |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | main ul li a { | 102 | main ul li a { |
| 103 | font-size: 100%; | 103 | font-size: 100%; |
| 104 | font-weight: 500; | 104 | font-weight: 600; |
| 105 | text-decoration: none; | 105 | text-decoration: none; |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | main ul div { | 108 | main ul div { |
| 109 | font-size: 116%; | 109 | font-size: 116%; |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | blockquote { | 112 | blockquote { |
| 113 | margin: 40px 0 40px 20px; | 113 | margin: 40px 0 40px 20px; |
| 114 | border-left: 5px solid #eee; | 114 | border-left: 5px solid #eee; |
| 115 | padding: 5px 0 10px 20px; | 115 | padding: 5px 0 10px 20px; |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | table { | 118 | table { |
| 119 | border: 2px solid #f1f1f1; | 119 | border: 2px solid #f1f1f1; |
| 120 | width: 100%; | 120 | width: 100%; |
| 121 | border-collapse: collapse; | 121 | border-collapse: collapse; |
| 122 | border-spacing: 0; | 122 | border-spacing: 0; |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | table th, | 125 | table th, |
| 126 | table td { | 126 | table td { |
| 127 | border: 2px solid #f1f1f1; | 127 | border: 2px solid #f1f1f1; |
| 128 | text-align: left; | 128 | text-align: left; |
| 129 | padding: 5px 10px; | 129 | padding: 5px 10px; |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | summary { | 132 | summary { |
| 133 | outline: none; | 133 | outline: none; |
| 134 | cursor: pointer; | 134 | cursor: pointer; |
| 135 | font-weight: 600; | 135 | font-weight: 600; |
| 136 | user-select: none; | 136 | user-select: none; |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | details .highlighter-rouge { | 139 | details .highlighter-rouge { |
| 140 | margin-top: 10px !important; | 140 | margin-top: 10px !important; |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | .highlighter-rouge { | 143 | .highlighter-rouge { |
| 144 | padding: 0 15px; | 144 | padding: 0 15px; |
| 145 | font-size: 80%; | 145 | font-size: 80%; |
| 146 | border: 2px solid #f1f1f1; | 146 | border: 2px solid #f1f1f1; |
| 147 | overflow: auto; | 147 | overflow: auto; |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | .highlighter-rouge table, | 150 | .highlighter-rouge table, |
| 151 | .highlighter-rouge table td { | 151 | .highlighter-rouge table td { |
| 152 | border: 0 !important; | 152 | border: 0 !important; |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | ::selection { | 155 | ::selection { |
| 156 | background: #ff0; | 156 | background: #ff0; |
| 157 | color: #000; | 157 | color: #000; |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | ::-moz-selection { | 160 | ::-moz-selection { |
| 161 | background: #ff0; | 161 | background: #ff0; |
| 162 | color: #000; | 162 | color: #000; |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | ol { | 165 | ol { |
| 166 | list-style: none; | 166 | list-style: none; |
| 167 | counter-reset: li; | 167 | counter-reset: li; |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | ol li { | 170 | ol li { |
| 171 | counter-increment: li; | 171 | counter-increment: li; |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | ol li::before { | 174 | ol li::before { |
| 175 | content: counter(li)'.'; | 175 | content: counter(li) '.'; |
| 176 | color: #ccc; | 176 | color: #ccc; |
| 177 | font-weight: 500; | 177 | font-weight: 500; |
| 178 | display: inline-block; | 178 | display: inline-block; |
| 179 | width: 1em; | 179 | width: 1em; |
| 180 | margin-left: -1.5em; | 180 | margin-left: -1.5em; |
| 181 | margin-right: 0.9em; | 181 | margin-right: 0.9em; |
| 182 | text-align: right; | 182 | text-align: right; |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | ol li a { | 185 | ol li a { |
| 186 | text-decoration: none; | 186 | text-decoration: none; |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | /* commenting */ | 189 | /* commenting */ |
| 190 | #hcb_form_name, | 190 | #hcb_form_name, |
| 191 | #hcb_form_content { | 191 | #hcb_form_content { |
| 192 | border: 2px solid #eee; | 192 | border: 2px solid #eee; |
| 193 | padding: 10px; | 193 | padding: 10px; |
| 194 | width: 300px; | 194 | width: 300px; |
| 195 | margin-bottom: 10px; | 195 | margin-bottom: 10px; |
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | #hcb_submit { | 198 | #hcb_submit { |
| 199 | -webkit-appearance: none; | 199 | -webkit-appearance: none; |
| 200 | -moz-appearance: none; | 200 | -moz-appearance: none; |
| 201 | -o-appearance: none; | 201 | -o-appearance: none; |
| 202 | -ms-appearance: none; | 202 | -ms-appearance: none; |
| 203 | appearance: none; | 203 | appearance: none; |
| 204 | font-weight: 600; | 204 | font-weight: 600; |
| 205 | padding: 7px 15px; | 205 | padding: 7px 15px; |
| 206 | font-size: 85%; | 206 | font-size: 85%; |
| 207 | display: inline-block; | 207 | display: inline-block; |
| 208 | cursor: pointer; | 208 | cursor: pointer; |
| 209 | border-radius: 3px; | 209 | border-radius: 3px; |
| 210 | background: #ccc; | 210 | background: #ccc; |
| 211 | border: 2px solid transparent; | 211 | border: 2px solid transparent; |
| 212 | width: auto; | 212 | width: auto; |
| 213 | user-select: none; | 213 | user-select: none; |
| 214 | text-align: center; | 214 | text-align: center; |
| 215 | height: auto; | 215 | height: auto; |
| 216 | margin-right: 20px; | 216 | margin-right: 20px; |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | @media only screen and (max-width:768px) { | 219 | @media only screen and (max-width: 768px) { |
| 220 | body { | 220 | body { |
| 221 | padding: 0 20px; | 221 | padding: 0 20px; |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | footer, | 224 | footer, |
| 225 | header, | 225 | header, |
| 226 | nav { | 226 | nav { |
| 227 | text-align: center; | 227 | text-align: center; |
| 228 | } | 228 | } |
| 229 | 229 | ||
| 230 | .responsive-table { | 230 | .responsive-table { |
| 231 | width: 100%; | 231 | width: 100%; |
| 232 | overflow: scroll; | 232 | overflow: scroll; |
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | h1 { | 235 | h1 { |
| 236 | font-size: 200%; | 236 | font-size: 200%; |
| 237 | } | 237 | } |
| 238 | } | 238 | } |
| 239 | 239 | ||
| 240 | @media print { | 240 | @media print { |
| 241 | @page { | 241 | @page { |
| 242 | margin: 2cm; | 242 | margin: 2cm; |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | header, | 245 | header, |
| 246 | nav, | 246 | nav, |
| 247 | .comments { | 247 | .comments { |
| 248 | display: none; | 248 | display: none; |
| 249 | } | 249 | } |
| 250 | } | 250 | } |
diff --git a/_includes/site.min.css b/_includes/site.min.css index 0168689..ceb1579 100644 --- a/_includes/site.min.css +++ b/_includes/site.min.css | |||
| @@ -1 +1 @@ | |||
| a,body,header a{color:#000}header a,main ul li a,nav ul li a,ol li a{text-decoration:none}#hcb_submit,nav ul li,ol li::before{display:inline-block}#hcb_submit,summary{cursor:pointer;user-select:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local('Roboto Thin'),local('Roboto-Thin'),url(https://fonts.gstatic.com/s/roboto/v18/KFOkCnqEu92Fr1MmgVxGIzc.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local('Roboto Light'),local('Roboto-Light'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxP.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local('Roboto Medium'),local('Roboto-Medium'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:local('Roboto Black'),local('Roboto-Black'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmYUtfChc9.ttf) format('truetype')}*{box-sizing:border-box}body{font-family:Roboto,'Times New Roman',Times,serif;font-size:18px;line-height:1.8;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:800px;margin:0 auto}header{margin-top:30px}header a{font-size:150%;font-weight:700}nav ul{margin-top:10px;padding:0}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:260%;line-height:150%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{margin-top:40px;padding:0 20px}main ul li{margin-bottom:25px;margin-left:-20px;list-style-type:none}main ul li a{font-size:100%;font-weight:500}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;font-weight:600}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li::before{content:counter(li)'.';color:#ccc;font-weight:500;width:1em;margin-left:-1.5em;margin-right:.9em;text-align:right}#hcb_form_content,#hcb_form_name{border:2px solid #eee;padding:10px;width:300px;margin-bottom:10px}#hcb_submit{-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;-ms-appearance:none;appearance:none;font-weight:600;padding:7px 15px;font-size:85%;border-radius:3px;background:#ccc;border:2px solid transparent;width:auto;text-align:center;height:auto;margin-right:20px}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}h1{font-size:200%}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | a,body,header a{color:#000}header a,main ul li a,nav ul li a,ol li a{text-decoration:none}#hcb_submit,nav ul li,ol li::before{display:inline-block}#hcb_submit,summary{cursor:pointer;user-select:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local('Roboto Thin'),local('Roboto-Thin'),url(https://fonts.gstatic.com/s/roboto/v18/KFOkCnqEu92Fr1MmgVxGIzc.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local('Roboto Light'),local('Roboto-Light'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxP.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local('Roboto Medium'),local('Roboto-Medium'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:local('Roboto Black'),local('Roboto-Black'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmYUtfChc9.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:300;src:local('Merriweather Light Italic'),local('Merriweather-LightItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR7lXff2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:400;src:local('Merriweather Italic'),local('Merriweather-Italic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4m0qyriQwlOrhSvowK_l5-eRZAf-c.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:700;src:local('Merriweather Bold Italic'),local('Merriweather-BoldItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR71Wvf2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:900;src:local('Merriweather Black Italic'),local('Merriweather-BlackItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR7NWPf2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:300;src:local('Merriweather Light'),local('Merriweather-Light'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l521wRZVsf_.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:400;src:local('Merriweather Regular'),local('Merriweather-Regular'),url(https://fonts.gstatic.com/s/merriweather/v19/u-440qyriQwlOrhSvowK_l5-ciZJ.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:700;src:local('Merriweather Bold'),local('Merriweather-Bold'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l52xwNZVsf_.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:900;src:local('Merriweather Black'),local('Merriweather-Black'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l52_wFZVsf_.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;src:local('PT Serif Italic'),local('PTSerif-Italic'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRTQgYoZZY2vCFuvAFT_rO1dw.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:italic;font-weight:700;src:local('PT Serif Bold Italic'),local('PTSerif-BoldItalic'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRQQgYoZZY2vCFuvAFT9gaQZyffpQ.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;src:local('PT Serif'),local('PTSerif-Regular'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRVQgYoZZY2vCFuvAFYzro.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;src:local('PT Serif Bold'),local('PTSerif-Bold'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRSQgYoZZY2vCFuvAnt66qcVy4.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:300;src:local('Yrsa Light'),local('Yrsa-Light'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3af97I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:400;src:local('Yrsa Regular'),local('Yrsa-Regular'),url(https://fonts.gstatic.com/s/yrsa/v3/wlp-gwnQFlxs1QLf_A.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:500;src:local('Yrsa Medium'),local('Yrsa-Medium'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3f_87I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:600;src:local('Yrsa SemiBold'),local('Yrsa-SemiBold'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3dP77I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:700;src:local('Yrsa Bold'),local('Yrsa-Bold'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3bf67I0x2Q.ttf) format('truetype')}*{box-sizing:border-box}body{font-family:Yrsa,Roboto,'Times New Roman',Times,serif;font-size:22px;line-height:1.6;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:800px;margin:0 auto}header{margin-top:30px}header a{font-size:150%;font-weight:700}nav ul{margin-top:10px;padding:0}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%;line-height:120%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{margin-top:40px;padding:0 20px}main ul li{margin-bottom:25px;margin-left:-20px;list-style-type:none}main ul li a{font-size:100%;font-weight:600}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;font-weight:600}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li::before{content:counter(li) '.';color:#ccc;font-weight:500;width:1em;margin-left:-1.5em;margin-right:.9em;text-align:right}#hcb_form_content,#hcb_form_name{border:2px solid #eee;padding:10px;width:300px;margin-bottom:10px}#hcb_submit{-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;-ms-appearance:none;appearance:none;font-weight:600;padding:7px 15px;font-size:85%;border-radius:3px;background:#ccc;border:2px solid transparent;width:auto;text-align:center;height:auto;margin-right:20px}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}h1{font-size:200%}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | ||
diff --git a/_layouts/index.html b/_layouts/index.html index 0d251ce..af720a9 100644 --- a/_layouts/index.html +++ b/_layouts/index.html | |||
| @@ -1,65 +1,59 @@ | |||
| 1 | <!doctype html> | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | 3 | <head> | |
| 4 | <head> | 4 | <meta charset="utf-8" /> |
| 5 | 5 | ||
| 6 | <meta charset="utf-8"> | 6 | <meta http-equiv="x-ua-compatible" content="ie=edge" /> |
| 7 | 7 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" /> | |
| 8 | <meta http-equiv="x-ua-compatible" content="ie=edge"> | 8 | |
| 9 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"> | 9 | <meta name="theme-color" content="{{ site.theme_color }}" /> |
| 10 | 10 | <meta name="author" content="{{ site.author }}" /> | |
| 11 | <meta name="theme-color" content="{{ site.theme_color }}"> | 11 | <meta name="description" content="{{ site.description }}" /> |
| 12 | <meta name="author" content="{{ site.author }}"> | 12 | |
| 13 | <meta name="description" content="{{ site.description }}"> | 13 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" /> |
| 14 | 14 | ||
| 15 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> | 15 | <title>{{ page.title }}</title> |
| 16 | 16 | ||
| 17 | <title>{{ page.title }}</title> | 17 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 18 | 18 | ||
| 19 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}"> | 19 | <meta name="og:url" content="{{ site.domain }}" /> |
| 20 | 20 | <meta name="og:type" content="website" /> | |
| 21 | <meta name="og:url" content="{{ site.domain }}"> | 21 | <meta name="og:title" content="{{ site.title }}" /> |
| 22 | <meta name="og:type" content="website"> | 22 | <meta name="og:description" content="{{ page.description }}" /> |
| 23 | <meta name="og:title" content="{{ site.title }}"> | 23 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 24 | <meta name="og:description" content="{{ page.description }}"> | 24 | |
| 25 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | 25 | <meta name="twitter:card" content="summary" /> |
| 26 | 26 | <meta name="twitter:site" content="{{ site.twitter }}" /> | |
| 27 | <meta name="twitter:card" content="summary"> | 27 | <meta name="twitter:title" content="{{ site.title }}" /> |
| 28 | <meta name="twitter:site" content="{{ site.twitter }}"> | 28 | <meta name="twitter:description" content="{{ site.description }}" /> |
| 29 | <meta name="twitter:title" content="{{ site.title }}"> | 29 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 30 | <meta name="twitter:description" content="{{ site.description }}"> | 30 | |
| 31 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | 31 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" /> |
| 32 | 32 | ||
| 33 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}"> | 33 | <style> |
| 34 | 34 | {% include site.min.css %} | |
| 35 | <style> | 35 | {% include highlight.min.css %} |
| 36 | {% include site.min.css %} | 36 | </style> |
| 37 | {% include highlight.min.css %} | 37 | </head> |
| 38 | </style> | 38 | |
| 39 | 39 | <body> | |
| 40 | </head> | 40 | {% include header.html %} |
| 41 | 41 | ||
| 42 | <body> | 42 | <main> |
| 43 | 43 | {{ content }} | |
| 44 | {% include header.html %} | 44 | |
| 45 | 45 | <ul> | |
| 46 | <main> | 46 | {% for post in site.posts %} |
| 47 | 47 | <li> | |
| 48 | {{ content }} | 48 | <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: '%A, %B %-d, %Y' }}</time> |
| 49 | 49 | <div> | |
| 50 | <ul> | 50 | <a href="{{ post.url }}">{{ post.title }}</a> |
| 51 | {% for post in site.posts %} | 51 | </div> |
| 52 | <li> | 52 | </li> |
| 53 | <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: '%A, %B %-d, %Y' }}</time> | 53 | {% endfor %} |
| 54 | <div><a href="{{ post.url }}">{{ post.title }}</a></div> | 54 | </ul> |
| 55 | </li> | 55 | </main> |
| 56 | {% endfor %} | 56 | |
| 57 | </ul> | 57 | {% include footer.html %} |
| 58 | 58 | </body> | |
| 59 | </main> | ||
| 60 | |||
| 61 | {% include footer.html %} | ||
| 62 | |||
| 63 | </body> | ||
| 64 | |||
| 65 | </html> | 59 | </html> |
diff --git a/_layouts/page.html b/_layouts/page.html index a5d132d..68de599 100644 --- a/_layouts/page.html +++ b/_layouts/page.html | |||
| @@ -1,59 +1,50 @@ | |||
| 1 | <!doctype html> | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | <head> | ||
| 4 | <meta charset="utf-8" /> | ||
| 3 | 5 | ||
| 4 | <head> | 6 | <meta http-equiv="x-ua-compatible" content="ie=edge" /> |
| 7 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" /> | ||
| 5 | 8 | ||
| 6 | <meta charset="utf-8"> | 9 | <meta name="theme-color" content="{{ site.theme_color }}" /> |
| 10 | <meta name="author" content="{{ site.author }}" /> | ||
| 11 | <meta name="description" content="{{ page.description }}" /> | ||
| 7 | 12 | ||
| 8 | <meta http-equiv="x-ua-compatible" content="ie=edge"> | 13 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" /> |
| 9 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"> | ||
| 10 | 14 | ||
| 11 | <meta name="theme-color" content="{{ site.theme_color }}"> | 15 | <title>{{ page.title }}</title> |
| 12 | <meta name="author" content="{{ site.author }}"> | ||
| 13 | <meta name="description" content="{{ page.description }}"> | ||
| 14 | 16 | ||
| 15 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> | 17 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 16 | 18 | ||
| 17 | <title>{{ page.title }}</title> | 19 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}" /> |
| 20 | <meta name="og:type" content="website" /> | ||
| 21 | <meta name="og:title" content="{{ page.title }}" /> | ||
| 22 | <meta name="og:description" content="{{ page.description }}" /> | ||
| 23 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | ||
| 18 | 24 | ||
| 19 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}"> | 25 | <meta name="twitter:card" content="summary" /> |
| 26 | <meta name="twitter:site" content="{{ site.twitter }}" /> | ||
| 27 | <meta name="twitter:title" content="{{ page.title }}" /> | ||
| 28 | <meta name="twitter:description" content="{{ page.description }}" /> | ||
| 29 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> | ||
| 20 | 30 | ||
| 21 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}"> | 31 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" /> |
| 22 | <meta name="og:type" content="website"> | ||
| 23 | <meta name="og:title" content="{{ page.title }}"> | ||
| 24 | <meta name="og:description" content="{{ page.description }}"> | ||
| 25 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | ||
| 26 | 32 | ||
| 27 | <meta name="twitter:card" content="summary"> | 33 | <style> |
| 28 | <meta name="twitter:site" content="{{ site.twitter }}"> | 34 | {% include site.min.css %} |
| 29 | <meta name="twitter:title" content="{{ page.title }}"> | 35 | {% include highlight.min.css %} |
| 30 | <meta name="twitter:description" content="{{ page.description }}"> | 36 | </style> |
| 31 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | 37 | </head> |
| 32 | 38 | ||
| 33 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}"> | 39 | <body> |
| 40 | {% include header.html %} | ||
| 34 | 41 | ||
| 35 | <style> | 42 | <article> |
| 36 | {% include site.min.css %} | 43 | <h1>{{ page.title }}</h1> |
| 37 | {% include highlight.min.css %} | ||
| 38 | </style> | ||
| 39 | 44 | ||
| 40 | </head> | 45 | {{ content }} |
| 41 | 46 | </article> | |
| 42 | <body> | ||
| 43 | |||
| 44 | {% include header.html %} | ||
| 45 | |||
| 46 | <article> | ||
| 47 | |||
| 48 | <h1>{{ page.title }}</h1> | ||
| 49 | |||
| 50 | {{ content }} | ||
| 51 | |||
| 52 | </article> | ||
| 53 | |||
| 54 | {% include footer.html %} | ||
| 55 | |||
| 56 | </body> | ||
| 57 | 47 | ||
| 48 | {% include footer.html %} | ||
| 49 | </body> | ||
| 58 | </html> | 50 | </html> |
| 59 | |||
diff --git a/_layouts/post.html b/_layouts/post.html index 31aabf8..13ffece 100644 --- a/_layouts/post.html +++ b/_layouts/post.html | |||
| @@ -1,116 +1,110 @@ | |||
| 1 | <!doctype html> | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | 3 | <head> | |
| 4 | <head> | 4 | <meta charset="utf-8" /> |
| 5 | 5 | ||
| 6 | <meta charset="utf-8"> | 6 | <meta http-equiv="x-ua-compatible" content="ie=edge" /> |
| 7 | 7 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5" /> | |
| 8 | <meta http-equiv="x-ua-compatible" content="ie=edge"> | 8 | |
| 9 | <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"> | 9 | <meta name="theme-color" content="{{ site.theme_color }}" /> |
| 10 | 10 | <meta name="author" content="{{ site.author }}" /> | |
| 11 | <meta name="theme-color" content="{{ site.theme_color }}"> | 11 | <meta name="description" content="{{ page.description }}" /> |
| 12 | <meta name="author" content="{{ site.author }}"> | 12 | |
| 13 | <meta name="description" content="{{ page.description }}"> | 13 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA" /> |
| 14 | 14 | ||
| 15 | <meta name="google-site-verification" content="EwUGW1WlCkRIQuyQ9AE1-bLitWthw-eVMZFTAMZVZaA"> | 15 | <title>{{ page.title }}</title> |
| 16 | 16 | ||
| 17 | <title>{{ page.title }}</title> | 17 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 18 | 18 | ||
| 19 | <link rel="icon" type="image/gif" href="/{{ site.avatar }}?ver={{ site.cache_version }}"> | 19 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}" /> |
| 20 | 20 | <meta name="og:type" content="website" /> | |
| 21 | <meta name="og:url" content="{{ site.domain }}{{ page.slug }}"> | 21 | <meta name="og:title" content="{{ page.title }}" /> |
| 22 | <meta name="og:type" content="website"> | 22 | <meta name="og:description" content="{{ page.description }}" /> |
| 23 | <meta name="og:title" content="{{ page.title }}"> | 23 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 24 | <meta name="og:description" content="{{ page.description }}"> | 24 | |
| 25 | <meta name="og:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | 25 | <meta name="twitter:card" content="summary" /> |
| 26 | 26 | <meta name="twitter:site" content="{{ site.twitter }}" /> | |
| 27 | <meta name="twitter:card" content="summary"> | 27 | <meta name="twitter:title" content="{{ page.title }}" /> |
| 28 | <meta name="twitter:site" content="{{ site.twitter }}"> | 28 | <meta name="twitter:description" content="{{ page.description }}" /> |
| 29 | <meta name="twitter:title" content="{{ page.title }}"> | 29 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" /> |
| 30 | <meta name="twitter:description" content="{{ page.description }}"> | 30 | |
| 31 | <meta name="twitter:image" content="{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}"> | 31 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}" /> |
| 32 | 32 | ||
| 33 | <link rel="manifest" href="/assets/manifest.json?ver={{ site.cache_version }}"> | 33 | <style> |
| 34 | 34 | {% include site.min.css %} | |
| 35 | <style> | 35 | {% include highlight.min.css %} |
| 36 | {% include site.min.css %} | 36 | </style> |
| 37 | {% include highlight.min.css %} | 37 | </head> |
| 38 | </style> | 38 | |
| 39 | 39 | <body> | |
| 40 | </head> | 40 | {% include header.html %} |
| 41 | 41 | ||
| 42 | <body> | 42 | <article> |
| 43 | 43 | <h1>{{ page.title }}</h1> | |
| 44 | {% include header.html %} | 44 | |
| 45 | 45 | <time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}</time> | |
| 46 | <article> | 46 | |
| 47 | 47 | {{ content }} | |
| 48 | <h1>{{ page.title }}</h1> | 48 | |
| 49 | 49 | <!-- | |
| 50 | <time datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: '%A, %B %-d, %Y' }}</time> | 50 | <div id="HCB_comment_box" class="comments">Loading comments ...</div> |
| 51 | 51 | <script type="text/javascript" id="hcb"> | |
| 52 | {{ content }} | 52 | if (!window.hcb_user) { |
| 53 | 53 | hcb_user = { | |
| 54 | <!--<div id="HCB_comment_box" class="comments">Loading comments ...</div> | 54 | logout_link: "logout", |
| 55 | <script type="text/javascript" id="hcb"> | 55 | admin_link: "admin", |
| 56 | if (!window.hcb_user) { | 56 | reply: "reply", |
| 57 | hcb_user = { | 57 | flag: "flag", |
| 58 | logout_link: "logout", | 58 | like: "like", |
| 59 | admin_link: "admin", | 59 | prev_page: "prev", |
| 60 | reply: "reply", | 60 | next_page: "next", |
| 61 | flag: "flag", | 61 | }; |
| 62 | like: "like", | 62 | } |
| 63 | prev_page: "prev", | 63 | hcb_user.PAGE = "{{ site.domain }}"; |
| 64 | next_page: "next", | 64 | (function() { |
| 65 | }; | 65 | var s = document.createElement("script"), |
| 66 | } | 66 | l = hcb_user.PAGE || ("" + window.location).replace(/'/g, "%27"), |
| 67 | hcb_user.PAGE = "{{ site.domain }}"; | 67 | h = "//www.htmlcommentbox.com"; |
| 68 | (function() { | 68 | s.setAttribute("type", "text/javascript"); |
| 69 | var s = document.createElement("script"), | 69 | s.setAttribute("src", h + "/jread?page=" + encodeURIComponent(l).replace("+", "%2B") + "&mod=%241%24wq1rdBcg%24MpQDCL74rJm9DREvceKL%2F1" + "&opts=16399&num=10&ts=1490664489345"); |
| 70 | l = hcb_user.PAGE || ("" + window.location).replace(/'/g, "%27"), | 70 | if (typeof s != "undefined") document.getElementsByTagName("head")[0].appendChild(s); |
| 71 | h = "//www.htmlcommentbox.com"; | 71 | })(); |
| 72 | s.setAttribute("type", "text/javascript"); | 72 | </script> |
| 73 | s.setAttribute("src", h + "/jread?page=" + encodeURIComponent(l).replace("+", "%2B") + "&mod=%241%24wq1rdBcg%24MpQDCL74rJm9DREvceKL%2F1" + "&opts=16399&num=10&ts=1490664489345"); | 73 | --> |
| 74 | if (typeof s != "undefined") document.getElementsByTagName("head")[0].appendChild(s); | 74 | </article> |
| 75 | })(); | 75 | |
| 76 | </script>--> | 76 | {% include footer.html %} |
| 77 | 77 | ||
| 78 | </article> | 78 | <!-- Linked data - Article --> |
| 79 | 79 | <script type="application/ld+json"> | |
| 80 | {% include footer.html %} | 80 | { |
| 81 | 81 | "@context": "http://schema.org", | |
| 82 | <!-- Linked data - Article --> | 82 | "@type": "NewsArticle", |
| 83 | <script type="application/ld+json"> | 83 | "mainEntityOfPage": { |
| 84 | { | 84 | "@type": "WebPage", |
| 85 | "@context": "http://schema.org", | 85 | "@id": "{{ site.domain }}{{ page.slug }}" |
| 86 | "@type": "NewsArticle", | 86 | }, |
| 87 | "mainEntityOfPage": { | 87 | |
| 88 | "@type": "WebPage", | 88 | "image": [ |
| 89 | "@id": "{{ site.domain }}{{ page.slug }}" | 89 | "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" |
| 90 | }, | 90 | ], |
| 91 | 91 | "datePublished": "{{ page.date | date_to_xmlschema }}", | |
| 92 | "image": [ | 92 | "dateModified": "{{ page.date | date_to_xmlschema }}", |
| 93 | "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" | 93 | "author": { |
| 94 | ], | 94 | "@type": "Person", |
| 95 | "datePublished": "{{ page.date | date_to_xmlschema }}", | 95 | "name": "Mitja Felicijan" |
| 96 | "dateModified": "{{ page.date | date_to_xmlschema }}", | 96 | }, |
| 97 | "author": { | 97 | "publisher": { |
| 98 | "@type": "Person", | 98 | "@type": "Organization", |
| 99 | "name": "Mitja Felicijan" | 99 | "name": "Mitja Felicijan", |
| 100 | }, | 100 | "logo": { |
| 101 | "publisher": { | 101 | "@type": "ImageObject", |
| 102 | "@type": "Organization", | 102 | "url": "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" |
| 103 | "name": "Mitja Felicijan", | 103 | } |
| 104 | "logo": { | 104 | }, |
| 105 | "@type": "ImageObject", | 105 | "headline": "{{ page.title }}", |
| 106 | "url": "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" | 106 | "description": "{{ page.description }}" |
| 107 | } | 107 | } |
| 108 | }, | 108 | </script> |
| 109 | "headline": "{{ page.title }}", | 109 | </body> |
| 110 | "description": "{{ page.description }}" | ||
| 111 | } | ||
| 112 | </script> | ||
| 113 | |||
| 114 | </body> | ||
| 115 | |||
| 116 | </html> | 110 | </html> |
diff --git a/assets/cache-polyfill.js b/assets/cache-polyfill.js index 7db3ec0..1449734 100644 --- a/assets/cache-polyfill.js +++ b/assets/cache-polyfill.js | |||
| @@ -15,88 +15,88 @@ | |||
| 15 | * | 15 | * |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | (function () { | 18 | (function() { |
| 19 | var nativeAddAll = Cache.prototype.addAll; | 19 | var nativeAddAll = Cache.prototype.addAll; |
| 20 | var userAgent = navigator.userAgent.match(/(Firefox|Chrome)\/(\d+\.)/); | 20 | var userAgent = navigator.userAgent.match(/(Firefox|Chrome)\/(\d+\.)/); |
| 21 | 21 | ||
| 22 | // Has nice behavior of `var` which everyone hates | 22 | // Has nice behavior of `var` which everyone hates |
| 23 | if (userAgent) { | 23 | if (userAgent) { |
| 24 | var agent = userAgent[1]; | 24 | var agent = userAgent[1]; |
| 25 | var version = parseInt(userAgent[2]); | 25 | var version = parseInt(userAgent[2]); |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | if ( | 28 | if (nativeAddAll && (!userAgent || (agent === 'Firefox' && version >= 46) || (agent === 'Chrome' && version >= 50))) { |
| 29 | nativeAddAll && (!userAgent || | 29 | return; |
| 30 | (agent === 'Firefox' && version >= 46) || | 30 | } |
| 31 | (agent === 'Chrome' && version >= 50) | ||
| 32 | ) | ||
| 33 | ) { | ||
| 34 | return; | ||
| 35 | } | ||
| 36 | 31 | ||
| 37 | Cache.prototype.addAll = function addAll(requests) { | 32 | Cache.prototype.addAll = function addAll(requests) { |
| 38 | var cache = this; | 33 | var cache = this; |
| 39 | 34 | ||
| 40 | // Since DOMExceptions are not constructable: | 35 | // Since DOMExceptions are not constructable: |
| 41 | function NetworkError(message) { | 36 | function NetworkError(message) { |
| 42 | this.name = 'NetworkError'; | 37 | this.name = 'NetworkError'; |
| 43 | this.code = 19; | 38 | this.code = 19; |
| 44 | this.message = message; | 39 | this.message = message; |
| 45 | } | 40 | } |
| 46 | 41 | ||
| 47 | NetworkError.prototype = Object.create(Error.prototype); | 42 | NetworkError.prototype = Object.create(Error.prototype); |
| 48 | 43 | ||
| 49 | return Promise.resolve().then(function () { | 44 | return Promise.resolve() |
| 50 | if (arguments.length < 1) throw new TypeError(); | 45 | .then(function() { |
| 46 | if (arguments.length < 1) throw new TypeError(); | ||
| 51 | 47 | ||
| 52 | // Simulate sequence<(Request or USVString)> binding: | 48 | // Simulate sequence<(Request or USVString)> binding: |
| 53 | var sequence = []; | 49 | var sequence = []; |
| 54 | 50 | ||
| 55 | requests = requests.map(function (request) { | 51 | requests = requests.map(function(request) { |
| 56 | if (request instanceof Request) { | 52 | if (request instanceof Request) { |
| 57 | return request; | 53 | return request; |
| 58 | } else { | 54 | } else { |
| 59 | return String(request); // may throw TypeError | 55 | return String(request); // may throw TypeError |
| 60 | } | 56 | } |
| 61 | }); | 57 | }); |
| 62 | 58 | ||
| 63 | return Promise.all( | 59 | return Promise.all( |
| 64 | requests.map(function (request) { | 60 | requests.map(function(request) { |
| 65 | if (typeof request === 'string') { | 61 | if (typeof request === 'string') { |
| 66 | request = new Request(request); | 62 | request = new Request(request); |
| 67 | } | 63 | } |
| 68 | 64 | ||
| 69 | var scheme = new URL(request.url).protocol; | 65 | var scheme = new URL(request.url).protocol; |
| 70 | 66 | ||
| 71 | if (scheme !== 'http:' && scheme !== 'https:') { | 67 | if (scheme !== 'http:' && scheme !== 'https:') { |
| 72 | throw new NetworkError("Invalid scheme"); | 68 | throw new NetworkError('Invalid scheme'); |
| 73 | } | 69 | } |
| 74 | 70 | ||
| 75 | return fetch(request.clone()); | 71 | return fetch(request.clone()); |
| 76 | }) | 72 | }) |
| 77 | ); | 73 | ); |
| 78 | }).then(function (responses) { | 74 | }) |
| 79 | // If some of the responses has not OK-eish status, | 75 | .then(function(responses) { |
| 80 | // then whole operation should reject | 76 | // If some of the responses has not OK-eish status, |
| 81 | if (responses.some(function (response) { | 77 | // then whole operation should reject |
| 82 | return !response.ok; | 78 | if ( |
| 83 | })) { | 79 | responses.some(function(response) { |
| 84 | throw new NetworkError('Incorrect response status'); | 80 | return !response.ok; |
| 85 | } | 81 | }) |
| 82 | ) { | ||
| 83 | throw new NetworkError('Incorrect response status'); | ||
| 84 | } | ||
| 86 | 85 | ||
| 87 | // TODO: check that requests don't overwrite one another | 86 | // TODO: check that requests don't overwrite one another |
| 88 | // (don't think this is possible to polyfill due to opaque responses) | 87 | // (don't think this is possible to polyfill due to opaque responses) |
| 89 | return Promise.all( | 88 | return Promise.all( |
| 90 | responses.map(function (response, i) { | 89 | responses.map(function(response, i) { |
| 91 | return cache.put(requests[i], response); | 90 | return cache.put(requests[i], response); |
| 92 | }) | 91 | }) |
| 93 | ); | 92 | ); |
| 94 | }).then(function () { | 93 | }) |
| 95 | return undefined; | 94 | .then(function() { |
| 96 | }); | 95 | return undefined; |
| 97 | }; | 96 | }); |
| 97 | }; | ||
| 98 | 98 | ||
| 99 | Cache.prototype.add = function add(request) { | 99 | Cache.prototype.add = function add(request) { |
| 100 | return this.addAll([request]); | 100 | return this.addAll([request]); |
| 101 | }; | 101 | }; |
| 102 | }()); | 102 | })(); |
diff --git a/assets/manifest.json b/assets/manifest.json index f0b21b4..d150c67 100644 --- a/assets/manifest.json +++ b/assets/manifest.json | |||
| @@ -1,19 +1,22 @@ | |||
| 1 | { | 1 | { |
| 2 | "short_name": "MF", | 2 | "short_name": "MF", |
| 3 | "name": "Mitja Felicijan", | 3 | "name": "Mitja Felicijan", |
| 4 | "author": "Mitja Felicijan", | 4 | "author": "Mitja Felicijan", |
| 5 | "icons": [{ | 5 | "icons": [ |
| 6 | "src": "/assets/avatar.png", | 6 | { |
| 7 | "sizes": "512x512", | 7 | "src": "/assets/avatar.png", |
| 8 | "type": "image/png" | 8 | "sizes": "512x512", |
| 9 | }, { | 9 | "type": "image/png" |
| 10 | "src": "/assets/avatar.gif", | 10 | }, |
| 11 | "sizes": "512x512", | 11 | { |
| 12 | "type": "image/gif" | 12 | "src": "/assets/avatar.gif", |
| 13 | }], | 13 | "sizes": "512x512", |
| 14 | "start_url": "/", | 14 | "type": "image/gif" |
| 15 | "scope": "/", | 15 | } |
| 16 | "display": "standalone", | 16 | ], |
| 17 | "theme_color": "#ffffff", | 17 | "start_url": "/", |
| 18 | "background_color": "#ffffff" | 18 | "scope": "/", |
| 19 | "display": "standalone", | ||
| 20 | "theme_color": "#ffffff", | ||
| 21 | "background_color": "#ffffff" | ||
| 19 | } | 22 | } |
diff --git a/assets/site.min.css b/assets/site.min.css index 0168689..ceb1579 100644 --- a/assets/site.min.css +++ b/assets/site.min.css | |||
| @@ -1 +1 @@ | |||
| a,body,header a{color:#000}header a,main ul li a,nav ul li a,ol li a{text-decoration:none}#hcb_submit,nav ul li,ol li::before{display:inline-block}#hcb_submit,summary{cursor:pointer;user-select:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local('Roboto Thin'),local('Roboto-Thin'),url(https://fonts.gstatic.com/s/roboto/v18/KFOkCnqEu92Fr1MmgVxGIzc.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local('Roboto Light'),local('Roboto-Light'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxP.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local('Roboto Medium'),local('Roboto-Medium'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:local('Roboto Black'),local('Roboto-Black'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmYUtfChc9.ttf) format('truetype')}*{box-sizing:border-box}body{font-family:Roboto,'Times New Roman',Times,serif;font-size:18px;line-height:1.8;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:800px;margin:0 auto}header{margin-top:30px}header a{font-size:150%;font-weight:700}nav ul{margin-top:10px;padding:0}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:260%;line-height:150%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{margin-top:40px;padding:0 20px}main ul li{margin-bottom:25px;margin-left:-20px;list-style-type:none}main ul li a{font-size:100%;font-weight:500}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;font-weight:600}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li::before{content:counter(li)'.';color:#ccc;font-weight:500;width:1em;margin-left:-1.5em;margin-right:.9em;text-align:right}#hcb_form_content,#hcb_form_name{border:2px solid #eee;padding:10px;width:300px;margin-bottom:10px}#hcb_submit{-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;-ms-appearance:none;appearance:none;font-weight:600;padding:7px 15px;font-size:85%;border-radius:3px;background:#ccc;border:2px solid transparent;width:auto;text-align:center;height:auto;margin-right:20px}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}h1{font-size:200%}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | a,body,header a{color:#000}header a,main ul li a,nav ul li a,ol li a{text-decoration:none}#hcb_submit,nav ul li,ol li::before{display:inline-block}#hcb_submit,summary{cursor:pointer;user-select:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local('Roboto Thin'),local('Roboto-Thin'),url(https://fonts.gstatic.com/s/roboto/v18/KFOkCnqEu92Fr1MmgVxGIzc.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local('Roboto Light'),local('Roboto-Light'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxP.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local('Roboto Medium'),local('Roboto-Medium'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfChc9.ttf) format('truetype')}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:local('Roboto Black'),local('Roboto-Black'),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmYUtfChc9.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:300;src:local('Merriweather Light Italic'),local('Merriweather-LightItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR7lXff2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:400;src:local('Merriweather Italic'),local('Merriweather-Italic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4m0qyriQwlOrhSvowK_l5-eRZAf-c.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:700;src:local('Merriweather Bold Italic'),local('Merriweather-BoldItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR71Wvf2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:italic;font-weight:900;src:local('Merriweather Black Italic'),local('Merriweather-BlackItalic'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4l0qyriQwlOrhSvowK_l5-eR7NWPf2jvk.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:300;src:local('Merriweather Light'),local('Merriweather-Light'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l521wRZVsf_.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:400;src:local('Merriweather Regular'),local('Merriweather-Regular'),url(https://fonts.gstatic.com/s/merriweather/v19/u-440qyriQwlOrhSvowK_l5-ciZJ.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:700;src:local('Merriweather Bold'),local('Merriweather-Bold'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l52xwNZVsf_.ttf) format('truetype')}@font-face{font-family:Merriweather;font-style:normal;font-weight:900;src:local('Merriweather Black'),local('Merriweather-Black'),url(https://fonts.gstatic.com/s/merriweather/v19/u-4n0qyriQwlOrhSvowK_l52_wFZVsf_.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;src:local('PT Serif Italic'),local('PTSerif-Italic'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRTQgYoZZY2vCFuvAFT_rO1dw.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:italic;font-weight:700;src:local('PT Serif Bold Italic'),local('PTSerif-BoldItalic'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRQQgYoZZY2vCFuvAFT9gaQZyffpQ.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;src:local('PT Serif'),local('PTSerif-Regular'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRVQgYoZZY2vCFuvAFYzro.ttf) format('truetype')}@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;src:local('PT Serif Bold'),local('PTSerif-Bold'),url(https://fonts.gstatic.com/s/ptserif/v9/EJRSQgYoZZY2vCFuvAnt66qcVy4.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:300;src:local('Yrsa Light'),local('Yrsa-Light'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3af97I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:400;src:local('Yrsa Regular'),local('Yrsa-Regular'),url(https://fonts.gstatic.com/s/yrsa/v3/wlp-gwnQFlxs1QLf_A.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:500;src:local('Yrsa Medium'),local('Yrsa-Medium'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3f_87I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:600;src:local('Yrsa SemiBold'),local('Yrsa-SemiBold'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3dP77I0x2Q.ttf) format('truetype')}@font-face{font-family:Yrsa;font-style:normal;font-weight:700;src:local('Yrsa Bold'),local('Yrsa-Bold'),url(https://fonts.gstatic.com/s/yrsa/v3/wlpxgwnQFlxs3bf67I0x2Q.ttf) format('truetype')}*{box-sizing:border-box}body{font-family:Yrsa,Roboto,'Times New Roman',Times,serif;font-size:22px;line-height:1.6;margin:0;padding:0 0 50px}article,footer,header,main,nav{max-width:800px;margin:0 auto}header{margin-top:30px}header a{font-size:150%;font-weight:700}nav ul{margin-top:10px;padding:0}nav ul li a{color:#444;font-size:85%;margin-right:10px}h1{font-size:200%;line-height:120%}h2{font-size:160%}h3{font-size:140%}h4{font-size:120%}article img{max-width:100%;display:block}time{display:block;font-size:85%;color:#444}ul{list-style-type:square}main ul{margin-top:40px;padding:0 20px}main ul li{margin-bottom:25px;margin-left:-20px;list-style-type:none}main ul li a{font-size:100%;font-weight:600}main ul div{font-size:116%}blockquote{margin:40px 0 40px 20px;border-left:5px solid #eee;padding:5px 0 10px 20px}.highlighter-rouge,table,table td,table th{border:2px solid #f1f1f1}table{width:100%;border-collapse:collapse;border-spacing:0}table td,table th{text-align:left;padding:5px 10px}summary{outline:0;font-weight:600}details .highlighter-rouge{margin-top:10px!important}.highlighter-rouge{padding:0 15px;font-size:80%;overflow:auto}.highlighter-rouge table,.highlighter-rouge table td{border:0!important}::selection{background:#ff0;color:#000}::-moz-selection{background:#ff0;color:#000}ol{list-style:none;counter-reset:li}ol li{counter-increment:li}ol li::before{content:counter(li) '.';color:#ccc;font-weight:500;width:1em;margin-left:-1.5em;margin-right:.9em;text-align:right}#hcb_form_content,#hcb_form_name{border:2px solid #eee;padding:10px;width:300px;margin-bottom:10px}#hcb_submit{-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;-ms-appearance:none;appearance:none;font-weight:600;padding:7px 15px;font-size:85%;border-radius:3px;background:#ccc;border:2px solid transparent;width:auto;text-align:center;height:auto;margin-right:20px}@media only screen and (max-width:768px){body{padding:0 20px}footer,header,nav{text-align:center}.responsive-table{width:100%;overflow:scroll}h1{font-size:200%}}@media print{@page{margin:2cm}.comments,header,nav{display:none}} \ No newline at end of file | ||
