Skip to content

Commit 47a24a5

Browse files
Enhances theme configuration and adds custom styles
Corrects media query syntax for consistency. Introduces edit and view icons for improved content interactions. Enables direct content editing feature and integrates custom CSS to support future styling adjustments.
1 parent 5a1b49e commit 47a24a5

7 files changed

Lines changed: 82 additions & 1 deletion

File tree

docs/.authors.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
authors:
2+
MariusStorhaug:
3+
name: Marius Storhaug
4+
description: Developer and maintainer of PSModule
5+
avatar: https://avatars.githubusercontent.com/u/17722253?v=4
6+
slug: MariusStorhaug
7+
url: https://github.com/MariusStorhaug

docs/blog/posts/test copy 2.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
date:
3+
created: 2024-01-31
4+
updated: 2024-01-31
5+
authors:
6+
- MariusStorhaug
7+
categories:
8+
- test
9+
tags:
10+
- Foo
11+
- Bar
12+
---
13+
14+
# Test blog post
15+
16+
This is a test blog post.

docs/blog/posts/test copy 3.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
date:
3+
created: 2024-01-31
4+
updated: 2024-01-31
5+
authors:
6+
- MariusStorhaug
7+
categories:
8+
- test
9+
tags:
10+
- Foo
11+
- Bar
12+
---
13+
14+
# Test blog post
15+
16+
This is a test blog post.

docs/blog/posts/test copy.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
date:
3+
created: 2024-01-31
4+
updated: 2024-01-31
5+
authors:
6+
- MariusStorhaug
7+
categories:
8+
- test
9+
tags:
10+
- Foo
11+
- Bar
12+
---
13+
14+
# Test blog post
15+
16+
This is a test blog post.

docs/blog/posts/test.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
date:
3+
created: 2024-01-31
4+
updated: 2024-01-31
5+
authors:
6+
- MariusStorhaug
7+
categories:
8+
- test
9+
tags:
10+
- Foo
11+
- Bar
12+
---
13+
14+
# Test blog post
15+
16+
This is a test blog post.

docs/stylesheets/extra.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.md-grid {
2+
max-width: 100%;
3+
padding: 0 1rem;
4+
}

mkdocs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ theme:
99
favicon: assets/icon.png
1010
palette:
1111
# Palette toggle for automatic mode
12-
- media: "(prefers-color-scheme)"
12+
- media: '(prefers-color-scheme)'
1313
toggle:
1414
icon: material/link
1515
name: Switch to dark mode
@@ -31,6 +31,8 @@ theme:
3131
name: Switch to system preference
3232
icon:
3333
repo: material/github
34+
edit: material/pencil
35+
view: material/eye
3436
features:
3537
- navigation.instant
3638
- navigation.instant.progress
@@ -40,6 +42,7 @@ theme:
4042
- navigation.tracking
4143
- search.suggest
4244
- search.highlight
45+
- content.action.edit
4346

4447
# nav:
4548
# - Home: README.md
@@ -83,3 +86,6 @@ extra:
8386
actions:
8487
- accept
8588
- reject
89+
90+
extra_css:
91+
- stylesheets/extra.css

0 commit comments

Comments
 (0)