Pdf/BaladeNature/Css/balade_nature.css
author Patrick PIERRE
jeu., 25 avril 2013 11:02:37 +0200
changeset 96 7c2a2aa0dcea
parent 84 cc79caacc4d8
child 101 82670acbc12c
permissions -rw-r--r--
Ajout capitales
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@63
    15
body.pdocTopic { padding: 0; margin: 0; }
patrick@0
    16
patrick@56
    17
img { max-width: 100%; max-height: 100%; }
patrick@56
    18
patrick@56
    19
patrick@56
    20
patrick@56
    21
/* ======= BLOCK LEVEL ====== */
patrick@56
    22
patrick@56
    23
patrick@0
    24
/* ~~~~~~~ pdocMedia ~~~~~~~~ */
patrick@0
    25
patrick@0
    26
.pdocMedia {
patrick@56
    27
  position: relative;
patrick@0
    28
  margin: 0;
patrick@0
    29
}
patrick@0
    30
patrick@0
    31
.pdocMediaCaptionAbsolute {
patrick@56
    32
  position: absolute;
patrick@0
    33
  text-align: center;
patrick@0
    34
  width: 100%;
patrick@0
    35
}
patrick@0
    36
patrick@23
    37
/* ~~~~~~~ pdocImage ~~~~~~~~ */
patrick@23
    38
patrick@56
    39
.pdocImage {
patrick@56
    40
  max-width: 100%;
patrick@56
    41
  max-height: 100%;
patrick@56
    42
}
patrick@56
    43
Patrick@74
    44
.pdocImageHotspot {
patrick@56
    45
  float: left;
patrick@56
    46
  position: relative;
patrick@56
    47
}
patrick@56
    48
Patrick@74
    49
/* ~~~~~~ pdocHotspot ~~~~~~~ */
Patrick@74
    50
Patrick@74
    51
.pdocHotspot, .pdocHotspotContent {
patrick@56
    52
  position: absolute;
Patrick@74
    53
  font-size: 140%;
patrick@56
    54
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@56
    55
}
patrick@56
    56
Patrick@74
    57
.pdocHotspotContent .pdocP {
patrick@0
    58
  color: white;
patrick@0
    59
}
patrick@0
    60
patrick@0
    61
/* ~~~~~~~~~~ pdocP ~~~~~~~~~ */
patrick@0
    62
patrick@0
    63
.pdocP {
patrick@0
    64
  font-family: MinyaNouvelle;
Patrick@84
    65
  font-size: 200%;
patrick@0
    66
  color: #603a19;
patrick@0
    67
}
patrick@0
    68
Patrick@74
    69
/* ~~~~~ media-overlay ~~~~~~ */
patrick@0
    70
patrick@0
    71
.-epub-media-overlay-active {
patrick@0
    72
  background-color: yellow;
patrick@16
    73
}
patrick@16
    74
patrick@16
    75
patrick@16
    76
/* ========= EFFECTS ======== */
patrick@16
    77
patrick@16
    78
patrick@16
    79
/* ~~~~~~~~~~ Glow ~~~~~~~~~~ */
patrick@16
    80
patrick@16
    81
#effectGlow {
patrick@16
    82
  position: relative;
patrick@16
    83
  width: 100%;
patrick@16
    84
  height: 100%;
patrick@16
    85
  overflow: hidden;
patrick@16
    86
}
patrick@16
    87
patrick@16
    88
#effectGlowSpot {
patrick@16
    89
  position: absolute;
patrick@16
    90
  top: -50%;
patrick@16
    91
  left: -50%;
patrick@16
    92
  width: 200%;
patrick@16
    93
  height: 200%;
patrick@16
    94
  cursor: none;
patrick@16
    95
  background: -moz-radial-gradient(center 45deg, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
Patrick@82
    96
  background: -webkit-radial-gradient(center, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
patrick@0
    97
}