Commit 2bd64d2d authored by Traboulsi's avatar Traboulsi
Browse files

Update public/index.html

parent bb4bcb41
Pipeline #11151 passed with stage
in 8 seconds
...@@ -28,28 +28,15 @@ ...@@ -28,28 +28,15 @@
<link href="assets/css/main.css" rel="stylesheet"> <link href="assets/css/main.css" rel="stylesheet">
<!-- link to style.css : added by Salam --> <!-- link to style.css : added by Salam -->
<style> <style>
body {
background: #f5f5f5;
font-family: Arial, sans-serif;
padding: 40px;
}
.portfolio-container {
display: flex;
gap: 30px;
flex-wrap: wrap;
justify-content: center;
}
.portfolio-content { .portfolio-content {
width: 300px;
background: #fff; background: #fff;
border-radius: 20px; border-radius: 20px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
padding: 0;
overflow: hidden; overflow: hidden;
transition: all 0.3s ease-in-out;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
transition: all 0.3s ease-in-out;
} }
.portfolio-content:hover { .portfolio-content:hover {
...@@ -59,13 +46,15 @@ ...@@ -59,13 +46,15 @@
.portfolio-content img { .portfolio-content img {
width: 100%; width: 100%;
height: auto; max-height: 180px; /* Bildhöhe begrenzen */
object-fit: cover; object-fit: contain; /* Inhalt einpassen, nicht beschneiden */
padding: 10px;
background: #f9f9f9;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
.portfolio-info { .portfolio-info {
padding: 20px; padding: 15px 20px;
text-align: left; text-align: left;
} }
...@@ -94,8 +83,7 @@ ...@@ -94,8 +83,7 @@
.portfolio-info i { .portfolio-info i {
font-size: 1.3rem; font-size: 1.3rem;
} }
</style> </style>
<!-- ======================================================= <!-- =======================================================
* Template Name: FlexStart * Template Name: FlexStart
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment