diff --git a/content/_index.md b/content/_index.md
deleted file mode 100644
index 2970109..0000000
--- a/content/_index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-+++
-title = "Accueil"
-+++
diff --git a/content/a-propos.md b/content/a-propos.md
deleted file mode 100644
index 6d61c69..0000000
--- a/content/a-propos.md
+++ /dev/null
@@ -1,6 +0,0 @@
-+++
-title = "À propos"
-template = "about.html"
-+++
-
-A propos de ce site
\ No newline at end of file
diff --git a/content/articles/example.md b/content/articles/example.md
index 6863611..0dcfda6 100644
--- a/content/articles/example.md
+++ b/content/articles/example.md
@@ -4,11 +4,8 @@ description = "A quoi ça ressemble un article ?"
date = 2025-03-27
updated = 2025-05-13
authors = ["Ungol"]
-draft = true
+++
-
-
Cet article est un exemple utilisant du lorem ipsum en markdown pour développer
et styler les éléments sur une base qui ressemble à un vrai texte. Il contient les éléments d'un article assez complet.
@@ -31,7 +28,7 @@ Oechalidum[^second] limus posse.
[^second]: Footnote text.
-```c#,linenos,name=example.cs
+```c#
using System.IO.Compression;
#pragma warning disable 414, 3021
diff --git a/sass/parts/_anchor.scss b/sass/parts/_anchor.scss
index ca87477..39c607d 100644
--- a/sass/parts/_anchor.scss
+++ b/sass/parts/_anchor.scss
@@ -8,14 +8,14 @@ h3,
h4,
h5,
h6 {
- &>a.zola-anchor {
+ &>a {
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s linear;
}
&:hover {
- &>a.zola-anchor {
+ &>a {
visibility: visible;
opacity: 1;
}
diff --git a/sass/parts/_articles-index.scss b/sass/parts/_articles-index.scss
deleted file mode 100644
index ee80f4d..0000000
--- a/sass/parts/_articles-index.scss
+++ /dev/null
@@ -1,37 +0,0 @@
-ul.articles-index {
- list-style-type: none;
- padding-left: 0;
-
- li {
- margin-top: 1rem;
- margin-bottom: 1rem;
- }
-
- .title {
- margin: 0;
-
- &>a {
- color: var(--text);
- text-decoration: none;
- font-weight: bold;
-
- &:visited {
- color: var(--lavender);
- }
-
- &:hover {
- color: var(--sky);
- }
- }
-
- &::before {
- content: "-";
- margin-left: .5rem;
- margin-right: .5rem;
- }
- }
-
- .date {
- color: var(--subtext0);
- }
-}
\ No newline at end of file
diff --git a/sass/parts/_articles.scss b/sass/parts/_articles.scss
deleted file mode 100644
index 8bc8553..0000000
--- a/sass/parts/_articles.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-ul.articles {
- list-style-type: none;
- padding-left: 0;
-
- li {
- margin-top: 3rem;
- margin-bottom: 3rem;
- }
-
- .title {
- margin: 0;
-
- &>a {
- color: var(--text);
- text-decoration: none;
-
- &:visited {
- color: var(--lavender);
- }
-
- &:hover {
- color: var(--sky);
- }
- }
- }
-
- .date {
- color: var(--subtext0);
- }
-
- a.read-more {
- color: var(--overlay1);
- }
-}
\ No newline at end of file
diff --git a/sass/parts/_code.scss b/sass/parts/_code.scss
index a965df2..0249570 100644
--- a/sass/parts/_code.scss
+++ b/sass/parts/_code.scss
@@ -1,5 +1,4 @@
pre {
- position: relative;
font-family: var(--mono-font);
padding: 1.25rem;
border-radius: var(--standard-border-radius);
@@ -7,45 +6,11 @@ pre {
border-color: var(--overlay0);
border-width: 0.15rem;
line-height: initial;
- overflow: hidden;
- overflow-x: auto;
+ overflow-x: scroll;
&>code {
background-color: initial;
border: initial;
- padding: 0;
- }
-
- &[data-linenos] {
- padding: 1.25rem 0;
- }
-
- table {
- width: 100%;
- border-collapse: collapse;
- margin: 0;
-
- th,
- td,
- tr {
- border: none;
- padding: 0
- }
-
- td:nth-of-type(1) {
- text-align: center;
- vertical-align: top;
- user-select: none;
- color: var(--overlay1);
- }
-
- tr:nth-child(even) td {
- background-color: inherit;
- }
- }
-
- mark {
- display: block;
}
}
diff --git a/sass/parts/_index.scss b/sass/parts/_index.scss
deleted file mode 100644
index 1ca5b17..0000000
--- a/sass/parts/_index.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-section.last-articles {
- margin-top: 4rem;
-
- h1 {
- border-bottom-width: .1rem;
- border-bottom-style: solid;
- border-bottom-color: var(--surface0);
- }
-}
\ No newline at end of file
diff --git a/sass/parts/_navbar.scss b/sass/parts/_navbar.scss
index 4eadd7f..2d9213d 100644
--- a/sass/parts/_navbar.scss
+++ b/sass/parts/_navbar.scss
@@ -27,16 +27,6 @@ nav {
font-weight: 100;
text-transform: uppercase;
@include link(var(--text), var(--text));
-
- picture {
- img {
- max-height: 5rem;
- display: inline;
- vertical-align: middle;
- margin-top: .5rem;
- margin-bottom: .5rem;
- }
- }
}
.nav-bar {
diff --git a/sass/shortcodes/_callout.scss b/sass/shortcodes/_callout.scss
index d18a3b9..f50eb75 100644
--- a/sass/shortcodes/_callout.scss
+++ b/sass/shortcodes/_callout.scss
@@ -67,7 +67,7 @@
@include callout_customization("success", "--green", "");
@include callout_customization("warning", "--yellow", "");
@include callout_customization("danger", "--red", "");
- @include callout_customization("error", "--red", "");
+ @include callout-customization("error", "--red", "");
@include callout_customization("tip", "--teal", "");
@include callout_customization("note", "--lavender", "");
@include callout_customization("question", "--sky", "");
diff --git a/sass/styles.scss b/sass/styles.scss
index 65769f6..9a81197 100644
--- a/sass/styles.scss
+++ b/sass/styles.scss
@@ -2,9 +2,6 @@
@use 'theme';
@use 'shortcodes/callout';
@use 'parts/anchor';
-@use 'parts/articles-index';
-@use 'parts/articles';
-@use 'parts/index';
@use 'parts/code';
@use 'parts/footnote';
@use 'parts/misc';
@@ -32,14 +29,14 @@ body {
margin: 0;
}
-main {
+article {
max-width: calc(var(--main-width) - 12rem);
margin-left: auto;
margin-right: auto;
}
@media only screen and (max-width: $smartphone) {
- main {
+ article {
max-width: var(--main-width);
}
}
@@ -49,13 +46,8 @@ h1 {
font-weight: medium;
margin-top: 2rem;
margin-bottom: 1rem;
-
- &.section-title {
- font-size: 3rem;
- }
}
-
h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
@@ -98,10 +90,6 @@ h6 {
h1 {
font-size: 1.5rem;
margin-top: 1.3rem;
-
- &.section-title {
- font-size: 2.2rem;
- }
}
h2 {
diff --git a/static/logos/banniere-dark.svg b/static/logos/banniere-dark.svg
deleted file mode 100644
index aa05070..0000000
--- a/static/logos/banniere-dark.svg
+++ /dev/null
@@ -1,1723 +0,0 @@
-
-
-
-
diff --git a/static/logos/banniere-light.svg b/static/logos/banniere-light.svg
deleted file mode 100644
index 59f2163..0000000
--- a/static/logos/banniere-light.svg
+++ /dev/null
@@ -1,1723 +0,0 @@
-
-
-
-
diff --git a/templates/about.html b/templates/about.html
deleted file mode 100644
index c9ef304..0000000
--- a/templates/about.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-