Tweak in-book CSS and add details link to single-page book view

This commit is contained in:
Alex Cabal 2021-07-27 16:04:05 -05:00
parent c6a0cfcd6f
commit a2f7517e08
2 changed files with 19 additions and 12 deletions

View file

@ -10,7 +10,7 @@ body{
body > header{
position: absolute;
left: 0;
left: 0;
right: 0;
top: 0;
background: #fff;
@ -41,17 +41,11 @@ body > header li:first-child > a{
height: 42px;
background: no-repeat center/100% url(/images/logo-full.svg);
font-size: 0;
transition: transform 200ms ease;
}
@media(max-width: 96ch){
body > header{
position: fixed;
}
body > header li:first-child > a{
width: 90px;
height: 21px;
}
body > header li:first-child > a:hover{
transform: scale(1.025) rotate(1deg);
}
body > nav,
@ -78,6 +72,17 @@ nav[epub|type~="toc"] ol{
list-style: none;
}
@media(max-width: 96ch){
body > header{
position: fixed;
}
body > header li:first-child > a{
width: 90px;
height: 21px;
}
}
@media(max-width: 65ch){
body{
padding: 0 1em;