Commit f713226a authored by Hanna Schraffenberger's avatar Hanna Schraffenberger
Browse files

Menu icon

parent d00c62a6
......@@ -12,8 +12,8 @@
<li class="nav-item {% if page.url == nav_item.link %}active{% endif %}"><a href="{{ nav_item.link }}">{{ nav_item.link_text }}</a></li>
{% endfor %}
</ul>
<a href="javascript:void(0);" class="icon" onclick="toggleMenu()">
<i class="fa fa-bars"></i>
<a href="javascript:void(0);" class="border-menu" onclick="toggleMenu()">
Menu
</a>
</nav>
......
......@@ -10,6 +10,5 @@
<meta name="description" content="{{ site.description }}">
<link rel="stylesheet" href="/css/ubuild.css"/>
<link rel="stylesheet" href="/css/irma.css"/>
<link rel="stylesheet" href="/css/font-awesome.min.css">
</head>
<body>
This diff is collapsed.
......@@ -121,3 +121,20 @@ header {
}
}
/* From: http://www.alwaystwisted.com/post.php?s=2012-05-12-create-a-pure-css-menu-button*/ ;
.border-menu {
position: relative;
padding-left: 1.25em;
}
.border-menu:before {
content: "";
position: absolute;
top: 0.25em;
left: 0;
width: 1em;
height: 0.125em;
border-top: 0.375em double #000;
border-bottom: 0.125em solid #000;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment