some styling improvements to the site

This commit is contained in:
Ell 2022-08-31 12:14:32 +02:00
parent 67ce04ad73
commit 690e76d59b
3 changed files with 32 additions and 12 deletions

View file

@ -5,12 +5,12 @@
</p> </p>
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-auto"> <div class="col-auto" style="padding: 10px;">
<a class="twitter-timeline" href="https://twitter.com/TinyLifeGame" width="400" height="600"></a> <a class="twitter-timeline" href="https://twitter.com/TinyLifeGame" width="350" height="600"></a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div> </div>
<div class="col-auto"> <div class="col-auto" style="padding: 10px;">
<iframe id="discord-widget" title="Ellpeck Games Discord server" width="400" height="600" allowtransparency="true" frameborder="0" src="https://discordapp.com/widget?id=181435613147430913&theme=light"></iframe> <iframe id="discord-widget" title="Ellpeck Games Discord server" width="350" height="600" allowtransparency="true" frameborder="0" src="https://discordapp.com/widget?id=181435613147430913&theme=light"></iframe>
</div> </div>
</div> </div>
@ -25,12 +25,12 @@
<p><input type="text" name="name" placeholder="Name (optional)"></p> <p><input type="text" name="name" placeholder="Name (optional)"></p>
<p> <p>
<input id="16f4b" type="checkbox" name="l" checked value="16f4bf5a-7133-4255-958e-1d325fea6ba8"> <input id="16f4b" type="checkbox" name="l" checked value="16f4bf5a-7133-4255-958e-1d325fea6ba8">
<label for="16f4b">🏡 Tiny Life News</label> <label for="16f4b">🏡 Tiny Life News</label>
</p> </p>
<p><input type="submit" value="Subscribe"></p> <p><input type="submit" value="Subscribe"></p>
</div> </div>
</form> </form>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
<div id="top" class="top d-flex justify-content-center align-items-center vh-100"> <div id="top" class="top d-flex justify-content-center align-items-center vh-100">
<div class="top-content"> <div class="top-content">
<image src="media/logo.png" width="100%" height="auto" alt="Tiny Life"></image> <img src="media/logo.png" width="100%" height="auto" alt="Tiny Life"></image>
<h4>A fun simulation game where you mess with people's lives</h4> <h4>A fun simulation game where you mess with people's lives</h4>
<div class="container top-container"> <div class="container top-container">
@ -8,13 +8,13 @@
<div class="col site"> <div class="col site">
<h3>Play the free beta</h3> <h3>Play the free beta</h3>
<a href="https://ellpeck.itch.io/tiny-life"> <a href="https://ellpeck.itch.io/tiny-life">
<image src="media/itch.png" alt="itch.io" width="200px" height="auto"></image> <img src="media/itch.png" alt="itch.io" width="200px" height="auto"></image>
</a> </a>
</div> </div>
<div class="col site"> <div class="col site">
<h3>Wishlist and play</h3> <h3>Wishlist and play</h3>
<a href="https://store.steampowered.com/app/1651490/Tiny_Life/"> <a href="https://store.steampowered.com/app/1651490/Tiny_Life/">
<image src="media/steam.png" alt="Steam" width="200px" height="auto"></image> <img src="media/steam.png" alt="Steam" width="200px" height="auto"></image>
</a> </a>
</div> </div>
</div> </div>

View file

@ -148,3 +148,23 @@ body {
padding: 20px; padding: 20px;
border-radius: 5px; border-radius: 5px;
} }
@media (max-width: 576px) {
.top-content {
max-width: 90%;
}
.top-container img {
max-width: 150px;
}
.top-container h3 {
font-size: 1.5rem;
}
.top-content {
padding-top: 40px;
}
}