Photos template
This commit is contained in:
parent
4b9ae72f0a
commit
ecf5ab65d0
4 changed files with 113 additions and 0 deletions
|
@ -2,6 +2,7 @@ body {
|
||||||
background: url('/images/pic1.webp');
|
background: url('/images/pic1.webp');
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|
|
@ -14,10 +14,12 @@ html {
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
font-family: 'IBM Plex Serif', serif;
|
font-family: 'IBM Plex Serif', serif;
|
||||||
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
|
37
css/photos.css
Normal file
37
css/photos.css
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
.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);
|
||||||
|
}
|
73
photos/index.html
Normal file
73
photos/index.html
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
<!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>
|
||||||
|
<h1>Photos</h2>
|
||||||
|
|
||||||
|
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
|
||||||
|
<div class="pic">
|
||||||
|
<img src="/images/pic1.webp" />
|
||||||
|
</div>
|
||||||
|
<h3>Sardaigne MMXX</h3>
|
||||||
|
</a>
|
||||||
|
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
|
||||||
|
<div class="pic">
|
||||||
|
<img src="/images/pic1.webp" />
|
||||||
|
</div>
|
||||||
|
<h3>Sardaigne MMXX</h3>
|
||||||
|
</a>
|
||||||
|
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
|
||||||
|
<div class="pic">
|
||||||
|
<img src="/images/pic1.webp" />
|
||||||
|
</div>
|
||||||
|
<h3>Sardaigne MMXX</h3>
|
||||||
|
</a>
|
||||||
|
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
|
||||||
|
<div class="pic">
|
||||||
|
<img src="/images/pic1.webp" />
|
||||||
|
</div>
|
||||||
|
<h3>Sardaigne MMXX</h3>
|
||||||
|
</a>
|
||||||
|
<a href="https://photos.edgarpierre.fr/share/JUzmhOcW" class="album">
|
||||||
|
<div class="pic">
|
||||||
|
<img src="/images/pic1.webp" />
|
||||||
|
</div>
|
||||||
|
<h3>Sardaigne MMXX</h3>
|
||||||
|
</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
Reference in a new issue