Browse Source

feat: bg color

Signed-off-by: QuentinN42 <quentin@lieumont.fr>
pull/1/head
QuentinN42 11 months ago
parent
commit
720ee5ce08
Signed by: number42 GPG Key ID: 2CD7D563712B3A50
  1. 6
      builder/templates/index.html
  2. 4
      builder/templates/main.css

6
builder/templates/index.html

@ -23,9 +23,9 @@
</li>
{% for category in config.categories %}
<li class="nav-item">
<a class="nav-link" href="#{{ category.id }}"
>{{ category.name }}</a
>
<a class="nav-link" href="#{{ category.id }}">
{{ category.name }}
</a>
{% endfor %}
</li>
</ul>

4
builder/templates/main.css

@ -26,7 +26,7 @@ h2 {
text-decoration: none;
border-radius: 6px;
border: 2px solid rgb({{category.txtrgb[0]}}, {{category.txtrgb[1]}}, {{category.txtrgb[2]}});
background: rgb(256, 256, 256, 0.9);
background: rgb(230, 230, 230);
overflow: hidden;
padding: 10%;
}
@ -42,7 +42,7 @@ h2 {
}
.item-{{category.id}} .desc {
background: rgba(256, 256, 256, 0.9);
background: rgba(230, 230, 230, 0.9);
width: 100%;
height: 100%;
transition-property: transform;

Loading…
Cancel
Save