diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 02d018d..47579d9 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -31,11 +31,21 @@
{{ end }}
diff --git a/layouts/partials/bulb-icon.html b/layouts/partials/bulb-icon.html
deleted file mode 100644
index f87bc75..0000000
--- a/layouts/partials/bulb-icon.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index e08903a..45764f7 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -5,8 +5,8 @@
{{else}}
{{ partial "logo.html" . }}
-
Powered by Hugo
-
Theme created by panr 2018
+
© {{ now.Year }} Powered by Hugo
+
Theme created by panr
{{end}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fc8ab69..6ed33d7 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -8,11 +8,11 @@
+
{{ end }}
- {{ partial "bulb-icon.html" . }}
+ {{ partial "theme-icon.html" . }}
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html
index 24c97d1..ec762d3 100644
--- a/layouts/partials/pagination.html
+++ b/layouts/partials/pagination.html
@@ -1,10 +1,20 @@
\ No newline at end of file
+
diff --git a/layouts/partials/theme-icon.html b/layouts/partials/theme-icon.html
new file mode 100644
index 0000000..c72a3fc
--- /dev/null
+++ b/layouts/partials/theme-icon.html
@@ -0,0 +1,5 @@
+
diff --git a/source/css/header.css b/source/css/header.css
index 450d4c9..292645c 100644
--- a/source/css/header.css
+++ b/source/css/header.css
@@ -10,24 +10,6 @@
background: #252627;
}
- .bulb {
- &-on {
- display: none;
-
- .dark-theme & {
- display: block;
- }
- }
-
- &-off {
- display: block;
-
- .dark-theme & {
- display: none;
- }
- }
- }
-
&__right {
display: flex;
flex-direction: row;
@@ -49,5 +31,13 @@
}
.theme-toggle {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ line-height: 1;
cursor: pointer;
}
+
+.theme-toggler {
+ fill: currentColor;
+}
diff --git a/source/css/inter-ui.css b/source/css/inter-ui.css
index 86a6556..25ce9a8 100644
--- a/source/css/inter-ui.css
+++ b/source/css/inter-ui.css
@@ -16,14 +16,14 @@
@font-face {
font-family: 'Inter UI';
font-style: normal;
- font-weight: 500;
+ font-weight: 600;
src: url("../fonts/Inter-UI-Medium.woff2") format("woff2"),
url("../fonts/Inter-UI-Medium.woff") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
- font-weight: 500;
+ font-weight: 600;
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"),
url("../fonts/Inter-UI-MediumItalic.woff") format("woff");
}
@@ -31,29 +31,14 @@
@font-face {
font-family: 'Inter UI';
font-style: normal;
- font-weight: 700;
+ font-weight: 800;
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"),
url("../fonts/Inter-UI-Bold.woff") format("woff");
}
@font-face {
font-family: 'Inter UI';
font-style: italic;
- font-weight: 700;
+ font-weight: 800;
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"),
url("../fonts/Inter-UI-BoldItalic.woff") format("woff");
}
-
-@font-face {
- font-family: 'Inter UI';
- font-style: normal;
- font-weight: 900;
- src: url("../fonts/Inter-UI-Black.woff2") format("woff2"),
- url("../fonts/Inter-UI-Black.woff") format("woff");
-}
-@font-face {
- font-family: 'Inter UI';
- font-style: italic;
- font-weight: 900;
- src: url("../fonts/Inter-UI-BlackItalic.woff2") format("woff2"),
- url("../fonts/Inter-UI-BlackItalic.woff") format("woff");
-}
diff --git a/source/css/logo.css b/source/css/logo.css
index f762363..126006b 100644
--- a/source/css/logo.css
+++ b/source/css/logo.css
@@ -12,13 +12,17 @@
margin-right: 5px;
}
+ &__text {
+ font-size: 1.125rem;
+ }
+
&__cursor {
display: inline-block;
- width: 2px;
+ width: 10px;
height: 1rem;
background: #fe5186;
margin-left: 5px;
- border-radius: 2px;
+ border-radius: 1px;
animation: cursor 1s infinite;
}
}
diff --git a/source/css/main.css b/source/css/main.css
index fc5dd7e..36662d8 100644
--- a/source/css/main.css
+++ b/source/css/main.css
@@ -12,7 +12,7 @@ body {
margin: 0;
padding: 0;
font-family: 'Inter UI', -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
- font-size: 18px;
+ font-size: 1rem;
line-height: 1.54;
background-color: var(--light-background);
color: var(--light-color);
@@ -146,10 +146,10 @@ code {
}
pre {
- background: #1a1a1d;
+ background: #212020;
padding: 20px;
border-radius: 8px;
- font-size: 1rem;
+ font-size: .95rem;
overflow: auto;
@media (--phone) {
@@ -163,6 +163,10 @@ pre {
margin: 0;
padding: 0;
font-size: inherit;
+
+ .dark-theme & {
+ color: inherit;
+ }
}
}
diff --git a/source/css/menu.css b/source/css/menu.css
index d93d53a..c2a96c1 100644
--- a/source/css/menu.css
+++ b/source/css/menu.css
@@ -1,7 +1,7 @@
.menu {
background: #fafafa;
border-right: 1px solid;
- margin-right: 10px;
+ margin-right: 18px;
.dark-theme & {
background: #252627;
@@ -27,11 +27,7 @@
list-style: none;
li {
- margin: 0 10px;
-
- &:last-of-type {
- margin-right: 0;
- }
+ margin: 0 12px;
}
@media (--phone) {
diff --git a/source/css/pagination.css b/source/css/pagination.css
index 7887640..f40ab7c 100644
--- a/source/css/pagination.css
+++ b/source/css/pagination.css
@@ -1,6 +1,6 @@
.pagination {
margin-top: 50px;
-
+
&__title {
display: flex;
text-align: center;
@@ -37,11 +37,60 @@
&__buttons {
display: flex;
- justify-content: space-around;
+ align-items: center;
+ justify-content: center;
+ width: 1024px;
+ max-width: 100%;
a {
text-decoration: none;
font-weight: bold;
}
}
-}
\ No newline at end of file
+}
+
+.button {
+ position: relative;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ background: var(--light-background-secondary);
+ font-size: 1rem;
+ font-weight: 600;
+ border-radius: 8px;
+ max-width: 40%;
+ padding: 0;
+ cursor: pointer;
+ appearance: none;
+
+ .dark-theme & {
+ background: var(--dark-background-secondary);
+ }
+
+ + .button {
+ margin-left: 10px;
+ }
+
+ a {
+ display: flex;
+ padding: 8px 16px;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ &__text {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ &.next .button__icon {
+ margin-left: 8px;
+ }
+
+ &.previous .button__icon {
+ margin-right: 8px;
+ }
+}
diff --git a/source/css/prism.css b/source/css/prism.css
index 3a74475..162e6a4 100644
--- a/source/css/prism.css
+++ b/source/css/prism.css
@@ -38,7 +38,7 @@ pre[class*="language-"] {
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
- background: #1a1a1d !important;
+ background: #212020 !important;
border-radius: 8px;
}
diff --git a/source/fonts/Inter-UI-Black.woff b/source/fonts/Inter-UI-Black.woff
deleted file mode 100644
index 302f38d..0000000
Binary files a/source/fonts/Inter-UI-Black.woff and /dev/null differ
diff --git a/source/fonts/Inter-UI-Black.woff2 b/source/fonts/Inter-UI-Black.woff2
deleted file mode 100644
index 22c77a7..0000000
Binary files a/source/fonts/Inter-UI-Black.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-UI-BlackItalic.woff b/source/fonts/Inter-UI-BlackItalic.woff
deleted file mode 100644
index 9c47398..0000000
Binary files a/source/fonts/Inter-UI-BlackItalic.woff and /dev/null differ
diff --git a/source/fonts/Inter-UI-BlackItalic.woff2 b/source/fonts/Inter-UI-BlackItalic.woff2
deleted file mode 100644
index 638cc9c..0000000
Binary files a/source/fonts/Inter-UI-BlackItalic.woff2 and /dev/null differ
diff --git a/static/assets/main.js b/static/assets/main.js
index 6d75f21..0b67523 100644
--- a/static/assets/main.js
+++ b/static/assets/main.js
@@ -1 +1,136 @@
-!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n(1),n(2),e.exports=n(3)},function(e,t,n){"use strict"},function(e,t,n){"use strict";var o=document.querySelector(".menu-trigger"),r=document.querySelector(".menu"),i=getComputedStyle(document.body).getPropertyValue("--phoneWidth"),u=function(){return window.matchMedia(i).matches},c=function(){o&&o.classList.toggle("hidden",!u()),r&&r.classList.toggle("hidden",u())};c(),o&&o.addEventListener("click",function(){return r&&r.classList.toggle("hidden")}),window.addEventListener("resize",c)},function(e,t,n){"use strict";var o=window.localStorage&&window.localStorage.getItem("theme"),r=document.querySelector(".theme-toggle"),i="dark"===o||null===o;document.body.classList.toggle("dark-theme",i),r.addEventListener("click",function(){document.body.classList.toggle("dark-theme"),window.localStorage&&window.localStorage.setItem("theme",document.body.classList.contains("dark-theme")?"dark":"light")})}]);
\ No newline at end of file
+/******/ (function(modules) { // webpackBootstrap
+/******/ // The module cache
+/******/ var installedModules = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId]) {
+/******/ return installedModules[moduleId].exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ i: moduleId,
+/******/ l: false,
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Flag the module as loaded
+/******/ module.l = true;
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = modules;
+/******/
+/******/ // expose the module cache
+/******/ __webpack_require__.c = installedModules;
+/******/
+/******/ // define getter function for harmony exports
+/******/ __webpack_require__.d = function(exports, name, getter) {
+/******/ if(!__webpack_require__.o(exports, name)) {
+/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
+/******/ }
+/******/ };
+/******/
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = function(exports) {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/
+/******/ // create a fake namespace object
+/******/ // mode & 1: value is a module id, require it
+/******/ // mode & 2: merge all properties of value into the ns
+/******/ // mode & 4: return value when already ns object
+/******/ // mode & 8|1: behave like require
+/******/ __webpack_require__.t = function(value, mode) {
+/******/ if(mode & 1) value = __webpack_require__(value);
+/******/ if(mode & 8) return value;
+/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
+/******/ var ns = Object.create(null);
+/******/ __webpack_require__.r(ns);
+/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
+/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
+/******/ return ns;
+/******/ };
+/******/
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = function(module) {
+/******/ var getter = module && module.__esModule ?
+/******/ function getDefault() { return module['default']; } :
+/******/ function getModuleExports() { return module; };
+/******/ __webpack_require__.d(getter, 'a', getter);
+/******/ return getter;
+/******/ };
+/******/
+/******/ // Object.prototype.hasOwnProperty.call
+/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
+/******/
+/******/ // __webpack_public_path__
+/******/ __webpack_require__.p = "";
+/******/
+/******/
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(__webpack_require__.s = 0);
+/******/ })
+/************************************************************************/
+/******/ ({
+
+/***/ "./source/js/index.js":
+/*!****************************!*\
+ !*** ./source/js/index.js ***!
+ \****************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+eval("// Add your script here\n\n\n//# sourceURL=webpack:///./source/js/index.js?");
+
+/***/ }),
+
+/***/ "./source/js/menu.js":
+/*!***************************!*\
+ !*** ./source/js/menu.js ***!
+ \***************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+eval("\n\n// Mobile menu\nvar menuTrigger = document.querySelector(\".menu-trigger\");\nvar menu = document.querySelector(\".menu\");\nvar mobileQuery = getComputedStyle(document.body).getPropertyValue(\"--phoneWidth\");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nvar isMobileMenu = function isMobileMenu() {\n menuTrigger && menuTrigger.classList.toggle(\"hidden\", !isMobile());\n menu && menu.classList.toggle(\"hidden\", isMobile());\n};\n\nisMobileMenu();\nmenuTrigger && menuTrigger.addEventListener(\"click\", function () {\n return menu && menu.classList.toggle(\"hidden\");\n});\nwindow.addEventListener(\"resize\", isMobileMenu);\n\n//# sourceURL=webpack:///./source/js/menu.js?");
+
+/***/ }),
+
+/***/ "./source/js/theme.js":
+/*!****************************!*\
+ !*** ./source/js/theme.js ***!
+ \****************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+eval("\n\n// Toggle theme\nvar getTheme = window.localStorage && window.localStorage.getItem(\"theme\");\nvar themeToggle = document.querySelector(\".theme-toggle\");\nvar isDark = getTheme === \"dark\";\n\nif (getTheme !== null) {\n document.body.classList.toggle(\"dark-theme\", isDark);\n}\n\nthemeToggle.addEventListener(\"click\", function () {\n document.body.classList.toggle(\"dark-theme\");\n window.localStorage && window.localStorage.setItem(\"theme\", document.body.classList.contains(\"dark-theme\") ? \"dark\" : \"light\");\n});\n\n//# sourceURL=webpack:///./source/js/theme.js?");
+
+/***/ }),
+
+/***/ 0:
+/*!***************************************************************************!*\
+ !*** multi ./source/js/index.js ./source/js/menu.js ./source/js/theme.js ***!
+ \***************************************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+eval("__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/hello-friend/source/js/index.js */\"./source/js/index.js\");\n__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/hello-friend/source/js/menu.js */\"./source/js/menu.js\");\nmodule.exports = __webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/hello-friend/source/js/theme.js */\"./source/js/theme.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/index.js_./source/js/menu.js_./source/js/theme.js?");
+
+/***/ })
+
+/******/ });
\ No newline at end of file
diff --git a/static/assets/prism.js b/static/assets/prism.js
index acb9300..3507d1a 100644
--- a/static/assets/prism.js
+++ b/static/assets/prism.js
@@ -1,8 +1,123 @@
-!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([,,,,function(e,t,n){"use strict";(function(t){var a="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},i=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,t=0,n=a.Prism={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof i?new i(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(S instanceof l)){if(f&&y!=t.length-1){if(p.lastIndex=w,!(C=p.exec(e)))break;for(var k=C.index+(m?C[1].length:0),x=C.index+C[0].length,E=y,A=w,L=t.length;L>E&&(x>A||!t[E].type&&!t[E-1].greedy);++E)k>=(A+=t[E].length)&&(++y,w=A);if(t[y]instanceof l)continue;T=E-y,S=e.slice(w,A),C.index-=w}else{p.lastIndex=0;var C=p.exec(S),T=1}if(C){m&&(b=C[1]?C[1].length:0);x=(k=C.index+b)+(C=C[0].slice(b)).length;var _=S.slice(0,k),I=S.slice(x),R=[y,T];_&&(++y,w+=_.length,R.push(_));var P=new l(c,g?n.tokenize(C,g):C,h,C,f);if(R.push(P),I&&R.push(I),Array.prototype.splice.apply(t,R),1!=T&&n.matchGrammar(e,t,a,y,w,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t){var a=[e],i=t.rest;if(i){for(var r in i)t[r]=i[r];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var i,r=0;i=a[r++];)i(t)}}},i=n.Token=function(e,t,n,a,i){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!i};if(i.stringify=function(e,t,a){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var r={type:e.type,content:i.stringify(e.content,t,a),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:a};if(e.alias){var o="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,o)}n.hooks.run("wrap",r);var s=Object.keys(r.attributes).map(function(e){return e+'="'+(r.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(s?" "+s:"")+">"+r.content+""+r.tag+">"},!a.document)return a.addEventListener?(n.disableWorkerMessageHandler||a.addEventListener("message",function(e){var t=JSON.parse(e.data),i=t.language,r=t.code,o=t.immediateClose;a.postMessage(n.highlight(r,n.languages[i],i)),o&&a.close()},!1),a.Prism):a.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,n.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),a.Prism}();void 0!==e&&e.exports&&(e.exports=i),void 0!==t&&(t.Prism=i),i.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},i.languages.css.atrule.inside.rest=i.languages.css,i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/(