DemocracyClub / dc_base_theme

🎨 Democracy Club Base Theme
0 stars 7 forks source link

Menus #50

Open chris48s opened 5 years ago

chris48s commented 5 years ago

It would be helpful if the theme had some useful menu styles in it. https://github.com/DemocracyClub/dc_base_theme/blob/master/dc_theme/static/dc_theme/scss/dc/_menu.scss looks like it should cover this, but if I put this fragment in a project using the DC theme

{% block content %}
<header>
  <nav role="navigation">
    <ul>
      <li><a href="#">foo</a></li>
      <li><a href="#">bar</a></li>
    </ul>
  </nav>
</header>

<div class="card">
    bla bla
</div>
{% endblock content %}

this happens..

GIFrecord_2019-10-08_144234

which isn't quite what I was hoping for :(

In general, I think this is problem we've addressed on an ad-hoc basis in the DC corp site and leaflets so would be useful to pull those styles into the base theme.