Initial commit

This commit is contained in:
xxxgogo77 2021-05-14 23:39:06 +02:00
commit 77de6d0728
12 changed files with 253 additions and 0 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto

BIN
ImgProtocol.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
PageProtocol.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 KiB

49
index.html Normal file
View file

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Collection MBH</title>
<meta name="description" content= Jugaad, Le chef Manoj Sharma revisite la cuisine de toutes les régions d'Indes, enrichit des plus belles innovations culinaires et méthodes de cuissons modernes.
Inspirée dingrédients locaux et de saisons, les plats sont contemporains et savoureux.">
<meta name="keywords" content="Restaurant indien contemporain, festif, chef manoj sharma, paris, 2e arrondissement, Bar à cocktail, Indes, tandoor, grill, naan, bistronomique">
<meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="styles.css">
<script src="js/jquery-3.6.0.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/application.js"></script>
</head>
<body>
<div class="object">
<img src="ImgProtocol.png"/>
<a href="PageProtocol.jpg"></a>
</div>
<div class="object">
<img src="ImgProtocol.png"/>
<a href="PageProtocol.jpg"></a>
</div>
<div class="object">
<img src="ImgProtocol.png"/>
<a href="PageProtocol.jpg"></a>
</div>
<div class="object">
<img src="ImgProtocol.png"/>
<a href="PageProtocol.jpg"></a>
</div>
<div class="object">
<img src="ImgProtocol.png"/>
<a href="PageProtocol.jpg"></a>
</div>
</body>
</html>

BIN
js/.DS_Store vendored Normal file

Binary file not shown.

17
js/application.js Normal file
View file

@ -0,0 +1,17 @@
$(document).ready(function(){
$(".object").draggable({
start: function(){
$(".object").css({"z-index": 0});
$(this).css({"z-index": 100});
}
});
function nombre(value){
return Math.floor(Math.random() * value);
}
$(".object").each(function(){
$(this).css({"top": nombre(80) + "%", "left": nombre(90) + "%"});
});
});

2
js/jquery-3.6.0.min.js vendored Normal file

File diff suppressed because one or more lines are too long

13
js/jquery-ui.min.js vendored Normal file

File diff suppressed because one or more lines are too long

BIN
page-facing-up-facebook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

83
styles.css Normal file
View file

@ -0,0 +1,83 @@
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
font-smoothing: antialiased;
font-smooth: never;
-moz-font-smooth: never;
box-sizing: border-box;
}
/*@font-face {
font-family: 'OldLondon';
src: url('fonts/OldLondon.ttf') format('truetype');
}*/
/*@font-face {
font-family: 'Alpina-Italic';
src: url('fonts/GT-Alpina-Typewriter-Light-Italic.woff') format('woff'),
url('fonts/GT-Alpina-Typewriter-Light-Italic.woff2') format('woff2');
}*/
html {
height: 100%;
overflow: hidden;
}
body {
margin: 0;
padding: 0;
background: #000;
width: 100%;
height: 100%;
overflow: hidden;
}
.object {
position: absolute;
width: 10%;
cursor: move;
}
.object img {
width: 100%;
}
.object a {
position: absolute;
top: 50%;
left: 50%;
width: 30%;
height: 30%;
cursor: pointer;
display: block;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.object:nth-child(1) {
left: 25%;
top: 62%;
}
.object:nth-child(2) {
left: 69%;
top: 3%;
}
.object:nth-child(3) {
left: 59%;
top: 39%;
}
.object:nth-child(4) {
left: 23%;
top: 4%;
}
.object:nth-child(5) {
left: 46%;
top: 38%;
}
/*# sourceMappingURL=styles.css.map */

9
styles.css.map Normal file
View file

@ -0,0 +1,9 @@
{
"version": 3,
"mappings": "AAAA,AAAA,CAAC,CAAC;EACE,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3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OAAO,AAAA,UAAW,CAAA,CAAC,EAAK;EACpB,IAAI,EAAE,GAAc;EACpB,GAAG,EAAE,EAAc;CACtB;;AAHD,AAAA,OAAO,AAAA,UAAW,CAAA,CAAC,EAAK;EACpB,IAAI,EAAE,GAAc;EACpB,GAAG,EAAE,GAAc;CACtB",
"sources": [
"styles.scss"
],
"names": [],
"file": "styles.css"
}

78
styles.scss Normal file
View file

@ -0,0 +1,78 @@
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
font-smoothing: antialiased;
font-smooth: never;
-moz-font-smooth: never;
box-sizing: border-box;
}
/*@font-face {
font-family: 'OldLondon';
src: url('fonts/OldLondon.ttf') format('truetype');
}*/
/*@font-face {
font-family: 'Alpina-Italic';
src: url('fonts/GT-Alpina-Typewriter-Light-Italic.woff') format('woff'),
url('fonts/GT-Alpina-Typewriter-Light-Italic.woff2') format('woff2');
}*/
html{
height: 100%;
overflow: hidden;
}
body {
margin: 0;
padding: 0;
background: #000;
width: 100%;
height: 100%;
overflow: hidden;
}
.object {
position: absolute;
width: 10%;
cursor: move;
img {
width: 100%;
}
a {
position: absolute;
top: 50%;
left: 50%;
width: 30%;
height: 30%;
cursor: pointer;
display: block;
transform: translate(-50%, -50%);
}
}
@for $i from 1 through 5 {
.object:nth-child(#{$i}){
left: random(90) + %;
top: random(90) + %;
}
}
@media screen and (min-width: 1000px) {
}
@media screen and (max-width: 999px) {
}