diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index 4f7204db..68eb9465 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -137,11 +137,14 @@ object { } .spoiler { - background: black; + color: transparent; + text-shadow: 0 0 5px rgba(0,0,0,1); + transition: color 0.2s, text-shadow 0.2s; } .spoiler:hover { - color: white; + color: black; + text-shadow: none; } .mode { diff --git a/helpers/render.js b/helpers/render.js index d72d0d01..e5f543ac 100644 --- a/helpers/render.js +++ b/helpers/render.js @@ -8,6 +8,6 @@ const configs = require(__dirname+'/../configs/main.json') , templateDirectory = path.join(__dirname+'/../views/pages/'); module.exports = async (htmlName, templateName, options) => { - const html = pug.renderFile(`${templateDirectory}${templateName}`, { ...options, cache: configs.cacheTemplates, opengraph: configs.openGraph }); + const html = pug.renderFile(`${templateDirectory}${templateName}`, { ...options, cache: configs.cacheTemplates, openGraph: configs.openGraph }); return outputFile(`${uploadDirectory}html/${htmlName}`, html); };