pfwb: add home icon

This commit is contained in:
Frédéric Péters 2019-06-13 20:42:40 +02:00
parent e00b87bdfd
commit c1c4acb3cd
2 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,13 @@ div#nav {
display: block;
}
}
&.menu-accueil {
background: url(img/home.svg) 50% 5px no-repeat;
background-size: 25px auto;
@media screen and (max-width: $mobile-limit) {
background: none;
}
}
&.menu-videos {
background: url(img/videos.svg) 50% 5px no-repeat;
background-size: 30px auto;

7
static/pfwb/img/home.svg Normal file
View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="27" height="24" viewBox="0 0 27 24">
<g fill-rule="evenodd">
<path d="M11,14.9688164 C12.3270412,14.3229388 13.3270412,14 14,14 C14.6729588,14 15.6729588,14.3229388 17,14.9688164 L17,24 L11,24 L11,14.9688164 Z"/>
<path fill-rule="nonzero" d="M26.7128428,9.70577876 L13.9144444,0.138345164 C13.667648,-0.0461150547 13.3323634,-0.0461150547 13.0856725,0.138345164 L0.287168638,9.70577876 C-0.0254401629,9.93950374 -0.0933619132,10.3876785 0.135557588,10.7068496 C0.36447709,11.0260207 0.803489956,11.0952606 1.11604602,10.8616433 L13.5000057,1.60395859 L25.8839654,10.8615895 C26.0088402,10.9550041 26.1539649,10.9999616 26.297824,10.9999616 C26.5138236,10.9999616 26.7269756,10.8984707 26.8644011,10.7067958 C27.0933733,10.3876785 27.0254516,9.93950374 26.7128428,9.70577876 Z"/>
<path fill-rule="nonzero" d="M24.2666262,11 C23.8616831,11 23.5333076,11.3076691 23.5333076,11.687193 L23.5333076,22.6255106 L17.6668688,22.6255106 L17.6668688,16.6546849 C17.6668688,14.7599062 16.0218493,13.2184614 14,13.2184614 C11.9781507,13.2184614 10.3331312,14.7600095 10.3331312,16.6546849 L10.3331312,22.6255623 L4.46663727,22.6255623 L4.46663727,11.6872447 C4.46663727,11.3077207 4.13826178,11.0000517 3.73331863,11.0000517 C3.32837549,11.0000517 3,11.3077207 3,11.6872447 L3,23.312807 C3,23.6923309 3.32837549,24 3.73331863,24 L11.0664498,24 C11.4520995,24 11.7676861,23.7207939 11.796902,23.3663236 C11.798666,23.3502583 11.7997685,23.3326949 11.7997685,23.312807 L11.7997685,16.6547365 C11.7997685,15.5178177 12.7867692,14.5928991 14,14.5928991 C15.2132308,14.5928991 16.2002315,15.5178693 16.2002315,16.6547365 L16.2002315,23.312807 C16.2002315,23.3325916 16.201334,23.349845 16.203098,23.3657037 C16.2319831,23.7204323 16.54768,24 16.9335502,24 L24.2666814,24 C24.6716796,24 25,23.6923309 25,23.312807 L25,11.6872447 C24.9999449,11.3076691 24.6716245,11 24.2666262,11 Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB