Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2024-02-02 15:51:45 +03:00
2 changed files with 25 additions and 16 deletions

View File

@@ -23,24 +23,28 @@
src: url("/static/fonts/inter/Inter-Regular.ttf") format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face{
font-family: 'Inter';
src: url("/static/fonts/inter/Inter-Medium.ttf") format('truetype') ;
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face{
font-family: 'Inter';
src: url("/static/fonts/inter/Inter-SemiBold.ttf") format('truetype') ;
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face{
font-family: 'Inter';
src: url("/static/fonts/inter/Inter-Bold.ttf") format('truetype') ;
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Links */
@@ -267,11 +271,15 @@ section.register>h1 {
border-radius: 10px;
border: 1px solid black;
}
.footer_input_wrap.hide{
display: none;
}
.footer_input_wrap {
display: flex;
color: #fff;
}
.footer_input::placeholder {
color: rgba(39, 36, 36, 0.60);
font-size: 16px;

View File

@@ -52,10 +52,11 @@ function goToChatIfChat () {
}
let top = scroll_el.offsetTop
window.scrollTo({top:top})
}
document.addEventListener('focusout', function(e,scroll_el) {
window.scrollTo(scroll_el, 0)
});
}
}
@@ -159,15 +160,15 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
window.addEventListener('scroll', () => {
// let headerBG = document.getElementById('header_bg')
//
// headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)'
// headerBG.style.padding = '20px 40px'
// headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px'
// headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px'
// headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px'
})
// window.addEventListener('scroll', () => {
// // let headerBG = document.getElementById('header_bg')
// //
// // headerBG.style.backgroundColor = 'rgb(248 248 248 / 90%)'
// // headerBG.style.padding = '20px 40px'
// // headerBG.style.paddingBottom = 'padding: 10px 40px 10px 40px'
// // headerBG.style.paddingRight = 'padding: 10px 40px 10px 40px'
// // headerBG.style.paddingLeft = 'padding: 10px 40px 10px 40px'
// })
// Действия при изменении URL