This commit is contained in:
2025-07-31 10:25:22 +05:00
commit 494e348d0f
14 changed files with 524 additions and 0 deletions

1
docs/SUMMARY.md Normal file
View File

@ -0,0 +1 @@
- [Что нового](index.md)

86
docs/css/extra.css Normal file
View File

@ -0,0 +1,86 @@
ol.oldec {
list-style-type: decimal;
}
ol.oldec li {
list-style-type: decimal;
}
ol.oldec li:before {
list-style-type: decimal;
}
.md-grid {
max-width: 98%;
}
ul.uldisc {
list-style-type: disc;
}
ul.ulcircle {
list-style-type: circle;
}
img {
border: 1px solid #9f9f9f;
transition: transform ease-in-out 0.5s;
}
img:active[src*="#zoom"] {
cursor: zoom-out;
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
margin-top: 75px;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
width: 1200px;
height: auto;
}
img[src*="#zoom"] {
cursor: zoom-in;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
.zoom {
transition: transform ease-in-out 0.5s;
cursor: zoom-in;
}
.image-zoom-large {
cursor: zoom-out;
z-index: 100;
position: absolute;
left: 50%;
/* */
transform: translate(-50%, 0%);
text-align: center;
margin-top: 0px;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
width: 1100px;
height: auto;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
table {
word-break: break-word;
}
tbody tr:nth-child(odd) {
background-color: #f3f3f3;
/* color: #fff; */
}
/* tbody td:first-child {
font-weight: bold
} */

1
docs/index.md Normal file
View File

@ -0,0 +1 @@
# Описание

32
docs/javascripts/extra.js Normal file
View File

@ -0,0 +1,32 @@
!function() {
const myTitle = {
'note': 'Примечание',
'caution': 'Осторожно',
'info': 'Информация',
'danger': 'Опасно',
'hint': 'Совет',
'warning': 'Внимание',
'question': 'Вопрос'
}
for (let item of document.getElementsByClassName('admonition-title')) {
if (item.parentNode.classList[1] && myTitle[item.parentNode.classList[1]]) {
item.firstChild.nodeValue = myTitle[item.parentNode.classList[1]];
}
}
for (let item of document.getElementsByClassName('imgPreview')) {
item.onclick = function(s) {
window.open(s.target.src, '_blank').focus();
}
}
document.querySelectorAll('.zoom').forEach(item => {
item.addEventListener('click', function () {
this.classList.toggle('image-zoom-large');
})
});
//console.log('HI');
}();