Skip to content

Commit

Permalink
Merge pull request #2033 from gitmacer/WebsiteStardewValley
Browse files Browse the repository at this point in the history
Merge after #2021: Add Stadew Valley Logo + Pixelated class to the Website
  • Loading branch information
diogotr7 authored May 26, 2020
2 parents 9f57e8c + a1315c6 commit 0aa0f10
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Binary file added images/logos/games/stardew_valley.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h1>Natively Supported Games</h1>
title="League of Legends" />
</a>
<a style="text-decoration:none" href="https://store.steampowered.com/app/219150" target="_blank">
<img class="gamelogo" src="images/logos/games/hotline.png" style="height:64px"
<img class="gamelogo pixelated" src="images/logos/games/hotline.png" style="height:64px"
title="Hotline Miami" />
</a>
<a style="text-decoration:none" href="https://store.steampowered.com/app/257510" target="_blank">
Expand Down Expand Up @@ -406,6 +406,11 @@ <h1>Natively Supported Games</h1>
<img class="gamelogo" src="images/logos/games/re2.png" style="height:64px"
title="Resident Evil 2" />
</a>
<a style="text-decoration:none" href="https://store.steampowered.com/app/413150/Stardew_Valley/"
target="_blank">
<img class="gamelogo pixelated" src="images/logos/games/stardew_valley.png" style="height:64px"
title="Stardew Valley" />
</a>

</br></br>And many more through the <a href="https://www2.razer.com/chroma-workshop/games"
target="_blank">Razer</a>, <a href="https://www.logitechg.com/en-gb/innovation/by-game-titles.html"
Expand Down
9 changes: 9 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ padding: 10px;
background: linear-gradient(to bottom, rgb(32, 32, 32) 0%, rgb(8, 8, 8) 40%, rgb(8, 8, 8) 60%, rgb(32, 32, 32) 100%);
}

.pixelated{
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
image-rendering: crisp-edges;
-ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}


.content{
font-family:arial;
}
Expand Down

1 comment on commit 0aa0f10

@xnicoleisaloser
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change works quite well, can we add this to the production branch?

Please sign in to comment.