Compare commits

...

3 Commits

Author SHA1 Message Date
c5a4f97c95
I've made it before 1st April! 2022-03-31 13:58:56 +03:00
773300d3b4
More snowflakes! 2021-12-31 23:50:39 +03:00
fc593405bb Happy New Year!
Signed-off-by: thematdev <thematdev@gmail.com>
2021-12-31 18:50:07 +03:00
9 changed files with 6 additions and 32 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 948 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 B

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

@ -4,16 +4,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='css/fonts.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/snowfall.css') }}">
<title>thematdev</title>
</head>
<body>
<div class="pagehead">
<div class="pagehead-inner">
<h1 class="mainh">thematdev</h1>
<p> Тут можно подпись какую-то сделать </p>
<p> Ваш IQ: {{ random_number }}</p>
<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">
@ -25,24 +24,11 @@
<a class="btn" href="mailto:thematdev@thematdev.org">
@
</a>
<a class="btn" href="https://codeforces.com/profile/thematdev">
CF
</a>
</div>
</div>
</div>
<div class="pagebody" id="pb">
<div class="pagebody-inner-section" id="pbi">
<h1><strike>Мои проекты</strike> Кладбище</h1>
<div class="project-container" id="pbic">
{% for project in projects %}
<div class="project-element">
<h1> {{ project.title }}</h1>
<img src="{{ url_for('static', filename=project.image)}}" width=200 height=200>
<p> {{project.description|safe}} </p>
</div>
{% endfor %}
</div>
</div>
</div>
<script src="{{ url_for('static', filename='js/projects.js') }}"></script>
Идея про Гауссово распределение вместо обычного рандома: <a href="https://t.me/Prentor">Prentor</a> и <a href="https://t.me/pavel_the_best"> pavel_the_best </a>
</body>
</html>