add: ...
This commit is contained in:
8
.htaccess
Normal file
8
.htaccess
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Конфигурация для Apache
|
||||||
|
Options +Indexes +Includes
|
||||||
|
# IndexOptions +FancyIndexing +SuppressHTMLPreamble # Включаем FancyIndexing (красивый индекс) и подавляем HTML-преамбулу.
|
||||||
|
# IndexOptions +FancyIndexing # +SuppressHTMLPreamble # Включаем FancyIndexing (красивый индекс) и подавляем HTML-преамбулу.
|
||||||
|
# HeaderName header.html # Имя файла шапки (header) будет добавлено перед списком файлов
|
||||||
|
# ReadmeName footer.html # Имя файла подвала (footer) будет добавлено после списка файлов
|
||||||
|
IndexIgnore header.html footer.html style.css favicon.ico @eaDir # скрывает эти файлы из списка.
|
||||||
|
IndexStyleSheet /style.css
|
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
BIN
screen-sample.png
Normal file
BIN
screen-sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
41
style.css
Normal file
41
style.css
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
/* CSS для генерации индекса файлов в каталоге */
|
||||||
|
body { font-family: monospace; }
|
||||||
|
h1#indextitle { text-align: left; }
|
||||||
|
|
||||||
|
table { border-collapse: collapse; min-width: 60%}
|
||||||
|
|
||||||
|
th { background-color: gray; padding: .5ex 1em; text-align: left}
|
||||||
|
td { padding: .5ex 1em; }
|
||||||
|
|
||||||
|
tr.odd td {
|
||||||
|
background-color: whitesmoke;
|
||||||
|
transition: background-color 0.8s ease; /* Плавный переход для фона */
|
||||||
|
}
|
||||||
|
tr.even td {
|
||||||
|
background-color: silver;
|
||||||
|
transition: background-color 0.8s ease; /* Плавный переход для фона */
|
||||||
|
}
|
||||||
|
|
||||||
|
a {text-decoration: none; color: black; border-bottom: 1px dotted black;}
|
||||||
|
a:hover { color: orange; border-bottom: 1px solid darkorange; transition: 0.8s; }
|
||||||
|
a:not(:hover) { transition: 1.8s } /* Этот transition сработает при убирании курсора */
|
||||||
|
|
||||||
|
/* Изменяем фон всех ячеек <td> в строке <tr>,
|
||||||
|
когда на любую ссылку <a> внутри этой строки наведен курсор.
|
||||||
|
Это создаст эффект подсветки всей строки. */
|
||||||
|
tr.odd:has(a:hover) td {
|
||||||
|
background-color: #2222F5;
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
tr.even:has(a:hover) td {
|
||||||
|
background-color: #222295;
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* черточка между строками */
|
||||||
|
hr {
|
||||||
|
border: 0; height: 1px;
|
||||||
|
background-color: transparent;
|
||||||
|
margin: 0; padding: 0;
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user