diff --git a/themes/hellug-minimal/LICENSE b/themes/hellug-minimal-4/LICENSE similarity index 100% rename from themes/hellug-minimal/LICENSE rename to themes/hellug-minimal-4/LICENSE diff --git a/themes/hellug-minimal/archetypes/default.md b/themes/hellug-minimal-4/archetypes/default.md similarity index 100% rename from themes/hellug-minimal/archetypes/default.md rename to themes/hellug-minimal-4/archetypes/default.md diff --git a/themes/hellug-minimal/layouts/404.html b/themes/hellug-minimal-4/layouts/404.html similarity index 100% rename from themes/hellug-minimal/layouts/404.html rename to themes/hellug-minimal-4/layouts/404.html diff --git a/themes/hellug-minimal/layouts/_default/baseof.html b/themes/hellug-minimal-4/layouts/_default/baseof.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/baseof.html rename to themes/hellug-minimal-4/layouts/_default/baseof.html diff --git a/themes/hellug-minimal/layouts/_default/events.html b/themes/hellug-minimal-4/layouts/_default/events.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/events.html rename to themes/hellug-minimal-4/layouts/_default/events.html diff --git a/themes/hellug-minimal/layouts/_default/list.html b/themes/hellug-minimal-4/layouts/_default/list.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/list.html rename to themes/hellug-minimal-4/layouts/_default/list.html diff --git a/themes/hellug-minimal/layouts/_default/meetups.html b/themes/hellug-minimal-4/layouts/_default/meetups.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/meetups.html rename to themes/hellug-minimal-4/layouts/_default/meetups.html diff --git a/themes/hellug-minimal/layouts/_default/news.html b/themes/hellug-minimal-4/layouts/_default/news.html similarity index 88% rename from themes/hellug-minimal/layouts/_default/news.html rename to themes/hellug-minimal-4/layouts/_default/news.html index 4cf9245..80830ab 100644 --- a/themes/hellug-minimal/layouts/_default/news.html +++ b/themes/hellug-minimal-4/layouts/_default/news.html @@ -6,19 +6,21 @@
+
{{ partial "breadcrump.html"}} -
+

{{ .Title }}

{{- dateFormat "02/01/2006" .Date }}
{{.Content}}
-
{{ partial "footer.html" . }} diff --git a/themes/hellug-minimal/layouts/_default/pages.html b/themes/hellug-minimal-4/layouts/_default/pages.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/pages.html rename to themes/hellug-minimal-4/layouts/_default/pages.html diff --git a/themes/hellug-minimal/layouts/_default/single.html b/themes/hellug-minimal-4/layouts/_default/single.html similarity index 85% rename from themes/hellug-minimal/layouts/_default/single.html rename to themes/hellug-minimal-4/layouts/_default/single.html index b39ce90..3b92ed3 100644 --- a/themes/hellug-minimal/layouts/_default/single.html +++ b/themes/hellug-minimal-4/layouts/_default/single.html @@ -7,14 +7,16 @@ {{ partial .Params.bannertemplate . }}
-
+
+
{{.Content}} -
-
diff --git a/themes/hellug-minimal/layouts/_default/terms.html b/themes/hellug-minimal-4/layouts/_default/terms.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/terms.html rename to themes/hellug-minimal-4/layouts/_default/terms.html diff --git a/themes/hellug-minimal/layouts/_default/tests.html b/themes/hellug-minimal-4/layouts/_default/tests.html similarity index 100% rename from themes/hellug-minimal/layouts/_default/tests.html rename to themes/hellug-minimal-4/layouts/_default/tests.html diff --git a/themes/hellug-minimal/layouts/index.html b/themes/hellug-minimal-4/layouts/index.html similarity index 60% rename from themes/hellug-minimal/layouts/index.html rename to themes/hellug-minimal-4/layouts/index.html index 57afd44..d0cf423 100644 --- a/themes/hellug-minimal/layouts/index.html +++ b/themes/hellug-minimal-4/layouts/index.html @@ -1,17 +1,25 @@ {{- partial "head.html" . }}
- -{{ if .Params.bannertemplate }} -{{ partial .Params.bannertemplate . }} -{{else}} -{{ partial "hellug-banner.html" . }} -{{end}} +{{- if .Params.bannertemplate }} +{{- partial .Params.bannertemplate . }} +{{- else}} +{{- partial "hellug-banner.html" . }} +{{- end }} {{- partial "header.html" . }}
-
+ +{{- partial "welcome.html" . }} + + + +{{- partial "notice.html" . }} + + +
+
{{- $counter := 0 }} {{- $pages := .Site.RegularPages }} {{- $recentpostlimit := (sub now.Unix 2592000 ) }} @@ -20,16 +28,17 @@ {{- if eq $counter 1 }}

{{ .Title }}

-{{- dateFormat "02/01/2006" .Date }} -{{ if lt $recentpostlimit .Date.Unix }} - Nέο{{- end }} +{{- dateFormat "02/01/2006" .Date }} +{{- if lt $recentpostlimit .Date.Unix }} +Nέο +{{- end }} -
{{ .Summary | plainify | safeHTML }} +
{{- .Summary | plainify | safeHTML }}
{{- else }}

