diff --git a/.gitignore b/.gitignore index 6e791f4..43edc99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin/ obj/ Snootalogue.db +wwwroot/Content/* diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index c3678aa..67e8f24 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -17,12 +17,16 @@
Category: @Html.DisplayFor(modelItem => item.Category)
@Html.DisplayFor(modelItem => item.Tags)
@{string hash = item.Hash.Substring(0, 8);} -
@Html.DisplayFor(modelItem => item.Filename) | @Html.DisplayFor(modelItem => item.Size) | @hash...
+
+ @Html.DisplayFor(modelItem => item.Filename) | + @Html.DisplayFor(modelItem => item.Size) | + @hash... +
@* TODO: replace these with font awesome or something *@
- View + View Details Edit Delete diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index e967518..6af4d8d 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -11,7 +11,11 @@
diff --git a/wwwroot/css/style.css b/wwwroot/css/style.css index d05d901..5c20103 100644 --- a/wwwroot/css/style.css +++ b/wwwroot/css/style.css @@ -24,10 +24,10 @@ a { a.button { color: #a66; - background: white; + background: transparent; border: thin #a66 solid; border-radius: 5px; - padding: 5px; + padding: 5px 10px; text-align: center; transition: 0.2s all; } @@ -39,6 +39,14 @@ a.button.block { display: inline-block; margin: 5px auto; } +a.button.inverted { + color: white; + border-color: white; +} +a.button.inverted:hover { + background: white; + color: #a00; +} .vertical-buttons { display: flex; @@ -146,3 +154,9 @@ main { max-width: 90%; } } + +@media only screen and (max-width: 800px) { + a.button { + padding: 3px 5px; + } +}