mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 19:42:37 +02:00
Some CSS
This commit is contained in:
parent
521985f8ca
commit
97c3d1ee40
4 changed files with 11 additions and 5 deletions
|
@ -7,8 +7,7 @@ slug: index
|
||||||
👋 **Bienvenue par ici**. Developpeur et Brasseur, je suis intéressé par les
|
👋 **Bienvenue par ici**. Developpeur et Brasseur, je suis intéressé par les
|
||||||
dynamiques collectives, les libertés numériques et la facilitation.
|
dynamiques collectives, les libertés numériques et la facilitation.
|
||||||
|
|
||||||
Si vous souhaitez me contacter, envoyez moi un email sur ``alexis``
|
Pour me contacter, envoyez-moi un email sur ``alexis`` ``@`` ``notmyidea.org``.
|
||||||
@ ``notmyidea.org``.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -239,7 +239,8 @@ section.index {
|
||||||
#links li {
|
#links li {
|
||||||
display: initial;
|
display: initial;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
# links li:nth-child(1) {
|
# links li:nth-child(1) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -260,11 +261,15 @@ section.index {
|
||||||
color: var(--link-color-menu);
|
color: var(--link-color-menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
#links a.selected {
|
#links a.main {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: var(--link-color-menu);
|
background-color: var(--link-color-menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#links a.selected {
|
||||||
|
text-decoration-color: var(--link-color);
|
||||||
|
}
|
||||||
|
|
||||||
#links a.selected:hover {
|
#links a.selected:hover {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
<section id="links">
|
<section id="links">
|
||||||
<ul>
|
<ul>
|
||||||
{% for (title, url, selected) in MENU %}
|
{% for (title, url, selected) in MENU %}
|
||||||
|
{% if loop.first %}
|
||||||
|
<li><a class="main" href="/">{{ SITENAME }}</a></li>
|
||||||
|
{% endif %}
|
||||||
<li><a class="{%
|
<li><a class="{%
|
||||||
if page_name == selected
|
if page_name == selected
|
||||||
or (category and category.name == selected)
|
or (category and category.name == selected)
|
||||||
|
|
|
@ -31,7 +31,6 @@ CATEGORY_SAVE_AS = "{slug}/index.html"
|
||||||
CATEGORY_URL = "{slug}/"
|
CATEGORY_URL = "{slug}/"
|
||||||
|
|
||||||
MENU = [
|
MENU = [
|
||||||
("Alexis Métaireau", "/", "index"),
|
|
||||||
("Journal", "/journal/index.html", "journal"),
|
("Journal", "/journal/index.html", "journal"),
|
||||||
("Code, etc.", "/code/", "code"),
|
("Code, etc.", "/code/", "code"),
|
||||||
("Notes hebdo", "/weeknotes/", "weeknotes"),
|
("Notes hebdo", "/weeknotes/", "weeknotes"),
|
||||||
|
|
Loading…
Reference in a new issue