new: add config hub

This commit is contained in:
ngn
2024-05-05 21:22:45 +03:00
parent cb150c9280
commit 12e3b0c2d4
11 changed files with 343 additions and 18 deletions

103
public/configs.css Normal file
View File

@ -0,0 +1,103 @@
.list {
display: flex;
flex-direction: column;
gap: 24px;
margin-top: 25px;
}
.config {
padding: 26px;
background: var(--dark-second);
border: solid 1px var(--bright-second);
color: white;
text-decoration: none;
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 30px;
}
.config img {
width: 60%;
}
.details {
display: flex;
flex-direction: column;
}
.details pre{
margin-top: 0;
margin-bottom: 0;
font-family: JetBrainsMono;
word-wrap: normal;
padding: 16px;
overflow: auto;
line-height: 1.45;
color: var(--bright-main);
background-color: var(--dark-third);
border-radius: 6px;
font-size: 14px;
}
.details p {
color: var(--bright-second);
margin-bottom: 10px;
}
.details table {
border-collapse: collapse;
margin: 10px 0 15px 0;
width: 100%;
border: solid 1px var(--bright-third);
}
.details table td, .details table th{
background: var(--dark-main);
padding: 10px;
text-align: left;
border: solid 1px var(--bright-third);
}
.details table th {
color: var(--bright-main);
font-weight: 900;
width: 30%;
}
.details table td a {
color: var(--bright-second);
}
.details table td a:hover {
color: var(--bright-main);
}
.details table td {
font-style: italic;
}
.details h1 {
margin-bottom: 2px;
font-weight: 900;
}
.details table {
margin-bottom: 20px;
}
@media (max-width: 1100px) {
.config {
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 20px;
}
.config img {
width: 100%;
}
}