Enable syntax higlight

This commit is contained in:
infidel 2023-12-30 04:13:42 +07:00
parent 5c61b68ff7
commit 7099d4d4ee
6 changed files with 41 additions and 196 deletions

5
assets/css/prism.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@
html { html {
font-size: calc(1em + 0.25vw); font-size: calc(1em + 0.25vw);
font-family: Didact Gothic, Arial, Helvetica Neue, sans-serif; font-family: Didact Gothic, Arial, Helvetica Neue, sans-serif;
line-height: 1.6; line-height: 1.2;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
opacity: .85; opacity: .85;
background-color: #39424E; background-color: #39424E;
@ -641,7 +641,6 @@ figcaption::before {
/* Code blocks */ /* Code blocks */
pre[class*=language-] { pre[class*=language-] {
background: none;
margin-top: 2.25rem; margin-top: 2.25rem;
margin-bottom: 0; margin-bottom: 0;
overflow-y: hidden; overflow-y: hidden;
@ -1128,8 +1127,8 @@ h1 svg {
main p { main p {
display: block; display: block;
margin-bottom: 1em; margin-bottom: 1em;
line-height: 1.6; line-height: 1.5;
letter-spacing: 1.3px; letter-spacing: .2px;
opacity: 0.8; opacity: 0.8;
} }

11
assets/js/prism.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
<h3> Check My Recent Posts </h3> <h3> Check My Recent Posts </h3>
<table> <table>
<ul class="inf-patterns-list" id="list"> <ul class="inf-patterns-list" id="list">
{{ range (.Paginator 4).Pages.ByPublishDate.Reverse }} {{ range (.Paginator 5).Pages.ByPublishDate.Reverse }}
<tr> <tr>
<td> <td>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long