{{ .Title }}

-{{- dateFormat "02/01/2006" .Date }} +{{- dateFormat "02/01/2006" .Date }} {{ if lt $recentpostlimit .Date.Unix }} Nέο {{- end }} @@ -39,11 +48,12 @@
{{- end}} {{- end }} +
-
-
diff --git a/themes/hellug-minimal/layouts/partials/breadcrump.html b/themes/hellug-minimal-4/layouts/partials/breadcrump.html similarity index 100% rename from themes/hellug-minimal/layouts/partials/breadcrump.html rename to themes/hellug-minimal-4/layouts/partials/breadcrump.html diff --git a/themes/hellug-minimal-4/layouts/partials/carousel.html b/themes/hellug-minimal-4/layouts/partials/carousel.html new file mode 100644 index 0000000..cf47185 --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/carousel.html @@ -0,0 +1 @@ +Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία diff --git a/themes/hellug-minimal/layouts/partials/column2.html b/themes/hellug-minimal-4/layouts/partials/column2.html similarity index 67% rename from themes/hellug-minimal/layouts/partials/column2.html rename to themes/hellug-minimal-4/layouts/partials/column2.html index 42e45a4..fd7a561 100644 --- a/themes/hellug-minimal/layouts/partials/column2.html +++ b/themes/hellug-minimal-4/layouts/partials/column2.html @@ -34,7 +34,3 @@ {{- range .Site.Data.main.links.hellug }} {{ .name }}
{{- end }} -

Ακολουθήστε τον HEL.L.U.G.

- - - diff --git a/themes/hellug-minimal-4/layouts/partials/footer.html b/themes/hellug-minimal-4/layouts/partials/footer.html new file mode 100644 index 0000000..48ef36f --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/footer.html @@ -0,0 +1,29 @@ + + + diff --git a/themes/hellug-minimal/layouts/partials/head.html b/themes/hellug-minimal-4/layouts/partials/head.html similarity index 81% rename from themes/hellug-minimal/layouts/partials/head.html rename to themes/hellug-minimal-4/layouts/partials/head.html index 963cf53..acf5607 100644 --- a/themes/hellug-minimal/layouts/partials/head.html +++ b/themes/hellug-minimal-4/layouts/partials/head.html @@ -8,10 +8,11 @@ - + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + diff --git a/themes/hellug-minimal-4/layouts/partials/header.html b/themes/hellug-minimal-4/layouts/partials/header.html new file mode 100644 index 0000000..f616a5e --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/header.html @@ -0,0 +1,24 @@ + + + diff --git a/themes/hellug-minimal-4/layouts/partials/hellug-banner.html b/themes/hellug-minimal-4/layouts/partials/hellug-banner.html new file mode 100644 index 0000000..c26f263 --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/hellug-banner.html @@ -0,0 +1 @@ +Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία diff --git a/themes/hellug-minimal/layouts/partials/null.html b/themes/hellug-minimal-4/layouts/partials/notice.html similarity index 100% rename from themes/hellug-minimal/layouts/partials/null.html rename to themes/hellug-minimal-4/layouts/partials/notice.html diff --git a/themes/hellug-minimal-4/layouts/partials/null.html b/themes/hellug-minimal-4/layouts/partials/null.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/hellug-minimal/layouts/partials/rss.html b/themes/hellug-minimal-4/layouts/partials/rss.html similarity index 100% rename from themes/hellug-minimal/layouts/partials/rss.html rename to themes/hellug-minimal-4/layouts/partials/rss.html diff --git a/themes/hellug-minimal-4/layouts/partials/scripts.html b/themes/hellug-minimal-4/layouts/partials/scripts.html new file mode 100644 index 0000000..c105085 --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/scripts.html @@ -0,0 +1,40 @@ + + + + + + + diff --git a/themes/hellug-minimal-4/layouts/partials/welcome.html b/themes/hellug-minimal-4/layouts/partials/welcome.html new file mode 100644 index 0000000..b0ead04 --- /dev/null +++ b/themes/hellug-minimal-4/layouts/partials/welcome.html @@ -0,0 +1,5 @@ +{{- with .GetPage "pages/welcome" }} +

{{- .Title }}

