i18n
xaoxuu 5 years ago
parent fc7386e884
commit 5a3d4e1645
  1. 2
      source/js/app.js
  2. 3
      source/less/_base.less
  3. 2
      source/less/_layout.less

@ -3,7 +3,7 @@ var customSearch;
(function ($) {
"use strict";
const scrollCorrection = 70; // (header height = 50px) + (gap = 20px)
const scrollCorrection = 80; // (header height = 64px) + (gap = 16px)
function scrolltoElement(elem, correction) {
correction = correction || scrollCorrection;
const $elem = elem.href ? $(elem.getAttribute('href')) : $(elem);

@ -485,9 +485,10 @@ ul.h-list {
margin: @gap;
margin-top: @height_navbar + @gap;
@media(max-width: @on_phone) {
margin: @height_navbar+@gap 0 @gap;
margin: @height_navbar + @gap 0 @gap;
border-radius: 0;
}
// padding-top: -@gap/2;
.s-top{
.enable-trans(0.6s);
z-index: 9;

@ -7,7 +7,7 @@
@on_phone: 580px;
@on_pad: 768px;
@on_laptop: 1024px; // 1024 + 285
@on_desktop: 1200px;
@on_desktop: 1280px;
// container
@width_container: 1080px;
@on_modal_threshold: 680px;

Loading…
Cancel
Save