Compare commits

..

No commits in common. "4b9ae72f0a49a7be930c324c2a8a8a31bf90c4d8" and "9912f5d07db458eadd2b89b702a81c4cfedb5f6c" have entirely different histories.

4 changed files with 117 additions and 91 deletions

View file

@ -1,94 +1,123 @@
body { .left, .right {
background: url('/images/pic1.webp'); position: absolute;
background-position: center; left: 0;
background-size: cover; right: 0;
} }
.title { .left {
height: 200px;
width: 600px;
margin: calc((100vh - 200px) / 2) auto;
text-align: center; text-align: center;
background: #ffffff; top: 0;
box-shadow: 0 0 1rem black; bottom: 60%;
display: grid; box-shadow: 0 0 2em black;
grid-template-columns: 1fr 1fr; z-index: 100;
grid-template-rows: 1fr 1fr; }
column-gap: 1em; .right {
top: 40%;
bottom: 0;
background: url("../images/pic1.webp");
background-size: cover;
background-position: center;
z-index: 1;
} }
.title h1, .title h2 { .left h1, .left h2 {
position: absolute;
font-size: 3rem; font-size: 3rem;
height: 1em;
line-height: 1em;
margin: 0; margin: 0;
align-self: end; width: 100%;
}
.title h1 {
text-align: left;
}
.title h2 {
text-align: right;
} }
.title nav { .left h2 {
font-variant: small-caps; top: calc( 50% - 1em );
font-size: 1.5rem;
grid-column: 1 / 3;
padding: .5em;
align-self: center;
line-height: 2em;
} }
.title nav a { .left h1 {
border: 0px solid #484848de; bottom: calc( 50% - 1em );
border-width: .1em 0;
padding: 0 .5em;
margin: .5em;
transition: border-color 250ms, background-color 250ms, color 250ms;
} }
.title nav a:hover {
background-color: #242424de; nav {
border-color: #242424de; position: absolute;
color: #ffffffde; top: 0;
width: 100%;
background: #ffffffde;
text-align: center;
font-size: 2em;
padding: 1em;
font-weight: 800;
} }
.title nav a:active { nav > a {
border-color: #121212de; padding: 1em;
background-color: #121212de;
color: #dededede;
} }
footer { footer {
background: white; position: absolute;
margin: 0; bottom: 0;
padding: 1em; width: 100%;
background: #000000de;
color: #ffffffde;
text-align: center; text-align: center;
} }
footer>p>* { footer ul {
list-style: none;
padding: 1em; padding: 1em;
line-height: 3em;
} }
footer>p { footer li {
margin: 0; height: 24px;
padding: 0; line-height: 24px;
margin: 12px;
} }
footer>.author { footer li span {
font-family: 'IBM Plex Serif'; font-weight: 800;
font-weight: 300; margin-right: 1em;
}
footer a {
color: #dededede;
}
footer a:hover {
color: #ffffffde;
}
footer a:active {
color: #ffffffde;
} }
@media screen and (max-width: 700px) { @media screen and (min-width: 1024px), screen and (orientation: landscape) {
.title { .left, .right {
width: auto; top: 0;
height: 300px; bottom: 0;
margin: calc((100vh - 300px) / 2) 1em;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 2fr;
} }
.title h1, .title h2 {
text-align: center; .right {
right: 0;
left: 40%
} }
.title h1 { .left {
align-self: start; right: 60%;
} }
.title nav {
grid-column: 1; .left h1, .left h2 {
text-align: right;
padding-right: 1em;
}
}
@media screen and (hover: hover) {
footer li {
height: initial;
line-height: initial;
margin: initial;
}
}
@media screen and (min-width: 1024px) {
.left h1, .left h2 {
font-size: 4rem;
}
}
@media screen and (max-width: 700px) and (orientation: landscape) {
.left h1, .left h2 {
font-size: 2rem;
padding-right: .5em;
} }
} }

View file

@ -1,5 +1,11 @@
html { html {
box-sizing: border-box; box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit;
}
body {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
@ -9,19 +15,13 @@ html {
color: #000000de; color: #000000de;
font-family: Inter, sans-serif; font-family: Inter, sans-serif;
} }
*, *::before, *::after {
box-sizing: inherit;
}
body {
margin: 0;
}
h1, h2 { h1, h2 {
font-family: 'IBM Plex Serif', serif; font-family: 'IBM Plex Serif', serif;
} }
h2 { h2 {
font-weight: 700; font-weight: 800;
} }
h1 { h1 {
font-weight: 300; font-weight: 300;

View file

@ -37,7 +37,7 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
</head> </head>
<body> <body>
<h1>Edgar P. Burkhart</h2> <h1>Edgar P. Burkhart</h1>
<nav> <nav>
<ul> <ul>
<li class="homepage"><a href="https://edgarpierre.fr">edgarpierre.fr</a></li> <li class="homepage"><a href="https://edgarpierre.fr">edgarpierre.fr</a></li>

View file

@ -38,27 +38,24 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
</head> </head>
<body> <body>
<div class="title"> <div class="left">
<h2>Edgar P.</h2> <h2>Edgar P.</h2>
<h1>Burkhart</h1> <h1>Burkhart</h1>
</div>
<div class="right">
<nav> <nav>
<a href="/cv">CV</a> <a href="/cv">CV</a>
<a href="https://git.edgarpierre.fr">Gitea</a>
<a href="https://www.komoot.fr/user/383887346799">Komoot</a>
</nav> </nav>
</div>
<footer> <footer>
<p class="links"> <ul>
<a href="mailto:contact@edgarpierre.fr"><strong>contact@edgarpierre.fr</strong></a> <li><span>email</span><a href="mailto:contact@edgarpierre.fr">contact@edgarpierre.fr</a></li>
<a href="https://www.komoot.fr/user/383887346799">komoot(edpibu)</a> <li><span>komoot</span><a href="https://www.komoot.fr/user/383887346799">edpibu</a></li>
<a href="https://www.last.fm/user/edpiburkhart">last.fm(edpiburkhart)</a> <li><span>last.fm</span><a href="https://www.last.fm/user/edpiburkhart">edpiburkhart</a></li>
<a href="https://git.edgarpierre.fr/edpibu">git.edgarpierre.fr/edpibu</a> <li><span>git</span><a href="https://git.edgarpierre.fr/edpibu">git.edgarpierre.fr/edpibu</a></li>
<a href="https://github.com/edpiburkhart">github(edpiburkhart)</a> <li><span>github</span><a href="https://github.com/edpiburkhart">edpiburkhart</a></li>
<a href="https://public.edgarpierre.fr">public.edgarpierre.fr</a> <li><span>public</span><a href="https://public.edgarpierre.fr">public.edgarpierre.fr</a></li>
</p> </ul>
<p class="author">
<span>edpibu - 2021</span>
</p>
</footer> </footer>
</div>
</body> </body>
</html> </html>