diff --git a/exampleSite/content/home/course.md b/exampleSite/content/home/accomplishments.md similarity index 97% rename from exampleSite/content/home/course.md rename to exampleSite/content/home/accomplishments.md index 0e7c31d6..e829b103 100644 --- a/exampleSite/content/home/course.md +++ b/exampleSite/content/home/accomplishments.md @@ -3,7 +3,7 @@ widget = "accomplishments" # Do not modify this line! active = true # Activate this widget? true/false -title = "Accomplishments" +title = "Accomplishments" subtitle = "" # Order that this section will appear in. diff --git a/layouts/partials/css/academic.css b/layouts/partials/css/academic.css index 9c788789..e86c1ba1 100644 --- a/layouts/partials/css/academic.css +++ b/layouts/partials/css/academic.css @@ -78,7 +78,16 @@ h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: #313131; text-rendering: optimizeLegibility; - overflow-wrap: break-word; /* Ensures very long heading words do not overflow into content. */ + + /* Ensure long words do not overflow into content. */ + overflow-wrap: break-word; + word-wrap: break-word; + word-break: break-word; + + /* Add a hyphen where the word breaks (use `` to insert a soft-hyphen in a word). */ + -webkit-hyphens: manual; + -ms-hyphens: manual; + hyphens: manual; } h1 { font-size: 2.25rem; diff --git a/layouts/partials/widgets/accomplishments.html b/layouts/partials/widgets/accomplishments.html index ca714cd6..60a89588 100644 --- a/layouts/partials/widgets/accomplishments.html +++ b/layouts/partials/widgets/accomplishments.html @@ -15,30 +15,36 @@