first minimal theme
Αυτό το commit περιλαμβάνεται σε:
γονέας
4561a6aa2c
commit
954260ab0b
36 αρχεία άλλαξαν με 563 προσθήκες και 114 διαγραφές
|
@ -6,19 +6,21 @@
|
||||||
</header>
|
</header>
|
||||||
<!-- Header End -->
|
<!-- Header End -->
|
||||||
<main>
|
<main>
|
||||||
|
<div class="row">
|
||||||
{{ partial "breadcrump.html"}}
|
{{ partial "breadcrump.html"}}
|
||||||
<div class="master">
|
<div class="col">
|
||||||
<!-- Article start -->
|
<!-- Article start -->
|
||||||
<h3>{{ .Title }}</h3>
|
<h3>{{ .Title }}</h3>
|
||||||
{{- dateFormat "02/01/2006" .Date }}
|
{{- dateFormat "02/01/2006" .Date }}
|
||||||
<article>{{.Content}} </article>
|
<article>{{.Content}} </article>
|
||||||
</div>
|
</div>
|
||||||
<!-- Article end -->
|
<!-- Article end -->
|
||||||
<div class="sidebar">
|
<div class="col-4">
|
||||||
<!-- Column start -->
|
<!-- Column start -->
|
||||||
{{- partial "column2.html" . }}
|
{{- partial "column2.html" . }}
|
||||||
<!-- Column end -->
|
<!-- Column end -->
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<!-- Footer Start -->
|
<!-- Footer Start -->
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
|
@ -7,14 +7,16 @@
|
||||||
{{ partial .Params.bannertemplate . }}
|
{{ partial .Params.bannertemplate . }}
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<div class="master">
|
<div class="row">
|
||||||
<!-- Content Area start -->
|
<!-- Content Area start -->
|
||||||
|
<div class="col">
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
<!-- Content Area end -->
|
|
||||||
</div>
|
</div>
|
||||||
<div class="sidebar">
|
<!-- Content Area end -->
|
||||||
<!-- Column 2 start -->
|
<!-- Column 2 start -->
|
||||||
|
<div class="col-3">
|
||||||
{{ partial "column2.html" . }}
|
{{ partial "column2.html" . }}
|
||||||
|
</div>
|
||||||
<!-- Column 2 end -->
|
<!-- Column 2 end -->
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
|
@ -1,17 +1,25 @@
|
||||||
{{- partial "head.html" . }}
|
{{- partial "head.html" . }}
|
||||||
<header>
|
<header>
|
||||||
|
{{- if .Params.bannertemplate }}
|
||||||
{{ if .Params.bannertemplate }}
|
{{- partial .Params.bannertemplate . }}
|
||||||
{{ partial .Params.bannertemplate . }}
|
{{- else}}
|
||||||
{{else}}
|
{{- partial "hellug-banner.html" . }}
|
||||||
{{ partial "hellug-banner.html" . }}
|
{{- end }}
|
||||||
{{end}}
|
|
||||||
{{- partial "header.html" . }}
|
{{- partial "header.html" . }}
|
||||||
</header>
|
</header>
|
||||||
<!-- Main View -->
|
<!-- Main View -->
|
||||||
<main>
|
<main>
|
||||||
<div class="master">
|
<!-- Welcome -->
|
||||||
|
{{- partial "welcome.html" . }}
|
||||||
|
<!-- Welcome end-->
|
||||||
|
|
||||||
|
<!-- Notice -->
|
||||||
|
{{- partial "notice.html" . }}
|
||||||
|
<!-- Notice end -->
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
<!-- Articles Section -->
|
<!-- Articles Section -->
|
||||||
|
<div class="col">
|
||||||
{{- $counter := 0 }}
|
{{- $counter := 0 }}
|
||||||
{{- $pages := .Site.RegularPages }}
|
{{- $pages := .Site.RegularPages }}
|
||||||
{{- $recentpostlimit := (sub now.Unix 2592000 ) }}
|
{{- $recentpostlimit := (sub now.Unix 2592000 ) }}
|
||||||
|
@ -20,16 +28,17 @@
|
||||||
{{- if eq $counter 1 }}
|
{{- if eq $counter 1 }}
|
||||||
<!-- First Post -->
|
<!-- First Post -->
|
||||||
<h3><a href="{{.Permalink}}">{{ .Title }}</a></h3>
|
<h3><a href="{{.Permalink}}">{{ .Title }}</a></h3>
|
||||||
<cite>{{- dateFormat "02/01/2006" .Date }}</aside>
|
<cite>{{- dateFormat "02/01/2006" .Date }}
|
||||||
{{ if lt $recentpostlimit .Date.Unix }}
|
{{- if lt $recentpostlimit .Date.Unix }}
|
||||||
<mark>Nέο</mark>{{- end }}
|
<mark>Nέο</mark>
|
||||||
|
{{- end }}
|
||||||
</cite>
|
</cite>
|
||||||
<article>{{ .Summary | plainify | safeHTML }}
|
<article>{{- .Summary | plainify | safeHTML }}
|
||||||
</article>
|
</article>
|
||||||
<!-- First Post End -->
|
<!-- First Post End -->
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<h4><a href="{{.Permalink}}">{{ .Title }}</a></h4>
|
<h4><a href="{{.Permalink}}">{{ .Title }}</a></h4>
|
||||||
<cite>{{- dateFormat "02/01/2006" .Date }}</aside>
|
<cite>{{- dateFormat "02/01/2006" .Date }}
|
||||||
{{ if lt $recentpostlimit .Date.Unix }}
|
{{ if lt $recentpostlimit .Date.Unix }}
|
||||||
<mark>Nέο</mark>
|
<mark>Nέο</mark>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -39,11 +48,12 @@
|
||||||
</article>
|
</article>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<!-- End Articles Section -->
|
|
||||||
</div>
|
</div>
|
||||||
<div class="sidebar">
|
<!-- End Articles Section -->
|
||||||
<!-- Column 2 start -->
|
<!-- Column 2 start -->
|
||||||
|
<div class="col-2">
|
||||||
{{- partial "column2.html" . }}
|
{{- partial "column2.html" . }}
|
||||||
|
</div>
|
||||||
<!-- Column 2 end -->
|
<!-- Column 2 end -->
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
1
themes/hellug-minimal-4/layouts/partials/carousel.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/carousel.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
||||||
|
<img alt="Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία" src="media/carousel1.png" >
|
|
@ -34,7 +34,3 @@
|
||||||
{{- range .Site.Data.main.links.hellug }}
|
{{- range .Site.Data.main.links.hellug }}
|
||||||
<a href="{{ .url }}">{{ .name }}</a></br>
|
<a href="{{ .url }}">{{ .name }}</a></br>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<h4>Ακολουθήστε τον HEL.L.U.G.</h4>
|
|
||||||
<a href="https://twitter.com/hellug"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Twitter.png">Twitter</button></a>
|
|
||||||
<a href="http://www.linkedin.com/groups/HELLUG-108292/about"><button type="button" style="padding-top:1px; padding-bottom:1px; margin-bottom:4px;"><img src="/media/LinkedIn.png">LinkedIn</button></a>
|
|
||||||
<a href="https://www.facebook.com/groups/hellug/"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Facebook.png">Facebook</button></a>
|
|
29
themes/hellug-minimal-4/layouts/partials/footer.html
Κανονικό αρχείο
29
themes/hellug-minimal-4/layouts/partials/footer.html
Κανονικό αρχείο
|
@ -0,0 +1,29 @@
|
||||||
|
<footer>
|
||||||
|
<hr>
|
||||||
|
<div class="row">
|
||||||
|
{{- $currentPage := . }}
|
||||||
|
{{- range .Site.Menus.main }}
|
||||||
|
<div class="col">
|
||||||
|
{{- if .HasChildren }}
|
||||||
|
{{- .Name }}
|
||||||
|
{{- range .Children }}
|
||||||
|
<br><a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{- .Name }}
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
<div class="col">
|
||||||
|
Ακολουθήστε τον HEL.L.U.G.
|
||||||
|
<a href="https://twitter.com/hellug"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Twitter.png">Twitter</button></a>
|
||||||
|
<a href="http://www.linkedin.com/groups/HELLUG-108292/about"><button type="button" style="padding-top:1px; padding-bottom:1px; margin-bottom:4px;"><img src="/media/LinkedIn.png">LinkedIn</button></a>
|
||||||
|
<a href="https://www.facebook.com/groups/hellug/"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Facebook.png">Facebook</button></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<small class="float-right sticky"><a href="/credits">Συντελεστές Ιστοσελίδας</a></small>
|
||||||
|
|
||||||
|
{{- partial "scripts.html" . }}
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -8,10 +8,11 @@
|
||||||
<meta name="description" content="Hellug Homepage" />
|
<meta name="description" content="Hellug Homepage" />
|
||||||
<meta name="keywords" content="Hellug" />
|
<meta name="keywords" content="Hellug" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/css/simple.css">
|
<link rel="stylesheet" href="/css/classless.css">
|
||||||
<link href="/css/hellug.css" rel="stylesheet" />
|
<link href="/css/hellug.css" rel="stylesheet" />
|
||||||
{{ with .OutputFormats.Get "rss" -}}
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s RSS feed" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s RSS feed" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- <script src="https://dohliam.github.io/dropin-minimal-css/switcher.js" type="text/javascript"></script> -->
|
24
themes/hellug-minimal-4/layouts/partials/header.html
Κανονικό αρχείο
24
themes/hellug-minimal-4/layouts/partials/header.html
Κανονικό αρχείο
|
@ -0,0 +1,24 @@
|
||||||
|
<!-- menu items -->
|
||||||
|
<nav>
|
||||||
|
{{- $currentPage := . }}
|
||||||
|
<ul>
|
||||||
|
<li class="float-right sticky"><a onclick="addFontSize(-1)">ᴀ-</a>|<a onclick="addFontSize(1)">A+</a></li>
|
||||||
|
<li class="float-right sticky"><a onclick="toggleDarkMode(this)">🌓</a></li>
|
||||||
|
{{- range .Site.Menus.main }}
|
||||||
|
{{- if .HasChildren }}
|
||||||
|
<li > <a href="#">{{ .Name }}</a>
|
||||||
|
<ul >
|
||||||
|
{{- range .Children }}
|
||||||
|
<li> <a href="{{ .URL }}">{{ .Name }}</a> </li>
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
{{- else }}
|
||||||
|
<li>
|
||||||
|
<a href="#">{{ .Name }}</a>
|
||||||
|
</li>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<!-- menu items end -->
|
1
themes/hellug-minimal-4/layouts/partials/hellug-banner.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/hellug-banner.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
||||||
|
<img alt="Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία" src="/media/hellug.png">
|
0
themes/hellug-minimal-4/layouts/partials/null.html
Κανονικό αρχείο
0
themes/hellug-minimal-4/layouts/partials/null.html
Κανονικό αρχείο
40
themes/hellug-minimal-4/layouts/partials/scripts.html
Κανονικό αρχείο
40
themes/hellug-minimal-4/layouts/partials/scripts.html
Κανονικό αρχείο
|
@ -0,0 +1,40 @@
|
||||||
|
<!-- Theme changer -->
|
||||||
|
<script>
|
||||||
|
function switchTheme(el) { document.documentElement.setAttribute('data-theme', el.value) }
|
||||||
|
|
||||||
|
function switchCSS(cssid, el){ document.getElementById(cssid).href = el.value; }
|
||||||
|
|
||||||
|
function addFontSize(addPx){
|
||||||
|
html = document.querySelector('html');
|
||||||
|
currentSize = parseFloat(window.getComputedStyle(html, null)
|
||||||
|
.getPropertyValue('font-size'));
|
||||||
|
html.style.fontSize = (currentSize + addPx) + 'px';
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleDarkMode(el){
|
||||||
|
var theme='light'
|
||||||
|
if (el.innerText == '🌓'){
|
||||||
|
el.innerText = '☀'; theme='dark';
|
||||||
|
} else {
|
||||||
|
el.innerText = '🌓';
|
||||||
|
}
|
||||||
|
document.documentElement.setAttribute('data-theme', theme)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<!-- Theme changer end -->
|
||||||
|
|
||||||
|
<!-- Matomo -->
|
||||||
|
<script>
|
||||||
|
var _paq = window._paq = window._paq || [];
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="https://stats.hellug.gr/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||||
|
_paq.push(['setSiteId', '1']);
|
||||||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<!-- End Matomo Code -->
|
5
themes/hellug-minimal-4/layouts/partials/welcome.html
Κανονικό αρχείο
5
themes/hellug-minimal-4/layouts/partials/welcome.html
Κανονικό αρχείο
|
@ -0,0 +1,5 @@
|
||||||
|
{{- with .GetPage "pages/welcome" }}
|
||||||
|
<h3>{{- .Title }}</h3>
|
||||||
|
{{- .Content}}
|
||||||
|
<hr>
|
||||||
|
{{- end }}
|
382
themes/hellug-minimal-4/static/css/classless.css
Κανονικό αρχείο
382
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; }
|
||||||
|
}
|
45
themes/hellug-minimal-4/static/css/hellug.css
Κανονικό αρχείο
45
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;
|
||||||
|
}
|
||||||
|
|
1
themes/hellug-minimal-4/static/css/silicon_basic.min.css
εξωτερικό
Κανονικό αρχείο
1
themes/hellug-minimal-4/static/css/silicon_basic.min.css
εξωτερικό
Κανονικό αρχείο
Το diff αρχείων καταστέλλεται επειδή μία ή περισσότερες γραμμές είναι πολύ μεγάλες
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
<img src="media/carousel1.png" >
|
|
|
@ -1,42 +0,0 @@
|
||||||
<footer>
|
|
||||||
<div class="sitemap">
|
|
||||||
{{- $currentPage := . }}
|
|
||||||
{{- range .Site.Menus.main }}
|
|
||||||
<div class="sitemap-item">
|
|
||||||
{{- if .HasChildren }}
|
|
||||||
{{- .Name }}
|
|
||||||
{{- range .Children }}
|
|
||||||
<br><a href="{{ .URL }}">{{ .Name }}</a>
|
|
||||||
{{- end }}
|
|
||||||
</ul>
|
|
||||||
{{- else }}
|
|
||||||
{{- .Name }}
|
|
||||||
{{- end }}
|
|
||||||
</div>
|
|
||||||
{{- end }}
|
|
||||||
<div class="sitemap-item">
|
|
||||||
Σύνδεσμοι
|
|
||||||
{{- range .Site.Data.main.links.hellug }}
|
|
||||||
<br><a href="{{ .url }}">{{ .name }}</a>
|
|
||||||
{{- end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="/credits">Credits Ιστοσελίδας</a>
|
|
||||||
<!-- Matomo -->
|
|
||||||
<script>
|
|
||||||
var _paq = window._paq = window._paq || [];
|
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
||||||
_paq.push(['trackPageView']);
|
|
||||||
_paq.push(['enableLinkTracking']);
|
|
||||||
(function() {
|
|
||||||
var u="https://stats.hellug.gr/";
|
|
||||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
||||||
_paq.push(['setSiteId', '1']);
|
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
||||||
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<!-- End Matomo Code -->
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,8 +0,0 @@
|
||||||
<!-- menu items -->
|
|
||||||
<nav>
|
|
||||||
{{- $currentPage := . }}
|
|
||||||
{{- range .Site.Menus.main }}
|
|
||||||
<a tabindex="-1" href="{{ .URL }}">{{ .Name }}</a>
|
|
||||||
{{- end }}
|
|
||||||
</nav>
|
|
||||||
<!-- menu items end -->
|
|
|
@ -1 +0,0 @@
|
||||||
<img src="/media/hellug.png">
|
|
|
@ -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;
|
|
||||||
}
|
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα