Pdf/BaladeNature/Css/balade_nature.css
author Patrick PIERRE
dim., 10 nov. 2013 20:45:49 +0100
changeset 105 7ca6dfd59ea2
parent 102 80ea8e27ea0c
child 108 7d1b6664e8d6
permissions -rw-r--r--
Ajout fichier de méta-données
patrick@0
     1
/* $Id$ */
patrick@0
     2
/* balade_nature */
patrick@0
     3
patrick@0
     4
body {
patrick@0
     5
  width: ${width}px;
patrick@0
     6
  height: ${height}px;
patrick@0
     7
}
Patrick@63
     8
body.pdocTopic { padding: 0; margin: 0; }
patrick@0
     9
patrick@56
    10
img { max-width: 100%; max-height: 100%; }
patrick@56
    11
patrick@56
    12
patrick@56
    13
patrick@56
    14
/* ======= BLOCK LEVEL ====== */
patrick@56
    15
patrick@56
    16
patrick@0
    17
/* ~~~~~~~ pdocMedia ~~~~~~~~ */
patrick@0
    18
patrick@0
    19
.pdocMedia {
patrick@56
    20
  position: relative;
patrick@0
    21
  margin: 0;
patrick@0
    22
}
patrick@0
    23
patrick@0
    24
.pdocMediaCaptionAbsolute {
patrick@56
    25
  position: absolute;
patrick@0
    26
  text-align: center;
patrick@0
    27
  width: 100%;
patrick@0
    28
}
patrick@0
    29
patrick@23
    30
/* ~~~~~~~ pdocImage ~~~~~~~~ */
patrick@23
    31
patrick@56
    32
.pdocImage {
patrick@56
    33
  max-width: 100%;
patrick@56
    34
  max-height: 100%;
patrick@56
    35
}
patrick@56
    36
Patrick@74
    37
.pdocImageHotspot {
patrick@56
    38
  float: left;
patrick@56
    39
  position: relative;
patrick@56
    40
}
patrick@56
    41
Patrick@74
    42
/* ~~~~~~ pdocHotspot ~~~~~~~ */
Patrick@74
    43
Patrick@74
    44
.pdocHotspot, .pdocHotspotContent {
patrick@56
    45
  position: absolute;
Patrick@74
    46
  font-size: 140%;
patrick@56
    47
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@56
    48
}
patrick@56
    49
Patrick@74
    50
.pdocHotspotContent .pdocP {
patrick@0
    51
  color: white;
patrick@0
    52
}
patrick@0
    53
patrick@0
    54
/* ~~~~~~~~~~ pdocP ~~~~~~~~~ */
patrick@0
    55
patrick@0
    56
.pdocP {
patrick@0
    57
  font-family: MinyaNouvelle;
Patrick@84
    58
  font-size: 200%;
patrick@0
    59
  color: #603a19;
patrick@0
    60
}
patrick@0
    61
Patrick@74
    62
/* ~~~~~ media-overlay ~~~~~~ */
patrick@0
    63
patrick@0
    64
.-epub-media-overlay-active {
patrick@0
    65
  background-color: yellow;
patrick@16
    66
}
patrick@16
    67
patrick@16
    68
patrick@16
    69
/* ========= EFFECTS ======== */
patrick@16
    70
patrick@16
    71
patrick@16
    72
/* ~~~~~~~~~~ Glow ~~~~~~~~~~ */
patrick@16
    73
patrick@16
    74
#effectGlow {
patrick@16
    75
  position: relative;
patrick@16
    76
  width: 100%;
patrick@16
    77
  height: 100%;
patrick@16
    78
  overflow: hidden;
patrick@16
    79
}
patrick@16
    80
patrick@16
    81
#effectGlowSpot {
patrick@16
    82
  position: absolute;
patrick@16
    83
  top: -50%;
patrick@16
    84
  left: -50%;
patrick@16
    85
  width: 200%;
patrick@16
    86
  height: 200%;
patrick@16
    87
  cursor: none;
patrick@16
    88
  background: -moz-radial-gradient(center 45deg, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
Patrick@82
    89
  background: -webkit-radial-gradient(center, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
patrick@0
    90
}