Skip to content

Commit c0be016

Browse files
author
Francis
committed
Theme - Vision - 02
1 parent 96c54ac commit c0be016

13 files changed

Lines changed: 93 additions & 82 deletions

File tree

src/App/Views/Themes/vision/List.cshtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,18 @@
100100
<div class="post-meta">
101101
@*<a class="post-meta-author" href="~/authors/@item.Author.AppUserName">@item.Author.DisplayName</a>*@
102102
<time class="post-meta-time">@item.Published.ToFriendlyDateString()</time>
103+
103104
</div>
105+
<div class="post-description">@Html.Raw(Markdig.Markdown.ToHtml(item.Description))</div>
106+
<a href="~/posts/@item.Slug" class="post-more">Read More</a>
104107
</article>
105108
}
106109
}
107110

108111
@if (pgr != null && (pgr.ShowOlder || pgr.ShowNewer))
109112
{
113+
114+
<hr />
110115
<ul class="pagination justify-content-between">
111116
@if (pgr.ShowOlder)
112117
{

src/App/wwwroot/themes/vision/css/styles.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App/wwwroot/themes/vision/css/styles.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-293 Bytes
Loading
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
body {
2-
background-color: #1A191F;
2+
background-color: #f5f5f5;
33
font-family: $font-family-base;
44
font-size: 1rem;
55
cursor: default;
66
overflow-y: scroll;
7-
color:#fff;
7+
color:#000;
88
}
99

src/App/wwwroot/themes/vision/scss/base/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $fw-normal: 400;
77
$fw-medium: 500;
88
$fw-bold: 700;
99

10-
$color-theme: #04ffb0;
10+
$color-theme: #9527e1;
1111
$header-width: 30rem;
1212
$header-width-lg: 38rem;
1313

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
11
.blog-search-form {
2-
position: relative;
3-
margin-left: 3rem;
4-
.form-control {
5-
background: #000;
6-
width: 13rem;
7-
border:none;
8-
border-radius: 10rem;
9-
color: #fff;
10-
outline: none !important;
11-
height: 3.25rem;
12-
padding: 0 1.5rem;
2+
position: relative;
3+
margin-left: 3rem;
134

14-
&::placeholder {
15-
color: rgba(255,255,255,.3);
16-
font-size: 1rem;
17-
font-weight: 400;
5+
.form-control {
6+
background: #ddd;
7+
width: 13rem;
8+
border: none;
9+
border-radius: 10rem;
10+
color: #000;
11+
outline: none !important;
12+
height: 3.25rem;
13+
padding: 0 1.5rem;
1814

19-
}
15+
&::placeholder {
16+
color: rgba(0, 0, 0, 0.30);
17+
font-size: 1rem;
18+
font-weight: 400;
19+
}
2020

21-
&:focus {
22-
border-color: rgba(255,255,255,.75);
23-
outline: none !important
24-
;
25-
box-shadow: none;
21+
&:focus {
22+
border-color: rgba(255,255,255,.75);
23+
outline: none !important;
24+
box-shadow: none;
25+
}
2626
}
27-
}
28-
button{
29-
border:0;
30-
padding: 0;
31-
margin: 0;
32-
background: none;
33-
color:#888;
34-
height: 100%;
35-
display: block;
36-
position: absolute;
37-
right:0;
38-
top:0;
39-
bottom:0;
40-
width: 3.25rem;
4127

42-
}
28+
button {
29+
border: 0;
30+
padding: 0;
31+
margin: 0;
32+
background: none;
33+
color: #555;
34+
height: 100%;
35+
display: block;
36+
position: absolute;
37+
right: 0;
38+
top: 0;
39+
bottom: 0;
40+
width: 3.25rem;
41+
}
4342
}

src/App/wwwroot/themes/vision/scss/layout/_header.scss

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.blog-header {
2-
padding-top: 5rem;
3-
padding-bottom: 3rem;
2+
padding-top: 4rem;
3+
padding-bottom: 4rem;
4+
background: #fff;
5+
box-shadow: 1px 5px 6rem 0px rgba(0, 0, 0, 0.17);
6+
margin-bottom: 5rem;
47

58
.blog-logo {
69
width: 12rem;
@@ -24,7 +27,7 @@
2427
font-weight: 500;
2528
font-size: 1.25rem;
2629
letter-spacing: 0.0625rem;
27-
color: #fff;
30+
color: #000;
2831
}
2932

3033
.navbar-dark .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show > .nav-link {
@@ -57,26 +60,24 @@
5760
}
5861

5962
.blog-search {
60-
61-
6263
}
6364

6465

6566
.blog-social {
66-
li {
67-
margin-left: 1.25rem;
67+
li {
68+
margin-left: 1.25rem;
6869

69-
&:first-child {
70-
margin: 0;
71-
}
70+
&:first-child {
71+
margin: 0;
72+
}
7273

73-
a {
74-
color: #666;
75-
font-size: 1.125rem;
74+
a {
75+
color: #666;
76+
font-size: 1.125rem;
7677

77-
&:hover {
78-
color: #222;
79-
}
78+
&:hover {
79+
color: #222;
80+
}
81+
}
8082
}
81-
}
8283
}

src/App/wwwroot/themes/vision/scss/layout/_main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ body{
3131

3232

3333
.blog-admin{
34-
position:absolute;
34+
position:absolute;
3535
bottom:3rem;
3636
right:3rem;
3737
a{

src/App/wwwroot/themes/vision/scss/layout/_widgets.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
margin-bottom: 5rem;
33

44
&-title {
5-
color: #fff;
5+
color: #9527e1;
66
font-size: 1.25rem;
77
font-weight: 500;
88
margin-bottom: 2rem;

0 commit comments

Comments
 (0)