2024-09-29 02:15:18 +03:00
|
|
|
{% extends "layouts/base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Abilities{% endblock %}
|
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
<style>
|
2024-10-06 01:01:04 +03:00
|
|
|
.blue {
|
|
|
|
background-color: #35a0a8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.purple {
|
|
|
|
background-color: #992a9b;
|
|
|
|
}
|
|
|
|
|
|
|
|
.green {
|
|
|
|
background-color: #7ecf50;
|
|
|
|
}
|
|
|
|
|
|
|
|
.yellow {
|
2024-10-06 15:07:05 +03:00
|
|
|
background-color: #d3c949;
|
|
|
|
}
|
|
|
|
|
|
|
|
.secret1 {
|
|
|
|
background-color: #497331;
|
|
|
|
}
|
|
|
|
|
|
|
|
.secret2 {
|
|
|
|
background-color: #881a22;
|
2024-10-06 01:01:04 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
div.abilities {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
& div {
|
|
|
|
margin-right: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.route {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .disposition {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
margin-right: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
& span {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& ul {
|
|
|
|
list-style: disclosure-closed;
|
|
|
|
line-height: 2.5;
|
|
|
|
|
|
|
|
& li {
|
|
|
|
display: list-item;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
table.board {
|
2024-09-29 02:15:18 +03:00
|
|
|
width: inherit;
|
|
|
|
|
|
|
|
td {
|
|
|
|
width: 120px;
|
|
|
|
height: 100px;
|
2024-09-29 20:33:33 +03:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2024-09-29 02:15:18 +03:00
|
|
|
|
2024-09-29 20:33:33 +03:00
|
|
|
& span {
|
|
|
|
position: inherit;
|
|
|
|
z-index: 10;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .slot {
|
|
|
|
width: 70%;
|
|
|
|
height: 70%;
|
|
|
|
position: relative;
|
|
|
|
left: 15px;
|
|
|
|
background-color: #cbf;
|
|
|
|
z-index: 10;
|
|
|
|
align-content: center;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.slot-w {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.slot-h {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.start .slot {
|
|
|
|
background-color: #dcbf7e;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north.east.south.west .path::after {
|
|
|
|
content: "┼";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.east.south.west .path::after {
|
|
|
|
content: "┬";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.east.north.west .path::after {
|
|
|
|
content: "┴";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north.south.west .path::after {
|
|
|
|
content: "┤";
|
|
|
|
}
|
2024-09-29 02:15:18 +03:00
|
|
|
|
2024-09-29 20:33:33 +03:00
|
|
|
&.north.south.east .path::after {
|
|
|
|
content: "├";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.south.east .path::after {
|
|
|
|
content: "┌";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.south.west .path::after {
|
|
|
|
content: "┐";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north.west .path::after {
|
|
|
|
content: "┘";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north.east .path::after {
|
|
|
|
content: "└";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.east.west .path::after {
|
|
|
|
content: "─";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north.south .path::after {
|
|
|
|
content: "│";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.west .path::after {
|
|
|
|
content: "╴";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.east .path::after {
|
|
|
|
content: "╶";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.south .path::after {
|
|
|
|
content: "╷";
|
|
|
|
}
|
|
|
|
|
|
|
|
&.north .path::after {
|
|
|
|
content: "╵";
|
|
|
|
}
|
2024-09-29 02:15:18 +03:00
|
|
|
}
|
2024-09-29 20:33:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.path {
|
|
|
|
position: absolute;
|
|
|
|
top: -70px;
|
|
|
|
left: 0;
|
|
|
|
font-size: 200px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 0;
|
|
|
|
/*color: #3c3c3c;*/
|
|
|
|
color: #ccbbff;
|
|
|
|
}
|
2024-09-29 02:15:18 +03:00
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
function debounce(callback, wait = 300) {
|
|
|
|
let timeoutId = null;
|
|
|
|
return (...args) => {
|
|
|
|
window.clearTimeout(timeoutId);
|
|
|
|
timeoutId = window.setTimeout(() => {
|
|
|
|
callback(...args);
|
|
|
|
}, wait);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% for board in boards %}
|
2024-10-06 01:01:04 +03:00
|
|
|
<h1>{{+ board.spirit +}}</h1>
|
|
|
|
{% include "components/ddd/abilities.html" %}
|
|
|
|
{% include "components/ddd/dispositions.html" %}
|
|
|
|
{% include "components/ddd/board.html" %}
|
2024-09-29 02:15:18 +03:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|