Skip to content

Commit 4244b6d

Browse files
committed
fonts in standard theme changed.
1 parent 8e40dc8 commit 4244b6d

File tree

9 files changed

+19
-21
lines changed

9 files changed

+19
-21
lines changed

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/site.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<head runat="server">
2424
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2525
<meta name="viewport" content="width=device-width, initial-scale=1">
26-
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto+Slab:400,700" rel="stylesheet">
26+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Kreon:400,700" rel="stylesheet">
2727
<link href="src/css/bootstrap.min.css" rel="stylesheet" />
2828
<link href="src/css/font-awesome.min.css" rel="stylesheet" />
2929
<link href="src/css/styles.min.css" rel="stylesheet" />

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/js/custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var adminAlert = $(".admin-alerts-true");
7171
var adminName = $(".post-author a").html();
7272

7373
console.log(adminName);
74-
var adminAlertHtml = '<div class="support-theme visible-md visible-lg alert alert-info clearfix"><p class="pull-left">Hi ' + adminName + ', You can read <a href="http://francis.bio/notes/blogengine-standard-theme-2016/#customize" target="_blank" rel="nofollow"><b>This Article</b></a> that will help you customize this theme easily.</p><a href="<%=Utils.RelativeWebRoot %>admin/#/custom/themes" class="pull-right visible-lg"><i class="fa fa-times" data-toggle="tooltip" data-placement="left" title="remove from theme options"></i></a></div>';
74+
var adminAlertHtml = '<div class="support-theme visible-md visible-lg alert alert-info clearfix"><p class="pull-left">Hi ' + adminName + ', You can read <a href="http://francis.bio/notes/blogengine-standard-theme-2016/#customize" target="_blank" rel="nofollow"><b>This Article</b></a> that will help you customize this theme easily.</p><a href="admin/#/custom/themes" class="pull-right visible-lg"><i class="fa fa-times" data-toggle="tooltip" data-placement="left" title="remove from theme options"></i></a></div>';
7575
if (adminNav.length && adminAlert.length && (location.pathname == '/' || location.pathname == '/default.aspx')) {
7676
adminAlert.prepend(adminAlertHtml);
7777
}

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/base/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body {
2222
h1, h2, h3, h4, h5, h6 {
2323
margin: 0 0 1rem;
2424
font-family: $font-family-heading;
25-
font-weight: $font-weight-normal;
25+
font-weight: $font-weight-bold;
2626
}
2727

2828
a {

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/base/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// fonts
22
$font-family-base: "Open Sans", sans-serif;
3-
$font-family-heading: "Roboto Slab", serif;
4-
$font-size-base: 1rem;
3+
$font-family-heading: "Kreon", serif;
4+
$font-size-base: 1.125rem;
55
$line-height-base: 1.8;
66
$font-weight-normal: 400;
77
$font-weight-bold: 700;

BlogEngine/BlogEngine.NET/Custom/Themes/Standard/src/scss/modules/_forms.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ label {
3939
border: none;
4040
margin-bottom: 2rem;
4141

42-
&.support-theme {
43-
p {
42+
&.support-theme {
43+
font-family: $font-family-heading;
44+
font-size: 1.25rem;
45+
46+
p {
4447
a {
4548
border-bottom: 2px solid $color-primary;
4649

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.post-title {
1212
line-height: 1;
13-
font-size: 2rem;
13+
font-size: 2.25rem;
1414
margin: 0 0 .5rem;
1515
font-weight: $font-weight-bold;
1616

@@ -51,20 +51,12 @@
5151
}
5252

5353
h2 {
54-
font-size: 1.5rem;
54+
font-size: 1.4375rem;
5555
}
5656

57-
h3 {
57+
h3, h4, h5 {
5858
font-size: 1.25rem;
5959
}
60-
61-
h4 {
62-
font-size: 1rem;
63-
}
64-
65-
h5 {
66-
font-size: 1rem;
67-
}
6860
}
6961

7062
.post-rating {

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ This repository provides latest source code for BlogEngine.NET project (https://
1010
2. Open solution in Visual Studio 2015
1111
3. Builld and run solution to load website in the browser
1212
4. Use admin/admin to log into website administration
13-
13+
1414
![dashboard-3](https://cloud.githubusercontent.com/assets/1932785/11760070/0012f9d8-a052-11e5-84a8-e9097cb85f23.png)
15+
16+
## Themes
17+
We will share everything about themes and how you can create your own theme on [This page](http://francis.bio/BlogEngine/).

0 commit comments

Comments
 (0)