Compare commits
3 Commits
74de406f1d
...
c5a4f97c95
Author | SHA1 | Date | |
---|---|---|---|
c5a4f97c95 | |||
773300d3b4 | |||
fc593405bb |
1
app/static/css/snowfall.css
Normal file
1
app/static/css/snowfall.css
Normal file
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 |
BIN
app/static/images/snowflake.png
Normal file
BIN
app/static/images/snowflake.png
Normal file
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 |
@ -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);
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user