<a class=" logo -signet" href="#">
<img class="logo__image" src="../../images/rehau-logo.svg" alt="">
<span class="logo__signet">Rautool</span>
</a>
<a class="{{mixes}} logo {{modifiers}}" href="{{href}}">
{{#if src}}
<img class="logo__image" src="{{path src}}" alt="{{alt}}">
{{else}}
<span class="logo__image -default-logo"></span>
{{/if}}
{{#if signet}}
<span class="logo__signet">{{signet}}</span>
{{/if}}
</a>
{
"href": "#",
"src": "/images/rehau-logo.svg",
"modifiers": "-signet",
"signet": "Rautool"
}
/* Logo */
$root: '.logo';
$logo-width-desktop: 140px;
$logo-width-mobile: 120px;
#{$root} {
display: inline-block;
width: 100%;
&__image {
display: block;
&.-default-logo {
padding-top: percentage($header-logo-ratio);
background: url($default-logo) no-repeat 50% 50%;
}
}
&.-signet {
display: inline-flex;
width: auto;
height: $header-logo-ratio * $logo-width-mobile;
&:hover {
text-decoration: none;
}
#{$root}__image {
width: $logo-width-mobile;
}
#{$root}__signet {
flex-grow: 1;
padding: 12px 0 0 12px;
font-style: $font-style-italic;
font-weight: $font-weight-bold;
font-size: 35px;
color: $secondary;
}
// stylelint-disable-next-line order/order
@include breakpoint(pre-large) {
height: $header-logo-ratio * $logo-width-desktop;
#{$root}__image {
width: $logo-width-desktop;
}
#{$root}__signet {
padding: 15px 0 0 15px;
font-size: 42px;
}
}
}
}
There are no notes for this item.