theme improvements, mimicking gemini style & some polishing

This commit is contained in:
Émy OniriCorpe 2023-08-21 03:18:04 +02:00
parent 2a370a14f8
commit 12b22a1e07
2 changed files with 23 additions and 6 deletions

View file

@ -1,4 +1,6 @@
<!-- Start footer.html --> <!-- Start footer.html -->
</article>
<div class="footer"> <div class="footer">
<p>Cette page est consultable via <a href="//gemini.circumlunar.space/">Gemini</a> à la même adresse.</p> <p>Cette page est consultable via <a href="//gemini.circumlunar.space/">Gemini</a> à la même adresse.</p>
<!-- Generated on GEN_DATE with Genlog https://codeberg.org/OniriCorpe/genlog --> <!-- Generated on GEN_DATE with Genlog https://codeberg.org/OniriCorpe/genlog -->

View file

@ -22,10 +22,25 @@
display: inline-block; display: inline-block;
} }
p{
margin: 1em;
}
a::before, h1::before, h2::before, h3::before,
blockquote::before, .footer {
color: #505050
}
article a::before { content:"→ "; }
h1::before { content:"# "; }
h2::before { content:"## "; }
h3::before { content:"### "; }
blockquote::before { content:"> "; }
blockquote { blockquote {
margin: 0 1em; margin: 0 1em;
padding: .5em 1em; padding: .5em .5em;
border-left: 5px solid #505050; border-left: .2em solid #505050;
} }
pre { pre {
@ -34,12 +49,11 @@
white-space: pre-wrap; white-space: pre-wrap;
word-break: keep-all; word-break: keep-all;
margin: 0 1em; margin: 0 1em;
padding-left: 1em; padding-left: .7em;
} }
.footer { .footer {
padding: 2em 2em 0; padding: 2em 2em 0;
opacity: 0.8;
text-align: center; text-align: center;
} }
</style> </style>
@ -52,5 +66,6 @@
<body> <body>
<div class="container"> <div class="container">
<!-- End header.html --> <article>
<!-- End header.html -->