mirror of
https://github.com/documize/community.git
synced 2025-07-28 09:39:42 +02:00
wysiwyg heading consistency
This commit is contained in:
parent
0fc2889446
commit
43427c65dd
3 changed files with 21 additions and 21 deletions
|
@ -26,10 +26,9 @@ export default Model.extend({
|
||||||
body: attr('string'),
|
body: attr('string'),
|
||||||
rawBody: attr('string'),
|
rawBody: attr('string'),
|
||||||
meta: attr(),
|
meta: attr(),
|
||||||
// meta: hasMany('page-meta'),
|
|
||||||
|
|
||||||
tagName: Ember.computed('level', function () {
|
tagName: Ember.computed('level', function () {
|
||||||
return "h" + this.get('level');
|
return "h" + (this.get('level') + 1);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
tocIndent: Ember.computed('level', function () {
|
tocIndent: Ember.computed('level', function () {
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
$font-regular: 'open_sansregular';
|
$font-regular: 'open_sansregular';
|
||||||
$font-semibold: 'open_sanssemibold';
|
$font-semibold: 'open_sanssemibold';
|
||||||
$font-light: 'open_sanslight';
|
$font-light: 'open_sanslight';
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Material Icons";
|
font-family: "Material Icons";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
|
@ -39,48 +39,48 @@
|
||||||
|
|
||||||
b
|
b
|
||||||
{
|
{
|
||||||
font-family: "open_sanssemibold";
|
font-family: $font-semibold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1.doc-name {
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
font-family: open_sansregular;
|
font-family: $font-semibold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1
|
// h1
|
||||||
{
|
// {
|
||||||
font-size: 1.6em;
|
// font-size: 1.6em;
|
||||||
font-family: open_sanslight;
|
// font-family: open_sanslight;
|
||||||
color:$color-off-black;
|
// color:$color-off-black;
|
||||||
margin: 0 0 20px 0;
|
// margin: 0 0 20px 0;
|
||||||
}
|
// }
|
||||||
|
|
||||||
h2
|
h2
|
||||||
{
|
{
|
||||||
font-size: 1.5em;
|
font-size: 1.7em;
|
||||||
margin: 30px 0 20px 0;
|
margin: 30px 0 20px 0;
|
||||||
font-family: open_sanslight;
|
font-family: $font-regular;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3
|
h3
|
||||||
{
|
{
|
||||||
font-size: 1.4rem;
|
font-size: 1.5rem;
|
||||||
margin: 30px 0 20px 0;
|
margin: 30px 0 20px 0;
|
||||||
font-family: open_sanslight;
|
font-family: $font-regular;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4
|
h4
|
||||||
{
|
{
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
margin: 30px 0 20px 0;
|
margin: 30px 0 20px 0;
|
||||||
font-family: open_sanslight;
|
font-family: $font-regular;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5, h6, h7, h8, h9
|
h5, h6, h7, h8, h9
|
||||||
{
|
{
|
||||||
font-size: 1.2rem;
|
font-size: 1.3rem;
|
||||||
margin: 30px 0 20px 0;
|
margin: 30px 0 20px 0;
|
||||||
font-family: open_sanslight;
|
font-family: $font-regular;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3, h4, h5, h6, h7, h8, h9
|
h2, h3, h4, h5, h6, h7, h8, h9
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
.page-title
|
.page-title
|
||||||
{
|
{
|
||||||
color:$color-off-black;
|
color:$color-off-black;
|
||||||
font-family: open_sansregular;
|
font-family: $font-regular;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue