Pdf/BaladeNature/Css/balade_nature.css
author Patrick PIERRE <patrick.pierre@prismallia.fr>
mar., 18 déc. 2012 22:23:00 +0100
changeset 50 aa57a5e4815b
parent 23 9fe44f4d31c9
child 56 a86b4f6d95b4
permissions -rw-r--r--
Correction locales dans les tests
patrick@0
     1
/* $Id$ */
patrick@0
     2
/* balade_nature */
patrick@0
     3
patrick@0
     4
@font-face {
patrick@0
     5
  font-family: MinyaNouvelle;
patrick@0
     6
  font-weight: normal;
patrick@0
     7
  font-style: normal;
patrick@0
     8
  src: url('../Fonts/minyanouvelle.otf') format('opentype');
patrick@0
     9
}
patrick@0
    10
patrick@0
    11
body {
patrick@0
    12
  width: ${width}px;
patrick@0
    13
  height: ${height}px;
patrick@0
    14
}
patrick@0
    15
body.pdocTopic { padding: 0; }
patrick@0
    16
patrick@0
    17
/* ~~~~~~~ pdocMedia ~~~~~~~~ */
patrick@0
    18
patrick@0
    19
.pdocMedia {
patrick@0
    20
  margin: 0;
patrick@0
    21
}
patrick@0
    22
patrick@0
    23
.pdocMediaCaptionAbsolute {
patrick@0
    24
  text-align: center;
patrick@0
    25
  width: 100%;
patrick@0
    26
}
patrick@0
    27
patrick@23
    28
/* ~~~~~~~ pdocImage ~~~~~~~~ */
patrick@23
    29
patrick@0
    30
.pdocImageTooltip {
patrick@0
    31
  font-size: 140%;
patrick@23
    32
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@0
    33
}
patrick@0
    34
.pdocImageTooltip .pdocP {
patrick@0
    35
  color: white;
patrick@0
    36
}
patrick@0
    37
patrick@23
    38
.pdocImagePulse {
patrick@23
    39
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@23
    40
}
patrick@23
    41
patrick@0
    42
/* ~~~~~~~~~~ pdocP ~~~~~~~~~ */
patrick@0
    43
patrick@0
    44
.pdocP {
patrick@0
    45
  font-family: MinyaNouvelle;
patrick@0
    46
  font-size: 220%;
patrick@0
    47
  color: #603a19;
patrick@0
    48
}
patrick@0
    49
patrick@0
    50
/* ~~~~~ media-overlay ~~~ */
patrick@0
    51
patrick@0
    52
.-epub-media-overlay-active {
patrick@0
    53
  background-color: yellow;
patrick@16
    54
}
patrick@16
    55
patrick@16
    56
patrick@16
    57
/* ========= EFFECTS ======== */
patrick@16
    58
patrick@16
    59
patrick@16
    60
/* ~~~~~~~~~~ Glow ~~~~~~~~~~ */
patrick@16
    61
patrick@16
    62
#effectGlow {
patrick@16
    63
  position: relative;
patrick@16
    64
  width: 100%;
patrick@16
    65
  height: 100%;
patrick@16
    66
  overflow: hidden;
patrick@16
    67
}
patrick@16
    68
patrick@16
    69
#effectGlowSpot {
patrick@16
    70
  position: absolute;
patrick@16
    71
  top: -50%;
patrick@16
    72
  left: -50%;
patrick@16
    73
  width: 200%;
patrick@16
    74
  height: 200%;
patrick@16
    75
  cursor: none;
patrick@16
    76
  background: -moz-radial-gradient(center 45deg, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
patrick@16
    77
  background: -webkit-gradient(radial, center center, 30, center center, 300, from(rgba(0,0,0,0)), to(rgba(0,0,0,.75)));
patrick@0
    78
}