diff --git a/dist/404.html b/dist/404.html index 8f6cd36..eb52a6b 100644 --- a/dist/404.html +++ b/dist/404.html @@ -6,6 +6,7 @@ + 404 - Not Found @@ -31,7 +32,7 @@

Page created: January 25, 2024

Page last modified: January 25, 2024

-
+

404: Not Found

diff --git a/dist/418.html b/dist/418.html index 5a6b1f6..11dd74c 100644 --- a/dist/418.html +++ b/dist/418.html @@ -6,6 +6,7 @@ + 404 - Not Found @@ -31,7 +32,7 @@

Page created: January 27, 2024

Page last modified: January 27, 2024

-
+

418: I’m a teapot

diff --git a/dist/blog/firstPost.html b/dist/blog/firstPost.html index c620f7e..d7d2b35 100644 --- a/dist/blog/firstPost.html +++ b/dist/blog/firstPost.html @@ -6,6 +6,7 @@ + First Post @@ -31,7 +32,7 @@

Page created: January 26, 2024

Page last modified: January 26, 2024

-
+

wowzers first post

me ^

diff --git a/dist/blog/index.html b/dist/blog/index.html index 2349ac0..daac2b9 100644 --- a/dist/blog/index.html +++ b/dist/blog/index.html @@ -6,6 +6,7 @@ + Blog Index @@ -31,7 +32,7 @@

Page created: January 26, 2024

Page last modified: January 26, 2024

-
+

(Sorted by date created)

JavaScript must be enabled for the index to build. Otherwise visit blogindex.txt for a static list. diff --git a/dist/blog/minimalMessaging.html b/dist/blog/minimalMessaging.html index fe3cfd0..b3b1205 100644 --- a/dist/blog/minimalMessaging.html +++ b/dist/blog/minimalMessaging.html @@ -6,6 +6,7 @@ + Why Keeping Your Applications Minimal Counts. - bear.oops.wtf @@ -32,7 +33,7 @@ bear.oops.wtf

Page created: March 11, 2024

Page last modified: March 11, 2024

-
+

Introduction

When a man is stuck with cell service for a while (and abysmally slow LTE at that), he starts to realize how bloated diff --git a/dist/coolLinks.html b/dist/coolLinks.html index 16edf3b..833c59a 100644 --- a/dist/coolLinks.html +++ b/dist/coolLinks.html @@ -6,6 +6,7 @@ + Blog Index @@ -31,7 +32,7 @@

Page created: January 26, 2024

Page last modified: March 4, 2024

-
+

Pages I think are cool:

