summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziggys <ziggys@autistici.org>2017-11-12 16:11:06 +0000
committerziggys <ziggys@autistici.org>2017-11-12 16:11:06 +0000
commit63f6d0a8fd557d77bb3904c26824baea384dd192 (patch)
tree4396e392c8e59deb542606a5b5f1fe266630654d
parent025a43d33836f64349027ef582a0813c52911e48 (diff)
downloadmaullidos-hugo-theme-63f6d0a8fd557d77bb3904c26824baea384dd192.tar
maullidos-hugo-theme-63f6d0a8fd557d77bb3904c26824baea384dd192.zip
Update navigationbar
-rwxr-xr-xlayouts/partials/nav.html16
-rwxr-xr-xstatic/css/styles.css44
2 files changed, 50 insertions, 10 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 22e596e..6b2af86 100755
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,12 +1,16 @@
+<div class="tbar"><div class="navbar">
-<div class="tbar">
+<ul class="topnav">
+ <li><a href="{{ .Site.BaseURL}}/categorias/">categorías</a></li>
+ <li><a href="{{ .Site.BaseURL}}/etiquetas/">etiquetas</a></li>
+ <li><a href="https://bobinas.p4g.club">bobinas</a></li>
+ <li><a href="https://agora.p4g.club">agora</a></li>
+ </ul>
+</div>
- <div class="navbar"><a href="https://agora.p4g.club">agora</a></div>
- <div class="navbar"><a href="https://bobinas.p4g.club">bobinas</a></div>
- <div class="navbar"><a href="{{ .Site.BaseURL}}/categorias/">categorias</a></div>
- <div class="tbar-title"><a href="{{ .Site.BaseURL}}/index.html">{{ .Site.Title }}</a>
- <div class="tbar-subtitle">{{ .Site.Params.Subtitle }}</div>
+ <div class="tbar-title"><a href="{{ .Site.BaseURL}}/index.html">{{ .Site.Title }}</a>
+ <div class="tbar-subtitle">{{ .Site.Params.Subtitle }}</div>
</div>
</div>
diff --git a/static/css/styles.css b/static/css/styles.css
index e12f879..53cb905 100755
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -5,6 +5,15 @@
src:url("fonts/Asimov.otf") format("opentype");
}
+@import "compass/css3";
+
+@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
+
+* {
+ box-sizing:border-box;
+}
+
+
body {
background: #111216;
width: 100%;
@@ -302,10 +311,6 @@ a:hover {
left: 40%;
}
-ul {
- list-style: none;
-}
-
.catlist {
font-family: "Asimov", sans;
font-size: 1.15em;
@@ -374,6 +379,37 @@ ul {
left: 5%;
right: 0%;
}
+
}
/* End Responsiveness */
+
+
+/* --- Menu --- */
+ul.topnav {
+ list-style-type: none;
+ overflow: hidden;
+}
+
+ul.topnav li {
+ float: left;
+ position: relative;
+}
+
+ul.topnav li a {
+ display: block;
+ text-align: center;
+ padding-left: 14px;
+ padding-bottom: 10px;
+}
+
+ul.topnav li.right {
+ float: right;
+ }
+
+@media screen and (max-width: 29em){
+ ul.topnav li.right,
+ ul.topnav li {float: none;}
+}
+
+/* --- End Menu --- */