added sponsors and patreon buttons
Web/pipeline/head This commit looks good Details

This commit is contained in:
Ell 2020-11-19 23:37:12 +01:00
parent 4c824e0cd9
commit 422784a60d
4 changed files with 31 additions and 2 deletions

View File

@ -29,7 +29,15 @@
</head> </head>
<body> <body>
<div id="sidebar"></div> <div id="sidebar">
<!-- Sponsor buttons -->
<div class="sellout">
<iframe src="https://github.com/sponsors/Ellpeck/button" title="Sponsor Ellpeck" height="35" width="116" style="border: 0;"></iframe>
<a href="https://www.patreon.com/bePatron?u=2494595" data-patreon-widget-type="become-patron-button"></a>
<script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
</div>
<hr>
</div>
<div id="content"> <div id="content">
<div id="entries"> <div id="entries">
<!-- Cookie notification --> <!-- Cookie notification -->

View File

@ -80,6 +80,14 @@ body {
visibility: hidden; visibility: hidden;
} }
.sellout {
display: block;
position: relative;
margin-left: auto;
margin-right: auto;
text-align: center;
}
@media (max-width: 768px) { @media (max-width: 768px) {
#content { #content {
margin-left: 200px; margin-left: 200px;

View File

@ -95,7 +95,13 @@
<h1 class="display-4" id="intro-text"></h1> <h1 class="display-4" id="intro-text"></h1>
<script src="scripts/greet.js"></script> <script src="scripts/greet.js"></script>
<p class="lead">Welcome to my little website! I'm Ellpeck, a student and programmer from Germany. I do a lot of stuff, actually. My life is pretty busy.</p> <p class="lead">Welcome to my little website! I'm Ellpeck, a student and programmer from Germany. I do a lot of stuff, actually. My life is pretty busy.</p>
<p>Look around this website to find out more about my projects and other places you can find me!</p>
<!-- Sponsor buttons -->
<div class="sellout">
<iframe src="https://github.com/sponsors/Ellpeck/button" title="Sponsor Ellpeck" height="35" width="116" style="border: 0; margin-right: 10px;"></iframe>
<a href="https://www.patreon.com/bePatron?u=2494595" data-patreon-widget-type="become-patron-button"></a>
<script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -184,6 +184,13 @@ blockquote {
font-style: italic; font-style: italic;
} }
.sellout {
display: flex;
align-items: center;
max-height: 35px;
overflow: hidden;
}
@media (min-width: 1200px) { @media (min-width: 1200px) {
.navbar { .navbar {
width: 1200px; width: 1200px;