theme changed

This commit is contained in:
nik
2025-09-29 22:46:27 +03:00
parent 24a06a7c28
commit d80a68ebed
11 changed files with 155 additions and 12 deletions

View File

@@ -5,7 +5,6 @@ theme: 'terminal'
params:
contentTypeName: 'posts'
themeColor: 'orange' # Можно удалить эту строку
showMenuItems: 2
fullWidthTheme: false
centerTheme: false

View File

@@ -0,0 +1 @@
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">

View File

@@ -18,6 +18,9 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.min.d882db74544af8c06154af934d62cae110a293ce969120aa91782ac42de1990d.css">
<link rel="stylesheet" href="http://localhost:1313/css/buttons.min.86f6b4c106b6c6eb690ae5203d36b442c1f66f718ff4e8164fa86cf6c61ad641.css">
@@ -51,7 +54,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/syntax.min.a0773cce9310cb6d8ed23e50f005448facf29a53001b57e038828daa466b25c0.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.c7873912ac7c0556a135f48add411ddd7900a8dad51e1ef66e7fa5c434686224.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css">
<link rel="stylesheet" href="http://localhost:1313/css/terms.min.b81791663c3790e738e571cdbf802312390d30e4b1d8dc9d814a5b5454d0ac11.css">
@@ -91,7 +94,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">
</head>

View File

@@ -19,6 +19,9 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.min.d882db74544af8c06154af934d62cae110a293ce969120aa91782ac42de1990d.css">
<link rel="stylesheet" href="http://localhost:1313/css/buttons.min.86f6b4c106b6c6eb690ae5203d36b442c1f66f718ff4e8164fa86cf6c61ad641.css">
@@ -52,7 +55,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/syntax.min.a0773cce9310cb6d8ed23e50f005448facf29a53001b57e038828daa466b25c0.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.c7873912ac7c0556a135f48add411ddd7900a8dad51e1ef66e7fa5c434686224.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css">
<link rel="stylesheet" href="http://localhost:1313/css/terms.min.b81791663c3790e738e571cdbf802312390d30e4b1d8dc9d814a5b5454d0ac11.css">
@@ -95,7 +98,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">
</head>

View File

@@ -18,6 +18,9 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.min.d882db74544af8c06154af934d62cae110a293ce969120aa91782ac42de1990d.css">
<link rel="stylesheet" href="http://localhost:1313/css/buttons.min.86f6b4c106b6c6eb690ae5203d36b442c1f66f718ff4e8164fa86cf6c61ad641.css">
@@ -51,7 +54,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/syntax.min.a0773cce9310cb6d8ed23e50f005448facf29a53001b57e038828daa466b25c0.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.c7873912ac7c0556a135f48add411ddd7900a8dad51e1ef66e7fa5c434686224.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css">
<link rel="stylesheet" href="http://localhost:1313/css/terms.min.b81791663c3790e738e571cdbf802312390d30e4b1d8dc9d814a5b5454d0ac11.css">
@@ -93,7 +96,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">
</head>

64
public/css/custom.css Normal file
View File

@@ -0,0 +1,64 @@
/* Черно-белая цветовая схема для Terminal theme */
:root {
--background: #000000;
--foreground: #ffffff;
--accent: #ffffff;
--radius: 0;
--font-size: 1rem;
--line-height: 1.54em;
}
/* Переопределяем все цветные элементы */
a {
color: var(--accent);
}
button {
color: var(--accent);
border-color: var(--accent);
}
button:hover {
background: rgba(255, 255, 255, 0.15);
}
li::marker {
color: var(--accent);
}
hr {
background: var(--accent);
}
blockquote:before {
color: var(--accent);
}
/* Убираем оранжевый из всех элементов */
.button,
.button-container .button {
border-color: var(--accent) !important;
color: var(--accent) !important;
}
/* Заголовки и ссылки */
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--foreground);
}
/* Навигация */
.menu a,
.menu__inner a {
color: var(--accent) !important;
}
.menu a:hover,
.menu__inner a:hover {
color: var(--foreground) !important;
background: var(--accent) !important;
}

View File

@@ -0,0 +1 @@
:root{--accent:#000000;--background:#ffffff;--color:#000000;--border-color:#000000}@media(prefers-color-scheme:dark){:root{--accent:#ffffff;--background:#000000;--color:#ffffff;--border-color:#ffffff}}a{color:var(--color);text-decoration:underline}a:hover{color:var(--accent)}.button,button{background:var(--background);color:var(--color);border:1px solid var(--border-color)}.button:hover,button:hover{background:var(--color);color:var(--background)}code{background:var(--background);color:var(--color);border:1px solid var(--border-color)}

View File

@@ -19,6 +19,9 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.min.d882db74544af8c06154af934d62cae110a293ce969120aa91782ac42de1990d.css">
<link rel="stylesheet" href="http://localhost:1313/css/buttons.min.86f6b4c106b6c6eb690ae5203d36b442c1f66f718ff4e8164fa86cf6c61ad641.css">
@@ -52,7 +55,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/syntax.min.a0773cce9310cb6d8ed23e50f005448facf29a53001b57e038828daa466b25c0.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.c7873912ac7c0556a135f48add411ddd7900a8dad51e1ef66e7fa5c434686224.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css">
<link rel="stylesheet" href="http://localhost:1313/css/terms.min.b81791663c3790e738e571cdbf802312390d30e4b1d8dc9d814a5b5454d0ac11.css">
@@ -94,7 +97,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">
</head>

View File

@@ -18,6 +18,9 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.min.d882db74544af8c06154af934d62cae110a293ce969120aa91782ac42de1990d.css">
<link rel="stylesheet" href="http://localhost:1313/css/buttons.min.86f6b4c106b6c6eb690ae5203d36b442c1f66f718ff4e8164fa86cf6c61ad641.css">
@@ -51,7 +54,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/syntax.min.a0773cce9310cb6d8ed23e50f005448facf29a53001b57e038828daa466b25c0.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.c7873912ac7c0556a135f48add411ddd7900a8dad51e1ef66e7fa5c434686224.css">
<link rel="stylesheet" href="http://localhost:1313/css/terminal.min.e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css">
<link rel="stylesheet" href="http://localhost:1313/css/terms.min.b81791663c3790e738e571cdbf802312390d30e4b1d8dc9d814a5b5454d0ac11.css">
@@ -93,7 +96,7 @@
<link rel="stylesheet" href="http://localhost:1313/css/custom.css">
</head>

64
static/css/custom.css Normal file
View File

@@ -0,0 +1,64 @@
/* Черно-белая цветовая схема для Terminal theme */
:root {
--background: #000000;
--foreground: #ffffff;
--accent: #ffffff;
--radius: 0;
--font-size: 1rem;
--line-height: 1.54em;
}
/* Переопределяем все цветные элементы */
a {
color: var(--accent);
}
button {
color: var(--accent);
border-color: var(--accent);
}
button:hover {
background: rgba(255, 255, 255, 0.15);
}
li::marker {
color: var(--accent);
}
hr {
background: var(--accent);
}
blockquote:before {
color: var(--accent);
}
/* Убираем оранжевый из всех элементов */
.button,
.button-container .button {
border-color: var(--accent) !important;
color: var(--accent) !important;
}
/* Заголовки и ссылки */
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--foreground);
}
/* Навигация */
.menu a,
.menu__inner a {
color: var(--accent) !important;
}
.menu a:hover,
.menu__inner a:hover {
color: var(--foreground) !important;
background: var(--accent) !important;
}