Minor spacing and style changes

This commit is contained in:
Ludwig Schubert
2017-10-12 15:21:13 -07:00
parent 198e273211
commit 1255afec2c
5 changed files with 25 additions and 13 deletions
+2 -6
View File
@@ -1124,8 +1124,7 @@
"commander": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz",
"integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==",
"dev": true
"integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ=="
},
"concat-map": {
"version": "0.0.1",
@@ -3563,7 +3562,6 @@
"version": "11.2.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.2.0.tgz",
"integrity": "sha512-+5wd6vJuh/Evw3wkmCuKXKibDd5RS7PYZjKaP4s2Hj5W7tvmbuFuaDN4erbH07VznTBFcK+lcsrGVnP6EugXow==",
"dev": true,
"requires": {
"abab": "1.0.3",
"acorn": "4.0.13",
@@ -3592,7 +3590,6 @@
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.1.0.tgz",
"integrity": "sha1-X8gnm5PXVIO5ztiyYjmFSEehhXg=",
"dev": true,
"requires": {
"lodash.sortby": "4.7.0",
"tr46": "0.0.3",
@@ -3869,8 +3866,7 @@
"lodash.sortby": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",
"dev": true
"integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg="
},
"longest": {
"version": "1.0.1",
+1 -3
View File
@@ -7,15 +7,13 @@ const T = Template('d-abstract', `
display: block;
font-size: 1.25rem;
line-height: 1.6em;
padding-bottom: 1.5em;
color: rgba(0, 0, 0, 0.7);
font-family: georgia, serif;
-webkit-font-smoothing: antialiased;
}
::slotted(p) {
margin-top: 0;
margin-bottom: 0;
margin-bottom: 1em;
grid-column: text-start / middle-end;
}
${body('d-abstract')}
+1 -1
View File
@@ -8,7 +8,7 @@ const T = Template('d-title', `
display: block;
}
::slotted(h1) {
grid-column: text-start / span 5;
grid-column: text;
font-size: 50px;
font-weight: 700;
line-height: 1.05em;
+1 -1
View File
@@ -98,7 +98,7 @@ d-article ul,
d-article ol {
/*font-family: georgia, serif;*/
margin-top: 0;
margin-bottom: 1.7em;
margin-bottom: 1em;
-webkit-font-smoothing: antialiased;
}
+20 -2
View File
@@ -1,6 +1,6 @@
html {
font-size: 19px;
line-height: 1rem;
line-height: 1.3em;
/* font-family: "Libre Franklin", "Helvetica Neue", sans-serif; */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
text-size-adjust: 100%;
@@ -46,6 +46,16 @@ pre {
max-width: 100%;
}
p {
margin-top: 0;
margin-bottom: 1em;
}
d-title p {
font-size: 1.5rem;
line-height: 1.2em;
}
.kicker,
.marker {
font-size: 15px;
@@ -54,11 +64,19 @@ pre {
}
/* Headline */
@media(min-width: 1024px) {
d-title h1 span {
display: block;
}
}
/* Figure */
figure {
position: relative;
margin-bottom: 36px;
margin-bottom: 1.5rem;
}
figure img {