diff --git a/.gitignore b/.gitignore index e9533f2678a579f3ddcec782c7db945258c9974b..861b5f712724f8e645fd9d72df1ea61077268458 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # Ignore compiled files. source -css js # Ignore directories diff --git a/css/uw_ckeditor.css b/css/uw_ckeditor.css new file mode 100644 index 0000000000000000000000000000000000000000..cca67bf3a0bc7a457c249f92f783a356afa8dc59 --- /dev/null +++ b/css/uw_ckeditor.css @@ -0,0 +1,19 @@ +.caption { + background: #eee; + border: solid 1px #dfdfdf; + padding: 0.5rem; + font-size: .88889rem; + color: #000; + font-family: Typ1451-Regular,verdana,sans-serif; + width: 100%; +} + +.cke_editable .caption { + width: 98%; +} + +.highlight { + font-size: 1.42383rem; + line-height: 1.4; + color: #757575; +} diff --git a/uw_fdsu_theme_resp.info.yml b/uw_fdsu_theme_resp.info.yml index deb1547aaafb7ebb19d7b684a66fff379697dd40..9cd86807ad27096ef84578e4c4a417837fcf2dca 100644 --- a/uw_fdsu_theme_resp.info.yml +++ b/uw_fdsu_theme_resp.info.yml @@ -9,6 +9,7 @@ dependencies: # Libraries (These are loaded on every page. Use https://www.drupal.org/developing/api/8/assets#twig whenever possible.) libraries: - 'uw_fdsu_theme_resp/global' + - 'uw_fdsu_theme_resp/uw_ckeditor' # Libraries override allows you to remove libraries added by other projects. # libraries-override: @@ -22,6 +23,7 @@ libraries: # CKEditor stylesheet loads in wysiwyg to give content editors a better experience ckeditor_stylesheets: - https://fonts.googleapis.com/css?family=Lora:400,700|Open+Sans:300,400,600,700 + - css/uw_ckeditor.css regions: header: Header diff --git a/uw_fdsu_theme_resp.libraries.yml b/uw_fdsu_theme_resp.libraries.yml index 6c36cc4239512c83f2539cb7a00e1a624d567adf..5b026069c60f0e75ecda5389f48abbc0e3969509 100644 --- a/uw_fdsu_theme_resp.libraries.yml +++ b/uw_fdsu_theme_resp.libraries.yml @@ -9,3 +9,7 @@ global: https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js: {} dependencies: - core/jquery +uw_ckeditor: + css: + theme: + css/uw_ckeditor.css: {}