Last active
May 23, 2017 10:52
-
-
Save cleopatra27/47fa8f8291139e12177b8e520f44a31e to your computer and use it in GitHub Desktop.
custom ckeditor for django-cms(should be included in settings.py and is based on css)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CKEDITOR_SETTINGS = { | |
# 'language': '{{ language }}', | |
# 'toolbar': 'CMS', | |
# 'skin': 'moono', | |
# 'toolbar_CMS': [ | |
# ['Undo', 'Redo'], | |
# ['cmsplugins', '-', 'ShowBlocks'], | |
# ['Format', 'Styles'], | |
# ['TextColor', 'BGColor', '-', 'PasteText', 'PasteFromWord'], | |
# ['Maximize', ''], | |
# '/', | |
# ['Bold', 'Italic', 'Underline', '-', 'Subscript', 'Superscript', '-', 'RemoveFormat'], | |
# ['JustifyLeft', 'JustifyCenter', 'JustifyRight'], | |
# ['Link', 'Unlink', 'Anchor'], | |
# ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Table'], | |
# ['Source'] | |
# ], | |
'stylesSet': [ | |
{ | |
'name': "intro-lead-in", | |
'element': "h3", | |
'attributes': { | |
'class': 'intro-lead-in', | |
}, | |
}, | |
{ | |
'name': "intro-heading", | |
'element': "h3", | |
'attributes': { | |
'class': 'intro-heading', | |
} | |
}, | |
{ | |
'name': "text-muted", | |
'element': "h3", | |
'attributes': { | |
'class': 'text-muted', | |
} | |
}, | |
{ | |
'name': "section-heading", | |
'element': "h3", | |
'attributes': { | |
'class': 'section-heading', | |
} | |
}, | |
{ | |
'name': "section-subheading", | |
'element': "h3", | |
'attributes': { | |
'class': 'section-subheading text-muted', | |
} | |
}, | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
header .intro-text .intro-lead-in { | |
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-style: italic; | |
font-size: 22px; | |
line-height: 22px; | |
margin-bottom: 25px; | |
} | |
header .intro-text .intro-heading { | |
font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; | |
text-transform: uppercase; | |
font-weight: 700; | |
font-size: 50px; | |
line-height: 50px; | |
margin-bottom: 25px; | |
} | |
.text-muted { | |
color: #777777; | |
} | |
section h2.section-heading { | |
font-size: 40px; | |
margin-top: 0; | |
margin-bottom: 15px; | |
} | |
section#contact .section-heading { | |
color: white; | |
} | |
section h3.section-subheading { | |
font-size: 16px; | |
font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif; | |
text-transform: none; | |
font-style: italic; | |
font-weight: 400; | |
margin-bottom: 75px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment