Skip to content

Commit

Permalink
Update styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcth committed Jan 7, 2024
1 parent 7862b55 commit 019386a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions theme/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ html, body {
max-width: 960px;
}

.nav ul li a {
height: 120px;
}

.nav ul > li:first-of-type {
font-size: 2em;
font-family: "Hobo";
Expand Down
4 changes: 2 additions & 2 deletions theme/templates/base/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
</head>

<body>
{% if menuitems %}
<nav id="nav" class="nav">
<ul>
{% if menuitems %}
{% for title, link in (menuitems.items() | list)[:4] %}
<li id="nav-{{ title }}" title="{{ title }}">
<a class="nav-{{ title }} nav_link {% if title=="hem" %}activeMenu{% endif %}" title="{{ title }}" {% if ( link=="hem" ) %} href="/greenhouse-majorna/" {% else %} href="/greenhouse-majorna/{{link}}/" {% endif %}>
{{title}}
</a>
</li>
{% endfor %}
{% endif %}
</ul>
</nav>
{% endif %}

<main id="main" class="main">
{% block content %}
Expand Down

0 comments on commit 019386a

Please sign in to comment.