More snowflakes!
This commit is contained in:
parent
fc593405bb
commit
773300d3b4
@ -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_CHARACTERS = ['\U0001f49d', '\U0001f31f', '\U0001f381']
|
||||||
SNOWFLAKE_IMAGE_COUNT = 15
|
SNOWFLAKE_IMAGE_COUNT = 45
|
||||||
|
|
||||||
def generate_snowfall(snowflake_image_url):
|
def generate_snowfall(snowflake_image_url):
|
||||||
snowfall = []
|
snowfall = []
|
||||||
|
@ -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);
|
|
@ -18,7 +18,7 @@
|
|||||||
<h1 class="mainh">С Новым Годом!</h1>
|
<h1 class="mainh">С Новым Годом!</h1>
|
||||||
<h1 class="mainh">thematdev</h1>
|
<h1 class="mainh">thematdev</h1>
|
||||||
<div class="btn-container">
|
<div class="btn-container">
|
||||||
<a class="btn" href="https://git.thematdev.org">
|
<a class="btn" href="https://git.thematdev.org/explore/repos">
|
||||||
Git
|
Git
|
||||||
</a>
|
</a>
|
||||||
<a class="btn" href="https://wiki.thematdev.org">
|
<a class="btn" href="https://wiki.thematdev.org">
|
||||||
|
Loading…
Reference in New Issue
Block a user