Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorChen Xianmin <xianmin12@gmail.com>2018-11-04 11:08:15 +0300
committerChen Xianmin <xianmin12@gmail.com>2018-11-04 11:08:15 +0300
commitb4a0105a8a817b65c34bfa7b0ef22fb38f0fdf1b (patch)
treea6b97b55a481d0adb98f7418d6171c0e34414159 /assets
parent8a1f701826bb1d8e89286f8f29907fa929c8a121 (diff)
style: fix some bad styledevelop
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_partial/_post/_code.scss2
-rw-r--r--assets/sass/_partial/_post/_header.scss12
-rw-r--r--assets/sass/_variables.scss18
3 files changed, 9 insertions, 23 deletions
diff --git a/assets/sass/_partial/_post/_code.scss b/assets/sass/_partial/_post/_code.scss
index 75524de..a19c577 100644
--- a/assets/sass/_partial/_post/_code.scss
+++ b/assets/sass/_partial/_post/_code.scss
@@ -4,7 +4,7 @@
// normal <code> style
code {
- padding: 0 7px;
+ padding: 3px 7px;
background: $code-background;
border-radius: 4px;
color: $code-color;
diff --git a/assets/sass/_partial/_post/_header.scss b/assets/sass/_partial/_post/_header.scss
index bbf4c35..4c0c265 100644
--- a/assets/sass/_partial/_post/_header.scss
+++ b/assets/sass/_partial/_post/_header.scss
@@ -27,15 +27,17 @@
display: inline;
a {
- color: inherit;
-
&::before {
content: 'ยท';
}
+ }
+ }
- &:hover {
- color: $theme-color;
- }
+ a {
+ color: inherit;
+
+ &:hover {
+ color: $theme-color;
}
}
diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss
index 70b1652..dc85e02 100644
--- a/assets/sass/_variables.scss
+++ b/assets/sass/_variables.scss
@@ -75,27 +75,11 @@ $global-headings: (
// ========== Header ========== //
-// Padding of the site header.
-// $header-padding: 20px 20px !default;
-
-// Font family: Chancery
-// @font-face {
-// font-family: 'Chancery';
-// src: url('../fonts/chancery/apple-chancery-webfont.eot');
-// src: local('Apple Chancery'), url('../fonts/chancery/apple-chancery-webfont.eot?#iefix') format('embedded-opentype'),
-// url('../fonts/chancery/apple-chancery-webfont.woff2') format('woff2'),
-// url('../fonts/chancery/apple-chancery-webfont.woff') format('woff'),
-// url('../fonts/chancery/apple-chancery-webfont.ttf') format('truetype'),
-// url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg');
-// font-weight: lighter;
-// font-style: normal;
-// }
-
// Font size of the logo.
$logo-font-size: 36px !default;
// Font family of the logo.
-$logo-font-family: 'Chancery', cursive, LiSu, sans-serif !default;
+$logo-font-family: cursive, LiSu, sans-serif !default;
// Margin of menu item.
$menu-item-margin-left: 10px !default;