diff --git a/README.md b/README.md index 81c1fef..9d1c80f 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Visit the [Settings wiki](https://github.com/nairobilug/pelican-alchemy/wiki/Set - **DESCRIPTION**: Index HTML head `` description. - **LINKS**: A list of tuples (Title, URL) for menu links. - **ICONS**: A list of tuples (Icon, URL) for icon links. +- **BOOTSTRAP_CSS**: URL of Bootstrap CSS file. Use this to enable Boostwatch themes. - **PYGMENTS_STYLE**: Built-in Pygments style for syntax highlighting. - **HIDE_AUTHORS**: Hide the author(s) of an article - useful for single author sites. - **RFG_FAVICONS**: Use a Favicon Generator package. diff --git a/alchemy/static/css/theme.css b/alchemy/static/css/theme.css index 4eee79d..36fb232 100644 --- a/alchemy/static/css/theme.css +++ b/alchemy/static/css/theme.css @@ -1,24 +1,14 @@ +:root { + --alchemy-border: rgba(0,0,0,.1); +} ::selection { - background: #0085a1; - color: #fff; + background: var(--primary); + color: var(--secondary); text-shadow: none; } -body { - background-color: #f5f5f5; -} - -a { - color: #333; -} - -a:focus, -a:hover { - color: #0085a1; -} - blockquote { - color: #818a91; + opacity: .7; font-style: italic; } @@ -38,7 +28,7 @@ hr { } .header { - border-bottom: 1px solid rgba(0,0,0,.1); + border-bottom: 1px solid var(--alchemy-border); } .header img { @@ -62,23 +52,18 @@ hr { } .main { - background-color: #fff; padding: 1.5rem 0; } .footer { - border-top: 1px solid rgba(0,0,0,.1); + border-top: 1px solid var(--alchemy-border); } .highlight pre { - border: 1px solid rgba(0,0,0,.1); + border: 1px solid var(--alchemy-border); padding: 1rem; } -.pagination .page-link { - color: #333; -} - .teaser header ul { list-style: none; padding-left: 0; diff --git a/alchemy/templates/base.html b/alchemy/templates/base.html index 4847a02..97e323a 100644 --- a/alchemy/templates/base.html +++ b/alchemy/templates/base.html @@ -17,7 +17,7 @@ {% endif %} - + diff --git a/alchemy/templates/include/pagination.html b/alchemy/templates/include/pagination.html index cd8ad45..3b39a5c 100644 --- a/alchemy/templates/include/pagination.html +++ b/alchemy/templates/include/pagination.html @@ -9,7 +9,7 @@ {% endif %} -
  • +
  • {{ articles_page.number }} of {{ articles_paginator.num_pages }}
  • {% if articles_page.has_next() %}