fix css nochunks v2 (optimize)

This commit is contained in:
Poltern 2024-03-04 13:42:35 +05:00
parent 4dbe5b7aa3
commit dcbc71519b

View File

@ -123,13 +123,11 @@ a:active { color: #6b77b1 ! important;}
padding: 0 1em; padding: 0 1em;
} }
/* /*.book h1,*/ .book .authorgroup, .book .copyright, .book .legalnotice .revhistory {
.book h1, .book .authorgroup, .book .copyright, .book .legalnotice .revhistory {
background: #f5f6f7; background: #f5f6f7;
margin: 0px auto; margin: 0px auto;
padding: .1em 1em; padding: .1em 1em;
} }
*/
.book hr { .book hr {
background: #dbddec; background: #dbddec;
@ -187,12 +185,14 @@ h1 {
text-align: center; text-align: center;
} }
/*
.book h1 { .book h1 {
margin: 0; margin: 0;
padding: 0.4em; padding: 0.4em;
background: #f5f6f7;
border-top: .2em solid #dbddec;
border-bottom: .2em solid #dbddec;
text-align: center;
} }
*/
h1.title sup { h1.title sup {
font-size: small; font-size: small;
@ -202,7 +202,7 @@ h2 {
font-size: 144%; font-size: 144%;
} }
.preface h2, .part h1, .chapter h2, .appendix h2, .index h1, .sect1 h2 { .preface h2, .part h1, .chapter h2, .appendix h2, .index h1, .sect1 h2, .part h2 {
background: #f5f6f7; background: #f5f6f7;
border-top: .2em solid #dbddec; border-top: .2em solid #dbddec;
border-bottom: .2em solid #dbddec; border-bottom: .2em solid #dbddec;
@ -591,16 +591,6 @@ p.usernotes {
text-decoration: underline; text-decoration: underline;
} }
h2.title, .book h1 {
background: #f5f6f7;
border-top: .2em solid #dbddec;
border-bottom: .2em solid #dbddec;
margin-bottom: 1em;
margin-top: 0;
padding: .4em;
text-align: center;
}
/* Last edited info */ /* Last edited info */
p.updated { p.updated {