diff --git a/exampleSite/go.mod b/exampleSite/go.mod index e2e21c5..e8476b8 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite go 1.15 -require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201001144923-e58ee0ffc576 // indirect +require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum index a16893a..b1a9f8e 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -1,2 +1,2 @@ -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201001144923-e58ee0ffc576 h1:r97j+QgxENainAzooKFwaHePl7UBBtZ4RFh6+Ks2x3U= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201001144923-e58ee0ffc576/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75 h1:NbluAtKcpfNcsMGuVEjy5tFbwJMu50m/flJXS8RtUtI= +github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8= diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.json b/exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.json deleted file mode 100644 index f701cda..0000000 --- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"css/academic.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.content b/exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.content similarity index 99% rename from exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.content rename to exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.content index 0132a2f..3f7adb2 100644 --- a/exampleSite/resources/_gen/assets/scss/scss/main.scss_76ac6956597c32fec7ddf60d408db3ab.content +++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.content @@ -7138,13 +7138,13 @@ a.text-dark:hover, a.text-dark:focus { border-color: #dee2e6; } } /************************************************* - * Academic: The Website Builder for Hugo + * Wowchemy: The Website Builder for Hugo * Designed by @GeorgeCushen - * https://sourcethemes.com/academic/ - * License: https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md + * https://wowchemy.com/ + * License: https://github.com/wowchemy/wowchemy-hugo-modules/blob/master/LICENSE.md **************************************************/ /************************************************* - * Academic's Core + * Wowchemy's Core Style **************************************************/ html { font-family: "Roboto", sans-serif; @@ -7176,6 +7176,26 @@ body { body.no-navbar { margin-top: 0 !important; } +.page-wrapper { + min-height: calc(100vh - 70px); + display: grid; + grid-template-rows: auto 1fr auto; + grid-template-columns: 100vw; } + +@media (max-width: 991.98px) { + .page-wrapper { + min-height: calc(100vh - 50px); } } + +.page-wrapper.no-navbar { + min-height: 100vh; } + +.page-header, +.page-footer { + flex-shrink: 0; } + +.page-body { + flex-grow: 1; } + .max-width-640 { max-width: 640px; } @@ -7261,8 +7281,8 @@ a:focus { .dark h3.article-title a:hover { color: #2962ff; } -.dark a:hover, -.dark a:focus { +.dark a:not(.btn):hover, +.dark a:not(.btn):focus { color: #2962ff; } img, @@ -7284,6 +7304,18 @@ video { /* Extend Bootstrap declaration with centering. */ margin: 0 auto; } +/* Hide overflowing of zoomed child img element */ +.img-hover-zoom { + overflow: hidden; } + +/* Smooth transition for image zoom on hover */ +.img-hover-zoom img { + transition: transform .3s ease-in-out; } + +/* Transform the image scale when container gets hovered */ +.img-hover-zoom:hover img { + transform: scale(1.1); } + figcaption { display: block; margin-top: 0.75em; @@ -7585,9 +7617,6 @@ table > tbody > tr:hover > td, table > tbody > tr:hover > th { background-color: #e5e5e5; } -/************************************************* - * Article Alerts (Shortcode) and Asides (Mmark) - **************************************************/ /* Style asides as Bootstrap alerts. */ /* Asides use

block element whereas alerts use

