Skip to content

Commit 0cd3e4d

Browse files
authored
added .logo-wrapper
1 parent 6841537 commit 0cd3e4d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

_includes/masthead.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
{% unless logo_path == empty %}
99
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
1010
{% endunless %}
11-
<a class="site-title" href="{{ '/' | relative_url }}"> {% include logo/archlab.svg %}
11+
<a class="site-title" href="{{ '/' | relative_url }}"> <span class="logo-wrapper">
12+
{% include logo/archlab.svg %} </span>
1213
{{ site.masthead_title | default: site.title }}<span style="font-weight:normal"> {{site.sub_title}}</span>
1314
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
1415
</a>

_sass/_utilities.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ body:hover .visually-hidden button {
169169
Icons
170170
========================================================================== */
171171

172+
/* Control logo size */
173+
.logo-wrapper svg {
174+
height: 80px;
175+
width: auto;
176+
}
177+
172178
.icon {
173179
display: inline-block;
174180
fill: currentColor;

0 commit comments

Comments
 (0)