updated documentation
Deploy to Production / deploy (push) Successful in 6s

This commit is contained in:
Илья Глазунов
2025-12-08 01:01:45 +03:00
parent 7e1846276e
commit 58660ec8d4
22 changed files with 1091 additions and 17 deletions
+376
View File
@@ -440,3 +440,379 @@ dd {
letter-spacing: 0.5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Blog styles */
.blog-posts {
margin-top: 20px;
}
.blog-post-card {
background: #0d0d0d;
border: 1px solid #333;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
transition: all 0.3s ease;
}
.blog-post-card:hover {
border-color: #3cb371;
box-shadow: 0 4px 12px rgba(60, 179, 113, 0.1);
}
.post-meta {
display: flex;
gap: 15px;
align-items: center;
margin-bottom: 10px;
font-size: 12px;
}
.post-date {
color: #888;
}
.post-tag {
background: #1a2a1a;
color: #3cb371;
padding: 2px 8px;
border-radius: 3px;
font-weight: bold;
}
.post-author {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid #2a2a2a;
}
.author-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
background: #2a2a2a;
}
.author-info {
display: flex;
flex-direction: column;
gap: 2px;
}
.author-name {
color: #e0e0e0;
font-size: 12px;
font-weight: bold;
}
.author-login {
color: #888;
font-size: 11px;
}
.post-title {
margin: 10px 0;
font-size: 18px;
}
.post-title a {
color: #e0e0e0;
text-decoration: none;
transition: color 0.2s ease;
}
.post-title a:hover {
color: #3cb371;
}
.post-excerpt {
color: #999;
font-size: 13px;
line-height: 1.6;
margin: 10px 0 15px 0;
}
.read-more {
color: #5fba7d;
font-size: 13px;
font-weight: bold;
text-decoration: none;
transition: color 0.2s ease;
}
.read-more:hover {
color: #7ccd9a;
}
.loading-state,
.error-state {
text-align: center;
padding: 40px 20px;
color: #888;
}
.error-state {
color: #b8860b;
}
/* Blog post full view */
.blog-post-full {
max-width: 800px;
}
.post-title-full {
font-size: 28px;
color: #e0e0e0;
margin: 15px 0 20px 0;
line-height: 1.3;
}
.post-body-full {
color: #c9c9c9;
font-size: 14px;
line-height: 1.7;
}
.post-body-full h1 {
font-size: 24px;
margin: 30px 0 15px 0;
color: #e0e0e0;
border-bottom: 2px solid #2e8b57;
padding-bottom: 8px;
}
.post-body-full h2 {
font-size: 20px;
margin: 25px 0 12px 0;
color: #e0e0e0;
border-bottom: 1px solid #333;
padding-bottom: 5px;
}
.post-body-full h3 {
font-size: 17px;
margin: 20px 0 10px 0;
color: #d0d0d0;
}
.post-body-full h4 {
font-size: 15px;
margin: 15px 0 8px 0;
color: #d0d0d0;
}
.post-body-full p {
margin: 12px 0;
}
.post-body-full ul,
.post-body-full ol {
margin: 12px 0;
padding-left: 30px;
}
.post-body-full li {
margin: 5px 0;
}
.post-body-full pre {
background: #0d0d0d;
border: 1px solid #333;
border-radius: 4px;
padding: 15px;
overflow-x: auto;
margin: 15px 0;
}
.post-body-full code {
background: #0d0d0d;
border: 1px solid #333;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 13px;
}
.post-body-full pre code {
border: none;
padding: 0;
background: transparent;
}
.post-body-full blockquote {
border-left: 3px solid #3cb371;
margin: 15px 0;
padding: 10px 20px;
background: #1a2a1a;
font-style: italic;
color: #999;
}
.post-body-full hr {
border: none;
border-top: 1px solid #333;
margin: 25px 0;
}
.post-body-full img {
max-width: 100%;
height: auto;
border-radius: 4px;
margin: 15px 0;
}
.post-footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #333;
}
.back-link {
color: #5fba7d;
text-decoration: none;
font-size: 14px;
font-weight: bold;
}
.back-link:hover {
color: #7ccd9a;
text-decoration: underline;
}
.share-button {
background: #0d0d0d;
border: 1px solid #3cb371;
color: #3cb371;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
font-size: 13px;
font-weight: bold;
transition: all 0.2s ease;
width: 100%;
}
.share-button:hover {
background: #3cb371;
color: #fff;
}
.post-author-full {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
background: #0d0d0d;
border: 1px solid #333;
border-radius: 6px;
margin: 20px 0;
}
.author-avatar-large {
width: 48px;
height: 48px;
border-radius: 50%;
background: #2a2a2a;
}
.author-info-full {
display: flex;
flex-direction: column;
gap: 4px;
}
.author-name-large {
color: #e0e0e0;
font-size: 16px;
font-weight: bold;
}
.post-body-full pre {
background: #0d0d0d;
border: 1px solid #333;
border-radius: 6px;
padding: 16px;
overflow-x: auto;
margin: 15px 0;
}
.post-body-full code {
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 13px;
}
.post-body-full pre code {
background: transparent;
border: none;
padding: 0;
}
/* Highlight.js integration */
pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}
code.hljs {
padding: 3px 5px;
}
/* Ensure highlight.js styles work with our dark theme */
.hljs {
background: #0d0d0d !important;
color: #b0b0b0;
}
.hljs-comment,
.hljs-quote {
color: #6a9955;
font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-type {
color: #569cd6;
}
.hljs-string,
.hljs-title,
.hljs-section {
color: #ce9178;
}
.hljs-name,
.hljs-attribute {
color: #9cdcfe;
}
.hljs-variable,
.hljs-template-variable {
color: #4ec9b0;
}
.hljs-number {
color: #b5cea8;
}
.hljs-built_in,
.hljs-builtin-name {
color: #4ec9b0;
}
.hljs-meta {
color: #808080;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}