. */ .article-style aside p, @@ -7657,7 +7686,6 @@ div.alert a { footer { margin: 4rem 0 0; - padding: 2rem 0; width: 100%; } footer p { @@ -7667,12 +7695,10 @@ footer p { footer .powered-by { font-size: 0.67rem; } -.site-footer, -footer a.back-to-top i { +.site-footer { color: rgba(0, 0, 0, 0.54); } .dark .site-footer, -.dark footer a.back-to-top i, .dark .docs .body-footer { color: rgba(255, 255, 255, 0.54); } @@ -8190,8 +8216,10 @@ article .article-metadata { .article-metadata .author-notes { cursor: help; - vertical-align: super; - font-size: 0.7em; } + padding-left: 3px; } + +.article-metadata .author-highlighted { + font-weight: bold; } .article-categories { white-space: nowrap; @@ -8209,13 +8237,7 @@ article .article-metadata { overflow-x: hidden; overflow-wrap: break-word; word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-all; - word-break: break-word; - -ms-hyphens: auto; - -moz-hyphens: auto; - -webkit-hyphens: auto; - hyphens: auto; } + word-break: break-word; } .article-style img, .article-style video { @@ -8450,6 +8472,9 @@ ul.share li:hover i { .home-section.fullscreen { min-height: calc(100vh - 50px); } } +.no-navbar .home-section.fullscreen { + min-height: 100vh; } + /* Override dark colors that may be inherited from body.dark */ .home-section.dark, .home-section.dark h1, @@ -8483,15 +8508,23 @@ ul.share li:hover i { position: absolute; top: 100%; }*/ +.home-section-bg { + position: absolute; + top: 0; + left: 0; + height: fill-available; + height: -webkit-fill-available; + width: fill-available; + width: -webkit-fill-available; } + /* Default background image properties for home sections. */ -.home-section.bg-image { +.home-section-bg .bg-image { background-position: center; background-repeat: no-repeat; background-size: cover; } /* Create a parallax-like scrolling effect. */ .parallax { - height: 100%; background-attachment: fixed; } .home-section:first-of-type { @@ -8882,26 +8915,26 @@ ul.ul-edu li .description p.institution { /************************************************* * Contact **************************************************/ -.contact-widget .fa-ul { +.wg-contact .fa-ul { margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */ } -.contact-widget .fa-li { +.wg-contact .fa-li { position: absolute; left: -3.14285714rem; - /* Negative of `.contact-widget .fa-ul` margin. */ + /* Negative of `.wg-contact .fa-ul` margin. */ width: 2rem; /* Match `fa-2x` icon size. */ top: 0.14285714em; /* Default FA value. */ text-align: center; } -.contact-widget li { +.wg-contact li { padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */ margin-bottom: 0.3rem; } -.contact-widget li:last-of-type { +.wg-contact li:last-of-type { margin-bottom: 0; } #map { @@ -9228,12 +9261,18 @@ body.dark, .dark .btn.btn-primary.active { color: initial; } -/* Mermaid.js div */ div.mermaid { width: 100%; text-align: center; margin-bottom: 1rem; } +div.chart { + max-width: 100%; + margin-left: auto; + margin-right: auto; + margin-bottom: 1rem; + overflow-x: auto; } + /************************************************* * Style for right to left (RTL) languages. **************************************************/ diff --git a/exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.json b/exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.json new file mode 100644 index 0000000..efe455c --- /dev/null +++ b/exampleSite/resources/_gen/assets/scss/scss/main.scss_9f896623db74eba16a49d52c1955683d.json @@ -0,0 +1 @@ +{"Target":"css/wowchemy.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png deleted file mode 100644 index 85dc7b3..0000000 Binary files a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_192x192_fill_lanczos_center_2.png and /dev/null differ diff --git a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_32x32_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_32x32_fill_lanczos_center_2.png deleted file mode 100644 index 86ec5d6..0000000 Binary files a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_32x32_fill_lanczos_center_2.png and /dev/null differ diff --git a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png deleted file mode 100644 index bafcec6..0000000 Binary files a/exampleSite/resources/_gen/images/images/icon_hu0b7a4cb9992c9ac0e91bd28ffd38dd00_9727_512x512_fill_lanczos_center_2.png and /dev/null differ diff --git a/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_192x192_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_192x192_fill_lanczos_center_2.png new file mode 100644 index 0000000..ff11be3 Binary files /dev/null and b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_192x192_fill_lanczos_center_2.png differ diff --git a/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_32x32_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_32x32_fill_lanczos_center_2.png new file mode 100644 index 0000000..9b1f0b5 Binary files /dev/null and b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_32x32_fill_lanczos_center_2.png differ diff --git a/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_512x512_fill_lanczos_center_2.png b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_512x512_fill_lanczos_center_2.png new file mode 100644 index 0000000..d043ded Binary files /dev/null and b/exampleSite/resources/_gen/images/images/icon_hua2ec155b4296a9c9791d015323e16eb5_11927_512x512_fill_lanczos_center_2.png differ diff --git a/go.mod b/go.mod index 6cc40ac..2659ece 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,10 @@ module github.com/wowchemy/starter-academic go 1.15 require ( - github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201016182837-be0fa17ac006 // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201102170205-80fce98e72a9 + github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201109174124-1ed538027a75 // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75 ) + +replace github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic => ../../wowchemy-hugo/netlify-cms-academic + +replace github.com/wowchemy/wowchemy-hugo-modules/wowchemy => ../../wowchemy-hugo/wowchemy