mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-29 07:15:55 +00:00
add new home layout
This commit is contained in:
1 parent
ac1a2126a1
commit
e891c8b68d
12 files changed
+107
-31
No files matched your search
@@ -146,9 +146,7 @@
|
||||
|
||||
var header = document.getElementById("single_header")
|
||||
var style = getComputedStyle(header);
|
||||
console.log(style, style.height)
|
||||
var margin = '-'+ (parseInt(style.height) + parseInt(style.marginTop) + parseInt(style.marginBottom) + 20) + 'px'
|
||||
console.log(margin)
|
||||
var hero = document.getElementById('hero')
|
||||
if(hero)
|
||||
hero.style["margin-bottom"] = margin;
|
||||
|
||||
Reference in new issue
Block a user