File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ main.home {
79
79
margin-top : 150px ;
80
80
}
81
81
82
+ .non-en-doc : has (# i18n-notice-box .hidden ) # home-content {
83
+ margin-top : 150px ;
84
+ }
85
+
86
+ .non-en-doc : has (# i18n-notice-box : not (.hidden )) .content {
87
+ margin-top : 50px ;
88
+ }
89
+
82
90
# homepage-leftpane {
83
91
min-width : 500px ;
84
92
margin-right : 30px ;
Original file line number Diff line number Diff line change @@ -79,11 +79,13 @@ $(function(){
79
79
80
80
// i18n notice
81
81
if ( readCookie ( 'i18nClose' ) ) {
82
- $ ( '#i18n-notice-box' ) . hide ( )
82
+ $ ( '#i18n-notice-box' ) . hide ( ) ;
83
+ $ ( "#i18n-notice-box" ) . addClass ( "hidden" ) ;
83
84
}
84
85
else {
85
86
$ ( '#close-i18n-notice-box' ) . on ( 'click' , function ( ) {
86
- $ ( '#i18n-notice-box' ) . hide ( )
87
+ $ ( '#i18n-notice-box' ) . hide ( ) ;
88
+ $ ( "#i18n-notice-box" ) . addClass ( "hidden" ) ;
87
89
createCookie ( 'i18nClose' , 1 ) ;
88
90
} )
89
91
}
You can’t perform that action at this time.
0 commit comments