diff options
author | Sebastian Pech <windows@spech.de> | 2020-11-08 16:16:48 +0300 |
---|---|---|
committer | Sebastian Pech <windows@spech.de> | 2020-11-08 16:16:48 +0300 |
commit | eb8abdf7f12b5fa81d2dea2190e4e8243d30ebc9 (patch) | |
tree | 47eb8cbc216c9ec007b1f751f84e1b5a63c4c5b7 | |
parent | 0fa1fab78ee385d3756617e9d3ca2767404e9e13 (diff) |
Print style, Screenshot
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | assets/css/main.css | 15 | ||||
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | images/screenshot.png | bin | 328 -> 195716 bytes | |||
-rw-r--r-- | images/tn.png | bin | 211 -> 122909 bytes | |||
-rw-r--r-- | theme.toml | 2 |
6 files changed, 19 insertions, 4 deletions
@@ -30,6 +30,7 @@ Other themes by Sebastian Pech: [Bootstrap-BP](https://github.com/spech66/bootst ## Features - Color themes +- Print css media - SEO best practices supported (Schema.org, open graph, meta information, ...) - Automatically resizing of images - One minified file per ressource only (js, css) @@ -70,11 +71,11 @@ hugo server --themesDir ../.. ## Configuration and theme specific settings -TODO +None yet. See `config.toml` in the `exampleSite` folder for best settings. ## Screenshots of cofigurations -![CV Theme](https://raw.githubusercontent.com/spech66/flex-bp-hugo-cv/master/images/tn.png) +![CV Theme](https://raw.githubusercontent.com/spech66/flex-bp-hugo-cv/main/images/tn.png) ## Google Analytics diff --git a/assets/css/main.css b/assets/css/main.css index 3340bd3..d9fc0ae 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -269,3 +269,18 @@ body.dark-theme nav ul li.active { body.dark-theme .fabs .btn { background: #444444; } + +/******************************************************************************* + * print + ******************************************************************************/ + +@media print { + h1, h2, h3, h4, h5, h6, .listsimple ::marker, a, a:visited { + color: #000000; + background-color: #ffffff; + border-color: #000000; + } + .fabs, .sidebar, footer, .tag, .list-inline-item { + display: none; + } +} diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 893cfab..ec08df3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -40,7 +40,6 @@ theme="flex-bp-hugo-cv" [params] description = "Text about the site" customDateFormat = "01/2006" # "02.01.2006" - # themeColor="light" # dark, light # js=["/js/test_site.js"] # css=["/css/test_site.css"] # csscdn=["https://fonts.googleapis.com/css?family=Concert+One|Roboto&display=swap"] diff --git a/images/screenshot.png b/images/screenshot.png Binary files differindex 715e4cb..6458387 100644 --- a/images/screenshot.png +++ b/images/screenshot.png diff --git a/images/tn.png b/images/tn.png Binary files differindex 4398672..654f6f7 100644 --- a/images/tn.png +++ b/images/tn.png @@ -6,7 +6,7 @@ license = "MIT" licenselink = "https://github.com/spech66/flex-bp-hugo-cv/blob/master/LICENSE" description = "Flexbox based Hugo CV theme which provides out of the box best practices." homepage = "https://github.com/spech66/flex-bp-hugo-cv/" -tags = ["minimalist", "minimal", "cv", "resume", "clean", "simple", "responsive", "google analytics", "light", "fast", "dark", "pages", "font awesome", "fontawesome", "multilingual", "customizable", "mobile"] +tags = ["minimalist", "minimal", "cv", "flexbox", "printable", "resume", "clean", "simple", "responsive", "google analytics", "light", "fast", "dark", "pages", "font awesome", "fontawesome", "multilingual", "customizable", "mobile"] features = ["responsive", "google analytics", "open graph", "twitter cards"] min_version = "0.57.0" |