Skip to content

Commit

Permalink
Codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
NecRaul committed Feb 24, 2024
1 parent 3bfa10e commit 53f4c32
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
20 changes: 16 additions & 4 deletions css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ body {
max-width: 1024px;
}

a {
color: rgb(210, 210, 210);
}

h1 {
color: rgb(96, 62, 66);
}
Expand All @@ -24,6 +20,10 @@ p {
line-height: 1.5;
}

a {
color: rgb(210, 210, 210);
}

span {
background-color: rgb(96, 62, 66);
color: rgb(96, 62, 66);
Expand All @@ -34,6 +34,18 @@ span:hover {
color: rgb(232, 232, 232);
}

pre {
margin-top: 10px;
padding: 10px;
background-color: rgb(96, 62, 66);
}

code {
font-size: 12px;
font-family: monospace;
font-weight: 500;
}

img {
width: 30%;
height: auto;
Expand Down
8 changes: 8 additions & 0 deletions template/post.html.template
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
est laborum.
</p>

<pre>
<code>function Panel(element, canClose, closeHandler) {
this.element = element;
this.canClose = canClose;
this.closeHandler = function () { if (closeHandler) closeHandler() };
}</code></pre>

<br />

<hr />
Expand All @@ -83,3 +90,4 @@
</div>
</body>
</html>

0 comments on commit 53f4c32

Please sign in to comment.