Skip to content

Commit 9fc5cbc

Browse files
committed
integrate giscus and update theme
1 parent a061627 commit 9fc5cbc

File tree

20 files changed

+358
-96
lines changed

20 files changed

+358
-96
lines changed

.github/workflows/hugo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
build:
3333
runs-on: ubuntu-latest
3434
env:
35-
HUGO_VERSION: 0.123.7
35+
HUGO_VERSION: 0.140.0
3636
steps:
3737
- name: Install Hugo CLI
3838
run: |

hugo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ enableRobotsTXT = true
1010
tag = 'tags'
1111

1212
[markup]
13-
defaultMarkdownHandler = 'goldmark'
13+
[markup.goldmark]
14+
[markup.goldmark.parser]
15+
[markup.goldmark.parser.attribute]
16+
block = true
17+
[markup.goldmark.renderer]
18+
unsafe = true
19+
1420

1521
copyright = "2024 Dragos Ioana All rights reserved"
1622
[Author]
1723
name = "Dragos Ioana"
1824
1925

2026
[params]
21-
Description = "A personal blog by Dragos Ioana which focuses on creativity and software development"
27+
description = "A personal blog by Dragos Ioana which focuses on creativity and software development"
Lines changed: 81 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,100 @@
1+
:root:not([data-theme="dark"]), [data-theme="light"] {
2+
background-color: #B2C9AD!important;
3+
}
4+
15
body {
2-
font-family: "Domine", serif;
6+
font-family: "Domino", serif;
37
font-optical-sizing: auto;
4-
font-weight: 600;
8+
font-weight: 400;
59
font-style: normal;
10+
background-color: #B2C9AD!important;
11+
margin: 0;
12+
}
13+
14+
header {
15+
padding-block: 0!important;
16+
margin: 0;
617
}
718

8-
.site-title {
19+
.decor {
20+
background: #DF6D2D;
21+
background: -webkit-linear-gradient(left, white 50%, #DF6D2D 50%);
22+
background: -moz-linear-gradient(left, white 50%, #DF6D2D 50%);
23+
background: -o-linear-gradient(left, white 50%, #DF6D2D 50%);
24+
background: linear-gradient(left, white 50%, #DF6D2D 50%);
25+
background-size: 50px 25%;
26+
padding: 2px;
27+
display: block;
28+
}
29+
30+
nav {
931
font-family: "Space Mono", serif;
10-
font-weight: 400;
11-
font-style: normal;
32+
padding: 0 1rem 0;
33+
backdrop-filter: blur(15px);
34+
box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;;
1235
}
1336

1437
a {
38+
border-radius: 3px;
39+
font-weight: 700;
40+
padding: 5px;
1541
text-decoration: none;
16-
color: black;
42+
display: inline-block;
43+
position: relative;
44+
color: #66785F!important;
45+
}
46+
47+
li > a:hover, p > a:hover {
48+
background-color: #4B5945;
49+
color: white!important;
50+
left: 0;
51+
}
52+
53+
blockquote {
54+
background-color: #4B5945;
55+
color: white!important;
56+
}
57+
blockquote > p, blockquote > a, blockquote > strong > a {
58+
color: white!important;
59+
}
60+
61+
h1, h2, h3, p, li {
62+
color: #66785F!important;
1763
}
1864

19-
a:hover {
20-
text-decoration: underline;
65+
.meta-info {
66+
font-family: "Spline Sans Mono", serif;
67+
font-size: 70%;
68+
font-style: italic;
69+
margin-bottom: 0.2rem;
70+
color: #4B5945;
2171
}
2272

73+
code {
74+
font-family: "Space Mono", serif;
75+
font-weight: 400;
76+
font-style: normal;
77+
background-color: #4B5945!important;
78+
color: white!important;
79+
}
2380

24-
.pill {
81+
code[data-lang]::after {
82+
content: attr(data-lang);
83+
position: absolute;
84+
bottom: 8px;
85+
right: 8px;
86+
background-color: #B2C9AD;
87+
color: #66785F;
2588
font-size: 12px;
26-
padding: 0.5em 1em;
27-
margin: 0.25em;
28-
border-radius: 1em;
29-
border: none;
30-
outline: none;
31-
background-color: #dddddd;
89+
padding: 2px 6px;
90+
border-radius: 3px;
91+
pointer-events: none;
92+
font-family: monospace;
93+
text-transform: capitalize;
3294
}
3395

34-
.pill:hover {
35-
background-color: #cccccc;
96+
pre {
97+
background-color: #4B5945!important;
98+
color: white!important;
99+
position: relative;
36100
}

themes/base-theme/content/about.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ draft = false
77

88
You can reffer to [my LinkedIn profile](https://www.linkedin.com/in/dragos-ioana-326b11192) for my bio and work experience.
99

10-
The `/now` section contains the projects I'm actively involved in.
11-
12-
### Socials :thought_balloon:
13-
10+
The `/now` section contains the projects I'm actively involved in, or you can follow me here:
1411
- [Github](https://github.com/undacmic)
1512
- [Instagram](https://www.instagram.com/un_dragos/)

themes/base-theme/content/posts/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@ title = 'Articles'
33
date = 2023-01-01T08:30:00-07:00
44
draft = false
55
+++
6-
7-
## Articles :book:
237 KB
Loading
394 KB
Loading
929 KB
Loading
920 KB
Loading

0 commit comments

Comments
 (0)