Compare commits

...

3 commits

Author SHA1 Message Date
abd6d61849
Final touches to photos 2021-04-11 18:30:19 +02:00
eb970f1839
Added navigation to photos 2021-04-11 18:24:27 +02:00
ecf5ab65d0
Photos template 2021-04-11 18:20:50 +02:00
6 changed files with 109 additions and 1 deletions

View file

@ -2,6 +2,7 @@ body {
background: url('/images/pic1.webp');
background-position: center;
background-size: cover;
padding: 0;
}
.title {

View file

@ -14,10 +14,12 @@ html {
}
body {
margin: 0;
padding: 2rem;
}
h1, h2 {
font-family: 'IBM Plex Serif', serif;
font-size: 3rem;
}
h2 {

51
css/photos.css Normal file
View file

@ -0,0 +1,51 @@
header {
display: grid;
grid-template-columns: 2fr 1fr;
transition: transform 250ms;
}
header>* {
align-self: center;
}
header nav {
text-align: right;
font-size: 1.5rem;
font-weight: 800;
}
.album {
width: 320px;
height: 180px;
border: 1px solid darkgray;
border-radius: 5px;
overflow: hidden;
display: inline grid;
grid-template-rows: 2fr 1fr;
transition: transform 250ms;
margin: 1em;
}
.album .pic {
overflow: hidden;
width: 100%;
height: 100%;
}
.album .pic img {
width: 100%;
height: 100%;
object-fit: cover;
}
.album h3 {
font-size: 1em;
font-weight: normal;
padding: 0 1em;
margin: 0;
align-self: center;
}
.album:hover {
transform: scale(1.05);
}
.album:active {
transform: scale(1.02);
}

BIN
images/sard.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -43,8 +43,8 @@
<h1>Burkhart</h1>
<nav>
<a href="/cv">CV</a>
<a href="/photos">Photos</a>
<a href="https://git.edgarpierre.fr">Gitea</a>
<a href="https://www.komoot.fr/user/383887346799">Komoot</a>
</nav>
</div>
<footer>

54
photos/index.html Normal file
View file

@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<meta name="robots" content="index,follow" />
<title>Resume - Edgar P. Burkhart</title>
<meta name="description" content="Edgar P. Burkhart, étudiant en génie civil à l'École Normale Supérieure Paris-Saclay. contact@edgarpierre.fr" />
<link rel="preload" href="/fonts/inter/Inter-ExtraBold.woff2" as="font" crossorigin="anonymous" />
<link rel="preload" href="/fonts/inter/Inter-Regular.woff2" as="font" crossorigin="anonymous" />
<link rel="preload" href="/fonts/plex/IBMPlexSerif-Bold.woff2" as="font" crossorigin="anonymous" />
<link rel="preload" href="/fonts/plex/IBMPlexSerif-Light.woff2" as="font" crossorigin="anonymous" />
<link rel="stylesheet" type="text/css" href="/fonts/inter/inter48.css" />
<link rel="stylesheet" type="text/css" href="/fonts/plex/plex37.css" />
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/photos.css" />
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/icons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<header>
<h1>Photos</h1>
<nav>
<a href="/">Homepage</a>
</nav>
</header>
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
<div class="pic">
<img src="/images/sard.webp" />
</div>
<h3>Sardaigne MMXX</h3>
</a>
</body>
</html>