Merge remote-tracking branch 'origin/master' into pr/45

# Conflicts:
#	layouts/index.html
This commit is contained in:
zjedi 2023-03-22 00:27:16 +01:00
commit 6bc232a50d
6 changed files with 11 additions and 16 deletions

View file

@ -466,7 +466,7 @@ li {
background: #f2efe8;
position: relative;
}
.post-holder.odd {
.post-holder.dark {
background: #b80135;
color: white;
}
@ -528,7 +528,7 @@ a.fn-item.active {
border-top: 50px solid #f2efe8;
border-radius: 25px;
}
.post-after.even {
.post-after.light {
left: 6%;
}

View file

@ -31,17 +31,9 @@ var $sitehead = $("#site-head");
}
}
$(document).ready(function () {
$postholder.each(function (e) {
if (e % 2 != 0) $(this).addClass("odd");
});
$postafter.each(function (e) {
var bg = $(this).parent().css("background-color");
$(this).css("border-top-color", bg);
if (e % 2 == 0) {
$(this).addClass("even");
}
});
$("a.btn.site-menu").click(function (e) {