From c036500192c92e6aa889b3165dccef2973e58347 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 23 Jan 2017 19:23:54 +0100 Subject: Add covers --- src/main/resources/cover/Bichon.jpg | Bin 0 -> 40189 bytes src/main/resources/cover/Bjorn le Morphir.jpg | Bin 0 -> 809031 bytes .../resources/cover/Blanche Neige et Grise Pluie.jpg | Bin 0 -> 98328 bytes src/main/resources/cover/Cabot Caboche.jpg | Bin 0 -> 34548 bytes "src/main/resources/cover/Ca\303\257us.jpg" | Bin 0 -> 44121 bytes ... histoires d\342\200\231amour et de chevalerie.jpg" | Bin 0 -> 28384 bytes "src/main/resources/cover/C\303\251dric.jpg" | Bin 0 -> 59755 bytes .../cover/C\303\251leste, ma plan\303\250te.jpg" | Bin 0 -> 44299 bytes .../C\342\200\231\303\251tait mon oncle\302\240!.jpg" | Bin 0 -> 34229 bytes .../cover/D\303\251collage imm\303\251diat.jpg" | Bin 0 -> 36602 bytes ... chien qui avait une ombre d\342\200\231enfant.jpg" | Bin 0 -> 68113 bytes .../resources/cover/Isis, 13 ans, 1,60 m, 82 kilos.jpg | Bin 0 -> 32985 bytes .../Journal d\342\200\231un vampire en pyjama.jpg" | Bin 0 -> 35785 bytes .../cover/La M\303\251canique du c\305\223ur.jpg" | Bin 0 -> 31623 bytes ...s histoires in\303\251dites du Petit Nicolas 3.jpg" | Bin 0 -> 18340 bytes src/main/resources/cover/Le Donjon de NAHEULBEUK.jpg | Bin 0 -> 119807 bytes "src/main/resources/cover/Les Ins\303\251parables.jpg" | Bin 0 -> 12828 bytes .../L\342\200\231Apprenti d\342\200\231Araluen.jpg" | Bin 0 -> 109912 bytes ...me \303\240 l\342\200\231oreille coup\303\251e.jpg" | Bin 0 -> 23082 bytes "src/main/resources/cover/\303\211tincelles.jpg" | Bin 0 -> 40790 bytes src/main/scala/reading/Books.scala | 4 ++-- .../scala/reading/component/index/style/Books.scala | 10 ++++++++-- 22 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 src/main/resources/cover/Bichon.jpg create mode 100644 src/main/resources/cover/Bjorn le Morphir.jpg create mode 100644 src/main/resources/cover/Blanche Neige et Grise Pluie.jpg create mode 100644 src/main/resources/cover/Cabot Caboche.jpg create mode 100644 "src/main/resources/cover/Ca\303\257us.jpg" create mode 100644 "src/main/resources/cover/Cinq histoires d\342\200\231amour et de chevalerie.jpg" create mode 100644 "src/main/resources/cover/C\303\251dric.jpg" create mode 100644 "src/main/resources/cover/C\303\251leste, ma plan\303\250te.jpg" create mode 100644 "src/main/resources/cover/C\342\200\231\303\251tait mon oncle\302\240!.jpg" create mode 100644 "src/main/resources/cover/D\303\251collage imm\303\251diat.jpg" create mode 100644 "src/main/resources/cover/Histoire du chien qui avait une ombre d\342\200\231enfant.jpg" create mode 100644 src/main/resources/cover/Isis, 13 ans, 1,60 m, 82 kilos.jpg create mode 100644 "src/main/resources/cover/Journal d\342\200\231un vampire en pyjama.jpg" create mode 100644 "src/main/resources/cover/La M\303\251canique du c\305\223ur.jpg" create mode 100644 "src/main/resources/cover/La Rentr\303\251e du Petit Nicolas\302\240: les histoires in\303\251dites du Petit Nicolas 3.jpg" create mode 100644 src/main/resources/cover/Le Donjon de NAHEULBEUK.jpg create mode 100644 "src/main/resources/cover/Les Ins\303\251parables.jpg" create mode 100644 "src/main/resources/cover/L\342\200\231Apprenti d\342\200\231Araluen.jpg" create mode 100644 "src/main/resources/cover/L\342\200\231Homme \303\240 l\342\200\231oreille coup\303\251e.jpg" create mode 100644 "src/main/resources/cover/\303\211tincelles.jpg" diff --git a/src/main/resources/cover/Bichon.jpg b/src/main/resources/cover/Bichon.jpg new file mode 100644 index 0000000..e771516 Binary files /dev/null and b/src/main/resources/cover/Bichon.jpg differ diff --git a/src/main/resources/cover/Bjorn le Morphir.jpg b/src/main/resources/cover/Bjorn le Morphir.jpg new file mode 100644 index 0000000..b572d48 Binary files /dev/null and b/src/main/resources/cover/Bjorn le Morphir.jpg differ diff --git a/src/main/resources/cover/Blanche Neige et Grise Pluie.jpg b/src/main/resources/cover/Blanche Neige et Grise Pluie.jpg new file mode 100644 index 0000000..7c7b4ee Binary files /dev/null and b/src/main/resources/cover/Blanche Neige et Grise Pluie.jpg differ diff --git a/src/main/resources/cover/Cabot Caboche.jpg b/src/main/resources/cover/Cabot Caboche.jpg new file mode 100644 index 0000000..41a5cc4 Binary files /dev/null and b/src/main/resources/cover/Cabot Caboche.jpg differ diff --git "a/src/main/resources/cover/Ca\303\257us.jpg" "b/src/main/resources/cover/Ca\303\257us.jpg" new file mode 100644 index 0000000..3a64ab1 Binary files /dev/null and "b/src/main/resources/cover/Ca\303\257us.jpg" differ diff --git "a/src/main/resources/cover/Cinq histoires d\342\200\231amour et de chevalerie.jpg" "b/src/main/resources/cover/Cinq histoires d\342\200\231amour et de chevalerie.jpg" new file mode 100644 index 0000000..73ac9d7 Binary files /dev/null and "b/src/main/resources/cover/Cinq histoires d\342\200\231amour et de chevalerie.jpg" differ diff --git "a/src/main/resources/cover/C\303\251dric.jpg" "b/src/main/resources/cover/C\303\251dric.jpg" new file mode 100644 index 0000000..e23e476 Binary files /dev/null and "b/src/main/resources/cover/C\303\251dric.jpg" differ diff --git "a/src/main/resources/cover/C\303\251leste, ma plan\303\250te.jpg" "b/src/main/resources/cover/C\303\251leste, ma plan\303\250te.jpg" new file mode 100644 index 0000000..a5f4119 Binary files /dev/null and "b/src/main/resources/cover/C\303\251leste, ma plan\303\250te.jpg" differ diff --git "a/src/main/resources/cover/C\342\200\231\303\251tait mon oncle\302\240!.jpg" "b/src/main/resources/cover/C\342\200\231\303\251tait mon oncle\302\240!.jpg" new file mode 100644 index 0000000..b02c7c9 Binary files /dev/null and "b/src/main/resources/cover/C\342\200\231\303\251tait mon oncle\302\240!.jpg" differ diff --git "a/src/main/resources/cover/D\303\251collage imm\303\251diat.jpg" "b/src/main/resources/cover/D\303\251collage imm\303\251diat.jpg" new file mode 100644 index 0000000..8b1c49d Binary files /dev/null and "b/src/main/resources/cover/D\303\251collage imm\303\251diat.jpg" differ diff --git "a/src/main/resources/cover/Histoire du chien qui avait une ombre d\342\200\231enfant.jpg" "b/src/main/resources/cover/Histoire du chien qui avait une ombre d\342\200\231enfant.jpg" new file mode 100644 index 0000000..dc2db60 Binary files /dev/null and "b/src/main/resources/cover/Histoire du chien qui avait une ombre d\342\200\231enfant.jpg" differ diff --git a/src/main/resources/cover/Isis, 13 ans, 1,60 m, 82 kilos.jpg b/src/main/resources/cover/Isis, 13 ans, 1,60 m, 82 kilos.jpg new file mode 100644 index 0000000..dfe4c48 Binary files /dev/null and b/src/main/resources/cover/Isis, 13 ans, 1,60 m, 82 kilos.jpg differ diff --git "a/src/main/resources/cover/Journal d\342\200\231un vampire en pyjama.jpg" "b/src/main/resources/cover/Journal d\342\200\231un vampire en pyjama.jpg" new file mode 100644 index 0000000..902ed12 Binary files /dev/null and "b/src/main/resources/cover/Journal d\342\200\231un vampire en pyjama.jpg" differ diff --git "a/src/main/resources/cover/La M\303\251canique du c\305\223ur.jpg" "b/src/main/resources/cover/La M\303\251canique du c\305\223ur.jpg" new file mode 100644 index 0000000..984400f Binary files /dev/null and "b/src/main/resources/cover/La M\303\251canique du c\305\223ur.jpg" differ diff --git "a/src/main/resources/cover/La Rentr\303\251e du Petit Nicolas\302\240: les histoires in\303\251dites du Petit Nicolas 3.jpg" "b/src/main/resources/cover/La Rentr\303\251e du Petit Nicolas\302\240: les histoires in\303\251dites du Petit Nicolas 3.jpg" new file mode 100644 index 0000000..71090de Binary files /dev/null and "b/src/main/resources/cover/La Rentr\303\251e du Petit Nicolas\302\240: les histoires in\303\251dites du Petit Nicolas 3.jpg" differ diff --git a/src/main/resources/cover/Le Donjon de NAHEULBEUK.jpg b/src/main/resources/cover/Le Donjon de NAHEULBEUK.jpg new file mode 100644 index 0000000..83b91e2 Binary files /dev/null and b/src/main/resources/cover/Le Donjon de NAHEULBEUK.jpg differ diff --git "a/src/main/resources/cover/Les Ins\303\251parables.jpg" "b/src/main/resources/cover/Les Ins\303\251parables.jpg" new file mode 100644 index 0000000..fdd5d24 Binary files /dev/null and "b/src/main/resources/cover/Les Ins\303\251parables.jpg" differ diff --git "a/src/main/resources/cover/L\342\200\231Apprenti d\342\200\231Araluen.jpg" "b/src/main/resources/cover/L\342\200\231Apprenti d\342\200\231Araluen.jpg" new file mode 100644 index 0000000..77752f3 Binary files /dev/null and "b/src/main/resources/cover/L\342\200\231Apprenti d\342\200\231Araluen.jpg" differ diff --git "a/src/main/resources/cover/L\342\200\231Homme \303\240 l\342\200\231oreille coup\303\251e.jpg" "b/src/main/resources/cover/L\342\200\231Homme \303\240 l\342\200\231oreille coup\303\251e.jpg" new file mode 100644 index 0000000..e338c07 Binary files /dev/null and "b/src/main/resources/cover/L\342\200\231Homme \303\240 l\342\200\231oreille coup\303\251e.jpg" differ diff --git "a/src/main/resources/cover/\303\211tincelles.jpg" "b/src/main/resources/cover/\303\211tincelles.jpg" new file mode 100644 index 0000000..6c1327d Binary files /dev/null and "b/src/main/resources/cover/\303\211tincelles.jpg" differ diff --git a/src/main/scala/reading/Books.scala b/src/main/scala/reading/Books.scala index 283d177..105e1d2 100644 --- a/src/main/scala/reading/Books.scala +++ b/src/main/scala/reading/Books.scala @@ -1002,7 +1002,7 @@ object Books { ), Book( - title = "La Mécanique du coeur", + title = "La Mécanique du cœur", author = "Mathias MALZIEU", year = "2009", period = Some(Siecle19), @@ -1169,7 +1169,7 @@ object Books { ), Book( - title = "Etincelles", + title = "Étincelles", author = "Daniel LACOTTE et Lola ROIG", year = "xxx", period = None, diff --git a/src/main/scala/reading/component/index/style/Books.scala b/src/main/scala/reading/component/index/style/Books.scala index 79aea1a..33e1cb3 100644 --- a/src/main/scala/reading/component/index/style/Books.scala +++ b/src/main/scala/reading/component/index/style/Books.scala @@ -21,8 +21,14 @@ object Books extends StyleSheet.Inline { ) val cover = style( - Media.desktop(height(250.px)), - Media.mobile(height(150.px)), + Media.desktop( + height(250.px), + maxWidth(200.px) + ), + Media.mobile( + height(150.px), + maxWidth(120.px) + ), cursor.pointer ) } -- cgit v1.2.3