Skip to content

Commit 22bae59

Browse files
author
Matthieu Oger
committed
Style logo component
1 parent 4cff8e0 commit 22bae59

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

_sass/components/_logo.scss

+21-1
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,36 @@
55
// -------------------------------------------------------
66

77
.logo {
8+
@include font-title;
9+
10+
background: $brand-black; // TMP
11+
12+
text-align: center;
13+
}
14+
15+
.logo--home {
816
}
917

1018
.logo__link {
19+
color: white;
1120
}
1221

1322
.logo__image {
23+
img {
24+
width: 100px;
25+
height: 100px;
26+
}
1427
}
1528

16-
.logo__image img {
29+
.logo__image--big {
30+
img {
31+
width: 160px;
32+
height: 160px;
33+
}
1734
}
1835

1936
.logo__name {
37+
text-shadow: 0 3px 10px rgba(black, 0.2);
38+
39+
font-size: 4.8rem;
2040
}

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<a href="/" class="logo__link">
1212
<h1 class="logo__name">Pixelnest</h1>
1313

14-
<div class="logo__image">
14+
<div class="logo__image logo__image--big">
1515
<img src="/static/images/logo/logo_512.png" alt="Pixelnest Studio" title="Pixelnest Studio" />
1616
</div>
1717
</a>

0 commit comments

Comments
 (0)