From 5532e66c6f4ceaa10aad7655d869acc7540ffdf0 Mon Sep 17 00:00:00 2001 From: Teemu Kontio <teemu.kontio@jamk.fi> Date: Wed, 25 Nov 2020 12:52:41 +0200 Subject: [PATCH] Changed font to Lato. Add styling to links. --- .gitignore | 1 + assets/extra.css | 21 +++++++++++++++++---- docs/assets/extra.css | 21 +++++++++++++++++---- dokumentit/assets/extra.css | 21 +++++++++++++++++---- mkdocs.yml | 5 ++--- 5 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b6c36e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +lightgallery-markdown diff --git a/assets/extra.css b/assets/extra.css index 4ec4d3f..e08e9df 100644 --- a/assets/extra.css +++ b/assets/extra.css @@ -41,10 +41,23 @@ td > a:hover { color: #e2066f !important font-weight: bold; } -p > a { - color: #0d004c !important +p > a, +td > a, +li > a { + color: #6442f0 !important; } -p > a:hover { - color: #e2066f !important +p > a:hover, +td > a:hover, +li > a:hover { + color: #0f0093 !important; + text-decoration: underline !important; +} + +.md-typeset h1, +.md-typeset h2, +.md-typeset h3, +.md-typeset h4, +.md-typeset h5 { + font-weight: bold; } \ No newline at end of file diff --git a/docs/assets/extra.css b/docs/assets/extra.css index 52957cd..91d676f 100644 --- a/docs/assets/extra.css +++ b/docs/assets/extra.css @@ -41,10 +41,23 @@ td > a:hover { color: #e2066f !important font-weight: bold; } -p > a { - color: #0d004c !important +p > a, +td > a, +li > a { + color: #6442f0 !important; } -p > a:hover { - color: #e2066f !important +p > a:hover, +td > a:hover, +li > a:hover { + color: #0f0093 !important; + text-decoration: underline !important; +} + +.md-typeset h1, +.md-typeset h2, +.md-typeset h3, +.md-typeset h4, +.md-typeset h5 { + font-weight: bold; } \ No newline at end of file diff --git a/dokumentit/assets/extra.css b/dokumentit/assets/extra.css index 4ec4d3f..e08e9df 100644 --- a/dokumentit/assets/extra.css +++ b/dokumentit/assets/extra.css @@ -41,10 +41,23 @@ td > a:hover { color: #e2066f !important font-weight: bold; } -p > a { - color: #0d004c !important +p > a, +td > a, +li > a { + color: #6442f0 !important; } -p > a:hover { - color: #e2066f !important +p > a:hover, +td > a:hover, +li > a:hover { + color: #0f0093 !important; + text-decoration: underline !important; +} + +.md-typeset h1, +.md-typeset h2, +.md-typeset h3, +.md-typeset h4, +.md-typeset h5 { + font-weight: bold; } \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 7630d48..fc1db9e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -30,15 +30,14 @@ theme: palette: scheme: default font: - text: 'Sofia-Pro' - code: 'Roboto Mono' + text: 'Lato' + code: 'Lato' logo: 'assets/opf-logo-musta-tekstilla.png' features: - instant extra_css: - assets/extra.css - https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.7.3/css/lightgallery.min.css - - https://use.typekit.net/yom0dkv.css extra_javascript: - https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js - https://cdnjs.cloudflare.com/ajax/libs/lightgallery/1.7.3/js/lightgallery-all.js -- GitLab