Merge pull request '2019 yearly report' (#39) from annual_report_2019 into master

Reviewed-on: Disroot/grav-theme-disroot#39
Reviewed-by: Fede.- <fede@no-reply@disroot.org>
This commit is contained in:
meaz 2020-08-07 06:27:32 +00:00
commit 9adf963488
3 changed files with 12 additions and 11 deletions

View File

@ -46,30 +46,31 @@ header {
/************************************************/ /************************************************/
/* A place for temporary campaigns / sticker on home banner */ /* A place for temporary campaigns / sticker on home banner */
.sticker { .sticker {
background: url(../images/covid19.png) no-repeat center center; background: url(../images/2019-report.png) no-repeat center center;
-webkit-transform: rotate(-10deg); -webkit-transform: rotate(-10deg);
transform: rotate(-10deg); transform: rotate(-10deg);
position: absolute; position: absolute;
left: 5%; left: 5%;
bottom: 15%; top: 15%;
width: 300px; background-size: 200px;
height: 300px; width: 200px;
height: 200px;
} }
@media only screen and (max-width: 830px) { @media only screen and (max-width: 830px) {
.sticker { .sticker {
background-size: 200px; background-size: 150px;
width: 200px; width: 150px;
height: 200px; height: 150px;
top: 10%; top: 10%;
} }
} }
@media only screen and (max-width: 640px) { @media only screen and (max-width: 640px) {
.sticker { .sticker {
background-size: 150px; background-size: 100px;
width: 150px; width: 100px;
height: 150px; height: 100px;
top: 20%; top: 20%;
right: 3%; right: 3%;
} }

BIN
images/2019-report.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -8,7 +8,7 @@
<h3>{{ site.header.description }}</h3> <h3>{{ site.header.description }}</h3>
<!-- Place for temporary stickers --> <!-- Place for temporary stickers -->
<!--a class=sticker href="/covid19"></a--> <!--a class=sticker href="/covid19"></a-->
<!--a class=report2018 href="https://disroot.org/annual_reports/AnnualReport2018.pdf"></a--> <a class=sticker href="/annual_reports/AnnualReport2019.pdf" target=_blank></a>
<hr /> <hr />
{% if site.social %} {% if site.social %}
<!--ul class="social"> <!--ul class="social">