réorga générale + conception de l'accueil

+ qqs améliorations/opti
This commit is contained in:
Esenjin 2022-09-17 12:06:50 +02:00
parent e2c9666fab
commit 214ee0139e
14 changed files with 152 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

66
index.html Normal file
View File

@ -0,0 +1,66 @@
<head>
<meta charset="utf-8">
<title>Teumbleur - Accueil</title>
<meta property="og:title" content="Teumbleur">
<meta property="og:image" content="logo.png">
<meta property="og:description" content="Albums d'illustrations des waifus d'Esenjin.">
<link rel="shortcut icon" id="favicon" href="favicon.ico">
<link href='style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script type="text/javascript" src="script-top.js"></script>
</head>
<body>
<div align="center"><img src="logo.png" /></div>
</br>
<center><p>Vous pouvez également aller faire un tour sur <a href="https://esenjin.xyz" target="_blank">mon blog</a>, j'y raconte de temps à autre des choses.</p></center>
</br></br>
<div class="grid-container" align="center">
<article id="3685" class="location-listing">
<a class="location-title" href="waifus/Senjougahara_Hitagi/index.php">Senjougahara Hitagi</a>
<div class="location-image">
<a href="waifus/Senjougahara_Hitagi/index.php">
<img width="300" height="300" src="vignettes/hitagi.jpg" alt="Senjougahara Hitagi"></a>
</div>
</article>
<article id="3685" class="location-listing">
<a class="location-title" href="waifus/Senjougahara_Hitagi/index.php">Senjougahara Hitagi</a>
<div class="location-image">
<a href="waifus/Senjougahara_Hitagi/index.php">
<img width="300" height="300" src="vignettes/hitagi.jpg" alt="Senjougahara Hitagi"></a>
</div>
</article>
<article id="3685" class="location-listing">
<a class="location-title" href="waifus/Senjougahara_Hitagi/index.php">Senjougahara Hitagi</a>
<div class="location-image">
<a href="waifus/Senjougahara_Hitagi/index.php">
<img width="300" height="300" src="vignettes/hitagi.jpg" alt="Senjougahara Hitagi"></a>
</div>
</article>
<article id="3685" class="location-listing">
<a class="location-title" href="waifus/Senjougahara_Hitagi/index.php">Senjougahara Hitagi</a>
<div class="location-image">
<a href="waifus/Senjougahara_Hitagi/index.php">
<img width="300" height="300" src="vignettes/hitagi.jpg" alt="Senjougahara Hitagi"></a>
</div>
</article>
</div>
<div id="scrollUp">
<a href="#top"><img src="top.png"/></a>
</div>
</br>
</body>

12
script-top.js Normal file
View File

@ -0,0 +1,12 @@
jQuery(function(){
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 200 ) {
$('#scrollUp').css('right','10px');
} else {
$('#scrollUp').removeAttr( 'style' );
}
});
});
});

View File

@ -27,4 +27,70 @@ position: fixed;
bottom : 10px;
right: -100px;
opacity: 0.5;
}
.grid-container {
display: grid;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 1em;
}
/* hover styles */
.location-listing {
position: relative;
}
.location-image {
line-height: 0;
overflow: hidden;
}
.location-image img {
filter: blur(0px);
transition: filter 0.3s ease-in;
transform: scale(1.1);
}
.location-title {
font-size: 1.5em;
font-weight: bold;
text-decoration: none;
z-index: 1;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
opacity: 0;
transition: opacity .5s;
background: rgba(90,0,10,0.4);
color: white;
/* position the text in t middle*/
display: flex;
align-items: center;
justify-content: center;
}
.location-listing:hover .location-title {
opacity: 1;
}
.location-listing:hover .location-image img {
filter: blur(2px);
}
/* for touch screen devices */
@media (hover: none) {
.location-title {
opacity: 1;
}
.location-image img {
filter: blur(2px);
}
}

BIN
vignettes/hitagi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -1,34 +1,21 @@
<head>
<meta charset="utf-8">
<title>Teumbleur</title>
<title>Teumbleur - Senjougahara Hitagi</title>
<meta property="og:title" content="Teumbleur">
<meta property="og:image" content="https://concepts.esenjin.xyz/teumbleur/v3/logo.png">
<meta property="og:image" content="logo.png">
<meta property="og:description" content="Albums d'illustrations des waifus d'Esenjin.">
<link rel="shortcut icon" id="favicon" href="favicon.ico">
<link href='style.css' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" id="favicon" href="../../favicon.ico">
<link href='../../style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script>
jQuery(function(){
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 200 ) {
$('#scrollUp').css('right','10px');
} else {
$('#scrollUp').removeAttr( 'style' );
}
});
});
});
</script>
<script type="text/javascript" src="../../script-top.js"></script>
</head>
<body>
<div align="center"><img src="logo.png" /></div>
<div align="center"><a href="../../index.html"><img src="../../logo.png" /></a></div>
</br>
<center><p>Vous pouvez également aller faire un tour sur <a href="https://esenjin.xyz" target="_blank">mon blog</a>, j'y raconte de temps à autre des choses.</p></center>
</br></br>
@ -56,12 +43,12 @@ if(!empty($dossier));
sort($fichier);
foreach($fichier as $lien) {
echo "<div align=\"center\"><a href=\"$dir_nom/$lien\" target=\"_blank\"><img src=\"$dir_nom/$lien\" loading=\"lazy\"></img></a></div>\r
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>";
<div align=\"center\"><p>&#128269; <a href=\"http://saucenao.com/search.php?db=999&url=https://concepts.esenjin.xyz/teumbleur/v3/waifus/Senjougahara_Hitagi/img/$lien\" target=\_blank>source</a></p></div>\r\r </br></br>";
}
?>
<div id="scrollUp">
<a href="#top"><img src="top.png"/></a>
<a href="#top"><img src="../../top.png"/></a>
</div>
</br>
</body>