diff --git a/assets/custom.css b/assets/custom.css new file mode 100644 index 0000000..0422d45 --- /dev/null +++ b/assets/custom.css @@ -0,0 +1,21 @@ +body { + background-color: #111111; +} + +h1, h2, h3, h4, h5, h6 { + color: #FFFFFF; +} + +a:link { + color: rgb(223, 131, 223); +} + +a:visited { + color: rgb(223, 131, 223); +} + + +code, input, select, button { + background: #2c2c2c; + color: #FFF; +} diff --git a/assets/light.min.css b/assets/light.min.css new file mode 100644 index 0000000..8ce73eb --- /dev/null +++ b/assets/light.min.css @@ -0,0 +1,2 @@ +@charset "UTF-8";body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.4;max-width:800px;margin:20px auto;padding:0 10px;color:#363636;background:#fff;text-rendering:optimizeLegibility}button,input,textarea{transition:background-color .1s linear,border-color .1s linear,color .1s linear,box-shadow .1s linear,transform .1s ease}h1{font-size:2.2em;margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:12px}h1,h2,h3,h4,h5,h6,strong{color:#000}b,h1,h2,h3,h4,h5,h6,strong,th{font-weight:600}blockquote{border-left:4px solid rgba(0,150,191,.67);margin:1.5em 0;padding:.5em 1em;font-style:italic}blockquote>footer{margin-top:10px;font-style:normal}address,blockquote cite{font-style:normal}a[href^=mailto]:before{content:"📧 "}a[href^=tel]:before{content:"📞 "}a[href^=sms]:before{content:"💬 "}button,input[type=button],input[type=checkbox],input[type=submit]{cursor:pointer}input:not([type=checkbox]):not([type=radio]),select{display:block}button,input,select,textarea{color:#000;background-color:#efefef;font-family:inherit;font-size:inherit;margin-right:6px;margin-bottom:6px;padding:10px;border:none;border-radius:6px;outline:none}button,input:not([type=checkbox]):not([type=radio]),select,textarea{-webkit-appearance:none}textarea{margin-right:0;width:100%;box-sizing:border-box;resize:vertical}button,input[type=button],input[type=submit]{padding-right:30px;padding-left:30px}button:hover,input[type=button]:hover,input[type=submit]:hover{background:#ddd}button:focus,input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px rgba(0,150,191,.67)}button:active,input[type=button]:active,input[type=checkbox]:active,input[type=radio]:active,input[type=submit]:active{transform:translateY(2px)}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.5}::-webkit-input-placeholder{color:#949494}:-ms-input-placeholder{color:#949494}::-ms-input-placeholder{color:#949494}::placeholder{color:#949494}a{text-decoration:none;color:#0076d1}a:hover{text-decoration:underline}code,kbd{background:#efefef;color:#000;padding:5px;border-radius:6px}pre>code{padding:10px;display:block;overflow-x:auto}img{max-width:100%}hr{border:none;border-top:1px solid #dbdbdb}table{border-collapse:collapse;margin-bottom:10px;width:100%}td,th{padding:6px;text-align:left}th{border-bottom:1px solid #dbdbdb}tbody tr:nth-child(2n){background-color:#efefef}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#efefef;border-radius:6px}::-webkit-scrollbar-thumb{background:#d5d5d5;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#c4c4c4} +/*# sourceMappingURL=light.min.css.map */ diff --git a/views/index.pug b/views/index.pug index a70535f..9a36195 100644 --- a/views/index.pug +++ b/views/index.pug @@ -3,23 +3,12 @@ html title='Moe Counter!' meta(name='viewport', content='width=device-width, initial-scale=1') link(rel='icon', type='image/png', href='favicon.png') - link(rel='stylesheet', href='https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/light.min.css') - link(rel='stylesheet', href='style.css') - - script(async, src='https://www.googletagmanager.com/gtag/js?id=G-2RLWN5JXRL') - script. - window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); + link(rel='stylesheet', href='./light.min.css') + link(rel='stylesheet', href='./custom.css') + + // GOODBYE GOOGLE SHIT - gtag('config', 'G-2RLWN5JXRL'); - function _evt_push(type, category, label){ - gtag('event', type, { - 'event_category' : category, - 'event_label' : label - }); - } body h3 How to use: @@ -36,13 +25,13 @@ html h3 eg: Moe Count! - i Data can access by anyone, please + i(style='color: #FFFFFF') Data can access by anyone, please | DO NOT | enter personal information details summary(style='display: inline-block;', onclick='_evt_push("click", "normal", "more_theme")') - h3(style='display: inline-block; cursor: pointer;') More theme + h3(style='display: inline-block; cursor: pointer;') More themes p(style='margin: 0;') Just use the query parameters theme, like this: #{site}/get/@:name?theme=moebooru h5 asoul img(src='#{site}/get/@demo?theme=asoul', alt='A-SOUL') @@ -57,22 +46,22 @@ html h5 gelbooru-h img(src='#{site}/get/@demo?theme=gelbooru-h', alt='Gelbooru-Hentai') - h3 Credits - ul - li - a(href='https://repl.it/', target='_blank', rel='nofollow') repl.it - li - a(href='https://space.bilibili.com/703007996', target='_blank', title='A-SOUL_Official') A-SOUL - li - a(href='https://github.com/moebooru/moebooru', target='_blank', rel='nofollow') moebooru - li - a(href='javascript:alert("!!! NSFW LINK !!!\\nPlease enter the url manually")') rule34.xxx - | NSFW - li - a(href='javascript:alert("!!! NSFW LINK !!!\\nPlease enter the url manually")') gelbooru.com - | NSFW - li - a(href='https://icons8.com/icons/set/star', target='_blank', rel='nofollow') Icons8 + // h3 Credits + // ul + // li + // a(href='https://repl.it/', target='_blank', rel='nofollow') repl.it + // li + // a(href='https://space.bilibili.com/703007996', target='_blank', title='A-SOUL_Official') A-SOUL + // li + // a(href='https://github.com/moebooru/moebooru', target='_blank', rel='nofollow') moebooru + // li + // a(href='javascript:alert("!!! NSFW LINK !!!\\nPlease enter the url manually")') rule34.xxx + // | NSFW + // li + // a(href='javascript:alert("!!! NSFW LINK !!!\\nPlease enter the url manually")') gelbooru.com + // | NSFW + // li + // a(href='https://icons8.com/icons/set/star', target='_blank', rel='nofollow') Icons8 h3 Tool .tool @@ -108,6 +97,5 @@ html p.copy a(href='https://github.com/journey-ad/Moe-Counter', target='_blank', onclick='_evt_push("click", "normal", "go_github")') source code - p.copy - a(href='https://git.zzls.xyz/Fijxu/Moe-Counter', target='_blank', onclick='_evt_push("click", "normal", "go_github")') Modified source code (they are not big) \ No newline at end of file + a(href='https://git.zzls.xyz/Fijxu/Moe-Counter', target='_blank', onclick='_evt_push("click", "normal", "go_github")') Modified source code