diff --git a/www/Web.config b/www/Web.config index b4249e2..af18bfd 100644 --- a/www/Web.config +++ b/www/Web.config @@ -44,7 +44,13 @@ + + + + + + diff --git a/www/assets/css/glyphs.css b/www/assets/css/glyphs.css new file mode 100644 index 0000000..f4e4bba --- /dev/null +++ b/www/assets/css/glyphs.css @@ -0,0 +1,245 @@ +@font-face { + font-family: 'nilesoft.shell'; + font-style: normal; + font-weight: 400; + /*src: url('/assets/font/shell.woff2') format('woff2');*/ + src:url("../font/shell.eot?#iefix") format("embedded-opentype"), + url("../font/shell.woff2") format("woff2"), + url("../font/shell.woff") format("woff"), + url("../font/shell.ttf") format("truetype"), + url("../font/shell.svg#nilesoft-shell") format("svg"); +} + +#glyph li { + background-color: transparent; + color: black; + cursor: pointer; + float: left; + font-size: 32px; + font-family: 'nilesoft.shell' !important; + text-align: center; + height: 64px; + width: 64px; + padding-top: 6px; + margin: 0.5em 0.5em; +} + +#glyph li p { + text-align: center; + font: bold 9px Arial, sans-serif; + width: 100%; +} + +#glyph li:hover { + background-color: #000; + color: #fff !important; +} + +#glyph a {color: currentColor;} +#glyph a:hover {color: currentColor;} + +.glyph { + background-color: transparent; + color: black; + cursor: pointer; + font-size: 256px; + font-family: 'nilesoft.shell' !important; + text-align: center; +} + +.ig { + background-color: transparent; + color: black; + cursor: pointer; + font-family: 'nilesoft.shell' !important; + text-align: center; +} + + +i.g { + background-color: transparent; + font-family: 'nilesoft.shell' !important; + font-style:normal; + text-align: center; + cursor:default; + padding:0; + margin:0; +} + +.i { + font-family: 'nilesoft.shell' !important; + font-weight: 400; } + +.i { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; } + +.i-lg { + font-size: 1.33333em; + line-height: 0.75em; + vertical-align: -.0667em; } + +.i-xs { + font-size: .75em; } + +.i-sm { + font-size: .875em; } + +.i-1x { + font-size: 1em; } + +.i-2x { + font-size: 2em; } + +.i-3x { + font-size: 3em; } + +.i-4x { + font-size: 4em; } + +.i-5x { + font-size: 5em; } + +.i-6x { + font-size: 6em; } + +.i-7x { + font-size: 7em; } + +.i-8x { + font-size: 8em; } + +.i-9x { + font-size: 9em; } + +.i-10x { + font-size: 10em; } + +.i-fw { + text-align: center; + width: 1.25em; } + +.i-ul { + list-style-type: none; + margin-left: 2.5em; + padding-left: 0; } + .i-ul > li { + position: relative; } + +.i-li { + left: -2em; + position: absolute; + text-align: center; + width: 2em; + line-height: inherit; } + +.i-border { + border: solid 0.08em #eee; + border-radius: .1em; + padding: .2em .25em .15em; } + +.i-pull-left { + float: left; } + +.i-pull-right { + float: right; } + +.i.i-pull-left { + margin-right: .3em; } + +.i.i-pull-right { + margin-left: .3em; } + +.i-spin { + animation: i-spin 2s infinite linear; } + +.i-pulse { + animation: i-spin 1s infinite steps(8); } + +@keyframes i-spin { + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); } } + +.i-rotate-90 { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=1)"; + transform: rotate(90deg); } + +.i-rotate-180 { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=2)"; + transform: rotate(180deg); } + +.i-rotate-270 { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=3)"; + transform: rotate(270deg); } + +.i-flip-horizontal { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=0, mirror=1)"; + transform: scale(-1, 1); } + +.i-flip-vertical { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=2, mirror=1)"; + transform: scale(1, -1); } + +.i-flip-horizontal.i-flip-vertical { + -ms-filter: "progid:DXImageTransform.icrosoft.BasicImage(rotation=2, mirror=1)"; + transform: scale(-1, -1); } + +:root .i-rotate-90, +:root .i-rotate-180, +:root .i-rotate-270, +:root .i-flip-horizontal, +:root .i-flip-vertical { + filter: none; } + +.i-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; } + +.i-stack-1x, +.i-stack-2x { + left: 0; + position: absolute; + text-align: center; + width: 100%; } + +.i-stack-1x {line-height: inherit; } +.i-stack-2x {font-size: 2em; } +.i-inverse {color: #fff; } + +.i-comment:before{content:"\E25C";} +.i-view:before{content:"\E12E";} +.i-time:before{content:"\E126";} +.i-edit:before{content:"\E0A1";} +.i-delete:before{content:"\E0B4";} +.i-tag:before{content:"\E177";} +.i-download:before{content:"\E0BC";} +.i-book:before{content:"\E1C2";} +.i-facebook:before{content:"\E244";} +.i-twitter:before{content:"\E242";} +.i-reddit:before{content:"\E23F";} +.i-github:before{content:"\E22B";} +.i-chevron-left:before{content:"\E007";} +.i-chevron-right:before{content:"\E008";} +.i-chevron-up:before{content:"\E009";} +.i-chevron-down:before{content:"\E00a";} +.i-grid:before{content:"\E097";} +.i-add:before{content:"\E160";} +.i-sub:before{content:"\E161";} +.i-user:before{content:"\E105";} +.i-user-setting:before{content:"\E0FE";} +.i-users:before{content:"\E107";} +.i-notification:before{content:"\E189";} +.i-email:before{content:"\E115";} +.i-rss-square:before{content:"\E29B";} +.i-rss:before{content:"\E29C";} \ No newline at end of file diff --git a/www/assets/css/main.css b/www/assets/css/main.css new file mode 100644 index 0000000..a84ab30 --- /dev/null +++ b/www/assets/css/main.css @@ -0,0 +1,163 @@ +html, body { + font-family: 'Open Sans'; + color:#000000; +} + +/* footer */ +body { + display: flex; + min-height: 100vh; + flex-direction: column; +} +#mst-main { flex:1;} + +#mst-footer { + color: black; + background-color: white; +} + +ul.is-unstyled { + list-style: none; + margin: 0; + padding: 0; +} + +ul.is-styled { + padding-left:3em; +} + +ul.is-styled-square { + list-style-type:square; + padding-left:3em; +} + +.menu-list a { + padding: 0.5em 0.75em; +} + +.menu-list a:hover { + color: white; + background-color:black; +} + + .navbar-menu.is-white .navbar-start > a.navbar-item:focus, + .navbar-menu.is-white .navbar-start > a.navbar-item:hover, + .navbar-menu.is-white .navbar-start > a.navbar-item.is-active, + + .navbar-menu.is-white .navbar-start .navbar-link:focus, + .navbar-menu.is-white .navbar-start .navbar-link:hover, + .navbar-menu.is-white .navbar-start .navbar-link.is-active, + + .navbar-menu.is-white .navbar-end > a.navbar-item:focus, + .navbar-menu.is-white .navbar-end > a.navbar-item:hover, + .navbar-menu.is-white .navbar-end > a.navbar-item.is-active, + + .navbar-menu.is-white .navbar-end .navbar-link:focus, + .navbar-menu.is-white .navbar-end .navbar-link:hover, + .navbar-menu.is-white .navbar-end .navbar-link.is-active { + background-color: black; + color: white; + } + +a.uline +{ + text-decoration: none; + border-bottom: 1px solid currentColor; +} + +//a {text-decoration: underline;} +a.underline {text-decoration: underline;} + +a.navbar-item.is-active, +.navbar-link.is-active, +.menu-list a.is-active { + background-color: black; + color: white; + border-bottom: 0; + text-decoration: none; +} +/* +.navbar.is-white .navbar-brand .navbar-link::after { + border-color: #000000; +}*/ + +.syntax {color:black; } +.syntax-comment {color:#00aa00;} +.syntax-string {color:#A7154F;} +.syntax-number {color:#FF0080;} +.syntax-keyword {color:#0000FF;} +.syntax-code {font-weight:bolder;} +.syntax-prop {color:#aaa;} + +.paypal { + font-weight:bolder; +} +.paypal i{ + color: #007bff; +} + +.item-slide { + box-sizing: border-box; +} + +img.is-512{max-width: 512px;max-height: 512px;} +img.is-256{max-width: 256px;max-height: 256px;} +img.is-128{ max-width: 128px;max-height: 128px;} +img.is-100{max-width: 100%;height: auto;} +img.is-75{max-width: 75%;height: auto;} +img.is-50{max-width: 50%;height: auto;} +img.is-25{max-width: 25%; height: auto;} + +.tags a.tag{text-decoration-line:none;background-color:black;color:white;} +.tags a.tag:hover{text-decoration-line:none;background-color:#808080;} + +.modal-content-image { + overflow: auto; + position: relative; + text-align: center; +} +.size-32px{height: 32px;width:32px;} +.h-32px{height: 32px;} +.w-32px{width:32px;} + +.border-left{border-left:1px solid #000;} +.border-right{border-right:1px solid #000;} +.border-top{border-top:1px solid #000;} +.border-bottom{border-bottom:1px solid #000;} + +.post { + background-color: #fff; + border-radius: 0px; + box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02); + color: #4a4a4a; + display: block; + padding: 0; + margin-block: 2rem; + /*max-height:200px; + min-height:200px*/ +} + +.post-image { + padding: 0; + margin: 0; +} + +img, video { + height: auto; + max-width: 100%; +} + +.opacity-25 { + opacity: 50; +} +.opacity-50 { + opacity:50; +} +.opacity-75 { + opacity: 50; +} + +.modal-background-white { + background-color: rgba(255,255,255,.95); +} + diff --git a/www/assets/css/prism.css b/www/assets/css/prism.css new file mode 100644 index 0000000..1a334b1 --- /dev/null +++ b/www/assets/css/prism.css @@ -0,0 +1,166 @@ +/* PrismJS 1.28.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+c+csharp+cpp+json+makefile+markdown+cshtml+uri */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, +code[class*="language-"]::selection, code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f5f5; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #080; +} + +.token.punctuation { + color: #999; +} + +.token.namespace { + opacity: .7; +} + +.token.symbol, +.token.deleted { + color: #00f; +} + +.token.numbers { + color: #f00; +} + +.token.keyword, +.token.boolean { + color: #00f; +} + +.token.color { + color: #f00; +} + +.token.char { + color: #da1039; +} + +.token.string { + color: #da1039; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value { + color: #07a; +} + +.token.function { + color: #00a; + font-weight: bold; +} + +.token.item { + /*color: #f0f; + font-weight: bold;*/ +} + +.token.property { + /*color: #a0a;*/ +} + +.token.class-name { + /*color: #f0f;*/ + font-weight: bold; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + +.token.sections{ +font-weight: bold; +} diff --git a/www/assets/font/shell.ttf b/www/assets/font/shell.ttf new file mode 100644 index 0000000..f8d46a7 Binary files /dev/null and b/www/assets/font/shell.ttf differ diff --git a/www/assets/font/shell.woff b/www/assets/font/shell.woff new file mode 100644 index 0000000..e3502d8 Binary files /dev/null and b/www/assets/font/shell.woff differ diff --git a/www/assets/font/shell.woff2 b/www/assets/font/shell.woff2 new file mode 100644 index 0000000..8df90c9 Binary files /dev/null and b/www/assets/font/shell.woff2 differ diff --git a/www/assets/js/main.js b/www/assets/js/main.js new file mode 100644 index 0000000..27013e4 --- /dev/null +++ b/www/assets/js/main.js @@ -0,0 +1,57 @@ +$(async => { + var root = $(document.documentElement); + var body = $('body'); + // Check for click events on the navbar burger icon + $('.navbar-burger').click(()=> { + // Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu" + $(this).toggleClass('is-active'); + $('.navbar-menu').toggleClass('is-active'); + }); + $('.lightbox').click(function(link) { + link.preventDefault(); + var lightbox = $(this); + if(!lightbox.is('a') && !lightbox.hasClass('lightbox')) + return 'Clicked item is not a link with class .lightbox'; + var modal = $(''); + modal.append($(''), + $('').attr('src',lightbox.children('img').attr('src'))); + body.append(modal); + root.addClass('is-clipped'); + $(modal).click(()=>{ + root.removeClass('is-clipped'); + modal.remove(); + }); + $(document).keydown((event)=> { + var e = event || window.event; + if (e.keyCode === 27) { + root.removeClass('is-clipped'); + modal.remove(); + } + }); + }); + var Ubevca = async => { + var XTaDIdsy = ()=> { + if(typeof gtag !=='undefined'){gtag('event', 'adblock');} + var EEvTIiaA = $(''); + body.append(EEvTIiaA); + root.addClass("is-clipped"); + } + (async => { + var GyqcGnd = 0; + $('ins.adsbygoogle').each((i,e) => { + const x = $(e).get(0); + if(x.offsetLeft > -100 && x.offsetTop > -50 && (x.offsetHeight > 0 && x.offsetWidth > 0)) { + GyqcGnd++; + } + }); + if(GyqcGnd === 0) { + XTaDIdsy(); + } else try { + fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",{ method: "HEAD", mode: "no-cors" }) + .catch((err) => {XTaDIdsy();}); + } catch(e) { + XTaDIdsy(); + } + })(); + }; +}); \ No newline at end of file diff --git a/www/assets/js/prism.js b/www/assets/js/prism.js new file mode 100644 index 0000000..9a962bd --- /dev/null +++ b/www/assets/js/prism.js @@ -0,0 +1,1327 @@ +/* PrismJS 1.28.0 +https://prismjs.com/download.html#themes=prism&languages=clike+csharp */ +/// + +var _self = (typeof window !== 'undefined') + ? window // if in browser + : ( + (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) + ? self // if in worker + : {} // if in node js + ); + +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */ +var Prism = (function (_self) { + + // Private helper vars + var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i; + var uniqueId = 0; + + // The grammar object for plaintext + var plainTextGrammar = {}; + + + var _ = { + /** + * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the + * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load + * additional languages or plugins yourself. + * + * By setting this value to `true`, Prism will not automatically highlight all code elements on the page. + * + * You obviously have to change this value before the automatic highlighting started. To do this, you can add an + * empty Prism object into the global scope before loading the Prism script like this: + * + * ```js + * window.Prism = window.Prism || {}; + * Prism.manual = true; + * // add a new