1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-26 00:35:02 +03:00

Merge pull request #204 from calebissharp/nested-lists

Target nested lists to ensure font size is the same
This commit is contained in:
Brent Jackson 2019-02-18 16:18:35 -05:00 committed by GitHub
commit a33ce1f987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 6 deletions

View File

@ -1,9 +1,7 @@
export default {
font: 'system-ui, sans-serif',
monospace: 'Menlo, monospace',
fontSizes: [
'0.75em', '1em', '1.5em', '2em', '3em'
],
fontSizes: ['0.75em', '1em', '1.5em', '2em', '3em'],
colors: {
text: '#000',
background: 'white',
@ -17,12 +15,19 @@ export default {
textAlign: 'center',
'@media screen and (min-width:64em)': {
fontSize: '32px',
}
},
'li > ul, li > ol': {
fontSize: 'inherit',
},
'li > p': {
fontSize: 'inherit',
margin: 0,
},
},
ol: {
textAlign: 'left'
textAlign: 'left',
},
ul: {
textAlign: 'left'
textAlign: 'left',
},
}

View File

@ -335,6 +335,16 @@ Array [
background-color: white;
}
.c0 li > ul,
.c0 li > ol {
font-size: inherit;
}
.c0 li > p {
font-size: inherit;
margin: 0;
}
@media print {
.c1 {
height: auto;