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
|
||||
dynamiques collectives, les libertés numériques et la facilitation.
|
||||
|
||||
Si vous souhaitez me contacter, envoyez moi un email sur ``alexis``
|
||||
@ ``notmyidea.org``.
|
||||
Pour me contacter, envoyez-moi un email sur ``alexis`` ``@`` ``notmyidea.org``.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -239,7 +239,8 @@ section.index {
|
|||
#links li {
|
||||
display: initial;
|
||||
list-style-type: none;
|
||||
}
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
# links li:nth-child(1) {
|
||||
display: inline-block;
|
||||
|
@ -260,11 +261,15 @@ section.index {
|
|||
color: var(--link-color-menu);
|
||||
}
|
||||
|
||||
#links a.selected {
|
||||
#links a.main {
|
||||
color: #fff;
|
||||
background-color: var(--link-color-menu);
|
||||
}
|
||||
|
||||
#links a.selected {
|
||||
text-decoration-color: var(--link-color);
|
||||
}
|
||||
|
||||
#links a.selected:hover {
|
||||
cursor: default;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
<section id="links">
|
||||
<ul>
|
||||
{% for (title, url, selected) in MENU %}
|
||||
{% if loop.first %}
|
||||
<li><a class="main" href="/">{{ SITENAME }}</a></li>
|
||||
{% endif %}
|
||||
<li><a class="{%
|
||||
if page_name == selected
|
||||
or (category and category.name == selected)
|
||||
|
|
|
@ -31,7 +31,6 @@ CATEGORY_SAVE_AS = "{slug}/index.html"
|
|||
CATEGORY_URL = "{slug}/"
|
||||
|
||||
MENU = [
|
||||
("Alexis Métaireau", "/", "index"),
|
||||
("Journal", "/journal/index.html", "journal"),
|
||||
("Code, etc.", "/code/", "code"),
|
||||
("Notes hebdo", "/weeknotes/", "weeknotes"),
|
||||
|
|
Loading…
Reference in a new issue