diff --git a/.DS_Store b/.DS_Store index 07fe6d5..9a34aae 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/public/.DS_Store b/public/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/public/.DS_Store differ diff --git a/public/Minecraft.ttf b/public/Minecraft.ttf new file mode 100644 index 0000000..85c1472 Binary files /dev/null and b/public/Minecraft.ttf differ diff --git a/public/minecraft_logo_icon_168974.png b/public/minecraft_logo_icon_168974.png new file mode 100644 index 0000000..ca1ff86 Binary files /dev/null and b/public/minecraft_logo_icon_168974.png differ diff --git a/public/script.js b/public/script.js new file mode 100644 index 0000000..005ac20 --- /dev/null +++ b/public/script.js @@ -0,0 +1,6 @@ + +function afficherLaSuite() { + document.getElementById("nouveau-participant").setAttribute("type", "text"); + document.getElementById("bouton-continuer").setAttribute("display", "inline"); +} + diff --git a/public/styles.css b/public/styles.css index d13f59f..76012da 100644 --- a/public/styles.css +++ b/public/styles.css @@ -1,16 +1,38 @@ +@font-face { + font-family: 'Minecraft'; + src: url('Minecraft.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +.titre, .sous-titre { + font-family: 'Poppins', Geneva, Verdana, sans-serif; + text-align: center; +} + +.titre { + font-size: xx-large; + font-weight: bold; + color: red; +} + +.sous-titre { + color: #6c757d +} + .tableau ul { display: flex; justify-content: space-between; - text-align: left; + text-align: center; } .tableau li { width: 80px; } -.tableau li:nth-child(2) { +.tableau li:nth-child(1) { width: 200px; } -.tableau li:nth-child(3) { +.tableau li:nth-child(2) { width: 20px; } .tableau li { @@ -18,12 +40,14 @@ list-style-type: none; padding: 0px 4px; align-self: center; - text-align: left; } figure { margin: 4px 0px !important; } +.tableau li a:link { + text-decoration: none; +} .tableau ul:nth-child(even) { background-color: #fff3f3; @@ -58,13 +82,14 @@ ul > li > a { img { height: 80px !important; - transition: transform .1s; + transition: transform .4s; } -img:hover{ +img:hover { -ms-transform: scale(5); /* IE 9 */ -webkit-transform: scale(5); /* Safari 3-8 */ transform: scale(5); + transition: .4s; } .offrants { @@ -84,4 +109,38 @@ img:hover{ .vote-sm { text-align: center; font-size: x-large; +} + +.participant { + width: 200px; + margin-top: 15px; + margin-bottom: 15px; +} + +/* Résultats du vote */ +.general { + width: 70%; + display: flex; + align-items: center; + background-color: lightgreen; +} + +.logo img { + margin: 15px; + transition: none !important; + transform: none !important; +} + +.emoticon { + font-size: 78px; + margin: 15px; +} + +.vote { + width: inherit; + font-family: "Minecraft"; +} + +.btn-secondary { + margin-top: 25px;; } \ No newline at end of file diff --git a/views/index.hbs b/views/index.hbs index 1a6d8a9..0486d6e 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -1,67 +1,35 @@ - +
-{{ message }}
-Notre liste d'envies
+A court d'idée pour un cadeau ? De quoi vous inspirer...
{{ message }}
{{ message }}