Pdf/BaladeNature/Css/balade_nature.css
author Patrick PIERRE
ven., 08 févr. 2013 11:12:34 +0100
changeset 63 4a68acad2e13
parent 56 a86b4f6d95b4
child 74 58e48a5c5ca2
permissions -rw-r--r--
margin: 0
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@56
    44
.pdocImage.tooltip, .pdocImage.hotspot {
patrick@56
    45
  float: left;
patrick@56
    46
  position: relative;
patrick@56
    47
}
patrick@56
    48
patrick@56
    49
.pdocImageHotspot {
patrick@56
    50
  position: absolute;
patrick@56
    51
}
patrick@56
    52
patrick@56
    53
.pdocImageHotspot a {
patrick@56
    54
  display: block;
patrick@56
    55
  text-decoration: none;
patrick@56
    56
  border: 1px dotted gray;
patrick@56
    57
}
patrick@56
    58
patrick@56
    59
.pdocImagePulse {
patrick@56
    60
  position: absolute;
patrick@56
    61
  cursor: pointer;
patrick@56
    62
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@56
    63
}
patrick@56
    64
patrick@0
    65
.pdocImageTooltip {
patrick@56
    66
  position: absolute;
patrick@56
    67
  display: none;
patrick@56
    68
  color: white;
patrick@0
    69
  font-size: 140%;
patrick@23
    70
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
patrick@56
    71
  text-shadow: 1px 1px 1px #bbbbbb;
patrick@0
    72
}
patrick@0
    73
.pdocImageTooltip .pdocP {
patrick@0
    74
  color: white;
patrick@0
    75
}
patrick@0
    76
patrick@0
    77
/* ~~~~~~~~~~ pdocP ~~~~~~~~~ */
patrick@0
    78
patrick@0
    79
.pdocP {
patrick@0
    80
  font-family: MinyaNouvelle;
patrick@0
    81
  font-size: 220%;
patrick@0
    82
  color: #603a19;
patrick@0
    83
}
patrick@0
    84
patrick@0
    85
/* ~~~~~ media-overlay ~~~ */
patrick@0
    86
patrick@0
    87
.-epub-media-overlay-active {
patrick@0
    88
  background-color: yellow;
patrick@16
    89
}
patrick@16
    90
patrick@16
    91
patrick@16
    92
/* ========= EFFECTS ======== */
patrick@16
    93
patrick@16
    94
patrick@16
    95
/* ~~~~~~~~~~ Glow ~~~~~~~~~~ */
patrick@16
    96
patrick@16
    97
#effectGlow {
patrick@16
    98
  position: relative;
patrick@16
    99
  width: 100%;
patrick@16
   100
  height: 100%;
patrick@16
   101
  overflow: hidden;
patrick@16
   102
}
patrick@16
   103
patrick@16
   104
#effectGlowSpot {
patrick@16
   105
  position: absolute;
patrick@16
   106
  top: -50%;
patrick@16
   107
  left: -50%;
patrick@16
   108
  width: 200%;
patrick@16
   109
  height: 200%;
patrick@16
   110
  cursor: none;
patrick@16
   111
  background: -moz-radial-gradient(center 45deg, circle closest-side, transparent 10%, rgba(0, 0, 0, 0.75) 33%);
patrick@56
   112
  /* background: -webkit-gradient(radial, center center, 30, center center, 300, from(rgba(0,0,0,0)), to(rgba(0,0,0,.75))); */
patrick@0
   113
}