feat: editor preview emoji + task lists

This commit is contained in:
NGPixel
2018-02-25 01:28:26 -05:00
parent a3948c7f45
commit 5e8dfcc2ea
4 changed files with 21 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
@import 'components/toggle';
@import 'components/typography';
@import '../libs/twemoji/twemoji-awesome';
// @import '../libs/twemoji/twemoji-awesome';
@import '../libs/prism/prism.css';
@import 'node_modules/diff2html/dist/diff2html.min';

View File

@@ -35,6 +35,4 @@
}
}
}
@import 'node_modules/highlight.js/styles/atom-one-light';
}

View File

@@ -1,13 +1,14 @@
.markdown-content {
font-size: 1rem;
color: mc('blue-grey', '900');
color: mc('blue-grey', '800');
// --------------------------------------------
// Headers
// --------------------------------------------
h1, h2, h3, h4, h5, h6 {
color: mc('blue-grey', '800');
color: mc('blue-grey', '700');
font-weight: 600;
}
> * + h1, > * + h2, > * + h3, > * + h4 {
@@ -15,16 +16,17 @@
}
h1 {
font-size: 1.5rem;
border-bottom: 1px solid mc('blue-grey', '100');
border-bottom: 2px solid mc('blue-grey', '100');
margin-bottom: 1rem;
}
h2 {
font-size: 1.25rem;
border-bottom: 1px dotted mc('blue-grey', '100');
border-bottom: 1px solid mc('blue-grey', '100');
margin-bottom: .75rem;
}
h3 {
font-size: 1.15rem;
border-bottom: 1px dotted mc('blue-grey', '100');
margin-bottom: .5rem;
}
h4 {
@@ -58,4 +60,13 @@
}
}
}
.task-list-item {
display: flex;
align-items: center;
&-checkbox {
margin-right: .5rem;
}
}
}