Crony’s Page Sensokaku’s diff --git a/dist/css.js b/dist/css.js index 4b05c21..2807b95 100644 --- a/dist/css.js +++ b/dist/css.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,o,n,a,i,c,l,d,s,p,u,f,m={777:(e,t,r)=>{r.d(t,{A:()=>c});var o=r(620),n=r.n(o),a=r(69),i=r.n(a)()(n());i.push([e.id,"@import url(https://fonts.googleapis.com/icon?family=Material+Icons);"]),i.push([e.id,'body{font-family:Arial,sans-serif;font-size:1.5em;margin:2em;line-height:1.6;height:100vh;width:auto;margin:0;padding:0;text-align:left;background-color:#1e1e2e;color:#cdd6f4;white-space:normal}.header-container{width:100vw;text-align:center;justify-content:center}.center-image{display:block;margin-left:auto;margin-right:auto}.meta{font-size:.75em;line-height:1;color:#313244}.center-box{text-align:left;width:15%;margin:auto}header{background-color:#11111b;color:#cdd6f4;height:auto}header a{color:#cdd6f4;text-decoration:dotted;font-size:1.5rem}header a i{vertical-align:middle;display:inline-block}nav{background-color:#11111b;color:#ebdbb2;display:flex;flex-direction:row;padding-top:.25%;padding-bottom:.25%;align-items:center;justify-content:center;gap:6px}.title{font-weight:bolder;text-align:center}.article{margin-top:0;margin-bottom:auto;margin-left:0;margin-right:0;text-align:left;padding-left:42.25%;padding-right:42.25%;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:left;align-items:normal;white-space:normal}.article p{text-align:left}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{text-align:left;display:block}ul,li,ol{margin:0;padding:0;list-style:none;display:block}h1,h2,h3,h4,h5,h6{color:#fbf1c7;display:block}a{color:#458588;display:block}a:hover{color:#689d6a}button{background-color:#b16286;color:#fbf1c7}button:hover{background-color:#458588}p{margin-bottom:1em;display:inline-block;white-space:normal}pre{background-color:#313244;padding:.5em;overflow:auto}code{font-family:"Courier New",Courier,monospace;background-color:#313244;color:#d65d0e;padding:.2em;border-radius:3px;display:block}table{border-collapse:collapse;width:100%;margin-bottom:1em;border-collapse:collapse;display:table}table th,table td{border:1px solid #11111b;padding:8px;text-align:left}th,td{border:1px solid #fbf1c7;padding:8px;text-align:left}th{background-color:#ebdbb2}blockquote{border-left:2px solid #313244;margin:1em 0;padding-left:1em}footer{background-color:#11111b;color:#d5c4a1}',""]);const c=i},69:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var c=0;c0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=a),r&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=r):s[2]=r),n&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=n):s[4]="".concat(n)),t.push(s))}},t}},620:e=>{e.exports=function(e){return e[1]}},646:e=>{var t=[];function r(e){for(var r=-1,o=0;o{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},506:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},942:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},959:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},215:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},h={};function g(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={id:e,exports:{}};return m[e](r,r.exports,g),r.exports}g.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return g.d(t,{a:t}),t},g.d=(e,t)=>{for(var r in t)g.o(t,r)&&!g.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},g.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),g.nc=void 0,e=g(646),t=g.n(e),r=g(959),o=g.n(r),n=g(13),a=g.n(n),i=g(942),c=g.n(i),l=g(506),d=g.n(l),s=g(215),p=g.n(s),u=g(777),(f={}).styleTagTransform=p(),f.setAttributes=c(),f.insert=a().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=d(),t()(u.A,f),u.A&&u.A.locals&&u.A.locals})(); \ No newline at end of file +(()=>{"use strict";var e,t,r,o,n,a,i,l,c,d,s,p,u,f,g={777:(e,t,r)=>{r.d(t,{A:()=>l});var o=r(620),n=r.n(o),a=r(69),i=r.n(a)()(n());i.push([e.id,"@import url(https://fonts.googleapis.com/icon?family=Material+Icons);"]),i.push([e.id,'body{font-family:Arial,sans-serif;font-size:1.5em;margin:2em;line-height:1.6;height:100vh;width:auto;margin:0;padding:0;text-align:left;background-color:#1e1e2e;color:#cdd6f4;white-space:normal}.header-container{width:100vw;text-align:center;justify-content:center}.center-image{display:block;margin-left:auto;margin-right:auto}.meta{font-size:.75em;line-height:1;color:#313244}.center-box{text-align:left;width:15%;margin:auto}header{background-color:#11111b;color:#cdd6f4;height:auto}header a{color:#cdd6f4;text-decoration:dotted;font-size:1.5rem}header a i{vertical-align:middle;display:inline-block}nav{background-color:#11111b;color:#ebdbb2;display:flex;flex-direction:row;padding-top:.25%;padding-bottom:.25%;align-items:center;justify-content:center;gap:6px}.title{font-weight:bolder;text-align:center}.article{margin-top:0;margin-bottom:auto;margin-left:0;margin-right:0;text-align:left;padding-left:30%;padding-right:30%;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:left;align-items:normal;white-space:normal}.article p{text-align:left}@media(max-width: 978px){.article{padding-left:5%;padding-right:5%}.barticle{padding-left:5%;padding-right:5%}}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{text-align:left;display:block}ul,li,ol{margin:0;padding:0;list-style:none;display:block}h1,h2,h3,h4,h5,h6{color:#fbf1c7;display:block}a{color:#458588;display:block}a:hover{color:#689d6a}button{background-color:#b16286;color:#fbf1c7}button:hover{background-color:#458588}p{margin-bottom:1em;display:inline-block;white-space:normal}pre{background-color:#313244;padding:.5em;overflow:auto}code{font-family:"Courier New",Courier,monospace;background-color:#313244;color:#d65d0e;padding:.2em;border-radius:3px;display:block}table{border-collapse:collapse;width:100%;margin-bottom:1em;border-collapse:collapse;display:table}table th,table td{border:1px solid #11111b;padding:8px;text-align:left}th,td{border:1px solid #fbf1c7;padding:8px;text-align:left}th{background-color:#ebdbb2}blockquote{border-left:2px solid #313244;margin:1em 0;padding-left:1em}footer{background-color:#11111b;color:#d5c4a1}',""]);const l=i},69:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var l=0;l0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=a),r&&(s[2]?(s[1]="@media ".concat(s[2]," {").concat(s[1],"}"),s[2]=r):s[2]=r),n&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=n):s[4]="".concat(n)),t.push(s))}},t}},620:e=>{e.exports=function(e){return e[1]}},646:e=>{var t=[];function r(e){for(var r=-1,o=0;o{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},506:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},942:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},959:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},215:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},m={};function h(e){var t=m[e];if(void 0!==t)return t.exports;var r=m[e]={id:e,exports:{}};return g[e](r,r.exports,h),r.exports}h.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return h.d(t,{a:t}),t},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),h.nc=void 0,e=h(646),t=h.n(e),r=h(959),o=h.n(r),n=h(13),a=h.n(n),i=h(942),l=h.n(i),c=h(506),d=h.n(c),s=h(215),p=h.n(s),u=h(777),(f={}).styleTagTransform=p(),f.setAttributes=l(),f.insert=a().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=d(),t()(u.A,f),u.A&&u.A.locals&&u.A.locals})(); \ No newline at end of file diff --git a/dist/css/style.css.map b/dist/css/style.css.map deleted file mode 100644 index 8c82d72..0000000 --- a/dist/css/style.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sourceRoot":"","sources":["../../src/scss/style.scss"],"names":[],"mappings":"AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAgBQ;AAkBR;EACI;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;EAEA;EAEA,kBA9BS;EA+BT,OA9BS;;;AAiCb;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA,OAxCY;;;AA2ChB;EACI;EACA;EACA;;;AAGJ;EACI,kBAnDY;EAoDZ,OArDS;EAuDT;;AAEA;EACI,OA1DK;EA2DL;EACA;;AACA;EACI;EACA;;;AAKZ;EAGI,kBAtEY;EAuEZ,OApEa;EAqEb;EACA;EAEA,aAPM;EAQN,gBARM;EAUN;EACA;EAEA;;;AAGJ;EACI;EACA;;;AAGJ;EAGI;EACA;EACA;EACA;EACA;EAEA,cARM;EASN,eATM;EAWN;EACA;EACA;EACA;EACA;EAIA;;AAHA;EACI;;;AAKR;AAAA;AAAA;AAAA;AAAA;AAAA;EAMI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI,OAhIa;EAiIb;;;AAGJ;EACI,OA9HW;EAkIX;;AAHA;EACE,OA9HS;;;AAmIf;EACI,kBArIa;EAsIb,OA9Ia;;AA+Ib;EACE,kBAzIS;;;AA8If;EACI;EACA;;;AAGJ;EACI,kBA5JY;EA6JZ;EACA;;;AAGJ;EACI;EACA,kBAnKY;EAoKZ,OAzJa;EA0Jb;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EAMA;;AALA;EACI;EACA;EACA;;;AAKR;EACI;EACA;EACA;;;AAGJ;EACI,kBA5La;;;AA+LjB;EACI;EACA;EACA;;;AAGJ;EACI,kBAzMY;EA0MZ,OAtMa","file":"style.css"} \ No newline at end of file diff --git a/dist/git/index.html b/dist/git/index.html index daa9b43..0495ff2 100644 --- a/dist/git/index.html +++ b/dist/git/index.html @@ -6,6 +6,7 @@ + You shouldn’t be here… @@ -31,7 +32,7 @@

