template/styles.css: citations

This commit is contained in:
Adrien Bourmault 2024-02-29 11:23:48 +01:00
parent a30e7a1837
commit 044cda064b
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 26 additions and 8 deletions

View File

@ -241,14 +241,32 @@ blockquote.tyto p::after {
display: block; display: block;
} }
blockquote.tyto a { blockquote.tyto a.tyto {
display: block; display: block;
float: right; float: right;
background-color: var(--a-lec_yellow); background-color: var(--a-lec_yellow);
padding: 4px; padding: 4px;
color: var(--a-lec_black); color: var(--a-lec_black);
margin-right: -10px; margin-right: -10px;
font-size: initial; font-size: initial;
}
blockquote.tyto a.tyto:hover {
display: block;
float: right;
background-color: var(--a-lec_blue);
padding: 4px;
color: var(--a-lec_black);
margin-right: -10px;
font-size: initial;
}
blockquote.tyto a.tyto:active {
display: block;
float: right;
background-color: var(--a-lec_yellow);
padding: 4px;
color: var(--a-lec_black);
margin-right: -10px;
font-size: initial;
} }
/* If blockquote has metadatas, footer.tyto also gets new custom CSS */ /* If blockquote has metadatas, footer.tyto also gets new custom CSS */