diff --git a/FediNews/Components/Accounts/LoginComponent.razor b/FediNews/Components/Accounts/LoginComponent.razor new file mode 100644 index 0000000..89bd19f --- /dev/null +++ b/FediNews/Components/Accounts/LoginComponent.razor @@ -0,0 +1,21 @@ +
+

Login

+
+
+

username / email

+ +
+
+

password

+ +
+
+ + Forgot password? +
+
+
+ +@code { + +} diff --git a/FediNews/Components/Accounts/LoginComponent.razor.css b/FediNews/Components/Accounts/LoginComponent.razor.css new file mode 100644 index 0000000..d0e0a31 --- /dev/null +++ b/FediNews/Components/Accounts/LoginComponent.razor.css @@ -0,0 +1,14 @@ +.LoginSection { + margin: 0 auto; +} + +.field { + margin-top: 12px; + margin-bottom: 12px; +} + +.btn { + margin-right: auto; + margin-left: 0; + text-align: right; +} diff --git a/FediNews/Components/Accounts/RegisterComponent.razor b/FediNews/Components/Accounts/RegisterComponent.razor new file mode 100644 index 0000000..84059bc --- /dev/null +++ b/FediNews/Components/Accounts/RegisterComponent.razor @@ -0,0 +1,28 @@ +
+

Register

+
+
+

username

+ +
+
+

email (optional)

+ +
+
+

password

+ +
+
+ @*
*@ + @* *@ + @* *@ + @*
*@ + +
+
+
+ +@code { + +} diff --git a/FediNews/Components/Accounts/RegisterComponent.razor.css b/FediNews/Components/Accounts/RegisterComponent.razor.css new file mode 100644 index 0000000..92a6320 --- /dev/null +++ b/FediNews/Components/Accounts/RegisterComponent.razor.css @@ -0,0 +1,14 @@ +.RegisterSection { + margin: 0 auto; +} + +.field { + margin-top: 12px; + margin-bottom: 12px; +} + +.btn { + margin-right: auto; + margin-left: 0; + text-align: right; +} diff --git a/FediNews/Components/Items/PostListView.razor b/FediNews/Components/Items/PostListView.razor index f83c925..7ef39d1 100644 --- a/FediNews/Components/Items/PostListView.razor +++ b/FediNews/Components/Items/PostListView.razor @@ -1,20 +1,15 @@ @code { [Parameter] public int PostNr { get; set; } - } diff --git a/FediNews/Components/Items/PostListView.razor.css b/FediNews/Components/Items/PostListView.razor.css index 40a8f78..66f67e3 100644 --- a/FediNews/Components/Items/PostListView.razor.css +++ b/FediNews/Components/Items/PostListView.razor.css @@ -2,33 +2,81 @@ width: 100%; display: flex; flex-direction: row; - /*align-items: center;*/ margin-top: 0.5rem; margin-bottom: 0.5rem; } +@media(max-width: 600px) { + .link { + margin-top: 0.9rem !important; + margin-bottom: 0.9rem !important; + } + + .title { + font-size: 1.1rem !important; + } + + .scoretxt { + font-size: 0.9rem !important; + } + + .tailtext { + font-size: 0.9rem !important; + } +} + .score { - display: flex; - flex-direction: row; - /*align-items: center;*/ - margin-right: 0.5rem; - min-width: 2.3rem; - margin-left: 0; - -} - -.content { - -} - -.head { display: flex; flex-direction: row; align-items: center; + margin-right: 0.3rem; + margin-left: 0.2rem; + min-width: 2.4rem; + text-align: right; + text-align: -moz-right; + text-align: -webkit-right; +} + +.scoretxt { + margin-left: auto; + margin-right: 0; + color: grey; +} + +.upvote { + color: grey; + text-decoration: none; +} + +.title { + font-size: 1.05rem; + line-height: 14pt; + margin-right: 0.5rem; + color: black; + text-decoration: none; +} + +.urladdr { + color: grey; + font-size: 0.8rem; } .tail { display: flex; flex-direction: row; align-items: center; + font-size: 0.8rem; +} + +.user, .comments { + text-decoration: underline; + color: grey; +} + +.tailtext { + color: grey; +} + +.content { + margin-right: 0.5rem; } diff --git a/FediNews/Components/Layout/Footer.razor b/FediNews/Components/Layout/Footer.razor index 0858f05..5f0d41f 100644 --- a/FediNews/Components/Layout/Footer.razor +++ b/FediNews/Components/Layout/Footer.razor @@ -1,5 +1,8 @@ -