Skip to content

Commit 5840cad

Browse files
committed
Initial draft
1 parent 9a301a4 commit 5840cad

59 files changed

Lines changed: 978 additions & 39 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
17+
[*.yml]
18+
indent_size = 2
19+

.gitattributes

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Basic .gitattributes for a R repo.
2-
32
# Source files
43
# ============
54
*.Rdata binary
@@ -13,16 +12,12 @@
1312
*.R text
1413
*.Rproj text
1514
*.Rmd linguist-language=R
16-
1715
# Common settings that generally should always be used with your language specific settings
18-
1916
# Auto detect text files and perform LF normalization
2017
* text=auto
21-
2218
#
2319
# The above will handle all files NOT found below
2420
#
25-
2621
# Documents
2722
*.bibtex text diff=bibtex
2823
*.doc diff=astextplain
@@ -45,12 +40,13 @@
4540
*.tsv text
4641
*.txt text
4742
*.sql text
48-
4943
# Graphics
50-
*.png binary
51-
*.jpg binary
52-
*.jpeg binary
53-
*.gif binary
44+
*.png filter=lfs diff=lfs merge=lfs -text
45+
*.jpg filter=lfs diff=lfs merge=lfs -text
46+
*.jpeg filter=lfs diff=lfs merge=lfs -text
47+
*.gif filter=lfs diff=lfs merge=lfs -text
48+
*.PNG filter=lfs diff=lfs merge=lfs -text
49+
*.JPG filter=lfs diff=lfs merge=lfs -text
5450
*.tif binary
5551
*.tiff binary
5652
*.ico binary
@@ -60,7 +56,6 @@
6056
# use the following line instead.
6157
# *.svg binary
6258
*.eps binary
63-
6459
# Scripts
6560
*.bash text eol=lf
6661
*.fish text eol=lf
@@ -70,29 +65,24 @@
7065
*.bat text eol=crlf
7166
*.cmd text eol=crlf
7267
*.ps1 text eol=crlf
73-
7468
# Serialisation
7569
*.json text
7670
*.toml text
7771
*.xml text
7872
*.yaml text
7973
*.yml text
80-
8174
# Archives
82-
*.7z binary
83-
*.gz binary
84-
*.tar binary
85-
*.tgz binary
86-
*.zip binary
87-
75+
*.7z filter=lfs diff=lfs merge=lfs -text
76+
*.gz filter=lfs diff=lfs merge=lfs -text
77+
*.tar filter=lfs diff=lfs merge=lfs -text
78+
*.tgz filter=lfs diff=lfs merge=lfs -text
79+
*.zip filter=lfs diff=lfs merge=lfs -text
80+
*.xz filter=lfs diff=lfs merge=lfs -text
8881
# Text files where line endings should be preserved
8982
*.patch -text
90-
9183
#
9284
# Exclude files from exporting
9385
#
94-
9586
.gitattributes export-ignore
9687
.gitignore export-ignore
9788
.gitkeep export-ignore
98-

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ _site/
22
.sass-cache/
33
.jekyll-cache/
44
.jekyll-metadata
5+
/resources/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/hugo-book"]
2+
path = themes/hugo-book
3+
url = https://github.com/alex-shpak/hugo-book

.vscode/settings.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ You need to install the following:
1414
- PowerShell
1515
- A package manager
1616
- Chocolatey on Windows
17-
- Your default manager on Linux
17+
- Snap on Linux
1818
- Homebrew on MacOS

archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

