Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo fix #7

Merged
merged 3 commits into from
Jul 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 4 additions & 60 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,66 +1,10 @@
<header class="site-header">

<div class="wrapper">
<div class="logo-container">

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 90 90">
<style>
/* <![CDATA[ */
#logo-square-top {
animation-duration: 1.5s;
animation-name: logo-slidevert;
animation-iteration-count: infinite;
fill: #EC7357;
}
#logo-square-right {
animation-duration: 1.5s;
animation-name: logo-slidehor;
animation-iteration-count: infinite;
fill: #30A9DE;
}

@keyframes logo-slidevert {
0%, 100%{
transform: translate(0, 0);
}

25%, 50%, 75%{
transform: translate(0, 10px);
}
}

@keyframes logo-slidehor {
0%, 25%, 75%, 100%{
transform: translate(0, 0);
}

50%{
transform: translate(10px, 0);
}
}
/* ]]> */
</style>

<symbol id="logo-square" viewBox="0 0 20 20">
<rect x="0" y="0" width="20" height="20" />
</symbol>

<symbol id="logo-background" viewBox="0 0 90 90">
<rect x="0" y="0" width="90" height="90" />
</symbol>

<use href="#logo-background" x="0" y="0" width="90" height="90" fill="#fdfdfd" />

<use id="logo-square-top" href="#logo-square" x="20" y="0" width="19" height="19" />
<use href="#logo-square" x="0" y="30" width="19" height="19" fill="#566270" />
<use href="#logo-square" x="20" y="30" width="19" height="19" fill="#566270" />
<use href="#logo-square" x="40" y="30" width="19" height="19" fill="#566270" />
<use id="logo-square-right" href="#logo-square" x="60" y="30" width="19" height="19" />
<use href="#logo-square" x="20" y="50" width="19" height="19" fill="#566270" />
<use href="#logo-square" x="20" y="70" width="19" height="19" fill="#566270" />
<use href="#logo-square" x="40" y="70" width="19" height="19" fill="#566270" />
</svg>
</div>
<picture class="logo-container">
<source srcset="/images/logo.svg" type="image/svg+xml">
<img src="/images/logo-90x90.png">
</picture>

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>

Expand Down
2 changes: 0 additions & 2 deletions _sass/_indietechrocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ table {
height: 50px;
margin: 0 16px 0 0;
float: left;
background: url(/images/logo-50x50.png);
background-repeat: none;
}

table.products {
Expand Down
68 changes: 38 additions & 30 deletions images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.