diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index 1de1de05..7fd1451b 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -141,14 +141,16 @@ object { } .spoiler { - color: transparent; - text-shadow: 0 0 5px rgba(0,0,0,1); - transition: color 0.2s, text-shadow 0.2s; + background: black; + color: black; } .spoiler:hover { + color: white; +} + +.spoiler:not(:hover) * { color: black; - text-shadow: none; } .mode { @@ -196,7 +198,7 @@ object { } pre a, a:hover { - color: #d00!important; + color: #d00; } .thread, .action-wrapper, .form-wrapper, .table-container { @@ -306,6 +308,7 @@ td, th { text-shadow: #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px; color: white; padding: 0px 2px; + border: 1px solid rgba(0, 0, 0, 0.4); } .post-check { @@ -316,7 +319,7 @@ td, th { .post-files { float: left; - margin-right: 10px; + margin: 5px 10px 0 0; display: flex; flex-flow: row wrap; align-items: start; @@ -444,12 +447,9 @@ input textarea { font-weight: bold; } -.post-container.op .post-info, .catalog-tile-content .post-info { - background: none; -} - - .post-info { + background-color: #00000010; + border-bottom: 1px solid #00000010; margin: -5px; padding: 5px; padding-left: 3px; @@ -460,6 +460,11 @@ input textarea { margin-top: -2px; } +.post-container.op .post-info, .catalog-tile .post-info { + background: none; + border: none; +} + .nav-item { line-height: 38px; text-decoration: none; @@ -604,6 +609,7 @@ hr { } .post-container { + box-shadow: none; width: 100%; } diff --git a/helpers/markdown.js b/helpers/markdown.js index a882cf6c..3c3dcdf5 100644 --- a/helpers/markdown.js +++ b/helpers/markdown.js @@ -6,7 +6,7 @@ const Posts = require(__dirname+'/../db/posts.js') , boldRegex = /""(.+)""/gm , titleRegex = /==(.+)==/gm , italicRegex = /__(.+)__/gm - , linkRegex = /https?\:\/\/[^\s]+/g + , linkRegex = /https?\:\/\/[^\s<>\[\]{}|\\^]+/g , spoilerRegex = /\|\|(.+)\|\|/gm , detectedRegex = /(\(\(\(.+\)\)\))/gm , codeRegex = /^```\s([\s\S]+)\s```/gm; diff --git a/views/includes/stickynav.pug b/views/includes/stickynav.pug index 0d2e4d95..6ed93a2b 100644 --- a/views/includes/stickynav.pug +++ b/views/includes/stickynav.pug @@ -1,4 +1,4 @@ nav.stickynav - a(href='#bottom') ▼ - | - a(href='#top') ▲ + a(href='#bottom') [▼] + | + a(href='#top') [▲]