Pdf/BaladeNature/Css/balade_nature.css
author Patrick PIERRE <patrick.pierre@prismallia.fr>
dim., 23 déc. 2012 18:26:03 +0100
changeset 52 a829c7380e32
parent 23 9fe44f4d31c9
child 56 a86b4f6d95b4
permissions -rw-r--r--
Exemple avec XPath et XSLT mélangés
/* $Id$ */
/* balade_nature */

@font-face {
  font-family: MinyaNouvelle;
  font-weight: normal;
  font-style: normal;
  src: url('../Fonts/minyanouvelle.otf') format('opentype');
}

body {
  width: ${width}px;
  height: ${height}px;
}
body.pdocTopic { padding: 0; }

/* ~~~~~~~ pdocMedia ~~~~~~~~ */

.pdocMedia {
  margin: 0;
}

.pdocMediaCaptionAbsolute {
  text-align: center;
  width: 100%;
}

/* ~~~~~~~ pdocImage ~~~~~~~~ */

.pdocImageTooltip {
  font-size: 140%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.pdocImageTooltip .pdocP {
  color: white;
}

.pdocImagePulse {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ~~~~~~~~~~ pdocP ~~~~~~~~~ */

.pdocP {
  font-family: MinyaNouvelle;
  font-size: 220%;
  color: #603a19;
}

/* ~~~~~ media-overlay ~~~ */

.-epub-media-overlay-active {
  background-color: yellow;
}


/* ========= EFFECTS ======== */


/* ~~~~~~~~~~ Glow ~~~~~~~~~~ */

#effectGlow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#effectGlowSpot {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  cursor: none;
  background: -moz-radial-gradient(center 45deg, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
  background: -webkit-gradient(radial, center center, 30, center center, 300, from(rgba(0,0,0,0)), to(rgba(0,0,0,.75)));
}