Skip to content

Commit ca80249

Browse files
committed
2025-02-11 12:11:40
1 parent 4a84eeb commit ca80249

File tree

2 files changed

+43
-6
lines changed

2 files changed

+43
-6
lines changed

www/compile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ function createBlogContent(posts, language) {
366366

367367
return `
368368
<div class="site-description-wrapper">
369-
<div class="site-description">
370-
${language === 'uk' ?
371-
'Тут ви знайдете корисні поради, приклади, інструкції та інші матеріали, які допоможуть вам у створенні коду з допомогою штучного інтелекту' :
372-
"Here you'll find useful tips, examples, instructions, and other materials to help you create code with the help of AI"}
373-
</div>
369+
<div class="site-description">
370+
${language === 'uk' ?
371+
'Великі мовні моделі (LLM) допомагають вам у створенні коду. Тут ви знайдете корисні поради, приклади та інструкції, щоб використовувати їх ефективно.' :
372+
"Large Language Models (LLM) assist you in creating code. Here you'll find useful tips, examples, and instructions to use them effectively."}
373+
</div>
374374
</div>
375375
<div class="top-tags">
376376
<a href="javascript:void(0)" class="up-button" title="${language === 'uk' ? 'Нагору' : 'Scroll to top'}">${language === 'uk' ? 'Початок' : 'Home'}</a>

www/template/styles.css

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
body {
1+
body {
22
font-family: BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
33
margin: 0;
44
padding: 0;
@@ -189,6 +189,43 @@
189189
white-space: pre-wrap;
190190
word-wrap: break-word;
191191
}
192+
193+
/* Table styles */
194+
.post table {
195+
border-collapse: collapse;
196+
width: 100%;
197+
margin: 1rem 0;
198+
}
199+
200+
.post th {
201+
text-align: left;
202+
padding: 12px;
203+
background-color: rgba(51, 51, 51, 0.03);
204+
border-bottom: 2px solid #cccccc;
205+
border-right: 1px solid #e6e6e6;
206+
}
207+
208+
.post td {
209+
padding: 12px;
210+
border-bottom: 1px solid #cccccc;
211+
border-right: 1px solid #e6e6e6;
212+
}
213+
214+
.post th:last-child,
215+
.post td:last-child {
216+
border-right: none;
217+
}
218+
219+
.post tr:last-child td {
220+
border-bottom: none;
221+
}
222+
223+
.post table code {
224+
background: rgba(51, 51, 51, 0.05);
225+
padding: 2px 4px;
226+
border-radius: 3px;
227+
}
228+
192229
.sidebar {
193230
position: sticky;
194231
top: 20px;

0 commit comments

Comments
 (0)