Browse Source

[css] optimisation css

master
erational 2 years ago
parent
commit
1d7bdc99ba
  1. 37
      css/style.css
  2. 2
      inc/header.html

37
css/style.css

@ -150,21 +150,10 @@ img {
color: #1d1d1d;
}
.nav-lang-fr .header-nav a {
margin: 0 1rem;
}
.header-nav a.on, .header-nav a:hover {
color: #808080;
}
.nav-lang-fr {
margin-left: 2rem;
}
.nav-lang {
font-size: .8rem;
}
.header-nav-nav {
position: absolute;
@ -210,10 +199,10 @@ img {
.navbar-brand {
display: flex;
flex-wrap: wrap;
align-items: center;
max-width: calc(100% -200px);
align-items: center;
line-height: 1;
text-transform: uppercase;
max-width:calc(100% - 50px);
text-transform: uppercase;
}
.navbar-brand-titre {
@ -238,21 +227,15 @@ img {
padding: 0;
}
.navbar .nav-lang {
text-transform: uppercase;
font-size: .8rem;
margin-top: 1rem;
}
.navbar .nav-lang ul, .navbar .nav-rezo ul {
display: flex;
justify-content: center;
margin-bottom: 1rem;
.navbar .nav-rezo-wrapper ul {
display:flex;
justify-content:center;
margin:1rem 0;
}
.navbar .nav-lang a {
margin: 0 .5rem;
}
.navbar .nav-rezo {
margin:0 .5rem;
}
.navbar-nav-nav {
list-style: none;

2
inc/header.html

@ -69,7 +69,7 @@
</B_ss_nav_rwd>
</li>
</BOUCLE_rub_rwd>
[(#CONFIG{aoto/rezo_facebook}|sinon{#CONFIG{aoto/rezo_instagram}}|oui)<li class="nav-item nav-rezo">
[(#CONFIG{aoto/rezo_facebook}|sinon{#CONFIG{aoto/rezo_instagram}}|oui)<li class="nav-item nav-rezo-wrapper">
<ul>
[<li class="nav-rezo rezo-facebook"><a href="(#CONFIG{aoto/rezo_facebook}|trim)" target="_blank">[(#CHEMIN{img/logo-facebook.svg}|balise_img)]</a></li>]
[<li class="nav-rezo rezo-instagram"><a href="(#CONFIG{aoto/rezo_instagram}|trim)" target="_blank">[(#CHEMIN{img/logo-instagram.svg}|balise_img)]</a></li>]

Loading…
Cancel
Save