Initial import
This commit is contained in:
3
themes/exectos/config.yaml
Normal file
3
themes/exectos/config.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
module:
|
||||
hugoVersion:
|
||||
min: "0.84.0"
|
13
themes/exectos/layouts/_default/baseof.html
Normal file
13
themes/exectos/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div class="wrapper_content">
|
||||
<div class="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
10
themes/exectos/layouts/_default/list.html
Normal file
10
themes/exectos/layouts/_default/list.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ partial "metadata.html" . }}
|
||||
<a class="summary" href="{{ .RelPermalink }}">
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
12
themes/exectos/layouts/_default/script.html
Normal file
12
themes/exectos/layouts/_default/script.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
{{- partial "script.html" . -}}
|
||||
</body>
|
||||
</html>
|
6
themes/exectos/layouts/_default/single.html
Normal file
6
themes/exectos/layouts/_default/single.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ partial "metadata.html" . }}
|
||||
<br><br>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
9
themes/exectos/layouts/partials/footer.html
Normal file
9
themes/exectos/layouts/partials/footer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="wrapper_footer">
|
||||
<div class="footer">
|
||||
<div class="footer-left">
|
||||
Copyright© 2017 - 2024, CodingWorkshop
|
||||
</div>
|
||||
<div class="footer-right">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
9
themes/exectos/layouts/partials/head.html
Normal file
9
themes/exectos/layouts/partials/head.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.png" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<title>{{ $title := print .Site.Title " | " .Title }}{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}{{ $title }}</title>
|
||||
</head>
|
19
themes/exectos/layouts/partials/header.html
Normal file
19
themes/exectos/layouts/partials/header.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="wrapper_header">
|
||||
<div class="header">
|
||||
<h1><a href="{{ .Site.BaseURL }}"><img src="" alt="{{ .Site.Title }}" /></a></h1>
|
||||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if .HasChildren }}
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ .Name }}<span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
{{ range .Children }}
|
||||
<li><a href="{{ .URL }}">{{ .Pre }}{{ .Name }}{{ .Post }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ else }}
|
||||
<li><a href="{{ .URL }}"><b>{{ $text := print .Name | safeHTML }}{{ $text }}</b></a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
0
themes/exectos/layouts/partials/metadata.html
Normal file
0
themes/exectos/layouts/partials/metadata.html
Normal file
149
themes/exectos/static/css/style.css
Normal file
149
themes/exectos/static/css/style.css
Normal file
@@ -0,0 +1,149 @@
|
||||
html {
|
||||
color : #333333;
|
||||
background-color : #FFFFFF;
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family : "trebuchet ms", "verdana", sans-serif;
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top : 8px;
|
||||
padding : 1px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
border-bottom : 1px solid #8877FF;
|
||||
margin-left : -1em;
|
||||
margin-right : -1em;
|
||||
}
|
||||
|
||||
img {
|
||||
border : 0px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-left : 25%;
|
||||
margin-right : 25%;
|
||||
margin-top : 2.5em;
|
||||
}
|
||||
|
||||
.content li {
|
||||
list-style-type : square;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
color : #404040;
|
||||
font-family : sans-serif, Verdana, Arial, Helvetica;
|
||||
font-size : 10px;
|
||||
text-align : center;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
.copyright a {
|
||||
color : #404040;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
.copyright a:hover {
|
||||
color : #404040;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
.header {
|
||||
background : #bee0ff;
|
||||
border-bottom : 2px solid #186196;
|
||||
color : #186196;
|
||||
clear : both;
|
||||
padding-left : 1em;
|
||||
padding-top : 0.5em;
|
||||
}
|
||||
|
||||
.header a {
|
||||
border : 2px solid transparent;
|
||||
color : #186196;
|
||||
padding-left : 10px;
|
||||
padding-right : 10px;
|
||||
padding-top : 1px;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
.header li a:before {
|
||||
content: "\00BB ";
|
||||
color: #186196;
|
||||
}
|
||||
|
||||
.header a:hover {
|
||||
color : #000055;
|
||||
padding-left : 10px;
|
||||
padding-right : 10px;
|
||||
padding-top : 1px;
|
||||
}
|
||||
|
||||
.header li {
|
||||
display : inline;
|
||||
margin-left : 2em;
|
||||
}
|
||||
|
||||
.header ul {
|
||||
margin : 0px;
|
||||
padding : 0px;
|
||||
text-align : left;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background : #FFFFFF;
|
||||
color : #000000;
|
||||
clear : both;
|
||||
font-family : sans-serif, verdana, Helvetica;
|
||||
font-size : 12px;
|
||||
margin-left : 10px;
|
||||
margin-top : 0.4em;
|
||||
padding : 0;
|
||||
width : 100%
|
||||
}
|
||||
|
||||
.footer-left {
|
||||
position : absolute;
|
||||
text-align : left;
|
||||
width : 50%;
|
||||
}
|
||||
|
||||
.footer-right {
|
||||
left : 50%;
|
||||
position : absolute;
|
||||
text-align : right;
|
||||
width : 50%;
|
||||
}
|
||||
|
||||
.wrapper_content {
|
||||
margin-bottom : 2.5em;
|
||||
padding : 6em 0 0 0;
|
||||
}
|
||||
|
||||
.wrapper_header {
|
||||
background : #FFFFFF;
|
||||
color : #000000;
|
||||
height : 6em;
|
||||
left : 0;
|
||||
position : absolute;
|
||||
position : fixed;
|
||||
top : 0;
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
.wrapper_footer {
|
||||
background : #FFFFFF;
|
||||
border-top : 2px solid #186196;
|
||||
bottom : 0;
|
||||
color : #000000;
|
||||
height : 1.5em;
|
||||
left : 0;
|
||||
position : absolute;
|
||||
position : fixed;
|
||||
width : 100%
|
||||
}
|
10
themes/exectos/theme.toml
Normal file
10
themes/exectos/theme.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
name = "ExectOS"
|
||||
license = "GPLv3"
|
||||
licenselink = "https://www.gnu.org/licenses/gpl-3.0.html"
|
||||
description = "ExectOS Theme"
|
||||
homepage = "https://exectos.eu.org"
|
||||
languageCode = "en-us"
|
||||
min_version = "0.1.0"
|
||||
|
||||
[author]
|
||||
name = "Rafal Kupiec"
|
Reference in New Issue
Block a user