css header
This commit is contained in:
parent
4853f2d7ab
commit
c391226f1f
|
@ -148,7 +148,6 @@ svg.ext {
|
|||
header {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
grid-gap: 10px;
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
height: 150px;
|
||||
background-color: white;
|
||||
|
@ -206,10 +205,12 @@ header {
|
|||
header .header_left_container img {
|
||||
height: 50px; } }
|
||||
header .header_right_container {
|
||||
padding-right: 10px; }
|
||||
padding-left: calc(100% /4); }
|
||||
@media (max-width: 660px) {
|
||||
header .header_right_container {
|
||||
padding-right: 0; } }
|
||||
header .header_right_container .language-switcher-language-url {
|
||||
text-transform: uppercase; }
|
||||
header .header_right_container .language-switcher-language-url ul {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -43,20 +43,20 @@
|
|||
// //// ancre dans texte au click parragraphe correspondant arrive en dessous du header
|
||||
|
||||
|
||||
(function($, window) {
|
||||
var adjustAnchor = function() {
|
||||
var $anchor = $('.sidebar_first_container'),
|
||||
fixedElementHeight = 350;
|
||||
if ($anchor.length > 0) {
|
||||
$('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
|
||||
}
|
||||
};
|
||||
// (function($, window) {
|
||||
// var adjustAnchor = function() {
|
||||
// var $anchor = $('.sidebar_first_container'),
|
||||
// fixedElementHeight = 350;
|
||||
// if ($anchor.length > 0) {
|
||||
// $('html, body').stop().animate({scrollTop: $anchor.offset().top - fixedElementHeight }, 0);
|
||||
// }
|
||||
// };
|
||||
|
||||
$(window).on('hashchange', function() {
|
||||
adjustAnchor();
|
||||
});
|
||||
// $(window).on('hashchange', function() {
|
||||
// adjustAnchor();
|
||||
// });
|
||||
|
||||
})(jQuery, window);
|
||||
// })(jQuery, window);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
header{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
grid-gap: 10px;
|
||||
// grid-gap: 10px;
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
height: $header-height;
|
||||
background-color: $white-header;
|
||||
|
@ -70,11 +70,14 @@ header{
|
|||
}
|
||||
}
|
||||
.header_right_container{
|
||||
padding-right: 10px;
|
||||
// padding-right: 30%;
|
||||
padding-left: calc(100% /4);
|
||||
@media(max-width: 660px){
|
||||
padding-right: 0;
|
||||
}
|
||||
.language-switcher-language-url{
|
||||
// padding-left: 30%;
|
||||
text-transform: uppercase;
|
||||
ul{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
Loading…
Reference in New Issue