Skip to content

Commit c8cf75a

Browse files
committed
feat: enhance global styles and components; update color variables for improved theme support; adjust link colors in articles and navigation; refine layout styles for better responsiveness
1 parent bdc40ef commit c8cf75a

File tree

10 files changed

+54
-29
lines changed

10 files changed

+54
-29
lines changed

src/lib/assets/global.css

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@
3030
--contain-border: rgba(255, 255, 255, 0.4);
3131
--nav-invert: 0;
3232

33-
--bg-darklight: #00a2d9;
34-
33+
--bg-darklight: #fbfb7c;
34+
--fill-darklight: #000000;
3535
--bg-container-main: #d2d9df;
36+
--link-text: rgb(0, 0, 255, 1);
37+
38+
--bg-article: rgba(255, 255, 255, 0.33);
3639

3740
}
3841
@media (prefers-color-scheme: sun) {
@@ -54,21 +57,27 @@
5457
--bg-gchart: #000;
5558
--color-gchart: #fff;
5659

57-
--bg-glass-shadow: rgb(255, 255, 255, 0.333);
60+
--bg-glass-shadow: rgb(0, 191, 255, 0.9);
5861
--bg-glass: rgb(0, 0, 0, 0.66);
5962

60-
--contain-background: rgb(0, 0, 0, 0.83);
63+
--contain-background:rgb(0, 191, 255, 0.7);
6164
--containo-background: rgb(0, 0, 0, 0.83);
6265

63-
--contain-box-shadow: rgb(255, 255, 255, 0.7);
66+
--contain-box-shadow: rgba(0, 0, 0, 0.82);
6467
--contain-border: rgba(0, 0, 0, 0.4);
6568

6669
--nav-invert: 1;
67-
--bg-darklight: #fff;
70+
--bg-darklight: rgb(0, 191, 255, 0.7);;
6871
--bg-container-main:
6972
radial-gradient(ellipse at bottom, #0d3566, transparent),
7073
radial-gradient(ellipse at top, #000f1b, transparent);
71-
/* linear-gradient(#204572,#002b4f); */
74+
75+
76+
--link-text: rgb(0, 191, 255, 0.9);
77+
78+
--bg-article: rgba(0, 0, 0, 0.7);
79+
--text-article: #fff;
80+
7281
}
7382
@media (prefers-color-scheme: moon) {
7483
:root {

src/lib/assets/mdlayouts/article.svelte

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@
77
<style>
88
99
10-
10+
:global(.container-wrapper a) {
11+
color: var(--link-text);
12+
}
1113
:global(.container-wrapper) {
1214
visibility: visible;
1315
14-
background: rgba(255, 255, 255, 0.33);
16+
background: var(--bg-glass);
17+
color: var(--text-article);
1518
border-radius: 16px;
16-
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
19+
box-shadow: 0 4px 30px var(--bg-glass-shadow);
1720
backdrop-filter: blur(6.4px);
1821
-webkit-backdrop-filter: blur(6.4px);
19-
border: 1px solid rgba(255, 255, 255, 0.4);
22+
border: 1px solid var(--contain-border);
2023
2124
2225
position: relative;

src/lib/assets/mdlayouts/erldbg.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@
2525
padding: 1rem;
2626
visibility: visible;
2727
}
28+
:global(.erldbg * a)
29+
{
30+
color: var(--link-text);
31+
}
2832
</style>

src/lib/svg/Sun.svelte

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,16 @@
2626
box-shadow: 0 0 15px 5px var(--bg-darklight);
2727
}
2828
path{
29-
fill: black;
29+
fill: var(--fill-darklight);
3030
3131
}
32+
@media only screen and (max-width: 900px) {
33+
svg {
34+
margin-top: 1rem;
35+
margin-bottom: 1rem;
36+
}
37+
38+
}
3239
3340
3441
</style>

src/routes/curriculum_vitae/+page.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@
4949
5050
overflow-x: clip;
5151
}
52+
:global(.cv * a) {
53+
color: var(--link-text);
54+
}
5255
</style>

src/routes/curriculum_vitae/Skills.svelte

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,26 @@
6161
</div>
6262
<div>
6363
For personal projects: <hr>
64-
Tools: Python/Jupyter, Svelte, Elixir<br>
64+
Tools: Python/Jupyter, Svelte, Erlang<br>
6565
Projects: <a href=https://flmath.github.io/posts>Some notes</a>
66-
and my <a href=https://github.com/flmath> repo </a>
66+
and my <a href=https://github.com/flmath> github account </a>
6767
</div>
6868
</div>
6969

7070
</div>
7171
<br />
7272
<div class="glass">
7373
<p>
74-
I graduated in mathematics. I started as a C++ developer. Soon after I
75-
transitioned to an Erlang based project. Since then my professional career
76-
is connected to it. I was part of Agile teams developing telecommunication
77-
solutions. The technical stack based on Linux, Git as the project version
78-
control system, and Jenkins for CI/CD. The teams I worked in were tasked
79-
with the end-to-end process of delivering solutions. I was usually
80-
responsible for:
74+
I hold a degree in Mathematics and began my career as a C++ developer.
75+
Shortly afterward,
76+
I transitioned to an Erlang-based project,
77+
which has shaped the direction of my professional journey ever since.
78+
I’ve worked within Agile teams focused on developing telecommunication solutions,
79+
using a tech stack centered around Linux,
80+
Git for version control, and Jenkins for CI/CD processes.
81+
The teams I’ve been part of were responsible for the full
82+
end-to-end delivery of solutions, and my typical responsibilities
83+
included:
8184
</p>
8285
<ul>
8386
<li>analyzing requirements</li>

src/routes/curriculum_vitae/TimeLineCv.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
175175
backdrop-filter: blur(6.4px);
176176
-webkit-backdrop-filter: blur(6.4px);
177-
border: 1px solid rgba(255, 255, 255, 0.4);
177+
border: 1px solid var(--contain-border);
178178
}
179179
.mainContent {
180180
color: var(--color-gchart);

src/routes/posts/ErlangDBG/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,5 @@
119119
padding: 1rem;
120120
visibility: visible;
121121
}
122+
122123
</style>

src/routes/posts/jupyter/Empirical_growth_testing/+page.svelte

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<script>
2-
import { onMount } from "svelte";
2+
33
import { theme } from '$lib/components/theme.svelte';
44
import HTML from "./page.html?raw";
5-
65
/**
76
* @type {string | null | undefined}
87
*/
@@ -23,14 +22,10 @@
2322
body.style.backgroundColor = bgColor;
2423
body.style.color = textColor;
2524
visible = true;
26-
27-
2825
2926
}
30-
3127
function onLoad() {
3228
styleIframeContent();
33-
3429
}
3530
3631
$effect(() => {

src/routes/posts/mdarticles/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<!-- This part should ideally not be reached if the load function throws a 404 -->
3434
<p>Sorry, this post could not be loaded or was not found.</p>
3535
{/if}
36-
36+
<br />
3737
<style>
3838
3939
article {

0 commit comments

Comments
 (0)