documentor 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_config.yml +59 -0
- data/_data/i18n.yml +12 -0
- data/_includes/head.html +0 -0
- data/_includes/short-navigation.html +24 -0
- data/_includes/tail.html +0 -0
- data/_layouts/author.html +30 -0
- data/_layouts/base.html +16 -0
- data/_layouts/categories.html +26 -0
- data/_layouts/default.html +11 -0
- data/_layouts/index.html +17 -0
- data/_layouts/page.html +11 -0
- data/_layouts/page404.html +13 -0
- data/_layouts/post.html +38 -0
- data/assets/css/main.css +267 -0
- data/assets/css/normalize_reset.css +246 -0
- data/assets/fonts/pixeldroidBoticRegular/pixeldroidBoticRegular-64.fnt +118 -0
- data/assets/fonts/pixeldroidBoticRegular/pixeldroidBoticRegular-64.png +0 -0
- data/assets/fonts/pixeldroidBoticRegular/pixeldroidBoticRegular.otf +0 -0
- data/assets/fonts/pixeldroidBoticRegular/pixeldroidBoticRegular.ttf +0 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegular-64.fnt +118 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegular-64.png +0 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegular.otf +0 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegular.ttf +0 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegularMono.otf +0 -0
- data/assets/fonts/pixeldroidConsoleRegular/pixeldroidConsoleRegularMono.ttf +0 -0
- data/assets/fonts/pixeldroidMenuRegular/pixeldroidMenuRegular-64.fnt +118 -0
- data/assets/fonts/pixeldroidMenuRegular/pixeldroidMenuRegular-64.png +0 -0
- data/assets/fonts/pixeldroidMenuRegular/pixeldroidMenuRegular.otf +0 -0
- data/assets/fonts/pixeldroidMenuRegular/pixeldroidMenuRegular.ttf +0 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3e3615d8b97d84a5ab230367c4812be3ccdb84fa2efdd830b3ccc98427546ead
|
4
|
+
data.tar.gz: 053caa0b62720bcc44f1b282ee3464fcd7ac0a46d61ab4a8cd2812c57632b729
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4f6085ebed284a69891397528aadb0eb18ed35664bf960c8a2bce30bb3d56889605057dd2af8baffd247187f407cee6c043f97b98a66c33232d23497e7a1c65a
|
7
|
+
data.tar.gz: 3bde26cf98e21ba8e064460bd6502a39023eef49f57c59becaea016cd23455a439fabe2a753b07bf23347d4c76e81e3b2fe16c53aedff51bce1c75814905d4ed
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2025 randomchars42
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# documentor
|
2
|
+
|
3
|
+
A minimal theme for technical blogging.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's `Gemfile`:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "documentor"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site's `_config.yml`:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: documentor
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install documentor
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
To translate fixed strings in the theme you need to edit the corresponding file in `./data/i18n/`, e.g. for the string in `404.html` edit `./data/i18n/404.yml`.
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/randomchars42/documentor. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
36
|
+
|
37
|
+
## Development
|
38
|
+
|
39
|
+
To set up your environment to develop this theme, run `bundle install`.
|
40
|
+
|
41
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
42
|
+
|
43
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
44
|
+
To add a custom directory to your theme-gem, please edit the regexp in `documentor.gemspec` accordingly.
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_config.yml
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# url:
|
2
|
+
#description: Some description or other.
|
3
|
+
|
4
|
+
# add authors like this:
|
5
|
+
#
|
6
|
+
# create a file like `_authors/yourname.md`:
|
7
|
+
#
|
8
|
+
# ---
|
9
|
+
# name: Your Name
|
10
|
+
# author-id: your_id
|
11
|
+
# email: you@email.address
|
12
|
+
# github: yourgithubname
|
13
|
+
# ---
|
14
|
+
# Your interesting and unique bio.
|
15
|
+
# ...
|
16
|
+
#
|
17
|
+
#
|
18
|
+
# In the front matter of your post:
|
19
|
+
#
|
20
|
+
# ---
|
21
|
+
# author-id: your_id
|
22
|
+
# ...
|
23
|
+
# ---
|
24
|
+
#
|
25
|
+
|
26
|
+
author_round_mugshot: true
|
27
|
+
index_show_header_latest: false
|
28
|
+
short_navigation_ignore: [index, categories, page404]
|
29
|
+
style_typewriter: true
|
30
|
+
style_force_dark: true
|
31
|
+
title: YOUR SITE
|
32
|
+
|
33
|
+
collections:
|
34
|
+
authors:
|
35
|
+
output: true
|
36
|
+
|
37
|
+
defaults:
|
38
|
+
- scope:
|
39
|
+
path: ""
|
40
|
+
type: "authors"
|
41
|
+
values:
|
42
|
+
layout: "author"
|
43
|
+
- scope:
|
44
|
+
path: ""
|
45
|
+
type: "posts"
|
46
|
+
values:
|
47
|
+
layout: "post"
|
48
|
+
author: "default_author"
|
49
|
+
- scope:
|
50
|
+
path: ""
|
51
|
+
values:
|
52
|
+
layout: "default"
|
53
|
+
language: "de"
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
permalink: /:categories/:title:output_ext
|
58
|
+
|
59
|
+
excerpt_separator: <!--more-->
|
data/_data/i18n.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
author_email: "email: "
|
2
|
+
author_github: "github: "
|
3
|
+
author_image_alt: "image of "
|
4
|
+
author_orcid: "orcid: "
|
5
|
+
categories_heading: Categories
|
6
|
+
default_by: "by "
|
7
|
+
default_on: ", on "
|
8
|
+
index_aria_latest: Navigate the latest articles
|
9
|
+
page404_subtitle: We are looking for this site as well...
|
10
|
+
page404_text: "Meanwhile, You could have a look around:"
|
11
|
+
short_navigation_aria_label: Navigate categories
|
12
|
+
short_navigation_author: Author
|
data/_includes/head.html
ADDED
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<nav {% if short_navigation_id %}id="{{ short_navigation_id }}" {% endif %}aria-label="{{ site.data.i18n.short_navigation_aria_label }}">
|
2
|
+
{% if short_navigation_include_home == true %}
|
3
|
+
<h1><a href="/">{{ site.title }}</a></h1>
|
4
|
+
{% endif %}
|
5
|
+
<ul>
|
6
|
+
{% for category in site.categories %}
|
7
|
+
{% capture category_name %}{{ category | first }}{% endcapture %}
|
8
|
+
<li><a href="{{ site.baseurl }}/categories/#{{ category_name | slugize }}">{{ category_name }}</a></li>
|
9
|
+
{% endfor %}
|
10
|
+
{% if site.authors.size > 1 %}
|
11
|
+
{% for author in site.authors %}
|
12
|
+
<li><a href="{{ author.url }}">{{ author.name }}</a></li>
|
13
|
+
{% endfor %}
|
14
|
+
{% else %}
|
15
|
+
{% assign author = site.authors | first %}
|
16
|
+
<li><a href="{{ author.url }}">{{ site.data.i18n.short_navigation_author }}</a></li>
|
17
|
+
{% endif %}
|
18
|
+
{% for page in site.pages %}
|
19
|
+
{% unless site.short_navigation_ignore contains page.layout %}
|
20
|
+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
|
21
|
+
{% endunless %}
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</nav>
|
data/_includes/tail.html
ADDED
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
<div class="container">
|
5
|
+
{% assign short_navigation_id = 'short-navigation' %}
|
6
|
+
{% assign short_navigation_include_home = true %}
|
7
|
+
{% include short-navigation.html %}
|
8
|
+
<main id="author" class="page">
|
9
|
+
<article>
|
10
|
+
<header>
|
11
|
+
<h1>{{ page.name }}</h1>
|
12
|
+
<div class="mugshot{% if site.author_round_mugshot %} circle{% endif %}">
|
13
|
+
{% if page.image %}<img src="/assets/images/{{ page.image }}" alt="{{ site.data.i18n.author_image_alt }}{{ page.name }}"/>{% endif %}
|
14
|
+
</div>
|
15
|
+
</header>
|
16
|
+
{{ content }}
|
17
|
+
<ul>
|
18
|
+
{% if page.email %}
|
19
|
+
<li>{{ site.data.i18n.author_email }}<a href="mailto:{{ page.email }}">{{ page.email }}</a></li>
|
20
|
+
{% endif %}
|
21
|
+
{% if page.github %}
|
22
|
+
<li>{{ site.data.i18n.author_github }}<a href="https://github.com/{{ page.github }}">{{ page.github }}</a></li>
|
23
|
+
{% endif %}
|
24
|
+
{% if page.orcid %}
|
25
|
+
<li>{{ site.data.i18n.author_orcid }}<a href="https://orcid.org/{{ page.orcid }}">{{ page.orcid }}</a></li>
|
26
|
+
{% endif %}
|
27
|
+
</ul>
|
28
|
+
</article>
|
29
|
+
</main>
|
30
|
+
</div>
|
data/_layouts/base.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.language }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
|
8
|
+
<title>{{ page.title }} | {{ site.title }}</title>
|
9
|
+
<link rel="stylesheet" href="{{ '/assets/css/normalize_reset.css' | absolute_url }}" />
|
10
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}" />
|
11
|
+
</head>
|
12
|
+
|
13
|
+
<body class="{% if site.style_typewriter %}typewriter{% endif %}{% if site.style_force_dark %} dark{% endif %}">
|
14
|
+
{{ content }}
|
15
|
+
</body>
|
16
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
<div class="container">
|
5
|
+
{% assign short_navigation_id = 'short-navigation' %}
|
6
|
+
{% assign short_navigation_include_home = true %}
|
7
|
+
{% include short-navigation.html %}
|
8
|
+
<main id="categories" class="page">
|
9
|
+
<header>
|
10
|
+
<h1>{{ site.data.i18n.categories_heading }}</h1>
|
11
|
+
</header>
|
12
|
+
<nav id="categories" aria-label="">
|
13
|
+
{% for category in site.categories %}
|
14
|
+
{% capture category_name %}{{ category | first }}{% endcapture %}
|
15
|
+
<section id="#{{ category_name | slugize }}">
|
16
|
+
<h2>{{ category_name }}</h2>
|
17
|
+
<ul>
|
18
|
+
{% for post in site.categories[category_name] %}
|
19
|
+
<li><a href="{{ post.url }}">{{post.title}}</a></li>
|
20
|
+
{% endfor %}
|
21
|
+
</ul>
|
22
|
+
</section>
|
23
|
+
{% endfor %}
|
24
|
+
</nav>
|
25
|
+
</main>
|
26
|
+
</div>
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
<main id="front" class="container">
|
5
|
+
<header>
|
6
|
+
<h1>{{ site.title }}</h1>
|
7
|
+
{% include short-navigation.html %}
|
8
|
+
</header>
|
9
|
+
<nav id="latest-nav" {% if site.index_show_header_latest %} aria-labelledby="#header-latest"{% else %} aria-label="{{ site.data.i18n.index_aria_latest }}"{% endif %}>
|
10
|
+
{% if site.index_show_header_latest %}<h2 id="header-latest">Latest</h2>{% endif %}
|
11
|
+
<ul>
|
12
|
+
{% for post in site.posts limit:5 %}
|
13
|
+
<li><a href="{{ post.url }}">/ {{ post.date | date: "%Y-%m-%d" }} / {{ post.categories | first }} / {{ post.title }}</a></li>
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
16
|
+
</nav>
|
17
|
+
</main>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
<main id="page404" class="container">
|
5
|
+
<header>
|
6
|
+
<hgroup>
|
7
|
+
<h1>404</h1>
|
8
|
+
<p>{{ site.data.i18n.page404_subtitle }}</p>
|
9
|
+
</hgroup>
|
10
|
+
<p>{{ site.data.i18n.page404_text }}</p>
|
11
|
+
{% include short-navigation.html %}
|
12
|
+
</header>
|
13
|
+
</main>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
<div class="container">
|
5
|
+
{% assign short_navigation_id = 'short-navigation' %}
|
6
|
+
{% assign short_navigation_include_home = true %}
|
7
|
+
{% include short-navigation.html %}
|
8
|
+
{% assign author = site.authors | where:"author-id", page.author | first %}
|
9
|
+
{% unless author %}
|
10
|
+
{% assign author = site.authors | where:"author-id", "default_author" | first %}
|
11
|
+
{% endunless %}
|
12
|
+
<main class="page">
|
13
|
+
<article itemscope itemtype="https://schema.org/BlogPosting" itemid="{{ site.url }}{{ page.url }}">
|
14
|
+
<header>
|
15
|
+
<h1 itemprop="name">{{ page.title }}</h1>
|
16
|
+
<p>
|
17
|
+
{{ site.data.i18n.default_by }}<span itemprop="author" itemscope itemtype="https://schema.org/Person"><span itemprop="name"><a itemprop="url" href="{{ author.url }}">{{ author.name }}</a></span></span>{{ site.data.i18n.default_on }}<time itemprop="datePublished" datetime="{{ page.date }}">{{ page.date | date: "%Y-%m-%d" }}</time>
|
18
|
+
</p>
|
19
|
+
</header>
|
20
|
+
{% if page.excerpt != page.content %}
|
21
|
+
<section itemprop="abstract" class="abstract">
|
22
|
+
{{ page.excerpt }}
|
23
|
+
</section>
|
24
|
+
<section itemprop="articleBody">
|
25
|
+
{{ page.content | remove: page.excerpt }}
|
26
|
+
</section>
|
27
|
+
{% else %}
|
28
|
+
<section itemprop="articleBody">
|
29
|
+
{{ content }}
|
30
|
+
</section>
|
31
|
+
{% endif %}
|
32
|
+
<footer>
|
33
|
+
<p itemprop="copyrightNotice">© <time itemprop="datePublished" datetime="{{ page.date }}">{{ page.date | date: "%Y" }}</time>{{ site.data.i18n.default_by }}<span itemprop="author" itemscope itemtype="https://schema.org/Person"><span itemprop="name"><a itemprop="url" href="{{ author.url }}">{{ author.name }}</a></span></span>
|
34
|
+
</p>
|
35
|
+
</footer>
|
36
|
+
</article>
|
37
|
+
</main>
|
38
|
+
</div>
|
data/assets/css/main.css
ADDED
@@ -0,0 +1,267 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: 'MenuRegular';
|
3
|
+
src: url('../fonts/pixeldroidMenuRegular/pixeldroidMenuRegular.otf'), '../fonts/pixeldroidMenuRegular/pixeldroidMenuRegular.ttf') format('truetype'), url('../fonts/pixeldroidMenuRegular/pixeldroidMenuRegular-64.fnt') format('fnt');
|
4
|
+
font-weight: normal;
|
5
|
+
font-style: normal;
|
6
|
+
}
|
7
|
+
@font-face {
|
8
|
+
font-family: 'BoticRegular';
|
9
|
+
src: url('../fonts/pixeldroidBoticRegular/pixeldroidBoticRegular.otf'), '../fonts/pixeldroidBoticRegular/pixeldroidBoticRegular.ttf') format('truetype'), url('../fonts/pixeldroidMenuRegular/pixeldroidMenuRegular-64.fnt') format('fnt');
|
10
|
+
font-weight: normal;
|
11
|
+
font-style: normal;
|
12
|
+
}
|
13
|
+
|
14
|
+
body {
|
15
|
+
font-family: serif;
|
16
|
+
color: var(--color-onsurface);
|
17
|
+
background-color: var(--color-surface);
|
18
|
+
}
|
19
|
+
|
20
|
+
body, .container {
|
21
|
+
height: 100vh;
|
22
|
+
}
|
23
|
+
|
24
|
+
.container {
|
25
|
+
width: 90%;
|
26
|
+
max-width: 64rem;
|
27
|
+
margin: auto;
|
28
|
+
display: grid;
|
29
|
+
grid-template-columns: 1fr;
|
30
|
+
grid-template-rows: auto 1fr auto;
|
31
|
+
grid-template-areas:
|
32
|
+
"header"
|
33
|
+
"main"
|
34
|
+
"footer"
|
35
|
+
}
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Style: Typewriter
|
39
|
+
*/
|
40
|
+
|
41
|
+
.typewriter {
|
42
|
+
h1, h2, h3, h4, h5, h6, p, a, li {
|
43
|
+
font-family: mono;
|
44
|
+
}
|
45
|
+
|
46
|
+
ul {
|
47
|
+
padding-inline-start: 1rem;
|
48
|
+
list-style-type: "- ";
|
49
|
+
}
|
50
|
+
|
51
|
+
ol {
|
52
|
+
padding-inline-start: 2rem;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Front Page / 404
|
58
|
+
*/
|
59
|
+
|
60
|
+
#front, #page404 {
|
61
|
+
ul {
|
62
|
+
padding-left: 0;
|
63
|
+
padding-right: 0;
|
64
|
+
list-style-type: none;
|
65
|
+
}
|
66
|
+
|
67
|
+
li {
|
68
|
+
padding-bottom: 0.5rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
a {
|
72
|
+
text-decoration: none;
|
73
|
+
}
|
74
|
+
|
75
|
+
#latest-nav {
|
76
|
+
grid-area: footer;
|
77
|
+
font-weight: bold;
|
78
|
+
}
|
79
|
+
|
80
|
+
header {
|
81
|
+
grid-area: main;
|
82
|
+
align-content: center;
|
83
|
+
|
84
|
+
text-align: center;
|
85
|
+
|
86
|
+
li {
|
87
|
+
display: inline;
|
88
|
+
padding: 0 0.5rem;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
#front {
|
94
|
+
h1 {
|
95
|
+
margin-bottom: 0;
|
96
|
+
font-size: clamp(2rem, 10vw, 9rem);
|
97
|
+
font-family: MenuRegular;
|
98
|
+
text-transform: none;
|
99
|
+
}
|
100
|
+
|
101
|
+
h2 {
|
102
|
+
margin: 0 0 1rem 0;
|
103
|
+
text-transform: none;
|
104
|
+
font-size: 1.5rem;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
#page404 {
|
109
|
+
h1 {
|
110
|
+
font-size: clamp(2rem, 20vw, 9rem);
|
111
|
+
margin-bottom: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
hgroup {
|
115
|
+
font-size: clamp(2rem, 10vw, 9rem);
|
116
|
+
margin-bottom: 3rem;
|
117
|
+
}
|
118
|
+
|
119
|
+
h1, hgroup {
|
120
|
+
font-family: MenuRegular;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Short Navigation
|
126
|
+
*/
|
127
|
+
|
128
|
+
#short-navigation {
|
129
|
+
h1 {
|
130
|
+
display: inline;
|
131
|
+
a {
|
132
|
+
font-family: MenuRegular;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
ul {
|
137
|
+
padding-left: 0;
|
138
|
+
padding-right: 0;
|
139
|
+
list-style-type: none;
|
140
|
+
display: inline;
|
141
|
+
}
|
142
|
+
|
143
|
+
li {
|
144
|
+
display: inline;
|
145
|
+
padding: 0 0.5rem;
|
146
|
+
}
|
147
|
+
|
148
|
+
a {
|
149
|
+
text-decoration: none;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Categories / Default
|
155
|
+
*/
|
156
|
+
|
157
|
+
.container {
|
158
|
+
&>#short-navigation {
|
159
|
+
grid-area: header;
|
160
|
+
margin: 1rem 0 3rem 0;
|
161
|
+
}
|
162
|
+
|
163
|
+
&>main {
|
164
|
+
grid-area: main;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.page {
|
169
|
+
main& {
|
170
|
+
padding: 0 0 0 2rem;
|
171
|
+
}
|
172
|
+
|
173
|
+
header {
|
174
|
+
text-align: center;
|
175
|
+
margin-left: -2rem;
|
176
|
+
margin-bottom: 2rem;
|
177
|
+
|
178
|
+
p {
|
179
|
+
text-align: inherit;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
h1 {
|
184
|
+
text-transform: uppercase;
|
185
|
+
}
|
186
|
+
|
187
|
+
h2 {
|
188
|
+
text-transform: uppercase;
|
189
|
+
margin-left: -2rem;
|
190
|
+
font-weight: normal;
|
191
|
+
}
|
192
|
+
|
193
|
+
p, li {
|
194
|
+
line-height: 1.5;
|
195
|
+
}
|
196
|
+
|
197
|
+
p {
|
198
|
+
text-align: justify;
|
199
|
+
}
|
200
|
+
|
201
|
+
ul, ol {
|
202
|
+
padding-inline-start: 2rem;
|
203
|
+
}
|
204
|
+
|
205
|
+
pre {
|
206
|
+
margin-left: -1rem;
|
207
|
+
padding: 1rem;
|
208
|
+
border-style: solid;
|
209
|
+
border-width: 0 0 0 calc(1rem / 16);
|
210
|
+
font-family: mono;
|
211
|
+
}
|
212
|
+
|
213
|
+
code, pre {
|
214
|
+
background-color: var(--color-surfacecontainerlowest);
|
215
|
+
color: var(--color-onsurfacecontainerlowest);
|
216
|
+
}
|
217
|
+
|
218
|
+
code {
|
219
|
+
font-size: 0.8rem;
|
220
|
+
line-height: 1.5rem;
|
221
|
+
padding: 0 0.5rem;
|
222
|
+
}
|
223
|
+
|
224
|
+
.abstract {
|
225
|
+
font-style: italic;
|
226
|
+
margin-bottom: 1rem;
|
227
|
+
}
|
228
|
+
|
229
|
+
footer {
|
230
|
+
margin-top: 3rem;
|
231
|
+
|
232
|
+
p {
|
233
|
+
text-align: right;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
|
238
|
+
#categories {
|
239
|
+
ul {
|
240
|
+
list-style-type: '> ';
|
241
|
+
|
242
|
+
a {
|
243
|
+
text-decoration: none;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
/**
|
249
|
+
* Authors
|
250
|
+
*/
|
251
|
+
|
252
|
+
.mugshot {
|
253
|
+
max-width: 8rem;
|
254
|
+
max-height: 8rem;
|
255
|
+
display: inline-block;
|
256
|
+
|
257
|
+
&.circle {
|
258
|
+
border-radius: 50%;
|
259
|
+
overflow: hidden;
|
260
|
+
border-width: 0.3rem;
|
261
|
+
border-style: solid;
|
262
|
+
}
|
263
|
+
|
264
|
+
img {
|
265
|
+
width: 100%;
|
266
|
+
}
|
267
|
+
}
|