Skip to content

Commit

Permalink
Add Matomo to website (#3765)
Browse files Browse the repository at this point in the history
* Added Matomo to index.md

* Fixed

* Deleted <p>

* Deleted center tag and added style css

* Requested changes done

* Changed Matomo logo to another file

* Changing css and adding aside to html

* Fixed height and width

* Fixed identations

* Deleted footer logo

* Requested changes done

* Last changes

* Trim and eresize matomo image

* Remove resizing, it increased image weight

* Retain matomo image aspect ratio
  • Loading branch information
MarioDiaz98 authored and craigtaub committed Jul 20, 2019
1 parent 91b3a54 commit 1e6cf3b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/_includes/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ <h1>
</header>

<main id="content">{{ content }}</main>

<aside class="sponsorship">
<a href="https://matomo.org/" rel="external noopener" target="_blank">
<img
id="matomoLogo"
src="images/matomo-logo.png?trim"
alt="Matomo logo"
/>
</a>
</aside>

<footer>
<div>
Expand Down
11 changes: 11 additions & 0 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@ img.screenshot {
max-width: 100%;
}

#matomoLogo {
display: block;
height: 176px;
}

.sponsorship {
display: flex;
justify-content: center;
margin-bottom: 60px;
}

footer {
background-color: #eee;
border-top: 1px solid #ddd;
Expand Down
Binary file added docs/images/matomo-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1e6cf3b

Please sign in to comment.