Miscellaneous styling changes.

This commit is contained in:
Sergio Martínez Portela 2023-09-18 23:55:08 +02:00
parent 747fbf015e
commit 0003c80ad8

View File

@ -1,7 +1,7 @@
/* Default theme */ /* Default theme */
html, body { html, body {
margin: 0; margin: 0;
padding: 0.5ex 1ex; padding: 0;
font-family: 'Atkinson Hyperlegible', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Atkinson Hyperlegible', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 110%; font-size: 110%;
} }
@ -9,6 +9,11 @@ html, body {
body { body {
max-width: 80ex; max-width: 80ex;
margin: 0 auto; margin: 0 auto;
padding: 0.5ex 1ex;
}
body.blog {
padding: 0;
} }
body nav { body nav {
@ -439,37 +444,51 @@ article.post {
} }
/* Header */ /* Header */
.site-header { .site-header {
background-color: #F7F7FF; background-color: #002b36;
border-bottom: rgba(0,0,0,0.1) 1px solid; border-bottom: rgba(0,0,0,0.1) 1px solid;
text-align: center; text-align: center;
padding: 1ex; padding: 1ex;
color: #fff;
} }
.site-header h1 { .site-header h1 {
margin-top: 0; margin-top: 0;
font-size: 200%; font-size: 200%;
font-family: monospace, sans; font-family: monospace, sans;
color: #000; color: inherit;
}
.site-header .site-links a {
color: #00fdf2;
} }
.site-header .site-links .fancy-link { .site-header .site-links .fancy-link {
border-right: 1px solid #000; border-right: 1px solid #fff;
padding-left: 0.75ex; padding-left: 0.75ex;
} }
.site-header .site-links .fancy-link:last-of-type { .site-header .site-links .fancy-link:last-of-type {
border: none; border: none;
} }
/* Post header */ /* Post header */
.post-metadata .post-publication-date {
background-color: #024;
color: #fff;
display: inline-block;
padding: 0 0.5ex;
border-radius: 4px;
}
.post-metadata ul.post-tags { .post-metadata ul.post-tags {
list-style: none; list-style: none;
display: inline; display: inline;
padding: 0; padding: 0;
} }
.post-metadata ul.post-tags li.post-tag::before { .post-metadata ul.post-tags li.post-tag a::before {
content: '#'; content: '#';
} }
.post-metadata ul.post-tags li { .post-metadata ul.post-tags li.post-tag {
display: inline; display: inline;
font-style: italic;
} }
/* Post index. */ /* Post index. */
@ -479,7 +498,9 @@ article.post {
/* padding: 1ex; */ /* padding: 1ex; */
margin-bottom: 1em; margin-bottom: 1em;
padding-bottom: 1em; padding-bottom: 1em;
border-bottom: #000 1px dashed; border-bottom: #000 2px dashed;
}
.index-pages { .index-pages {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
@ -527,6 +548,10 @@ tr.__table-separator {
height: auto; height: auto;
} }
.connections svg .node polygon,
.connections svg .cluster polygon {
fill: white;
}
.connections svg #graph0 > polygon { .connections svg #graph0 > polygon {
/* Main box */ /* Main box */