Import ExectOS Web Site
All checks were successful
Builds / ExectOS WebSite (push) Successful in 15s

Reviewed-on: #1
Reviewed-by: Piotr Likoski <likoski@noreply.codingworkshop.git>
Co-authored-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
Co-committed-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
This commit is contained in:
2024-06-18 23:00:02 +02:00
committed by CodingWorkshop Signing Team
parent 83270c38d4
commit 3e1a7c1932
49 changed files with 1096 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
module:
hugoVersion:
min: "0.84.0"

View 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>

View File

@@ -0,0 +1,9 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ range .Pages.ByPublishDate.Reverse }}
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<a class="summary" href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p>
</a>
{{ end }}
{{ end }}

View 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>

View File

@@ -0,0 +1,5 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
<br /><br />
{{ end }}

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div class="wrapper_content">
<div class="content">
{{ .Content }}
</div>
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@@ -0,0 +1,10 @@
<div class="wrapper_footer">
<div class="footer">
<div class="footer-left">
Copyright&copy; 2017 - 2024, CodingWorkshop
</div>
<div class="footer-right">
Content is available under <a href="https://www.gnu.org/licenses/fdl-1.3.html">GNU Free Documentation License 1.3 or later</a>.
</div>
</div>
</div>

View 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>

View File

@@ -0,0 +1,19 @@
<div class="wrapper_header">
<div class="header">
<h1><a href="{{ .Site.BaseURL }}"><img src="/images/exectos_logo.png" alt="LOGO" width="50px" /> {{ .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 }}">{{ .Pre }}<b>{{ $text := print .Name | safeHTML }}{{ $text }}{{ .Post }}</b></a></li>
{{ end }}
{{ end }}
</ul>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,239 @@
@import url("/css/fontawesome-min.css");
@font-face {
font-family : 'Source Sans Pro';
font-style : normal;
font-weight : 400;
src : url('/fonts/source-sans-pro-v9-latin-regular.eot');
src : local('Source Sans Pro'), local('SourceSansPro-Regular'),
url('/fonts/source-sans-pro-v9-latin-regular.eot?#iefix') format('embedded-opentype'),
url('/fonts/source-sans-pro-v9-latin-regular.woff2') format('woff2'),
url('/fonts/source-sans-pro-v9-latin-regular.woff') format('woff'),
url('/fonts/source-sans-pro-v9-latin-regular.ttf') format('truetype');
}
@font-face {
font-family : 'Source Sans Pro';
font-style : italic;
font-weight : 400;
src : url('/fonts/source-sans-pro-v9-latin-italic.eot');
src : local('Source Sans Pro Italic'), local('SourceSansPro-It'),
url('/fonts/source-sans-pro-v9-latin-italic.eot?#iefix') format('embedded-opentype'),
url('/fonts/source-sans-pro-v9-latin-italic.woff2') format('woff2'),
url('/fonts/source-sans-pro-v9-latin-italic.woff') format('woff'),
url('/fonts/source-sans-pro-v9-latin-italic.ttf') format('truetype');
}
@font-face {
font-family : 'Source Sans Pro';
font-style : normal;
font-weight : 700;
src : url('/fonts/source-sans-pro-v9-latin-700.eot');
src : local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
url('/fonts/source-sans-pro-v9-latin-700.eot?#iefix') format('embedded-opentype'),
url('/fonts/source-sans-pro-v9-latin-700.woff2') format('woff2'),
url('/fonts/source-sans-pro-v9-latin-700.woff') format('woff'),
url('/fonts/source-sans-pro-v9-latin-700.ttf') format('truetype');
}
:root {
color-scheme : light;
}
html {
color : light-dark(#333333, #FFFFFF);
background-color : light-dark(#FFFFFF, #030C12);
margin : 0;
padding : 0;
}
body {
font-family : "Source Sans Pro", "Trebuchet MS", "Verdana", sans-serif;
margin : 0;
padding : 0;
}
code {
color : #186196;
font-weight : bold;
}
h1 {
font-size : 28px;
margin-top : 8px;
padding : 1px;
vertical-align : middle;
}
h2 {
border-bottom : 1px solid #DDDDDD;
font-size : 30px;
margin-left : -1em;
margin-right : -1em;
text-decoration : bold;
}
h3 {
font-size : 18px;
margin-left : -1em;
margin-right : -1em;
text-decoration : bold;
}
img {
border : 0px;
vertical-align : middle;
}
pre {
background-color : #3C3C3C;
border-color : #3D3D3D;
border-radius : 4px;
color : #ECECEC;
display : block;
font-size : 13px;
line-height : 1.42857143;
margin : 0 0 10px;
overflow : auto;
padding : 9.5px;
word-break : break-all;
word-wrap : break-word;
}
pre code {
color : #ECECEC;
font-weight : normal;
}
.content {
font-size : 15px;
margin-left : 30%;
margin-right : 30%;
margin-top : 1.5em;
}
.content img {
border : 0px;
display : block;
margin : auto;
vertical-align : middle;
text-align : center;
}
.content li {
list-style-type : square;
}
.copyright {
color : #404040;
font-family : "Source Sans Pro", "Trebuchet MS", "Verdana", sans-serif;
font-size : 10px;
text-align : center;
text-decoration : none;
}
.copyright a {
color : #404040;
text-decoration : none;
}
.copyright a:hover {
color : #404040;
text-decoration : none;
}
.footer {
background : light-dark(#FFFFFF, #030C12);
color : light-dark(#000000, #FFFFFF);
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%;
}
.header {
background : light-dark(#BEE0FF, #2185D0);
border-bottom : 2px solid #186196;
color : #186196;
clear : both;
font-size : 14px;
padding-left : 1em;
padding-top : 1px;
text-align : center;
vertical-align : middle;
}
.header a {
color : light-dark(#186196, #CCCCCC);
padding-left : 5px;
padding-right : 5px;
padding-top : 1px;
text-decoration : none;
}
.header a:hover {
color : light-dark(#000055, #FFFFFF);
padding-left : 5px;
padding-right : 5px;
padding-top : 1px;
}
.header img {
margin : 0px;
padding : 0px;
}
.header li {
display : inline;
margin-left : 2em;
}
.header ul {
margin : 0px;
padding : 0px;
text-align : center;
}
.wrapper_content {
margin-bottom : 2.5em;
padding : 6em 0 0 0;
}
.wrapper_header {
background : light-dark(#FFFFFF, #030C12);
color : light-dark(#000000, #FFFFFF);
height : 6em;
left : 0;
position : absolute;
position : fixed;
top : 0;
width : 100%;
}
.wrapper_footer {
background : light-dark(#FFFFFF, #030C12);
border-top : 2px solid #186196;
bottom : 0;
color : #000000;
height : 1.5em;
left : 0;
position : absolute;
position : fixed;
width : 100%
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

10
themes/exectos/theme.toml Normal file
View 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"