Commit b32c01d8 authored by Artemis's avatar Artemis 🐱

Fixed minor integration bugs:

- Set correct theme for "show" background
- enabled purgecss
- fixed title font size to be uniform
- cleaned fucked up CSS rule
parent e4bb679a
......@@ -12,3 +12,6 @@ h1:before {
h2:before {
content: '## ';
}
.bg-theme {
background-color: #23241f;
}
......@@ -6,12 +6,12 @@ module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer'),
// require('@fullhuman/postcss-purgecss')({
// content: [
// './*.html'
// ],
// defaultExtractor: c => c.match(/[A-Za-z0-9-_:/]+/g) || []
// }),
require('@fullhuman/postcss-purgecss')({
content: [
'./templates/*.html'
],
defaultExtractor: c => c.match(/[A-Za-z0-9-_:/]+/g) || []
}),
require('cssnano')
]
};
......@@ -7,7 +7,7 @@
{{end}}
{{define "nav"}}
<nav class="text-black">
<a class="inline-block font-bold text-xl pr-2" href="/">Paste</a>
<a class="inline-block font-bold text-3xl pr-2" href="/">Paste</a>
<a href="/about" class="underline text-blue-500 font-medium">About</a>
</nav>
{{end}}
......@@ -6,8 +6,8 @@
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/monokai-sublime.min.css">
</head>
<body>
<header class="8 bg-gray-200 flex flex-wrap justify-between items-center p-2">
<body class="bg-theme">
<header class="bg-gray-200 flex flex-wrap justify-between items-center p-2">
{{template "nav"}}
<fieldset class="shadow-xl rounded bg-white text-black">
<a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment