Skip to content

Commit ef5eecf

Browse files
author
Francis
committed
Standard Theme improved.
1 parent b4e5103 commit ef5eecf

9 files changed

Lines changed: 134 additions & 54 deletions

File tree

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

Lines changed: 55 additions & 15 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.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.

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/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.

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/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.

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/sections/_comments.scss

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
#commentlist {
1+
.lbl-CommentsDisabled {
2+
background-color: rgba(255, 255, 255, 0.1);
3+
color: rgba(255, 255, 255, 0.5);
4+
padding: 2.5rem 1rem 1rem;
5+
text-transform: uppercase;
6+
text-align: center;
7+
display: block;
8+
position: relative;
9+
font-size:.875rem;
10+
11+
&:before {
12+
width: 1.25rem;
13+
height: 1.25rem;
14+
display: block;
15+
position: absolute;
16+
top: 1rem;
17+
left: 50%;
18+
margin-left: -1rem;
19+
content: "";
20+
background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQ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Ny45OTQtMTEuODA2LDcuOTk0LTE5LjQxN1YyMTAuMTM1ICAgQzM2NS40NTUsMjAyLjUyMywzNjIuNzgyLDE5Ni4wNTEsMzU3LjQ1LDE5MC43MjF6IE0yNzQuMDg3LDE4Mi43MjhIMTI3LjkwOXYtNTQuODIxYzAtMjAuMTc1LDcuMTM5LTM3LjQwMiwyMS40MTQtNTEuNjc1ICAgYzE0LjI3Ny0xNC4yNzUsMzEuNTAxLTIxLjQxMSw1MS42NzgtMjEuNDExYzIwLjE3OSwwLDM3LjM5OSw3LjEzNSw1MS42NzcsMjEuNDExYzE0LjI3MSwxNC4yNzIsMjEuNDA5LDMxLjUsMjEuNDA5LDUxLjY3NVYxODIuNzI4ICAgeiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);
21+
background-position: 0 0;
22+
background-repeat: no-repeat;
23+
background-size: 100% 100%;
24+
opacity:.5;
25+
}
26+
}
27+
28+
#commentlist {
229
ul {
330
@include unstyled;
431
}

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/sections/_header.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
}
3232

3333
.blog-nav {
34-
height: 3rem;
34+
height: 3.5rem;
3535

3636
ul {
3737
@include unstyled();
38-
height: 3rem;
38+
height: 3.5rem;
3939
display: table;
4040
width: 100%;
4141
}
4242

4343
li {
4444
display: table-cell;
4545
width: 25%;
46-
height: 3rem;
46+
height: 3.5rem;
4747
text-align: center;
4848
border-right: 1px solid rgba(0, 0, 0, 0.15);
4949
border-top: 1px solid rgba(0, 0, 0, 0.15);
@@ -58,8 +58,8 @@
5858
}
5959

6060
a {
61-
height: 3rem;
62-
line-height: 3rem - $px3;
61+
height: 3.5rem;
62+
line-height:3.5rem - $px3;
6363
color: rgba(255, 255, 255, 0.5);
6464
display: block;
6565
text-transform: uppercase;
Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
.widget {
2-
background:rgba(255, 255, 255, 0.1);
2+
background: rgba(255, 255, 255, 0.1);
33
margin-bottom: 2rem;
4-
padding: 2rem;
54
font-size: .875rem;
65
color: rgba(255, 255, 255, 0.60);
7-
6+
7+
a {
8+
color: rgba(255, 255, 255, 0.60);
9+
border-bottom: 1px dotted rgba(255, 255, 255, 0.60);
10+
11+
&:hover {
12+
border-color: #fff;
13+
color: #fff;
14+
}
15+
}
16+
817
.widget-header {
18+
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
19+
padding-bottom: 1.5rem;
920
margin: 0;
1021
color: #fff;
1122
font-weight: $font-weight-normal;
1223
text-transform: uppercase;
1324
letter-spacing: .125rem;
1425
font-size: 1rem;
15-
margin-bottom: 1rem;
26+
line-height: 3.75rem;
27+
padding: 0 1.5rem;
1628
}
1729

1830
.widget-content {
19-
padding: 0 !important;
31+
padding: 1.5rem !important;
2032
font-size: .875rem;
2133
color: rgba(255, 255, 255, 0.60);
2234

@@ -28,13 +40,6 @@
2840
font-weight: $font-weight-normal;
2941
}
3042

31-
a {
32-
color: rgba(255, 255, 255, 0.60);
33-
34-
&:hover {
35-
color: #fff;
36-
}
37-
}
3843

3944
h1, h2, h3, h4, h5, h6 {
4045
font-family: $font-family-base;
@@ -52,23 +57,23 @@
5257
margin: 0;
5358

5459
> li {
55-
margin-bottom:.5rem;
60+
margin-bottom: .5rem;
61+
62+
a {
63+
border-bottom: none;
64+
}
65+
5666
&:last-child {
5767
margin-bottom: 0;
5868
}
5969
}
6070

61-
62-
63-
6471
ul li {
6572
border: none;
6673
}
6774
}
6875

69-
@media screen and (max-width: 64rem) {
70-
71-
margin-bottom: 1rem;
72-
76+
@media screen and (max-width: 64rem) {
77+
margin-bottom: 1rem;
7378
}
7479
}

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/widgets/_newsletter.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#newsletteraction {
1414
font-size: 1.5rem;
15-
color: $color-theme;
15+
color: $color-success;
1616

1717
input[type="text"] {
1818
direction: ltr !important;

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/widgets/_rtl.scss

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
h1, h2, h3, h4, h5, h6 {
1313
font-family: 'yekan', Tahoma, Arial, sans-serif !important;
1414
}
15-
1615
// bootstrap
1716
.pull-right {
1817
float: left !important;
@@ -44,11 +43,21 @@
4443
}
4544
}
4645

46+
.blog-logo {
47+
font-family: 'yekan', Tahoma, Arial, sans-serif !important;
48+
}
49+
// blog-wrapper
50+
.blog-wrapper {
51+
52+
> .blog-content {
53+
padding-left: 0rem;
54+
padding-right: 2rem;
55+
}
56+
}
4757
// footer
4858
.blog-footer {
4959
font-family: Tahoma,Arial,sans-serif;
5060
}
51-
5261
// blog-nav
5362
.blog-nav {
5463
li {
@@ -60,12 +69,10 @@
6069
}
6170
}
6271
}
63-
6472
// archive
6573
.archive-page ul li {
6674
float: right;
6775
}
68-
6976
// search
7077
.search {
7178
input[type=button] {
@@ -77,7 +84,6 @@
7784
padding: 0 1rem 0 25%;
7885
}
7986
}
80-
8187
// post
8288
.post {
8389
.post-info span {
@@ -95,12 +101,13 @@
95101
margin-left: 1rem;
96102
}
97103
}
98-
99104
// comment list
100105
#commentlist {
101-
.comment-item .comment-item {
102-
margin-left: 0;margin-right: 3.5rem;
106+
.comment-item .comment-item {
107+
margin-left: 0;
108+
margin-right: 3.5rem;
103109
}
110+
104111
.comment-adminlinks a {
105112
margin-left: .5rem;
106113
margin-right: 0;
@@ -112,7 +119,8 @@
112119
}
113120

114121
.comment-content {
115-
margin-left: 0;margin-right: 3.5rem;
122+
margin-left: 0;
123+
margin-right: 3.5rem;
116124
}
117125
}
118126
}

0 commit comments

Comments
 (0)