Text size and line-height bike-shedding, second time

This commit is contained in:
Ludwig Schubert
2017-10-16 09:51:37 -07:00
parent 44f14bffe7
commit 1ee5c5f310
6 changed files with 20 additions and 15 deletions
+6 -4
View File
@@ -6,7 +6,7 @@ const T = Template('d-appendix', `
d-appendix {
contain: content;
font-size: 13px;
font-size: 0.8em;
line-height: 1.7em;
margin-bottom: 0;
border-top: 1px solid rgba(0,0,0,0.1);
@@ -19,14 +19,16 @@ d-appendix h3 {
grid-column: page-start / text-start;
font-size: 15px;
font-weight: 500;
margin-top: 15px;
margin-top: 1em;
margin-bottom: 0;
color: rgba(0,0,0,0.65);
line-height: 1em;
}
d-appendix h3 + * {
margin-top: 1em;
}
d-appendix ol {
margin-top: 15px;
padding: 0 0 0 30px;
margin-left: -30px;
}
+1 -3
View File
@@ -11,12 +11,10 @@ d-citation-list {
d-citation-list .references {
grid-column: text;
font-size: 12px;
line-height: 20px;
}
d-citation-list .references .title {
font-weight: 600;
font-weight: 500;
}
</style>
+9
View File
@@ -2,11 +2,13 @@ import { Template } from '../mixins/template';
const T = Template('d-title', `
<style>
:host {
padding-top: 1rem;
contain: content;
display: block;
}
::slotted(h1) {
grid-column: text;
font-size: 50px;
@@ -14,6 +16,13 @@ const T = Template('d-title', `
line-height: 1.05em;
margin: 0 0 0.5rem;
}
::slotted(p) {
font-weight: 300;
font-size: 1.5rem;
line-height: 1.2em;
}
.status {
margin-top: 0px;
font-size: 12px;
+1 -1
View File
@@ -116,7 +116,7 @@ function doi_string(ent, new_line){
export function bibliography_cite(ent, fancy){
if (ent){
var cite = '<b>' + ent.title + '</b> ';
var cite = '<span class="title">' + ent.title + '</span> ';
cite += link_string(ent) + '<br>';
cite += author_string(ent, '${L}, ${I}', ', ', ' and ');
if (ent.year || ent.date){
+1 -1
View File
@@ -1,7 +1,7 @@
d-byline {
border-top: 1px solid rgba(0, 0, 0, 0.1);
contain: content;
font-size: 0.7rem;
font-size: 0.8rem;
line-height: 1.8em;
padding: 1.5rem 0;
min-height: 1.8em;
+2 -6
View File
@@ -2,7 +2,8 @@ html {
font-size: 16px;
line-height: 1.6em;
/* font-family: "Libre Franklin", "Helvetica Neue", sans-serif; */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
/*, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
@@ -51,11 +52,6 @@ p {
margin-bottom: 1em;
}
d-title p {
font-size: 1.5rem;
line-height: 1.2em;
}
.kicker,
.marker {
font-size: 15px;