Merci SPIP

Bonjour,
SPIP n’a pas la puissance d’un Drupal ou la facilité de prise en main d’un Wordpress.
Mais c’est un super CMS pour celui qui veut vraiment construire son site, brique après brique.
Et bien optimisé, il est aussi très rapide. Depuis aujourd’hui, Bibliosurf https:// www.bibliosurf.com obtient la note de 99/100 en mobile et ordinateur.

C’est super.
BS

Allo
J'aime beaucoup le menu de ton site. Est-ce que tu peux partager le css?
RP

Le 16-10-27 à 07:07, Bernard Strainchamps a écrit :

Bonjour,
SPIP n'a pas la puissance d'un Drupal ou la facilité de prise en main d'un Wordpress.
Mais c'est un super CMS pour celui qui veut vraiment construire son site, brique après brique.
Et bien optimisé, il est aussi très rapide. Depuis aujourd'hui, Bibliosurf https:// www.bibliosurf.com<http://www.bibliosurf.com> obtient la note de 99/100 en mobile et ordinateur.

C'est super.
BS

_______________________________________________
liste spip
spip@rezo.net<mailto:spip@rezo.net> - désabonnement : envoyer un mail à spip-off@rezo.net<mailto:spip-off@rezo.net>

Archives : https://www.mail-archive.com/spip@rezo.net/maillist.html

Infos : http://listes.rezo.net/mailman/listinfo/spip

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc

C'est un menu hamburger sans javascript récupéré sur le web.
Ci-dessous le code.

<div id="menuToggle">
      <input type="checkbox" />

      <span></span>
      <span></span>
      <span></span>

      <ul id="menu">
        <li><a href=""></a></li>
       <li><a href=""></a></li>
      </ul>
</div>

css

#menuToggle {
  display: block;
  position: relative;
  top: 27px;
  top:1.688rem;
  left: 20px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.25s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.25s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/*
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
* Make this absolute positioned
* at the top left of the screen
*/
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  background: rgba(255, 255, 255, 0.9);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-200%, 0);
  transition: transform 0.15s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
  padding: 6px 0;
  font-size: 16px;
  font-size: 1rem;
  font-family: 'Oswald';
  text-transform: uppercase;
  border-bottom: dotted #308CE7;
}

#menuToggle input:checked ~ ul {
  transform: scale(1.0, 1.0);
  opacity: 1;
}

Le 27 octobre 2016 à 19:11, Renée Picard <piegrise@hotmail.ca> a écrit :

Allo
J'aime beaucoup le menu de ton site. Est-ce que tu peux partager le css?
RP

Le 16-10-27 à 07:07, Bernard Strainchamps a écrit :

Bonjour,
SPIP n'a pas la puissance d'un Drupal ou la facilité de prise en main d'un
Wordpress.
Mais c'est un super CMS pour celui qui veut vraiment construire son site,
brique après brique.
Et bien optimisé, il est aussi très rapide. Depuis aujourd'hui, Bibliosurf
https:// www.bibliosurf.com obtient la note de 99/100 en mobile et
ordinateur.

C'est super.
BS

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Archives : https://www.mail-archive.com/spip@rezo.net/maillist.html

Infos : http://listes.rezo.net/mailman/listinfo/spip

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc

Merci
Je vais m'en inspirer

Le 16-10-27 à 16:27, Bernard Strainchamps a écrit :

https:// www.bibliosurf.com<http://www.bibliosurf.com>

ON le trouve par exemple là

là à droite :

et là avec plein de variations :
http://cssmatter.com/blog/css-hamburger-navigation-animations-examples/

JL

Le 27/10/2016 à 22:27, Bernard Strainchamps a écrit :

C'est un menu hamburger sans javascript récupéré sur le web.
Ci-dessous le code.

<div id="menuToggle">
      <input type="checkbox" />

      <span></span>

      <ul id="menu">
        <li><a href=""></a></li>
       <li><a href=""></a></li>
      </ul>
</div>

css

#menuToggle {
  display: block;
  position: relative;
  top: 27px;
  top:1.688rem;
  left: 20px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
* Just a quick hamburger
*/
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.25s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.25s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/*
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2) {
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
* Make this absolute positioned
* at the top left of the screen
*/
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  background: rgba(255, 255, 255, 0.9);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-200%, 0);
  transition: transform 0.15s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
  padding: 6px 0;
  font-size: 16px;
  font-size: 1rem;
  font-family: 'Oswald';
  text-transform: uppercase;
  border-bottom: dotted #308CE7;
}

#menuToggle input:checked ~ ul {
  transform: scale(1.0, 1.0);
  opacity: 1;
}

Le 27 octobre 2016 à 19:11, Renée Picard <piegrise@hotmail.ca> a écrit :

Allo
J'aime beaucoup le menu de ton site. Est-ce que tu peux partager le css?
RP

Le 16-10-27 à 07:07, Bernard Strainchamps a écrit :

Bonjour,
SPIP n'a pas la puissance d'un Drupal ou la facilité de prise en main d'un
Wordpress.
Mais c'est un super CMS pour celui qui veut vraiment construire son site,
brique après brique.
Et bien optimisé, il est aussi très rapide. Depuis aujourd'hui, Bibliosurf
https:// www.bibliosurf.com obtient la note de 99/100 en mobile et
ordinateur.

C'est super.
BS

_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net

Archives : https://www.mail-archive.com/spip@rezo.net/maillist.html

Infos : http://listes.rezo.net/mailman/listinfo/spip

Documentation de SPIP : http://www.spip.net/

Irc : de l'aide à toute heure : http://spip.net/irc