assets/css/common.css

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
2+
3+
body {
4+
color: var(--oe-font-color);
5+
background-color: var(--oe-background-color);
6+
min-height: 100vh;
7+
display: flex;
8+
flex-direction: column;
9+
10+
}
11+
12+
main {
13+
width: 100%;
14+
flex-basis: 100%;
15+
flex-grow: 1;
16+
}
17+
18+
body > footer {
19+
flex-grow: 0;
20+
}
21+
22+
23+
sl-icon {
24+
color: var(--oe-theme-color);
25+
font-size: 150%;
26+
}
27+
28+
sl-input {
29+
margin-bottom: var(--oe-padding);
30+
}
31+
32+
sl-button::part(base) {
33+
color: var(--oe-font-color-bright);
34+
}
35+
36+
h1,h2,h3,h4,h5,h6 {
37+
font-weight: 500;
38+
font-size: 250%;
39+
font-family: var(--oe-fancy-font);
40+
}
41+
42+
43+
44+
.navbar {
45+
padding-left: var(--oe-padding);
46+
padding-right: var(--oe-padding);
47+
padding-top: var(--oe-padding-small);
48+
padding-bottom: var(--oe-padding-small);
49+
font-size: 120%;
50+
font-family: var(--oe-fancy-font);
51+
background-color: var(--oe-background-color);
52+
display: flex;
53+
justify-content: flex-end;
54+
align-items: end;
55+
}
56+
57+
.navbar > .nav-item {
58+
color: var(--oe-font-color);
59+
margin: var(--oe-padding-small);
60+
}
61+
62+
.navbar > .nav-item.active {
63+
color: var(--oe-theme-color);
64+
}
65+
66+
.brand {
67+
flex-grow: 1;
68+
}
69+
70+
.brand img,svg {
71+
height: var(--oe-navbar-height);
72+
}
73+
74+
75+
76+
.pull {
77+
display: flex;
78+
flex-direction: row;
79+
justify-content: flex-end;
80+
width: 100%;
81+
82+
color: var(--oe-font-color-bright);
83+
}
84+
85+
.pull > * {
86+
width: 50%;
87+
background-color: var(--oe-panel-color-with-alpha);
88+
padding: var(--oe-padding-small);
89+
}
90+
91+
.pull.pull-red > * {
92+
background-color: var(--oe-panel-red-with-alpha);
93+
--oe-panel-red-with-alpha: hsla(var(--sl-color-red-300), var(--oe-panel-opacity));
94+
}
95+
96+
.pull > *:first-child {
97+
font-size: var(--sl-font-size-large);
98+
}
99+
100+
.pull-right {
101+
justify-content: end;
102+
}
103+
104+
.pull-left {
105+
justify-content: start;
106+
}
107+
108+
109+
footer {
110+
padding-left: var(--oe-padding);
111+
padding-right: var(--oe-padding);
112+
padding-top: var(--oe-padding-small);
113+
}

assets/css/home.css

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
.home-page {
2+
font-family: var(--oe-fancy-font);
3+
4+
width: 100%;
5+
}
6+
7+
.home-page p {
8+
line-height: 1.5;
9+
}
10+
11+
.home-page h1,h2,h3,h4,h5,h6 {
12+
font-weight: 500;
13+
font-size: 200%;
14+
}
15+
16+
.home-page .book-columns {
17+
text-align: center;
18+
}
19+
20+
.home-page .column {
21+
text-align: center;
22+
margin: var(--oe-padding-small);
23+
}
24+
25+
.home-page .column sl-icon {
26+
border-radius: 50%;
27+
border-color: var(--oe-theme-color);
28+
border-width: 0.07em;
29+
padding: 0.1em;
30+
border-style: solid;
31+
font-size: 300%;
32+
display: inline-block;
33+
}
34+
35+
.home-page .column p:not(:first-child) {
36+
text-align: justify;
37+
}
38+
39+
.home-page a.anchor {
40+
display: none;
41+
}
42+
43+
.home-page .partners {
44+
display: flex;
45+
flex-direction: row;
46+
flex-wrap: wrap;
47+
justify-content: center;
48+
}
49+
50+
.home-page .partners>*:first-child {
51+
flex: 1 1 70%;
52+
text-align: center;
53+
}
54+
55+
.home-page .partners>* {
56+
flex: 1 1 30%;
57+
text-align: left;
58+
}
59+
60+
61+
.home-page .logos {
62+
display: flex;
63+
flex-direction: row;
64+
justify-content: space-evenly;
65+
flex-wrap: wrap;
66+
align-content: space-between;
67+
align-items: center;
68+
}
69+
70+
.home-page .logos img {
71+
margin: 1em;
72+
padding: 1em;
73+
background-color: #FFF;
74+
}
75+
76+
77+
.home-page section {
78+
width: 100%;
79+
padding-left: var(--oe-padding);
80+
padding-right: var(--oe-padding);
81+
padding-bottom: var(--oe-padding-large);
82+
padding-top: var(--oe-padding-large);
83+
background-position: center;
84+
background-repeat: no-repeat;
85+
background-size: cover;
86+
}

assets/css/layout.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.columns {
2+
display: flex;
3+
flex-wrap: wrap;
4+
margin-right: -15px;
5+
margin-left: -15px;
6+
}
7+
8+
.columns > *{
9+
flex: 1 1 auto;
10+
margin: var(--oe-padding)
11+
}

0 commit comments

Comments
 (0)