added sponsors and patreon buttons
Web/pipeline/head This commit looks good Информация

Этот коммит содержится в:
Ell 2020-11-19 23:37:12 +01:00
родитель 4c824e0cd9
Коммит 422784a60d
4 изменённых файлов: 31 добавлений и 2 удалений

Просмотреть файл

@ -29,7 +29,15 @@
</head>
<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="entries">
<!-- Cookie notification -->

Просмотреть файл

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

Просмотреть файл

@ -95,7 +95,13 @@
<h1 class="display-4" id="intro-text"></h1>
<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>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>

Просмотреть файл

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