modules: update

This commit is contained in:
George Cushen 2020-11-10 13:24:33 +00:00
parent 4e0577f52a
commit f5e0da76bd
12 changed files with 79 additions and 36 deletions

View file

@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite
go 1.15 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

View file

@ -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-20201109174124-1ed538027a75 h1:NbluAtKcpfNcsMGuVEjy5tFbwJMu50m/flJXS8RtUtI=
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/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=

View file

@ -1 +0,0 @@
{"Target":"css/academic.css","MediaType":"text/css","Data":{}}

View file

@ -7138,13 +7138,13 @@ a.text-dark:hover, a.text-dark:focus {
border-color: #dee2e6; } } border-color: #dee2e6; } }
/************************************************* /*************************************************
* Academic: The Website Builder for Hugo * Wowchemy: The Website Builder for Hugo
* Designed by @GeorgeCushen * Designed by @GeorgeCushen
* https://sourcethemes.com/academic/ * https://wowchemy.com/
* License: https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md * License: https://github.com/wowchemy/wowchemy-hugo-modules/blob/master/LICENSE.md
**************************************************/ **************************************************/
/************************************************* /*************************************************
* Academic's Core * Wowchemy's Core Style
**************************************************/ **************************************************/
html { html {
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif;
@ -7176,6 +7176,26 @@ body {
body.no-navbar { body.no-navbar {
margin-top: 0 !important; } 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-640 {
max-width: 640px; } max-width: 640px; }
@ -7261,8 +7281,8 @@ a:focus {
.dark h3.article-title a:hover { .dark h3.article-title a:hover {
color: #2962ff; } color: #2962ff; }
.dark a:hover, .dark a:not(.btn):hover,
.dark a:focus { .dark a:not(.btn):focus {
color: #2962ff; } color: #2962ff; }
img, img,
@ -7284,6 +7304,18 @@ video {
/* Extend Bootstrap declaration with centering. */ /* Extend Bootstrap declaration with centering. */
margin: 0 auto; } 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 { figcaption {
display: block; display: block;
margin-top: 0.75em; margin-top: 0.75em;
@ -7585,9 +7617,6 @@ table > tbody > tr:hover > td,
table > tbody > tr:hover > th { table > tbody > tr:hover > th {
background-color: #e5e5e5; } background-color: #e5e5e5; }
/*************************************************
* Article Alerts (Shortcode) and Asides (Mmark)
**************************************************/
/* Style asides as Bootstrap alerts. */ /* Style asides as Bootstrap alerts. */
/* Asides use <p> block element whereas alerts use <div>. */ /* Asides use <p> block element whereas alerts use <div>. */
.article-style aside p, .article-style aside p,
@ -7657,7 +7686,6 @@ div.alert a {
footer { footer {
margin: 4rem 0 0; margin: 4rem 0 0;
padding: 2rem 0;
width: 100%; } width: 100%; }
footer p { footer p {
@ -7667,12 +7695,10 @@ footer p {
footer .powered-by { footer .powered-by {
font-size: 0.67rem; } font-size: 0.67rem; }
.site-footer, .site-footer {
footer a.back-to-top i {
color: rgba(0, 0, 0, 0.54); } color: rgba(0, 0, 0, 0.54); }
.dark .site-footer, .dark .site-footer,
.dark footer a.back-to-top i,
.dark .docs .body-footer { .dark .docs .body-footer {
color: rgba(255, 255, 255, 0.54); } color: rgba(255, 255, 255, 0.54); }
@ -8190,8 +8216,10 @@ article .article-metadata {
.article-metadata .author-notes { .article-metadata .author-notes {
cursor: help; cursor: help;
vertical-align: super; padding-left: 3px; }
font-size: 0.7em; }
.article-metadata .author-highlighted {
font-weight: bold; }
.article-categories { .article-categories {
white-space: nowrap; white-space: nowrap;
@ -8209,13 +8237,7 @@ article .article-metadata {
overflow-x: hidden; overflow-x: hidden;
overflow-wrap: break-word; overflow-wrap: break-word;
word-wrap: break-word; word-wrap: break-word;
-ms-word-break: break-all; word-break: break-word; }
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto; }
.article-style img, .article-style img,
.article-style video { .article-style video {
@ -8450,6 +8472,9 @@ ul.share li:hover i {
.home-section.fullscreen { .home-section.fullscreen {
min-height: calc(100vh - 50px); } } min-height: calc(100vh - 50px); } }
.no-navbar .home-section.fullscreen {
min-height: 100vh; }
/* Override dark colors that may be inherited from body.dark */ /* Override dark colors that may be inherited from body.dark */
.home-section.dark, .home-section.dark,
.home-section.dark h1, .home-section.dark h1,
@ -8483,15 +8508,23 @@ ul.share li:hover i {
position: absolute; position: absolute;
top: 100%; 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. */ /* Default background image properties for home sections. */
.home-section.bg-image { .home-section-bg .bg-image {
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; } background-size: cover; }
/* Create a parallax-like scrolling effect. */ /* Create a parallax-like scrolling effect. */
.parallax { .parallax {
height: 100%;
background-attachment: fixed; } background-attachment: fixed; }
.home-section:first-of-type { .home-section:first-of-type {
@ -8882,26 +8915,26 @@ ul.ul-edu li .description p.institution {
/************************************************* /*************************************************
* Contact * Contact
**************************************************/ **************************************************/
.contact-widget .fa-ul { .wg-contact .fa-ul {
margin-left: 3.14285714rem; margin-left: 3.14285714rem;
/* Must be > `fa-2x` icon size. */ } /* Must be > `fa-2x` icon size. */ }
.contact-widget .fa-li { .wg-contact .fa-li {
position: absolute; position: absolute;
left: -3.14285714rem; left: -3.14285714rem;
/* Negative of `.contact-widget .fa-ul` margin. */ /* Negative of `.wg-contact .fa-ul` margin. */
width: 2rem; width: 2rem;
/* Match `fa-2x` icon size. */ /* Match `fa-2x` icon size. */
top: 0.14285714em; top: 0.14285714em;
/* Default FA value. */ /* Default FA value. */
text-align: center; } text-align: center; }
.contact-widget li { .wg-contact li {
padding-top: 0.8rem; padding-top: 0.8rem;
/* Align text with bottom of `fa-2x` icon. */ /* Align text with bottom of `fa-2x` icon. */
margin-bottom: 0.3rem; } margin-bottom: 0.3rem; }
.contact-widget li:last-of-type { .wg-contact li:last-of-type {
margin-bottom: 0; } margin-bottom: 0; }
#map { #map {
@ -9228,12 +9261,18 @@ body.dark,
.dark .btn.btn-primary.active { .dark .btn.btn-primary.active {
color: initial; } color: initial; }
/* Mermaid.js div */
div.mermaid { div.mermaid {
width: 100%; width: 100%;
text-align: center; text-align: center;
margin-bottom: 1rem; } 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. * Style for right to left (RTL) languages.
**************************************************/ **************************************************/

View file

@ -0,0 +1 @@
{"Target":"css/wowchemy.css","MediaType":"text/css","Data":{}}

8
go.mod
View file

@ -3,6 +3,10 @@ module github.com/wowchemy/starter-academic
go 1.15 go 1.15
require ( require (
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201016182837-be0fa17ac006 // indirect 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-20201102170205-80fce98e72a9 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