Skip to content

Commit

Permalink
updates the templates and styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Samy-33 committed Nov 1, 2024
1 parent c92469d commit 0bc1da4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<h1 class="site-title">
<a class="page-link" href="{{relative-path | safe}}index.html">{{blog-title}}</a>
</h1>
<p>{{blog-description}}</p>
<small>{{blog-description}}</small>
</div>
</div>
</div>
Expand Down
26 changes: 25 additions & 1 deletion templates/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
:root {
--primary: #012a7d;
--primary-bg: #e8effc;

--primary-fg: white;
}

body {
/* borrowed from metaredux.com */
font: 400 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
Expand All @@ -11,7 +18,7 @@ h1, h2, h3 {
}

a {
color: rgb(51, 65, 85)
color: var(--primary);
}

.wrapper {
Expand Down Expand Up @@ -69,4 +76,21 @@ ul.index {

code {
white-space: pre;
background-color: var(--primary);
color: var(--primary-fg);
padding: 4px;
border-radius: 5px;
font-size: 12px;
}

blockquote {
background-color: var(--primary-bg);
margin-block: unset;
margin-inline: unset;
padding: 15px 15px;
border-left: 4px solid var(--primary);
}

blockquote>p {
margin: 0;
}

0 comments on commit 0bc1da4

Please sign in to comment.