mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-21 22:36:16 +01:00
feat: update post title style
This commit is contained in:
parent
66ccbe92af
commit
7536b8b97d
4 changed files with 11 additions and 6 deletions
|
@ -2,17 +2,16 @@
|
|||
|
||||
.single {
|
||||
.single-title {
|
||||
margin: 1rem 0 .5rem;
|
||||
margin: 2rem 0 .5rem;
|
||||
font-size: 1.6rem;
|
||||
font-weight: bold;
|
||||
line-height: 140%;
|
||||
}
|
||||
|
||||
.single-subtitle {
|
||||
margin: .4rem 0;
|
||||
margin: .5rem 0;
|
||||
font-size: 1.2rem;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
|
|
|
@ -839,7 +839,8 @@ var Theme = /*#__PURE__*/function () {
|
|||
if (SmoothScroll) new SmoothScroll('[href^="#"]', {
|
||||
speed: 300,
|
||||
speedAsDuration: true,
|
||||
header: '#header-desktop'
|
||||
header: '#header-desktop',
|
||||
offset: 10
|
||||
});
|
||||
}
|
||||
}, {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -623,7 +623,12 @@ class Theme {
|
|||
}
|
||||
|
||||
initSmoothScroll() {
|
||||
if (SmoothScroll) new SmoothScroll('[href^="#"]', { speed: 300, speedAsDuration: true, header: '#header-desktop' });
|
||||
if (SmoothScroll) new SmoothScroll('[href^="#"]', {
|
||||
speed: 300,
|
||||
speedAsDuration: true,
|
||||
header: '#header-desktop',
|
||||
offset: 10,
|
||||
});
|
||||
}
|
||||
|
||||
initCookieconsent() {
|
||||
|
|
Loading…
Reference in a new issue