+{{- .Content}} +
+{{- end }} diff --git a/themes/hellug-minimal-4/static/css/classless.css b/themes/hellug-minimal-4/static/css/classless.css new file mode 100644 index 0000000..886e91b --- /dev/null +++ b/themes/hellug-minimal-4/static/css/classless.css @@ -0,0 +1,382 @@ +/* Classless.css v1.0 + +Table of Contents: + 1. Theme Settings + 2. Reset + 3. Base Style + 4. Extras (remove unwanted) + 5. Classes (remove unwanted) +*/ + +/* 1. Theme Settings ––––––––––––––––––––-–––––––––––––– */ + + +:root, html[data-theme='light'] { + --rem: 12pt; + --width: 50rem; + --navpos: absolute; /* fixed | absolute */ + --font-p: 1em/1.7 'Open Sans', 'DejaVu Sans', FreeSans, Helvetica, sans-serif; + --font-h: .9em/1.5 'Open Sans', 'DejaVu Sans', FreeSans, Helvetica, sans-serif; + --font-c: .9em/1.4 'DejaVu Sans Mono', monospace; + --border: 1px solid var(--cmed); + --ornament: "‹‹‹ ›››"; + /* foreground | background color */ + --cfg: #433; --cbg: #fff; + --cdark: #888; --clight: #f5f6f7; + --cmed: #d1d1d1; + --clink: #07c; + --cemph: #088; --cemphbg: #0881; +} + + +/* 2. Reset –––––––––––––––––––––––––––––––––––––––––––– */ + +/* reset block elements */ +* { box-sizing: border-box; border-spacing: 0; margin: 0; padding: 0;} +header, footer, figure, table, video, details, blockquote, +ul, ol, dl, fieldset, pre, pre > code, caption { + display: block; + margin: 0.5rem 0rem 1rem; + width: 100%; + overflow: auto hidden; + text-align: left; +} +video, summary, input, select { outline:none; } + +/* reset clickable things (FF Bug: select:hover prevents usage) */ +a, button, select, summary { color: var(--clink); cursor: pointer; } + + +/* 3. Base Style ––––––––––––––––––––––––––––––––––––––– */ +html { font-size: var(--rem); background: var(--cbg); } +body { + position: relative; + margin: auto; + max-width: var(--width); + font: var(--font-p); + color: var(--cfg); + padding: 3.0rem 0.6rem 0; + overflow-x: hidden; +} +body > footer { margin: 10rem 0rem 0rem; font-size: 90%; } +p { margin: .6em 0; } + +/* links */ +a[href]{ text-decoration: underline solid var(--cmed); text-underline-position: under; } +a[href^="#"] {text-decoration: none; } +a:hover, button:not([disabled]):hover, summary:hover { + filter: brightness(92%); color: var(--cemph); border-color: var(--cemph); +} + +/* lists */ +ul, ol, dl { margin: 1rem 0; padding: 0 0 0 2em; } +li:not(:last-child), dd:not(:last-child) { margin-bottom: 0.5rem; } +dt { font-weight: bold; } + +/* headings */ +h1, h2, h3, h4, h5 { margin: 1.5em 0 .5rem; font: var(--font-h); line-height: 1.2em; clear: both; } +h1+h2, h2+h3, h3+h4, h4+h5 { margin-top: .5em; padding-top: 0; } /* non-clashing headings */ +h1 { font-size: 2.2em; font-weight: 300; } +h2 { font-size: 2.0em; font-weight: 300; font-variant: small-caps; } +h3 { font-size: 1.5em; font-weight: 400; } +h4 { font-size: 1.1em; font-weight: 700; } +h5 { font-size: 1.2em; font-weight: 400; color: var(--cfg); } +h6 { font-size: 1.0em; font-weight: 700; font-style: italic; display: inline; } +h6 + p { display: inline; } + +/* tables */ +td, th { + padding: 0.5em 0.8em; + text-align: right; + border-bottom: 0.1rem solid var(--cmed); + white-space: nowrap; + font-size: 95%; +} +thead th[colspan] { padding: .2em 0.8em; text-align: center; } +thead tr:not(:only-child) td { padding: .2em 0.8em; } +thead+tbody tr:first-child td { border-top: 0.1rem solid var(--cdark); } +td:first-child, th:first-child { text-align: left; } +tr:hover{ background-color: var(--clight); } +table img { display: block; } + +/* figures */ +img, svg { max-width: 100%; vertical-align: text-top; object-fit: cover; } +p>img:not(:only-child) { float: right; margin: 0 0 .5em .5em; } +figure > img { display: inline-block; width: auto; } +figure > img:only-of-type, figure > svg:only-of-type { max-width: 100%; display: block; margin: 0 auto 0.4em; } +figcaption, caption { font: var(--font-h); color: var(--cdark); width: 100%; } +figcaption > *:first-child, caption > *:first-child { display: inline-block; margin: 0; } +figure > *:not(:last-child) { margin-bottom: 0.4rem; } + +/* code */ +pre > code { + margin: 0; + position: relative; + padding: 0.8em; + border-left: .4rem solid var(--cemph); +} +code, kbd, samp { + padding: 0.2em; + font: var(--font-c); + background: var(--clight); + border-radius: 4px; +} +kbd { border: 1px solid var(--cmed); } + +/* misc */ +blockquote { border-left: 0.4rem solid var(--cmed); padding: 0 0 0 1rem; } +time{ color: var(--cdark); } +hr { border: 0; border-top: 0.1rem solid var(--cmed); } +nav { width: 100%; background-color: var(--clight); } +::selection, mark { background: var(--clink); color: var(--cbg); } + + +/* 4. Extra Style –––––––––––––––––––––––––––––––––––––– */ + +/* Auto Numbering: figure/tables/headings/cite */ +article { counter-reset: h2 0 h3 0 tab 0 fig 0 lst 0 ref 0 eq 0; } +article figure figcaption:before { + color: var(--cemph); + counter-increment: fig; + content: "Figure " counter(fig) ": "; +} + +/* subfigures */ +figure { counter-reset: subfig 0 } +article figure figure { counter-reset: none; } +article figure > figure { display: inline-grid; width: auto; } +figure > figure:not(:last-of-type) { padding-right: 1rem; } +article figure figure figcaption:before { + counter-increment: subfig 1; + content: counter(subfig, lower-alpha) ": "; +} + +/* listings */ +article figure pre + figcaption:before { + counter-increment: lst 1; + content: "Listing " counter(lst) ": "; +} + +/* tables */ +figure > table:only-of-type { display: table; margin: 0.5em auto !important; width: fit-content; } +article figure > table caption { display: table-caption; caption-side: bottom; } +article figure > table + figcaption:before, +article table caption:before { + color: var(--cemph); + counter-increment: tab 1; + content: "Table " counter(tab) ": "; +} + +/* headings */ +article h2, h3 { position: relative; } +article h2:before, +article h3:before { + display: inline-block; + position: relative; + font-size: 0.6em; + text-align: right; + vertical-align: baseline; + left: -1rem; + width: 2.5em; + margin-left: -2.5em; +} +article h1 { counter-set: h2; } +article h2:before { counter-increment: h2; content: counter(h2) ". "; counter-set: h3; } +article h3:before { counter-increment: h3; content: counter(h2) "." counter(h3) ". ";} +@media (max-width: 60rem) { h2:before, h3:before { display: none; } } + +/* tooltip + citation */ +article p>cite:before { + padding: 0 .5em 0 0; + counter-increment: ref; content: " [" counter(ref) "] "; + vertical-align: super; font-size: .6em; +} +article p>cite > *:only-child { display: none; } +article p>cite:hover > *:only-child, +[data-tooltip]:hover:before { + display: inline-block; z-index: 40; + white-space: pre-wrap; + position: absolute; left: 1rem; right: 1rem; + padding: 1em 2em; + text-align: center; + transform:translateY( calc(-100%) ); + content: attr(data-tooltip); + color: var(--cbg); + background-color: var(--cemph); + box-shadow: 0 2px 10px 0 black; +} +[data-tooltip], article p>cite:before { + color: var(--clink); + border: .8rem solid transparent; margin: -.8rem; +} +abbr[title], [data-tooltip] { cursor: help; } + +/* navbar */ +nav+* { margin-top: 3rem; } +body>nav, header nav { + position: var(--navpos); + top: 0; left: 0; right: 0; + z-index: 41; + box-shadow: 0vw -50vw 0 50vw var(--clight), 0 calc(-50vw + 2px) 4px 50vw var(--cdark); +} +nav ul { list-style-type: none; } +nav ul:first-child { margin: 0; padding: 0; overflow: visible; } +nav ul:first-child > li { + display: inline-block; + margin: 0; + padding: 0.8rem .6rem; +} +nav ul > li > ul { + display: none; + width: auto; + position: absolute; + margin: 0.5rem 0; + padding: 1rem 2rem; + background-color: var(--clight); + border: var(--border); + border-radius: 4px; + z-index: 42; +} +nav ul > li > ul > li { white-space: nowrap; } +nav ul > li:hover > ul { display: block; } +@media (max-width: 40rem) { + nav ul:first-child > li:first-child:after { content: " \25BE"; } + nav ul:first-child > li:not(:first-child):not(.sticky) { display: none; } + nav ul:first-child:hover > li:not(:first-child):not(.sticky) { display: block; float: none !important; } +} + +/* details/cards */ +summary>* { display: inline; } +.card, details { + display: block; + margin: 0.5rem 0rem 1rem; + padding: 0 .6rem; + border-radius: 4px; + overflow: hidden; +} +.card, details[open] { outline: 1px solid var(--cmed); } +.card>img:first-child { margin: -3px -.6rem; max-width: calc(100% + 1.2rem); } +summary:hover, details[open] summary, .card>p:first-child { + box-shadow: inset 0 0 0 2em var(--clight), 0 -.8rem 0 .8rem var(--clight); +} +.hint { --cmed: var(--cemph); --clight: var(--cemphbg); background-color: var(--clight); } +.warn { --cmed: #c11; --clight: #e221; background-color: var(--clight); } + +/* big first letter */ +article > section:first-of-type > h2:first-of-type + p:first-letter, +article > h2:first-of-type + p:first-letter, .lettrine { + float: left; + font-size: 3.5em; + padding: 0.1em 0.1em 0 0; + line-height: 0.68em; + color: var(--cemph); +} + +/* ornaments */ +section:after { + display: block; + margin: 1em 0; + color: var(--cmed); + text-align: center; + font-size: 1.5em; + content: var(--ornament); +} + +/* side menu (aside is not intended for use in a paragraph!) */ +main aside { + position: absolute; + width: 8rem; right: -8.6rem; + font-size: 0.8em; line-height: 1.4em; +} +@media (max-width: 70rem) { main aside { display: none; } } + +/* forms and inputs */ +textarea, input:not([type=range]), button, select { + font: var(--font-h); + border-radius: 4px; + border: 1.5px solid var(--cmed); + padding: 0.4em 0.8em; + color: var(--cfg); + background-color: var(--clight); +} +fieldset select, input:not([type=checkbox]):not([type=radio]) { + display: block; + width: 100%; + margin: 0 0 1rem; +} +button, select { + font-weight: bold; + margin: .5em; + border: 1.5px solid var(--clink); +} +button { padding: 0.4em 1em; font-size: 85%; letter-spacing: 0.1em; } +button[disabled]{ color: var(--cdark); border-color: var(--cmed); } +fieldset { border-radius: 4px; border: var(--border); padding: .5em 1em;} +textarea:hover, input:not([type=checkbox]):not([type*='ra']):hover, select:hover{ + border: 1.5px solid var(--cemph); +} +textarea:focus, input:not([type=checkbox]):not([type*='ra']):focus{ + border: 1.5px solid var(--clink); + box-shadow: 0 0 5px var(--clink); +} +p>button { padding: 0 .5em; margin: 0 .5em; } +p>select { padding: 0; margin: 0 .5em; } + + +/* 5. Bootstrap-compatible classes ––––––––––––––––––––– */ + +/* grid */ +.row { display: flex; margin: 0.5rem -0.6rem; align-items: stretch; } +.row [class*="col"] { padding: 0 0.6rem; } +.row .col { flex: 1 1 100%; } +.row .col-2 { flex: 0 0 16.66%; max-width: 16.66%;} +.row .col-3 { flex: 0 0 25%; max-width: 25%;} +.row .col-4 { flex: 0 0 33.33%; max-width: 33.33%; } +.row .col-5 { flex: 0 0 41.66%; max-width: 41.66%; } +.row .col-6 { flex: 0 0 50%; max-width: 50%; } +@media (max-width: 40rem) { .row { flex-direction: column; } } + +/* align */ +.text-left { text-align: left; } +.text-right { text-align: right; } +.text-center { text-align: center; } +.float-left { float: left !important; } +.float-right { float: right !important; } +.clearfix { clear: both; } + +/* colors */ +.text-black { color: #000; } +.text-white { color: #fff; } +.text-primary { color: var(--cemph); } +.text-secondary{ color: var(--cdark); } +.bg-white { background-color: #fff; } +.bg-light { background-color: var(--clight); } +.bg-primary { background-color: var(--cemph); } +.bg-secondary{ background-color: var(--cmed); } + +/* margins */ +.mx-auto { margin-left: auto; margin-right: auto; } +.m-0 { margin: 0 !important; } +.m-1, .mx-1, .mr-1 { margin-right: 1.0rem !important; } +.m-1, .mx-1, .ml-1 { margin-left: 1.0rem !important; } +.m-1, .my-1, .mt-1 { margin-top: 1.0rem !important; } +.m-1, .my-1, .mb-1 { margin-bottom: 1.0rem !important; } + +/* pading */ +.p-0 { padding: 0 !important; } +.p-1, .px-1, .pr-1 { padding-right: 1.0rem !important; } +.p-1, .px-1, .pl-1 { padding-left: 1.0rem !important; } +.p-1, .py-1, .pt-1 { padding-top: 1.0rem !important; } +.p-1, .py-1, .pb-1 { padding-bottom: 1.0rem !important; } + +/* be print-friendly */ +@media print { + @page { margin: 1.5cm 2cm; } + html {font-size: 9pt!important; } + body { max-width: 27cm; } + p { orphans: 2; widows: 2; } + caption, figcaption { page-break-before: avoid; } + h2, h3, h4, h5 { page-break-after: avoid;} + .noprint, body>nav, section:after { display: none; } + .row { flex-direction: row; } +} \ No newline at end of file diff --git a/themes/hellug-minimal-4/static/css/hellug.css b/themes/hellug-minimal-4/static/css/hellug.css new file mode 100644 index 0000000..7b7529d --- /dev/null +++ b/themes/hellug-minimal-4/static/css/hellug.css @@ -0,0 +1,45 @@ +:root, html[data-theme='light'] { + --rem: 16px; + --navpos: absolute; + --width: 960px; + --font-p: 1em/1.6 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; + --font-h: 1em/1.6 "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; + --font-c: .9em/1.4 SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; + --ornament: ""; + --border: 1px solid var(--cmed); + /* foreground | background color */ + --cfg: #212529; --cbg: #fff; + --cdark: #343a40; --clight: #f8f9fa; + --cmed: #6c757d; + --clink: #0d6efd; + --cemph: #7952b3; --cemphbg: #7952b310; +} + +html[data-theme='dark'] { + /* foreground | background color */ + --cfg: #cecbc4; --cbg: #252220; + --cdark: #999; --clight: #333; + --cmed: #566; + --clink: #1ad; + --cemph: #0b9; --cemphbg: #0b91; +} + + +footer > .row { display: flex; margin: 0rem 0rem; align-items: normal; } + +.sitemap { +display: flex; +align-items: normal; +justify-content: space-around; +flex-wrap: wrap; +} + +.sitemap-item { + text-align: left; + vertical-align: top; +} + +main h3, h4 { +margin-bottom: 0.1em; +} + diff --git a/themes/hellug-minimal-4/static/css/silicon_basic.min.css b/themes/hellug-minimal-4/static/css/silicon_basic.min.css new file mode 100644 index 0000000..c714194 --- /dev/null +++ b/themes/hellug-minimal-4/static/css/silicon_basic.min.css @@ -0,0 +1 @@ +/* silicon v1.2.7 */ form,nav{justify-content:center;display:flex}div.vp-l,div.vp-m,div.vp-s,div.vp-xs{margin:4rem auto}*,button,input,select,textarea{box-sizing:border-box;color:var(--color-text)}caption,td,th{text-align:left}button:disabled,button[type=reset],input:disabled,tr:hover :not(th){background-color:var(--color-grey)}a,del,ins,s,u{text-decoration-thickness:var(--border-width)}*,button[type=reset],code,kbd,samp{color:var(--color-text)}blockquote footer,button:disabled,input:disabled,label{color:var(--color-darker-grey)}.flex,form,nav{display:flex}:root{--color-primary:#2c62af;--color-secondary-dark:#263342;--color-secondary:#cfdef3;--color-tertiary:#edf2f6;--color-background:#fff;--color-text:#0c0c0c;--color-border:#0c0c0c;--color-grey:#f1f1f1;--color-dark-grey:#ababab;--color-darker-grey:#818181;--color-green:#cbf5c4;--color-red:#f8b8b8;--color-yellow:#f8efb8;--offset-text-color:#f1f1f1;--font-size:1.07rem;--xs-width:20vw;--small-width:30vw;--medium-width:50vw;--large-width:80vw;--gap:15px;--border-width:2px}@media screen and (max-width:1000px){:root{--xs-width:40vw;--small-width:60vw;--medium-width:70vw;--large-width:80vw}}@media screen and (max-width:500px){:root{--xs-width:90vw;--medium-width:90vw;--small-width:90vw;--large-width:90vw}}*{font-family:sans-serif,system-ui,system-ui}html{background-color:var(--color-background)}body{min-width:var(--small-width);width:min-content;margin:auto}.wide,form,form *{width:100%}h1{font-size:3em}h2{font-size:2.2em}caption,h3{font-size:1.7em}h4{font-size:1.5em}h5{font-size:1.3em}h6{font-size:1.2em}a{font-weight:600;color:var(--color-primary)}nav{align-items:center;gap:3rem}.flex,div.grid.gap,form{gap:var(--gap)}footer{margin:3rem 0}div.vp-xs{width:var(--xs-width);max-width:var(--xs-width)}div.vp-s{width:var(--small-width);max-width:var(--small-width)}div.vp-m{width:var(--medium-width);max-width:var(--medium-width)}div.vp-l{width:var(--large-width);max-width:var(--large-width)}form{align-items:center;flex-flow:column;margin:2rem 0}label{padding-bottom:4px;font-size:var(--font-size)}input[type=checkbox],input[type=range],label{appearance:none;-moz-appearance:none;-webkit-appearance:none;width:fit-content;display:inline-block}button,input,select,textarea{appearance:none;-moz-appearance:none;-webkit-appearance:none;width:100%;padding:.8em;border-radius:4px;background:0 0;border:var(--border-width) solid var(--color-text);outline:0;font-family:sans-serif,system-ui;font-size:var(--font-size);caret-color:var(--color-primary)}code,kbd,samp,var{font-family:monospace}input:focus,input[type=checkbox]:checked:before,input[type=radio]:checked:before,select:focus,textarea:focus{animation:.3s ease-in-out forwards focus_border}button,input[type=submit]{background-color:var(--color-primary);font-weight:600;border:none;color:var(--offset-text-color);cursor:pointer;padding:.4rem 1.2rem}::-moz-selection,::selection{background-color:var(--color-primary);color:var(--color-background);border-radius:4px}button{width:initial;margin:0 4px}button:disabled,input:disabled{font-weight:500;border:var(--border-width) dashed var(--color-darker-grey)}button:disabled{padding:calc(.4rem - var(--border-width)) calc(1.2rem - var(--border-width))}button:disabled:hover,input:disabled:hover{cursor:not-allowed}button[type=reset]{font-weight:600}button:active,input[type=submit]:active{transform:translateY(1px)}button:disabled:active{transform:none}input[type=color]{padding:14px 4px;appearance:none;-moz-appearance:none;-webkit-appearance:none}@-moz-document url-prefix(){input[type=color]{padding:6px}}input[type=color]::-webkit-color-swatch{height:16px;box-sizing:border-box;padding:0;transform:translateY(-8px);border-radius:3px;border:none}input[type=color]::-moz-color-swatch{border-radius:3px;height:16px;border:none}input[type=range]{height:32px;-webkit-appearance:none;margin:0;width:100%;border:0;display:block}input[type=range]::-webkit-slider-runnable-track{width:100%;height:10px;cursor:pointer;background:var(--color-background);border-radius:4px;border:var(--border-width) solid var(--color-text);-webkit-appearance:none;padding:0}input[type=range]::-webkit-slider-thumb{border:var(--border-width) solid var(--color-text);height:16px;width:16px;border-radius:4px;cursor:pointer;-webkit-appearance:none;transform:translateY(-5px);background:var(--color-text);box-shadow:inset -3px -3px 0 var(--color-background),inset 3px 3px 0 var(--color-background),inset 3px -3px 0 var(--color-background),inset -3px 3px 0 var(--color-background)}input[type=range]::-moz-range-track{width:100%;height:6px;cursor:pointer;background:var(--color-background);border-radius:4px;border:var(--border-width) solid var(--color-text)}input[type=range]::-moz-range-thumb{border:var(--border-width) solid var(--color-text);height:12px;width:12px;border-radius:4px;cursor:pointer;background:var(--color-text);box-shadow:inset -3px -3px 0 var(--color-background),inset 3px 3px 0 var(--color-background),inset 3px -3px 0 var(--color-background),inset -3px 3px 0 var(--color-background)}input[type=range]::-ms-track{width:100%;height:11px;cursor:pointer;background:0 0;border-color:transparent;color:transparent}input[type=range]::-ms-fill-lower{background:#74a9d8;border:0 solid #010101;border-radius:2px;box-shadow:1px 1px 1px #000}input[type=range]::-ms-fill-upper{background:#74a9d8;border:0 solid #010101;border-radius:2px;box-shadow:1px 1px 1px #000}input[type=range]::-ms-thumb{margin-top:1px;box-shadow:none;border:1px solid #00001e;height:26px;width:26px;border-radius:15px;background:#fff;cursor:pointer}input[type=file]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border-width) solid var(--color-text);padding:6px}details,input[type=file]:hover{cursor:pointer}::file-selector-button{border:var(--border-width) solid var(--color-text);background:0 0;border-radius:4px;padding:4px 8px;font-family:sans-serif,system-ui;margin-right:10px;color:var(--color-text);font-size:var(--font-size)}::-webkit-file-upload-button{border:var(--border-width) solid var(--color-text);background:0 0;border-radius:4px;padding:4px 8px;font-family:sans-serif,system-ui;margin-right:10px;color:var(--color-text);font-size:var(--font-size)}::-ms-browse{border:var(--border-width) solid var(--color-text);background:0 0;border-radius:4px;padding:4px 8px;font-family:sans-serif,system-ui;margin-right:10px;color:var(--color-text);font-size:var(--font-size)}select{appearance:none;-moz-appearance:none;-webkit-appearance:none;background-image:url('data:image/svg+xml;utf8,');background-position:calc(100% - .4em) calc(50% + 1px);background-repeat:no-repeat;background-size:24px 24px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{appearance:none;-moz-appearance:none;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}input[type=checkbox],input[type=radio]{margin:0 1rem 0 0;appearance:none;-moz-appearance:none;-webkit-appearance:none;width:10px;height:10px;position:relative;cursor:pointer;padding:0 6px;transform:translate(5px,5px);border:none;outline:0}input[type=checkbox]:before,input[type=checkbox]:checked:after,input[type=radio]:before,input[type=radio]:checked:after{content:'';display:block}input[type=checkbox]:before,input[type=radio]:before{position:absolute;width:12px;height:12px;border:2px solid var(--color-text);transform:translate(-8px,-8px);border-radius:4px}code,del,img,ins,kbd,mark,samp,tr{border-radius:4px}input[type=checkbox]:checked:after,input[type=radio]:checked:after{width:6px;height:6px;background-color:var(--color-text);border-width:0 var(--border-width) var(--border-width) 0;position:relative;transform:translate(-3px,-3px);border-radius:2px}input[type=radio],input[type=radio]:before,input[type=radio]:checked:after{border-radius:20px}::placeholder{opacity:100%;color:var(--color-darker-grey)}table{border-collapse:collapse;width:100%}caption{margin-bottom:1rem;font-weight:600}samp,var{font-weight:800}td,th{padding:.4em}th{border-bottom:var(--border-width) solid var(--color-text);font-size:1.2em}code,samp{padding:.2em .4em;background-color:var(--color-secondary);font-size:.8rem;tab-size:4;unicode-bidi:embed;white-space:pre-wrap}var{font-size:.9rem}.notice,kbd{font-weight:600}ol,ul{padding-left:1.2rem}pre>code{display:block;margin:4px 0;overflow:auto;padding:.6em}del{background-color:var(--color-red)}ins{background-color:var(--color-green)}mark{background-color:var(--color-yellow)}kbd{padding:.4em .6em;font-size:.8em;background-color:var(--offset-text-color);box-shadow:inset -2px -2px 0 #fff,inset 2px 2px 0 #fff,inset 2px -2px 0 #fff,inset -2px 2px 0 #fff;border:1px solid var(--color-darker-grey);border-bottom:2px solid var(--color-darker-grey)}img,svg{max-width:100%;max-height:100%}blockquote{margin-left:1em}p{line-height:1.4em;font-size:var(--font-size)}blockquote footer{margin:1em 0 0 1em;font-size:.9em}blockquote footer::before{content:'— '}hr{border:1px solid var(--color-text)}details p{border-left:var(--border-width) solid var(--color-dark-grey);padding-left:1em}aside{padding:.6em 1em;background-color:var(--color-tertiary);border-radius:4px}aside p{margin:0}.flex{justify-content:center;align-items:center;flex-flow:column}.card{border:var(--border-width) solid var(--color-dark-grey);padding:1em;border-radius:4px}.notice{background-color:var(--color-background);border:var(--border-width) solid var(--color-primary);padding:.5em;display:block;border-radius:4px;margin-bottom:1em;color:var(--color-primary);text-align:center;text-transform:uppercase}.left{text-align:left}.center{text-align:center}.right{text-align:right}div.grid{display:grid}div.grid.two{grid-template-columns:repeat(2,1fr)}div.grid.three{grid-template-columns:repeat(3,1fr)}div.grid.four{grid-template-columns:repeat(4,1fr)}div.grid.five{grid-template-columns:repeat(5,1fr)}textarea.no-resize{resize:none}textarea.all-resize{resize:both}textarea.ho-resize{resize:horizontal}textarea.ve-resize{resize:vertical}input.small,select.small,textarea.small{padding:.4rem 1.2rem}button.big{padding:calc(.8em + 2px) 1.6em}button:disabled.small{padding:calc(.4rem - 2px) 1.2rem}@keyframes focus_border{0%{border-color:var(--color-text)}100%{border-color:var(--color-primary)}}@media (prefers-color-scheme:dark){:root{--color-primary:#5783c4;--color-secondary:#263342;--color-tertiary:#161f28;--color-background:#091118;--color-text:#cbcbcb;--color-secondary-dark:#263342;--color-border:#0c0c0c;--color-grey:#1e2431;--color-dark-grey:#262b33;--color-darker-grey:#5d6c7e;--color-green:#28492e;--color-red:#672f2f;--color-yellow:#5b4e18}kbd{background-color:var(--color-dark-grey);box-shadow:inset -2px -2px 0 var(--color-grey),inset 2px 2px 0 var(--color-grey),inset 2px -2px 0 var(--color-grey),inset -2px 2px 0 var(--color-grey);border-color:var(--color-border);color:var(--color-text)}select{background-image:url('data:image/svg+xml;utf8,')!important}} \ No newline at end of file diff --git a/themes/hellug-minimal/static/css/simple.css b/themes/hellug-minimal-4/static/css/simple.css similarity index 100% rename from themes/hellug-minimal/static/css/simple.css rename to themes/hellug-minimal-4/static/css/simple.css diff --git a/themes/hellug-minimal/static/css/water.min.css b/themes/hellug-minimal-4/static/css/water.min.css similarity index 100% rename from themes/hellug-minimal/static/css/water.min.css rename to themes/hellug-minimal-4/static/css/water.min.css diff --git a/themes/hellug-minimal/theme.toml b/themes/hellug-minimal-4/theme.toml similarity index 100% rename from themes/hellug-minimal/theme.toml rename to themes/hellug-minimal-4/theme.toml diff --git a/themes/hellug-minimal/layouts/partials/carousel.html b/themes/hellug-minimal/layouts/partials/carousel.html deleted file mode 100644 index 5e317f2..0000000 --- a/themes/hellug-minimal/layouts/partials/carousel.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/themes/hellug-minimal/layouts/partials/footer.html b/themes/hellug-minimal/layouts/partials/footer.html deleted file mode 100644 index 8f18890..0000000 --- a/themes/hellug-minimal/layouts/partials/footer.html +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/themes/hellug-minimal/layouts/partials/header.html b/themes/hellug-minimal/layouts/partials/header.html deleted file mode 100644 index 5989b1c..0000000 --- a/themes/hellug-minimal/layouts/partials/header.html +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/themes/hellug-minimal/layouts/partials/hellug-banner.html b/themes/hellug-minimal/layouts/partials/hellug-banner.html deleted file mode 100644 index 2364f24..0000000 --- a/themes/hellug-minimal/layouts/partials/hellug-banner.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/themes/hellug-minimal/static/css/hellug.css b/themes/hellug-minimal/static/css/hellug.css deleted file mode 100644 index b83debb..0000000 --- a/themes/hellug-minimal/static/css/hellug.css +++ /dev/null @@ -1,37 +0,0 @@ -body { - grid-template-columns: 1fr min(70rem, 90%) 1fr; -} - -main { - display: grid; - gap: 30px 80px; - grid-template-columns: min(70%) auto; - -} - -article { - border: 0px solid var(--border); -} - -.sitemap { -display: flex; -align-items: normal; -justify-content: space-around; -flex-wrap: wrap; -} - -.sitemap-item { - text-align: left; - vertical-align: top; -} - -.master { -grid-column-start 1; -} -.sidebar { -grid-column-start 3; -} - -main h3, h4 { -margin-bottom: 0.1em; -}