Page created: January 26, 2024

Page last modified: January 26, 2024

-
+

This is supposed to be the location of a Gitea instance, the webserver is likely misconfigured…

Until next time…

diff --git a/dist/index.html b/dist/index.html index c912756..aeab7f4 100644 --- a/dist/index.html +++ b/dist/index.html @@ -6,6 +6,7 @@ + bear.oops.wtf @@ -31,7 +32,7 @@

Page created: January 6, 2024

Page last modified: March 11, 2024

-
+

Hello, I’m Bear. I don’t have much to put here. I play some games (Tetris recently),

Cool Links 0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1] + bear.oops.wtf @@ -31,7 +32,7 @@

Page created: January 6, 2024

Page last modified: March 11, 2024

-
+
diff --git a/js/main/main.ts b/js/main/main.ts new file mode 100644 index 0000000..94049a9 --- /dev/null +++ b/js/main/main.ts @@ -0,0 +1,10 @@ +async function printInfo(): Promise { + const con = console; + + con.debug(`%c\n +UA: ${navigator.userAgent} \n +TITLE: ${document.title} \n +EC: ${document.getElementsByTagName("*").length} \n`, "color: #fbf1c7; font-size: 20px; background-color: #1e1e2e;"); +} + +document.addEventListener("DOMContentLoaded", printInfo); \ No newline at end of file diff --git a/src/scss/style.scss b/src/scss/style.scss index f204994..d3d541f 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2024 BearFM - - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +@use "sass:math"; @import "https://fonts.googleapis.com/icon?family=Material+Icons"; $gruvbox-bg: #1e1e2e; @@ -116,16 +101,14 @@ nav { } .article { - $pad: 42.25%; - margin-top: 0; margin-bottom: auto; margin-left: 0; margin-right: 0; text-align: left; - padding-left: $pad; - padding-right: $pad; + padding-left: 30%; + padding-right: 30%; display: flex; flex-direction: column; @@ -138,6 +121,19 @@ nav { white-space: normal; } +@media (max-width: 978px) { + .article { + padding-left: 5%; + padding-right: 5%; + } + + .barticle { + padding-left: 5%; + padding-right: 5%; + } + +} + .article h1, .article h2, .article h3, diff --git a/src/tmpl.html b/src/tmpl.html index 5be0cad..6cc0624 100644 --- a/src/tmpl.html +++ b/src/tmpl.html @@ -6,6 +6,7 @@ + $title$ @@ -31,7 +32,7 @@

Page created: $date$

Page last modified: $modified$

-
+
$body$
diff --git a/webpack.config.js b/webpack.config.js index 9210334..70faa54 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,6 +14,7 @@ const config = { entry: { blogIndex: glob.sync("./js/blogIndex/**/*.ts").map(file => path.resolve(file)), css: glob.sync("./js/css/**/*.ts").map(file => path.resolve(file)).concat(["./src/scss/style.scss"]), + main: glob.sync("./js/main/**/*.ts").map(file => path.resolve(file)), }, output: {