diff --git a/README b/README-sprintdoc.txt similarity index 100% rename from README rename to README-sprintdoc.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d10690 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +FAFO template for DokuWiki +-------------------------- +This is a modified version of the [sprintdoc](github.com/cosmocode/dokuwiki-template-sprintdoc) template. + +If you install this template manually, make sure it is installed in `lib/tpl/sprintdoc/` – if the folder is called different it will not work! + +Original README: [`README-sprintdoc.txt`](./README-sprintdoc.txt) diff --git a/css/area_footer.less b/css/area_footer.less index bc11b5a..2f2195a 100755 --- a/css/area_footer.less +++ b/css/area_footer.less @@ -35,7 +35,6 @@ .main-footer { position: relative; box-sizing: border-box; - background-color: @ini_background_site; margin-top: 5px; // for box-shadow of content text-align: center; } diff --git a/css/area_header.less b/css/area_header.less index 50588a8..23f3d14 100755 --- a/css/area_header.less +++ b/css/area_header.less @@ -85,12 +85,13 @@ /* + + + wiki title + + + */ p.title { - background-color: @ini_background_site; opacity: @header-font-opacity; color: @ini_text_webframe; line-height: @line-height-default; margin-bottom: .5rem; + font-weight: bold; + @media @screen_min-md { font-size: @font-size-big; } diff --git a/css/base.less b/css/base.less index 5a858ef..ca77f34 100755 --- a/css/base.less +++ b/css/base.less @@ -5,8 +5,8 @@ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* global vars */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ -@font_family_screen: arial, sans-serif; -@font_family_print: "Times New Roman", serif; +@font_family_screen: "Roboto Slab", arial, sans-serif; +@font_family_print: "Roboto Slab", arial, sans-serif; @nav_direct_background: @ini_background; @nav_direct_color: @ini_existing; @@ -36,7 +36,7 @@ @box-shadow-bottom: 0 .1em .5em rgba(153,153,153,.5); // qc-wrapper (breadcrumb), struct inline-editor /* + + + for programmers customizing + + + */ -@fix_border-radius: 3px; // inputs, editbox (textarea), buttons, content, code, quicksearch, msg +@fix_border-radius: 0; // inputs, editbox (textarea), buttons, content, code, quicksearch, msg @toggle-showsidebar_width: 3.47rem; // shown sidebar after toggle diff --git a/css/base_design.less b/css/base_design.less index cb9792f..560e5eb 100755 --- a/css/base_design.less +++ b/css/base_design.less @@ -5,7 +5,9 @@ html, body { - background-color: @ini_background_site; + background-image: url("images/fafo-background.png"); + background-repeat: no-repeat; + background-color: #d9d9d9; } /* highlight selected tool */ @@ -498,15 +500,15 @@ pre, code, samp, kbd { - font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; + font-family: "Courier Prime", "Courier New", Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, monospace; /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */ font-size: @font-size-default; direction: ltr; text-align: left; background-color: @code-background; color: @noopentasks-color; - box-shadow: inset 0 0 .3em @noopentasks-border; - border-radius: @fix_border-radius; + box-shadow: none; + border-radius: 0; padding-left: @small-spacing; padding-right: @small-spacing; diff --git a/css/base_mixins.less b/css/base_mixins.less index 6d3b840..1e0ea44 100755 --- a/css/base_mixins.less +++ b/css/base_mixins.less @@ -25,6 +25,60 @@ } } +/* roboto-slab-regular - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Roboto Slab'; + font-style: normal; + font-weight: 400; + src: url('fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* roboto-slab-700 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Roboto Slab'; + font-style: normal; + font-weight: 700; + src: url('fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* courier-prime-regular - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Courier Prime'; + font-style: normal; + font-weight: 400; + src: url('fonts/courier-prime-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* courier-prime-italic - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Courier Prime'; + font-style: italic; + font-weight: 400; + src: url('fonts/courier-prime-v11-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* courier-prime-700 - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Courier Prime'; + font-style: normal; + font-weight: 700; + src: url('fonts/courier-prime-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + +/* courier-prime-700italic - latin */ +@font-face { + font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ + font-family: 'Courier Prime'; + font-style: italic; + font-weight: 700; + src: url('fonts/courier-prime-v11-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +} + .fontello() { &::before { font-family: "fontello"; diff --git a/css/plugins/approve.less b/css/plugins/approve.less index 356c3cd..2d73ed5 100644 --- a/css/plugins/approve.less +++ b/css/plugins/approve.less @@ -9,6 +9,7 @@ @media screen { #plugin__approve { display: none; // initial + position: relative; padding: 2rem 1rem; clear: both; } diff --git a/fonts/courier-prime-v11-latin-700.woff2 b/fonts/courier-prime-v11-latin-700.woff2 new file mode 100644 index 0000000..2d36acc Binary files /dev/null and b/fonts/courier-prime-v11-latin-700.woff2 differ diff --git a/fonts/courier-prime-v11-latin-700italic.woff2 b/fonts/courier-prime-v11-latin-700italic.woff2 new file mode 100644 index 0000000..4bf1fb6 Binary files /dev/null and b/fonts/courier-prime-v11-latin-700italic.woff2 differ diff --git a/fonts/courier-prime-v11-latin-italic.woff2 b/fonts/courier-prime-v11-latin-italic.woff2 new file mode 100644 index 0000000..da0d87c Binary files /dev/null and b/fonts/courier-prime-v11-latin-italic.woff2 differ diff --git a/fonts/courier-prime-v11-latin-regular.woff2 b/fonts/courier-prime-v11-latin-regular.woff2 new file mode 100644 index 0000000..42dadfe Binary files /dev/null and b/fonts/courier-prime-v11-latin-regular.woff2 differ diff --git a/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-700.woff2 b/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-700.woff2 new file mode 100644 index 0000000..0edf2f7 Binary files /dev/null and b/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-700.woff2 differ diff --git a/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-regular.woff2 b/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-regular.woff2 new file mode 100644 index 0000000..f55bf37 Binary files /dev/null and b/fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-regular.woff2 differ diff --git a/images/fafo-background.png b/images/fafo-background.png new file mode 100644 index 0000000..1d5bc19 Binary files /dev/null and b/images/fafo-background.png differ diff --git a/style.ini b/style.ini index e690a12..93e0977 100755 --- a/style.ini +++ b/style.ini @@ -171,9 +171,9 @@ __highlight_text__ = "#252525" ; @ini_highlight_text ; these are used for links -__existing__ = "#286DA8" ; @ini_existing +__existing__ = "#0faf00" ; @ini_existing __missing__ = "#CD5360" ; @ini_missing -__link__ = "#286DA8" ; @ini_link +__link__ = "#0faf00" ; @ini_link ; buttons: submit, links styled like buttons, togglebuttons @@ -188,7 +188,7 @@ __link_alt__ = "#286DA8" ; @ini_link_alt ; border color __border__ = "#BBB" ; @ini_border (guaranteed for every plugin) -__default_border_radius__ = "3px" ; @ini_default_border_radius +__default_border_radius__ = "0" ; @ini_default_border_radius ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/template.info.txt b/template.info.txt index 3257267..a85b63e 100755 --- a/template.info.txt +++ b/template.info.txt @@ -1,7 +1,7 @@ base sprintdoc author Jana Deutschlaender email dokuwiki@cosmocode.de -date 2025-09-23 +date 2026-03-03 name sprintDoc Template desc modern, responsive template that integrates multiple plugins url https://www.dokuwiki.org/template:sprintdoc