From 9ebd3cd38d77115726452225b0a2174bfd3d9987 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Fri, 9 Oct 2015 13:18:55 -0400 Subject: [PATCH] really fix continuous scroll --- src/DotNetMashup.Web/Views/Home/Index.cshtml | 50 +++++++++++-------- .../GithubAnnouncement.cshtml | 2 +- .../Views/Shared/_Layout.cshtml | 2 +- src/DotNetMashup.Web/wwwroot/css/site.css | 18 ++++++- 4 files changed, 48 insertions(+), 24 deletions(-) diff --git a/src/DotNetMashup.Web/Views/Home/Index.cshtml b/src/DotNetMashup.Web/Views/Home/Index.cshtml index ebd2201..d0a2293 100644 --- a/src/DotNetMashup.Web/Views/Home/Index.cshtml +++ b/src/DotNetMashup.Web/Views/Home/Index.cshtml @@ -31,27 +31,35 @@ @section scripts{ } \ No newline at end of file diff --git a/src/DotNetMashup.Web/Views/Shared/DisplayTemplates/GithubAnnouncement.cshtml b/src/DotNetMashup.Web/Views/Shared/DisplayTemplates/GithubAnnouncement.cshtml index 9afa454..f4e831b 100644 --- a/src/DotNetMashup.Web/Views/Shared/DisplayTemplates/GithubAnnouncement.cshtml +++ b/src/DotNetMashup.Web/Views/Shared/DisplayTemplates/GithubAnnouncement.cshtml @@ -6,7 +6,7 @@

@Model.Author.Name

-

#@Model.IssueNumber @Model.Title

+

#@Model.IssueNumber @Model.Title


diff --git a/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml b/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml index d76dffd..0f0058d 100644 --- a/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml +++ b/src/DotNetMashup.Web/Views/Shared/_Layout.cshtml @@ -11,7 +11,7 @@
-

ASP.NET News Mashups

+

ASP.NET News Mashups

@RenderBody() diff --git a/src/DotNetMashup.Web/wwwroot/css/site.css b/src/DotNetMashup.Web/wwwroot/css/site.css index e24e53c..3185fb2 100644 --- a/src/DotNetMashup.Web/wwwroot/css/site.css +++ b/src/DotNetMashup.Web/wwwroot/css/site.css @@ -7,6 +7,15 @@ -moz-box-shadow: 7px 10px 20px -7px rgba(0,0,0,0.75); box-shadow: 7px 10px 20px -7px rgba(0,0,0,0.75); padding: 5px; + -moz-transition: opacity .5s ease-in; + -o-transition: opacity .5s ease-in; + -webkit-transition: opacity .5s ease-in; + transition: opacity .5s ease-in; + opacity: 0; +} +.tile.show{ + + opacity: 1; } body { @@ -60,4 +69,11 @@ code, pre { white-space: pre-wrap; /* css-3 */ -ms-word-wrap: break-word; word-wrap: break-word; /* Internet Explorer 5.5+ */ -} \ No newline at end of file +} +.head{ + color: #FFFFFF; text-align:center; + +} +a.head, a:hover, a:visited{ + color: #FFFFFF; text-align:center; +}