Skip to content

Commit dd005e5

Browse files
committed
fix headers
1 parent 8f78afb commit dd005e5

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

modules/frontpage/templates/frontpage.pug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ block append variables
77
- var title = t('tutorial.modern_javascript_tutorial')
88
- var header = t('tutorial.modern_javascript_tutorial')
99
- var layout_main_class = 'main_width-limit-wide'
10+
- var layout_page_class = 'page_frontpage'
1011
- var content_class = 'frontpage'
1112

1213

modules/styles/blocks/main/main.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $main-loud
2727
padding 0
2828

2929
&__header
30-
margin 20px 0 -30px 0
30+
margin 40px 0 16px 0
3131

3232
&__header_center
3333
border 0

modules/styles/blocks/page/page.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
&_sidebar_on &__sidebar
3434
transform translateX(0)
3535

36+
&_frontpage
37+
.main__header
38+
margin 20px 0 -30px 0
39+
3640
&__nav
3741
position fixed
3842
top 50%

0 commit comments

Comments
 (0)