Create sections and improve menu appearance

overhaul
Marc Riera 2019-03-24 21:01:46 +01:00
parent 920d0ef3ac
commit 0fb743dcb9
8 changed files with 52 additions and 42 deletions

9
content/_index.ca.md Normal file
View File

@ -0,0 +1,9 @@
---
menu:
main:
name: "Inici"
weight: 1
url: "/"
---
Hola, em dic Marc i sóc traductor professional.

7
content/_index.en.md Normal file
View File

@ -0,0 +1,7 @@
---
menu:
main:
name: "Start"
weight: 1
url: "/"
---

7
content/_index.es.md Normal file
View File

@ -0,0 +1,7 @@
---
menu:
main:
name: "Inicio"
weight: 1
url: "/"
---

View File

@ -1,24 +0,0 @@
---
menu:
main:
name: "Inici"
weight: 1
url: "/"
---
<center>
**Contact:**
<img src="/images/icon-mail.png" alt="E-mail:" height="32" width="32" style="vertical-align:middle"> <a href="mailto:contacte@mrtraduccions.cat"target="_blank">contacte@mrtraduccions.cat</a>
<img src="/images/icon-phone.png" alt="Phone:" height="32" width="32" style="vertical-align:middle"> (+34) 652 492 008
&nbsp;
<a href="/images/rutes/l3/1.png" target="_blank"></a>
<img src="/images/icon-twitter.png" alt="Twitter:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.twitter.com/marcrierai"target="_blank">@marcrierai</a>
<img src="/images/icon-linkedin.png" alt="LinkedIn:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.linkedin.com/in/marc-riera-irigoyen/"target="_blank">Marc Riera Irigoyen</a>
</center>

9
content/projectes.md Normal file
View File

@ -0,0 +1,9 @@
---
title: "Projectes"
menu:
main:
name: "Projectes"
weight: 5
url: "/projectes/"
---

10
content/serveis.md Normal file
View File

@ -0,0 +1,10 @@
---
title: "Serveis"
menu:
main:
name: "Serveis"
weight: 2
url: "/serveis/"
---
Sóc traductor

View File

@ -7,27 +7,20 @@
{{ .Hugo.Generator }}
</head>
<body>
<div id="container">
<div id="header-left">
{{ if isset .Site.Params "logoimage" }}
<div id="site-logo">
<a href="{{ .Site.BaseURL }}"><img alt="Site logo" src="{{ .Site.BaseURL }}{{ .Site.Params.logoimage }}"></a>
</div>
{{ end }}
<div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
<div id="site-slogan">{{ .Site.Params.Description }}</div>
<div id="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>
<div id="site-slogan">{{ .Site.Params.Description }}</div>
</div>
<div id="header-right">
{{ if .IsTranslated }}
<ul class="language-selector">
<li>
<li>
<a class="selected">{{ .Language.LanguageName }}</a>
</li>
{{ range .Translations }}
@ -38,9 +31,7 @@
</ul>
{{ end }}
</div>
{{ partial "menu.html" . }}
{{ if isset .Params "image"}}
<div id="featured-image">
<img alt="Featured image" src="{{ .Params.image }}">

View File

@ -117,6 +117,7 @@ nav {
nav ul {
list-style-type: none;
padding: 0;
margin-bottom: 0px;
}
nav ul.first > li {
@ -253,7 +254,7 @@ nav {
nav ul.first > li {
display: inline-block;
position: relative;
background: #9E4B5A;
background: #7C454F;
padding: 10px 10px 10px 10px;
}
@ -335,7 +336,7 @@ nav ul.third {
.burger-button {
display: block;
background: #3E3E3E;
background: #7C454F;
font-size: 100%;
padding: 5px 20px 5px 20px;
margin-top: 20px;
@ -344,7 +345,7 @@ nav ul.third {
.burger-button:hover {
color: #DDDDDD;
background: #208DCC;
background: #9E4B5A;
}
#menu-entries {
@ -357,7 +358,7 @@ nav ul.third {
.burger-toggle:checked ~ .burger-button {
color: #DDDDDD;
background: #208DCC;
background: #9E4B5A;
}
nav {
@ -369,13 +370,13 @@ nav ul.first > li a,
nav ul.second > li a {
display: block;
padding: 5px 20px 5px 20px;
background: #3E3E3E;
background: #7C454F;
}
nav ul.first > li a:hover,
nav ul.second > li a:hover {
color: #DDDDDD;
background: #208DCC;
background: #9E4B5A;
}
nav ul.first {