Initial commit

This commit is contained in:
Louis Vallat 2021-09-18 18:28:38 +02:00
commit 9ab67318ec
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
4 changed files with 184 additions and 0 deletions

104
assets/css/main.css Normal file
View File

@ -0,0 +1,104 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
:root {
--eerie-black: #141414ff;
--royal-purple: #724e91ff;
--saffron: #f8c630ff;
--tea-green: #c5ebc3ff;
--international-orange-engineering: #b80c09ff;
}
body {
min-height: 100vh;
}
#call-to-action {
margin-top: 8vh;
}
#call-to-action > button {
width: 150px;
height: 45px;
font-size: 1em;
border-radius: 8px;
background-color: white;
border: none;
transition: cubic-bezier(0.215, 0.610, 0.355, 1) 200ms;
}
#call-to-action > button:hover {
background-color: lightgrey;
box-shadow: 0px 0px 6px 0px lightblue;
}
#call-to-action > button:first-child {
margin-right: 10px;
}
button:hover {
cursor: pointer;
}
#landing-zone {
background-color: var(--eerie-black);
padding: 0px 10% 0px 10%;
height: 100vh;
display: flex;
align-items: center;
}
.white {
color: white;
}
h1 {
font-family: 'Roboto', sans-serif;
font-weight: 500;
font-size: 6rem;
}
#name {
font-family: 'Roboto', sans-serif;
font-weight: 500;
font-size: 1.8rem;
}
#subtitle {
font-family: 'Roboto', sans-serif;
font-weight: 500;
font-size: 4.5rem;
letter-spacing: 3px;
word-spacing: 4px;
line-height: 1.35em;
margin-top: 55px;
margin-bottom: 25px;
}
#profile-picture {
border-radius: 100%;
height: 70px;
width: 70px;
margin: 10px;
}
.center-align-inline {
display: flex;
align-items: center;
}
#additional-information > svg {
fill: lightgrey;
margin-right: 8px;
}
#additional-information {
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 1.3em;
color: lightgrey;
}
#additional-information > p {
margin-right: 50px;
}

48
assets/css/reset.css Normal file
View File

@ -0,0 +1,48 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

BIN
assets/images/square_pp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 KiB

32
index.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/main.css">
<title>Louis Vallat</title>
</head>
<body>
<div id="landing-zone">
<div id="presentation">
<div class="center-align-inline">
<img src="assets/images/square_pp.jpg" id="profile-picture">
<h2 class="white" id="name">Louis Vallat</h2>
</div>
<h1 class="white" id="subtitle">Un étudiant développeur, passionné de technologies, quelles qu'elles soient.</h1>
<div class="center-align-inline" id="additional-information">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"/></svg>
<p>Étudiant ingénieur en informatique</p>
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14zM12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2z"/></svg>
<p>Bordeaux &mdash; France</p>
</div>
<div id="call-to-action">
<button>Me contacter</button>
<button>En savoir plus</button>
</div>
</div>
</div>
</body>
</html>