feature/redesign #3
|
@ -1,7 +1,7 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
<div class="max-w-screen-xl mx-auto">
|
<div class="max-w-screen-xl mx-auto mt-4">
|
||||||
<article class="prose prose-a:text-primary prose-a:no-underline hover:prose-a:underline">
|
<article class="prose prose-a:text-primary prose-a:no-underline hover:prose-a:underline prose-h1:font-title prose-h1:font-bold">
|
||||||
{{ partial "headline-hash.html" .Content }}
|
{{ partial "headline-hash.html" .Content }}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<a class="navbar-item" href="/">
|
<a class="navbar-item" href="/">
|
||||||
<img src="{{ .Site.BaseURL }}images/vikunja-logo-white.svg" alt="{{ .Site.Title }}" class="h-10 my-2"/>
|
<img src="{{ .Site.BaseURL }}images/vikunja-logo-white.svg" alt="{{ .Site.Title }}" class="h-10 my-2"/>
|
||||||
</a>
|
</a>
|
||||||
<div id="navMenu" class="text-white flex">
|
<div id="navMenu" class="text-white flex font-title font-semibold">
|
||||||
{{ $currentNode := .Page }}{{ range .Site.Menus.page }}
|
{{ $currentNode := .Page }}{{ range .Site.Menus.page }}
|
||||||
<a class="block h-full py-4 px-2 hover:bg-primary-darker {{ if $currentNode.IsMenuCurrent "page" . }}bg-primary-darker{{ end }}" href="{{ .URL }}">
|
<a class="block h-full py-4 px-2 hover:bg-primary-darker {{ if $currentNode.IsMenuCurrent "page" . }}bg-primary-darker{{ end }}" href="{{ .URL }}">
|
||||||
{{ .Name }}
|
{{ .Name }}
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
@import url('/fonts/fonts.css');
|
||||||
|
|
||||||
|
/* Setting a base font size */
|
||||||
|
body {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
.prose h1,
|
||||||
|
.prose h2,
|
||||||
|
.prose h3,
|
||||||
|
.prose h4,
|
||||||
|
.prose h5,
|
||||||
|
.prose h6 {
|
||||||
|
@apply font-title font-semibold;
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: [
|
content: [
|
||||||
'./src/*.css',
|
'./src/*.css',
|
||||||
|
@ -11,7 +13,10 @@ module.exports = {
|
||||||
DEFAULT: '#196aff',
|
DEFAULT: '#196aff',
|
||||||
darker: '#0064ff',
|
darker: '#0064ff',
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
fontFamily: {
|
||||||
|
title: ['Quicksand', ...defaultTheme.fontFamily.sans],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user