More snowflakes!

This commit is contained in:
thematdev 2021-12-31 23:50:39 +03:00
parent fc593405bb
commit 773300d3b4
Signed by: thematdev
GPG Key ID: D12878639B090D90
3 changed files with 3 additions and 16 deletions

View File

@ -3,8 +3,8 @@ Source files of snowfall, including CSS you can find at https://github.com/Artim
'''
SNOWFLAKE_CHARACTERS = ['\U0001f342', '\U0001f49d', '\U0001f31f', '\U0001f381']
SNOWFLAKE_IMAGE_COUNT = 15
SNOWFLAKE_CHARACTERS = ['\U0001f49d', '\U0001f31f', '\U0001f381']
SNOWFLAKE_IMAGE_COUNT = 45
def generate_snowfall(snowflake_image_url):
snowfall = []

View File

@ -1,13 +0,0 @@
function alignHeadersByHeight(table) {
var maxHeight = 0;
table.querySelectorAll('h1').forEach(
element => maxHeight = Math.max(maxHeight, element.clientHeight)
)
table.querySelectorAll('h1').forEach(
element => element.style.height = maxHeight + 'px'
)
console.log(maxHeight);
}
var table = document.getElementById("pbic");
alignHeadersByHeight(table);

View File

@ -18,7 +18,7 @@
<h1 class="mainh">С Новым Годом!</h1>
<h1 class="mainh">thematdev</h1>
<div class="btn-container">
<a class="btn" href="https://git.thematdev.org">
<a class="btn" href="https://git.thematdev.org/explore/repos">
Git
</a>
<a class="btn" href="https://wiki.thematdev.org">