phd_thesis/style.css

101 lines
2.1 KiB
CSS
Raw Normal View History

2021-09-16 16:49:10 +02:00
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
2021-09-17 20:04:22 +02:00
2021-09-16 16:49:10 +02:00
/* default by bookdown - start here */
2021-09-10 21:48:00 +02:00
p.caption {
color: #777;
margin-top: 10px;
}
p code {
2021-09-16 16:49:10 +02:00
white-space: pre;
2021-09-10 21:48:00 +02:00
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
2021-09-16 16:49:10 +02:00
white-space: pre;
}
/* default by bookdown - end here */
2021-09-17 20:04:22 +02:00
/* chapter title numbers */
.book-body h1 .header-section-number {
font-size: 2em;
}
.book-body h1 .header-section-number:after {
content: "\a";
}
.book-body h1 .header-section-number:before {
content: "Chapter ";
}
.book-body h1 .header-section-number {
font-weight: inherit;
white-space: pre-wrap;
}
/* all other chapter numbers */
.header-section-number,
li {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* so no condensed bold */
font-weight: normal;
}
.header-section-number:after,
li.chapter b:after{
content: ".";
}
2021-09-16 16:49:10 +02:00
.book .book-header h1 {
/* title of book in header, make always visible */
transition: none;
opacity: 1;
2021-09-17 20:04:22 +02:00
color: black;
2021-09-16 16:49:10 +02:00
}
2021-09-17 20:04:22 +02:00
/*
2021-09-16 16:49:10 +02:00
#contents * {
font-family: "HelveticaNeue-Medium", "Helvetica Neue" !important;
font-size: 1.1rem;
}
2021-09-17 20:04:22 +02:00
*/
2021-09-16 16:49:10 +02:00
.book-body sup {
2021-09-17 20:04:22 +02:00
/* inline references such as [1] */
2021-09-16 16:49:10 +02:00
font-size: 60% !important;
}
.book-body p {
text-align: justify !important;
font-family: 'EB Garamond', serif !important;
/* font-weight: 500; */
font-size: 1.8rem !important;
}
2021-09-17 20:04:22 +02:00
.book-body .caption,
.book-body tbl {
2021-09-16 16:49:10 +02:00
color: black;
font-size: 1.5rem !important;
line-height: 1.2;
}
.book-body li {
font-family: 'EB Garamond', serif !important;
2021-09-17 20:04:22 +02:00
font-size: 1.8rem !important;
}
[id^="references"] li {
/* stylise references */
text-align: justify !important;
2021-09-16 16:49:10 +02:00
font-size: 1.6rem !important;
}
2021-09-17 20:04:22 +02:00
.book-body h1,
.book-body h2 {
2021-09-16 16:49:10 +02:00
font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue" !important;
text-transform: uppercase;
}
.book-body h1 {
2021-09-17 20:04:22 +02:00
font-size: 1.6em !important;
2021-09-16 16:49:10 +02:00
}
.book-body h2 {
font-size: 1.25em !important;
margin-bottom: 0.25rem !important;
}
.book-body h3 {
font-family: "HelveticaNeue-Medium", "Helvetica Neue" !important;
font-size: 1.1em !important;
margin-bottom: 0 !important;
2021-09-10 21:48:00 +02:00
}