Skip to content

Commit

Permalink
Tamaño logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaww committed Dec 7, 2018
1 parent 9727411 commit 1efb91c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="clearfix top-bar">
<div class="container">
<div class="float-left top-bar-contact">
<div class="float-left top-bar-contact d-none d-md-block">
{{ with .Site.Params.hotelPhone }}<span class="hotel-phone"><i class="fa fa-phone"></i> {{.}}</span>{{ end }}
{{ with .Site.Params.hotelEmail }}<a href="mailto:{{.}}" class="hotel-email"><i class="fa fa-envelope"></i> {{.}}</a>{{ end }}
</div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<a class="navbar-brand" href="{{ .Site.BaseURL | absLangURL }}">
{{ if (and .Site.Params.logoBase .Site.Params.logoPath)}}
<picture>
<source media="(max-width: 320px)" srcset="{{ .Site.Params.logoBase }}q_auto,w_85,h_45,dpr_2.0,c_pad/{{ .Site.Params.logoPath }}" />
<source media="(max-width: 425px)" srcset="{{ .Site.Params.logoBase }}q_auto,w_140,h_45,dpr_2.0,c_pad/{{ .Site.Params.logoPath }}" />
<source media="(max-width: 320px)" srcset="{{ .Site.Params.logoBase }}q_auto,w_150,h_45,dpr_2.0,c_pad/{{ .Site.Params.logoPath }}" />
<source media="(max-width: 425px)" srcset="{{ .Site.Params.logoBase }}q_auto,w_180,h_45,dpr_2.0,c_pad/{{ .Site.Params.logoPath }}" />
<img src="{{ .Site.Params.logoBase }}q_auto,h_45,dpr_2.0/{{ .Site.Params.logoPath }}" />
</picture>
{{ else if .Site.Params.logoURL }}
Expand Down
6 changes: 0 additions & 6 deletions source/scss/components/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ header>.navbar {
z-index: 4;
img{
max-height: 45px;
@media (max-width: 425px) {
max-height: 60px;
}
@media (max-width: 320px) {
max-height: 70px;
}
}
}

Expand Down

0 comments on commit 1efb91c

Please sign in to comment.