This commit is contained in:
Alexandru 2024-08-14 12:52:31 +03:00
parent 7d49f2c4d7
commit b5d6a8af1a
3 changed files with 17 additions and 11 deletions

View File

@ -12,6 +12,7 @@
<body>
<nav>
<ul class="menu">
<h1>{{ .Site.Title }}</h1>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
{{ end }}

View File

@ -1,5 +1,6 @@
body {
font-family: Optima, Candara, Calibri, Arial, sans-serif;
font-family: "Lucida Console", Monaco, monospace;
font-size: 85%;
}
code {
font-family: "Lucida Console", Monaco, monospace;

View File

@ -3,18 +3,24 @@ body {
margin: auto;
padding: 1em;
line-height: 1.5;
background: #0f0f11;
color:#fbfaff;
}
a {
color: #eae6f8;
}
/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.menu li { display: inline-block;}
.article-meta, .menu a {
text-decoration: none;
background: #eee;
background:#0f0f11;
padding: 5px;
border-radius: 5px;
}
.menu, .article-meta, footer { text-align: center; }
.article-meta, footer { text-align: center;}
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
@ -25,11 +31,11 @@ hr {
/* code */
pre {
border: 1px solid #ddd;
box-shadow: 5px 5px 5px #eee;
/*box-shadow: 5px 5px 5px #eee;*/
padding: 1em;
overflow-x: auto;
overflow-x: auto;
}
code { background: #f9f9f9; }
code { background: #292929; }
pre code { background: none; }
/* misc elements */
@ -43,9 +49,7 @@ blockquote {
table {
margin: auto;
border-top: 1px solid #666;
border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
table thead th { border-bottom: 1px solid #2f3035; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }
thead, tfoot, tr:nth-child(even) { background: #2a2a2e; }