From 8ae42444f403515b84fdb0c22f4eda92bae75b00 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sat, 12 Oct 2019 19:26:44 +0300 Subject: [PATCH] Added GitHub stats to projects page --- MyWebsite/MyWebsite/Views/Projects/Index.cshtml | 4 ++-- MyWebsite/MyWebsite/wwwroot/css/Style.css | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/MyWebsite/MyWebsite/Views/Projects/Index.cshtml b/MyWebsite/MyWebsite/Views/Projects/Index.cshtml index 5eaa810..6c98178 100644 --- a/MyWebsite/MyWebsite/Views/Projects/Index.cshtml +++ b/MyWebsite/MyWebsite/Views/Projects/Index.cshtml @@ -3,8 +3,8 @@ ViewData["Title"] = "My projects"; } -
-
+
+

My projects

Here is presented the most of projects I worked on

diff --git a/MyWebsite/MyWebsite/wwwroot/css/Style.css b/MyWebsite/MyWebsite/wwwroot/css/Style.css index 19084fe..2559c17 100644 --- a/MyWebsite/MyWebsite/wwwroot/css/Style.css +++ b/MyWebsite/MyWebsite/wwwroot/css/Style.css @@ -119,19 +119,21 @@ article a:visited { transform: scale(1.25); } -.inline-header { - display: inline-block; -} .github-stats { margin-top: 20px; - float: right; - display: none; + grid-column: 2 / 2; } .projects-block { margin: 0px 10px; } +.projects-header { + display: grid; + margin-bottom: 20px; + grid-template-columns: 1fr auto; +} + .project-item { background-color: whitesmoke; margin-bottom: 10px;