Skip to content

Commit 892b928

Browse files
committed
Standard theme improved
1 parent e8b6433 commit 892b928

File tree

6 files changed

+25
-40
lines changed

6 files changed

+25
-40
lines changed

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/Gruntfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
module.exports = function (grunt) {
22
grunt.initConfig({
33
sass: {
4-
options: {
5-
noCache: true
6-
},
74
dist: {
85
options: {
96
style: 'compressed',
7+
noCache: true,
8+
sourcemap: 'none'
109
},
1110
files: {
1211
'src/css/styles.min.css': 'src/scss/styles.scss',

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/css/styles.min.css

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

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/css/styles.min.css.map

Lines changed: 0 additions & 7 deletions
This file was deleted.

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/sections/_post.navigation.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#postnavigation {
2-
display: none;
3-
}
4-
51
.navigation-posts {
62
display: table;
73
width: 100%;
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,29 @@
1-
#relatedPosts {
2-
display: none;
3-
}
4-
51
.related-posts {
6-
display: none;
7-
8-
ul li div {
9-
display: block;
10-
overflow: hidden;
11-
white-space: nowrap;
12-
text-overflow: ellipsis;
13-
font-size: 1rem;
14-
color: rgb(136, 136, 136);
15-
}
16-
172
ul li {
18-
padding-bottom: 1rem;
19-
margin-bottom: 1rem;
20-
border-bottom: 1px solid #eee;
3+
padding-bottom: 0.5rem;
4+
margin-bottom: 0.5rem;
5+
border-bottom: $px1 solid #eee;
6+
7+
a {
8+
font-size: 1rem;
9+
}
2110

2211
&:last-child {
2312
margin: 0;
2413
}
2514

2615
&:first-child {
27-
padding-top: 1rem;
28-
border-top: 1px solid #eee;
16+
padding-top: 0.5rem;
17+
border-top: $px1 solid #eee;
18+
}
19+
20+
div {
21+
display: block;
22+
overflow: hidden;
23+
white-space: nowrap;
24+
text-overflow: ellipsis;
25+
font-size: 0.75rem;
26+
color: #aaa;
2927
}
3028
}
3129
}

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/styles.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/*
22
Author: http://francis.bio
3-
*/
3+
*/
44

55
// base
66
@import "base/variables";
77
@import "base/mixins";
88
@import "base/base";
9-
9+
1010
// sections
1111
@import "sections/header";
1212
@import "sections/posts";
13+
@import "sections/pages";
1314
@import "sections/post.navigation";
1415
@import "sections/post.pager";
1516
@import "sections/post.related";
1617
@import "sections/comments";
17-
@import "sections/pages";
1818
@import "sections/search";
1919
@import "sections/archive";
2020
@import "sections/widgets";
@@ -26,7 +26,7 @@
2626
@import "modules/syntaxhighlighter";
2727
@import "modules/rating";
2828

29-
// widgets
29+
// widgets
3030
@import "widgets/search";
3131
@import "widgets/postlist";
3232
@import "widgets/categorylist";

0 commit comments

Comments
 (0)