better website

This commit is contained in:
Yatima committed 2020-07-17 00:48:44 +02:00
1 parent 36d3f9e1a5
commit 7bfdd3cfd8
5 files changed
+393 -304

No files matched your search

+90 -58
View File
@@ -33,38 +33,48 @@
<body>
<div class="content">
<div class="introduction">
<div class="presentation">
<h1>Hello everyone!</h1>
<p>My name is Federico Santamorena, I'm a
C/C++ developer.</p>
<p>I work at Activision-Blizzard @
<a href="https://king.com" target="_blank" rel="noopener">King.com</a> in Malmö (Sweden) and then I
waste my free time for some
open source thingies and projects, here is the most relevant stuff:</p>
C/C++ developer and a <a
href="https://twitter.com/hashtag/ProgrammingSocks" target="_blank" rel="noopener">#programmingsocks🧦</a> wearer.</p>
<p>I work in Activision-Blizzard @
<a href="https://king.com" target="_blank" rel="noopener">King.com</a> in <a
href="https://www.google.com/maps/place/Malm%C3%B6,+Sweden" target="_blank" rel="noopener">Malmö
🇸🇪</a> and then I waste my free time for some open source thingies and projects, here is the
most relevant stuff:</p>
</div>
<div class="avatar-zone">
<img class="avatar" src="avatar.webp">
<div class="avatar-square">
<img class="avatar-real" src="avatar.webp">
<img class="avatar-trans-flag" src="trans-flag.webp">
</div>
<div class="social-icons">
<a href="https://github.com/yatima1460" target="_blank" rel="noopener"><img
src="social-icons/github.png" alt="github" /></a>
<a href="https://www.linkedin.com/in/yatima1460/" target="_blank" rel="noopener"><img
src="social-icons/linkedin.png" alt="linkedin" /></a>
<a href="https://twitter.com/yatima1460" target="_blank" rel="noopener"><img
src="social-icons/twitter.png" alt="twitter" /></a>
<a href="https://www.instagram.com/yatima1460/" target="_blank" rel="noopener"><img
src="social-icons/instagram.png" alt="instagram" /></a>
<a href="skype:live:yatima1460?chat"><img src="social-icons/skype.png"
alt="skype:live:yatima1460" /></a>
<a href="mailto:contact@yatima1460.me"><img src="social-icons/email.png"
alt="contact@yatima1460.me" /></a>
<a href="https://github.com/yatima1460" target="_blank" rel="noopener">
<img src="social-icons/github.png" alt="github" />
</a>
<a href="https://www.linkedin.com/in/yatima1460/" target="_blank" rel="noopener">
<img src="social-icons/linkedin.png" alt="linkedin" />
</a>
<a href="https://twitter.com/yatima1460" target="_blank" rel="noopener">
<img src="social-icons/twitter.png" alt="twitter" />
</a>
<a href="https://www.instagram.com/yatima1460/" target="_blank" rel="noopener">
<img src="social-icons/instagram.png" alt="instagram" />
</a>
<a href="skype:live:yatima1460?chat">
<img src="social-icons/skype.png" alt="skype:live:yatima1460" />
</a>
<a href="mailto:contact@yatima1460.me">
<img src="social-icons/email.png" alt="contact@yatima1460.me" />
</a>
</div>
</div>
@@ -79,7 +89,7 @@
<h2>Match 3</h2>
<div class="project-description">
<img src="https://raw.githubusercontent.com/yatima1460/Match3/master/docs/demo.gif">
<p>Game demo written in modern C++17, SDL2, with as much functional programming as possible
<p>I shoved inside a game demo written in modern C++17 and SDL2 as much functional programming as possible as a proof of concept
<a href="https://github.com/yatima1460/Match3" target="_blank"
rel="noopener">https://github.com/yatima1460/Match3</a>
@@ -88,43 +98,14 @@
</div>
</div>
<div class="project">
<h2>Gestalt Engine</h2>
<div class="project-description">
<img src="gestalt_engine.jpg">
<p>My own engine written in C and C++, SDL2, OpenGL 4.x with forward rendering and shadow mapping.
Not complete yet.
</p>
</div>
</div>
<div class="project">
<h2>A*</h2>
<div class="project-description">
<img src="https://raw.githubusercontent.com/yatima1460/AStar/master/docs/astar.png">
<p>Very fast C++17 A* pathfinding implementation taking branch prediction and cache-locality into
account and using better heuristics like cross product
<a href="https://github.com/yatima1460/AStar" target="_blank"
rel="noopener">https://github.com/yatima1460/AStar</a>
</p>
</div>
</div>
<div class="project">
<h2>CGLMath</h2>
<div class="project-description">
<img src="quaternion.webp">
<p>I hate glm syntax so I wrote a C library for OpenGL math (Quaternions, Matrices, Vectors...)
aimed at readability
<p>I hate glm with a passion so I wrote a simpler C11 library for OpenGL math: Quaternions, Matrices,
Vectors...
<a href="https://github.com/yatima1460/CGLMath" target="_blank"
@@ -135,6 +116,28 @@
</div>
<div class="project">
<h2>A*</h2>
<div class="project-description">
<img src="https://raw.githubusercontent.com/yatima1460/AStar/master/docs/astar.png">
<p>When devs develop A* they don't consider cache-misses and CPU branch prediction, this instead does, also has better heuristics
<a href="https://github.com/yatima1460/AStar" target="_blank"
rel="noopener">https://github.com/yatima1460/AStar</a>
</p>
</div>
</div>
<div class="project">
<h2>Table And Chairs
@@ -142,7 +145,7 @@
<div class="project-description">
<img
src="https://github.com/yatima1460/TableAndChairs/raw/master/docs/tableandchairs.webm?sanitize=true">
<p>C++ Archviz procedural geometry demo in Unreal Engine 4.22
<p>A dynamically resizable table with chairs in C++ running on Unreal Engine 4.22, useful for Archviz I think
<a href="https://github.com/yatima1460/TableAndChairs" target="_blank"
@@ -153,6 +156,7 @@
</div>
<div class="project">
<h2>Drill</h2>
@@ -170,6 +174,36 @@
</div>
<div class="project">
<h2>Gestalt Engine</h2>
<div class="project-description">
<img src="gestalt_engine.jpg">
<p>My own engine written in C11 and C++17, SDL2, OpenGL 4.x with forward rendering and shadow mapping.
Not complete yet.
</p>
</div>
</div>
<div class="project">
<h2>Mandelbrot</h2>
<div class="project-description">
<img src="mandelbrot.png">
<p>C++17 and SDL2 to draw Mandelbrot. Not complete yet.
<!-- <a href="https://github.com/yatima1460/Mandelbrot" target="_blank"
rel="noopener">https://github.com/yatima1460/Mandelbrot</a> -->
</p>
</div>
</div>
@@ -177,9 +211,7 @@
</div>
</div>
<footer>
</footer>
</body>
</html>
+130 -246
View File
@@ -3,9 +3,19 @@
text-rendering: geometricPrecision
}
h1 {
padding-bottom: 0.25em;
padding-top: 1em;
}
h2 {
padding-top: 0.5em;
padding-left: 0.1em;
}
a {
color: #c4298d;
text-decoration: none;
text-decoration: none;
word-break: break-word;
}
@@ -17,8 +27,6 @@ html {
width: 100%;
}
@media (orientation: landscape) {
body {
width: 40%;
@@ -28,266 +36,140 @@ html {
font-family: 'Roboto', sans-serif;
word-wrap: break-word;
}
/* .user_profile_cap {
width: 100%;
height: auto 13px;
border: 1px solid #DDD;
border-top: 0;
border-radius: 5px;
border-top-left-radius: 0;
border-top-right-radius: 0;
overflow: hidden;
}
.user_profile_headline > img {
border: 1px solid #EEEEEE;
width: 128px;
height: 128px;
float: left;
margin: -90px 10px 0 0;
position: relative;
z-index: 111;
background-color: white;
}
.user_profile_cover > img {
width: 100%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.user_profile_headline h1 {
margin: 0;
padding: 0.5em;
font-size: 2em;
font-weight: bold;
display: block;
}
*/
footer {
display: flex;
justify-content: center;
width: 100%;
}
.footer-icons {
border-top: solid 2px #d9d9d9;
width: 75%;
display: flex;
flex-direction: row;
justify-content: center;
}
.footer-icons > a {
padding: 1em;
}
}
@media (orientation: portrait) {
body {
width: 100%;
font-size: 1rem;
line-height: 1.5rem;
margin: auto;
font-family: 'Roboto', sans-serif;
word-wrap: break-word;
}
/* .user_profile_headline h1 {
margin: 0;
padding: 0.25em;
font-size: 1.25em;
font-weight: bold;
display: block;
padding-top: 0;
}
.user_profile_cap {
width: 100%;
height: auto 13px;
border-bottom: 1px solid #DDD;
overflow: hidden;
}
.user_profile_headline > img {
border: 1px solid #EEEEEE;
width: 64px;
height: 64px;
float: left;
margin: -40px 10px 0 0;
position: relative;
z-index: 111;
background-color: white;
}
.user_profile_cover > img {
width: 100%;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
} */
.content {
padding: 0.5em;
}
footer {
display: flex;
justify-content: center;
width: 100%;
}
.footer-icons {
border-top: solid 2px #d9d9d9;
width: 85%;
display: flex;
flex-direction: row;
justify-content: center;
}
.footer-icons > a {
padding: 0.6em;
}
}
.user_profile_headline span {
font-weight: bold;
}
.trans-flag {
max-width: 1.25em;
margin-right: 0.25em;
float: left;
}
.cover {
width: 100%;
border-radius: 0.5em;
}
.user_profile_headline {
padding-left: 10px;
font-size: 16px;
}
.project-links {
display: flex;
flex-direction: column;
align-items: baseline;
}
h1 {
padding-bottom: 0.25em;
padding-top: 1em;
}
h2 {
padding-top: 0.5em;
}
h3 {
padding: 0;
margin: 0;
padding-top: 1em;
padding-bottom: 0.25em;
}
li {
padding-bottom: 0.5em;
}
body::after {
display: block;
content: "Copyright© 2020 Federico Santamorena (yatima1460) - All Rights Reserved ";
color: #666666;
text-align: center;
}
@media (orientation: portrait) {
body::after {
font-size: 0.75em;
}
}
.introduction {
.introduction {
display: flex;
flex-direction: row;
}
.presentation {
width: 75%;
width: 80%;
}
/* .avatar {
background: url( "avatar.webp") no-repeat;
background-size: contain;
object-fit: contain;
width: 100%;
height: 0;
padding-top: 100%;
/* height: auto; */
/* } */
.content {
margin-top: 2em;
}
.avatar-zone {
width: 25%;
display: flex;
width: 40%;
display: flex;
flex-direction: column;
margin-top: 2em;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 1em;
text-align: center;
justify-content: center;
}
.avatar-square {
position: relative;
box-shadow: 1px 4px 4px 1px #ccc;
border-radius: 0.5em;
margin-bottom: 1em;
width: 80%;
height: 100%;
align-self: center;
}
.avatar {
width: 100%;
box-shadow: 1px 4px 4px 1px #ccc;
margin-bottom: 1em;
object-fit: contain;
border-radius: 0.5em;
.avatar-real {
width: 100%;
height: 100%;
position: relative;
border-radius: 0.5em;
/* object-fit: contain; */
}
.avatar-trans-flag {
width: 100%;
position: absolute;
opacity: 0;
/* display: none; */
top: 0;
left: 0;
border-radius: 0.5em;
/* object-fit: contain; */
height: 100%;
}
/* .avatar:hover{
/* display: none; */
/* no-repeat; */
/* background-image: url(
"trans-flag.webp"
);
} */
.avatar-trans-flag:hover {
/* display: none; */
opacity: 0.75;
}
.social-icons {
display: flex;
flex-wrap: wrap;
flex-direction: row;
box-shadow: 1px 4px 4px 1px #ccc;
justify-content: center;
box-shadow: 1px 4px 4px 1px #ccc;
text-align: center;
vertical-align: middle;
align-items: center;
justify-content: center;
border-radius: 0.5em;
border: 1px #eee solid;
}
.social-icons a {
/* width: 33.33%; */
/* object-fit: contain; */
/* text-align: center; */
/* margin: 0.1em; */
width: 12%;
height: 100%;
margin-right: 0.3em;
margin-left: 0.3em;
margin-top: 0.5em;
}
.social-icons img {
/* object-fit: contain; */
/* text-align: center; */
}
.social-icons a{
width: 25%;
/* object-fit: contain; */
/* text-align: center; */
/* margin: 0.1em; */
}
.social-icons img{
/* object-fit: contain; */
/* text-align: center; */
/* margin: 0.1em; */
}
.project {
display: flex;
flex-direction: column;
border: 1px #eee solid;
box-shadow: 1px 4px 4px 1px #ccc;
box-shadow: 1px 4px 4px 1px #ccc;
margin-bottom: 1em;
padding-left: 1em;
padding-bottom: 1em;
@@ -298,37 +180,39 @@ body::after {
.project div {
display: flex;
flex-direction: row;
}
.project h2 {
}
.project h2 {}
.project img {
.project img {
width: 20%;
/* height: 20%; */
box-shadow: 1px 4px 4px 1px #ccc;
object-fit: contain;
border-radius: 0.5em;
box-shadow: 1px 4px 4px 1px #ccc;
object-fit: cover;
border-radius: 0.5em;
border-top: 1px #eee solid;
/* border: 1px solid #ccc; */
/* box-shadow: 0px 4px 5px #ccc; */
}
.project p {
padding-left: 1em;
padding-left: 1.5em;
}
.project a {
.project a {
display: block;
padding: 1em;
/* box-shadow: 0px 4px 5px #ccc; */
}
body {
margin-bottom: 1em;
}
body::after {
display: block;
content: "Copyright© 2020 Federico Santamorena (yatima1460) - All Rights Reserved";
color: #666666;
text-align: center;
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+173
View File
@@ -0,0 +1,173 @@
@media (orientation: landscape) {
body {
width: 40%;
font-size: 1rem;
line-height: 1.5rem;
margin: auto;
font-family: 'Roboto', sans-serif;
word-wrap: break-word;
}
/* .user_profile_cap {
width: 100%;
height: auto 13px;
border: 1px solid #DDD;
border-top: 0;
border-radius: 5px;
border-top-left-radius: 0;
border-top-right-radius: 0;
overflow: hidden;
}
.user_profile_headline > img {
border: 1px solid #EEEEEE;
width: 128px;
height: 128px;
float: left;
margin: -90px 10px 0 0;
position: relative;
z-index: 111;
background-color: white;
}
.user_profile_cover > img {
width: 100%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.user_profile_headline h1 {
margin: 0;
padding: 0.5em;
font-size: 2em;
font-weight: bold;
display: block;
}
*/
footer {
display: flex;
justify-content: center;
width: 100%;
}
.footer-icons {
border-top: solid 2px #d9d9d9;
width: 75%;
display: flex;
flex-direction: row;
justify-content: center;
}
.footer-icons>a {
padding: 1em;
}
}
@media (orientation: portrait) {
body {
width: 100%;
font-size: 1rem;
line-height: 1.5rem;
margin: auto;
font-family: 'Roboto', sans-serif;
word-wrap: break-word;
}
/* .user_profile_headline h1 {
margin: 0;
padding: 0.25em;
font-size: 1.25em;
font-weight: bold;
display: block;
padding-top: 0;
}
.user_profile_cap {
width: 100%;
height: auto 13px;
border-bottom: 1px solid #DDD;
overflow: hidden;
}
.user_profile_headline > img {
border: 1px solid #EEEEEE;
width: 64px;
height: 64px;
float: left;
margin: -40px 10px 0 0;
position: relative;
z-index: 111;
background-color: white;
}
.user_profile_cover > img {
width: 100%;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
} */
.content {
padding: 0.5em;
}
footer {
display: flex;
justify-content: center;
width: 100%;
}
.footer-icons {
border-top: solid 2px #d9d9d9;
width: 85%;
display: flex;
flex-direction: row;
justify-content: center;
}
.footer-icons>a {
padding: 0.6em;
}
}
.user_profile_headline span {
font-weight: bold;
}
.trans-flag {
max-width: 1.25em;
margin-right: 0.25em;
float: left;
}
.cover {
width: 100%;
border-radius: 0.5em;
}
.user_profile_headline {
padding-left: 10px;
font-size: 16px;
}
.project-links {
display: flex;
flex-direction: column;
align-items: baseline;
}
h3 {
padding: 0;
margin: 0;
padding-top: 1em;
padding-bottom: 0.25em;
}
li {
padding-bottom: 0.5em;
}
@media (orientation: portrait) {
body::after {
font-size: 0.75em;
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B