smooth scroll css makes clicking quotes and nav buttons much nicer.

merge-requests/208/head
fatchan 5 years ago
parent f5d859c71e
commit c2eb8e8244
  1. 6
      build.js
  2. 8
      gulp/res/css/style.css

@ -104,8 +104,8 @@ console.log('building board page', `${board._id}/${page === 1 ? 'index' : page}.
}
const buildArray = [];
console.log('multi building board pages', `${board._id}/ ${startpage === 1 ? 'index' : startpage} -> ${endpage === 1 ? 'index' : endpage} .html`);
for (let i = startpage; i <= endpage; i++) {
console.log('multi building board page', `${board._id}/${i === 1 ? 'index' : i}.html`);
let spliceStart = (i-1)*10;
if (spliceStart > 0) {
spliceStart = spliceStart - 1;
@ -133,10 +133,6 @@ console.log('multi building board page', `${board._id}/${i === 1 ? 'index' : i}.
return render('changepassword.html', 'changepassword.pug');
},
buildLogin: () => {
return render('login.html', 'login.pug');
},
buildRegister: () => {
return render('register.html', 'register.pug');
},

@ -1,3 +1,7 @@
html {
scroll-behavior: smooth;
}
body {
font-family: arial, helvetica, sans-serif;
font-size: 10pt;
@ -323,6 +327,10 @@ td, th {
padding: 2px 0;
}
.post-file-info:hover {
word-break: break-all;
}
.post-file-info {
text-align: center;
margin: 2px;

Loading…
Cancel
Save