diff --git a/src/static/css/custom.css b/src/static/css/custom.css index da8e8a3..516d831 100644 --- a/src/static/css/custom.css +++ b/src/static/css/custom.css @@ -46,7 +46,12 @@ pre { } - +img.blur { + width:367; + height:459px; + -webkit-filter: blur(10px); + filter: blur(10px); +} /*@keyframes fadein{ 0% { opacity:0; } diff --git a/src/static/js/enthusiast.js b/src/static/js/enthusiast.js index 25c8686..d041e5f 100644 --- a/src/static/js/enthusiast.js +++ b/src/static/js/enthusiast.js @@ -87,7 +87,7 @@ var data = { $('#year').html(year) $('#score').html(score) $('#gross').html(gross) - $('#top-movies-year').html(' for ' + year) + $('.top-movies-year').html(' for ' + year) if ((performance.now() - window.last_update)>update_freq) { window.last_update = performance.now() @@ -287,7 +287,7 @@ function update_top_movies(start_year, end_year) window.promises = promises for (i in promises){ console.log() - $('#poster-' + i).html('') + $('#poster-' + i).html('') $('#title-' + i).html(promises[i].responseJSON['Title']) } diff --git a/src/templates/enthusiast.html b/src/templates/enthusiast.html index 3556d86..81fe3dc 100644 --- a/src/templates/enthusiast.html +++ b/src/templates/enthusiast.html @@ -64,7 +64,7 @@
-

Sentiment

+

Sentiment

The following chart shows polarity/subjectivity of the plot keywords scaled to match the dataset. Polarity defines how positive or negative the plot is, while subjectivity shows how objective or subjective the plot is. Action movies tend to contain more negativity with words like Murder, Terrorist, and assassin, while romance movies tend to show more positivity with words like Love, Wedding, and Friend.
@@ -72,7 +72,7 @@
-

Plot Keywords

+

Plot Keywords

This word cloud shows the most common plot keywords by their frequency. The size of the font dictates how each word ranks to other words. Word clouds typically do not convey data very well since longer words tend to carry more weight, and their position is random. It is fitting to use here for a fun way to see the keywords.
@@ -88,7 +88,7 @@
-

Top Movies

+

Top Movies

by gross $ diff --git a/src/templates/layout.html b/src/templates/layout.html index 5a32ab5..de729d2 100644 --- a/src/templates/layout.html +++ b/src/templates/layout.html @@ -52,7 +52,7 @@ {% endfor %}