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 */
.sticker {
background: url(../images/covid19.png) no-repeat center center;
background: url(../images/2019-report.png) no-repeat center center;
-webkit-transform: rotate(-10deg);
transform: rotate(-10deg);
position: absolute;
left: 5%;
bottom: 15%;
width: 300px;
height: 300px;
top: 15%;
background-size: 200px;
width: 200px;
height: 200px;
}
@media only screen and (max-width: 830px) {
.sticker {
background-size: 200px;
width: 200px;
height: 200px;
background-size: 150px;
width: 150px;
height: 150px;
top: 10%;
}
}
@media only screen and (max-width: 640px) {
.sticker {
background-size: 150px;
width: 150px;
height: 150px;
background-size: 100px;
width: 100px;
height: 100px;
top: 20%;
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>
<!-- Place for temporary stickers -->
<!--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 />
{% if site.social %}
<!--ul class="social">