diff options
| author | Samlon <stankiewiczgracjan2019@gmail.com> | 2025-07-24 12:43:35 +0200 |
|---|---|---|
| committer | Samlon <stankiewiczgracjan2019@gmail.com> | 2025-07-24 12:43:35 +0200 |
| commit | 14eb69573789bc4da54565db75efd40ee041419f (patch) | |
| tree | 2a2d9fb53f3fd9785a0e32dc92b6b4e0a8317178 | |
| parent | first commit (diff) | |
| download | site-14eb69573789bc4da54565db75efd40ee041419f.tar.gz site-14eb69573789bc4da54565db75efd40ee041419f.zip | |
add pictures
| -rw-r--r-- | index.html | 23 | ||||
| -rw-r--r-- | resources/about.png | bin | 0 -> 79309 bytes | |||
| -rw-r--r-- | resources/salmon.png | bin | 0 -> 187294 bytes | |||
| -rw-r--r-- | styles.css | 69 |
4 files changed, 82 insertions, 10 deletions
| @@ -27,13 +27,18 @@ | |||
| 27 | <section class="hero"> | 27 | <section class="hero"> |
| 28 | <div class="container"> | 28 | <div class="container"> |
| 29 | <div class="hero-content"> | 29 | <div class="hero-content"> |
| 30 | <div class="greeting">Hi, my name is</div> | 30 | <div class="hero-text"> |
| 31 | <h1>Salmon. </h1> | 31 | <div class="greeting">Hi, my name is</div> |
| 32 | <h2 class="tagline">I build things.</h2> | 32 | <h1>Salmon. </h1> |
| 33 | <p>I mainly do C++ and whatnot.</p> | 33 | <h2 class="tagline">I build things.</h2> |
| 34 | <div class="cta-buttons"> | 34 | <p>I mainly do C++ and whatnot.</p> |
| 35 | <a href="#contact" class="btn btn-primary">Contacts</a> | 35 | <div class="cta-buttons"> |
| 36 | <a href="#projects" class="btn btn-outline">What did I do</a> | 36 | <a href="#contact" class="btn btn-primary">Contacts</a> |
| 37 | <a href="#projects" class="btn btn-outline">What did I do</a> | ||
| 38 | </div> | ||
| 39 | </div> | ||
| 40 | <div class="hero-image"> | ||
| 41 | <img src="resources/salmon.png" alt="Salmon" class="hero-img"> | ||
| 37 | </div> | 42 | </div> |
| 38 | </div> | 43 | </div> |
| 39 | </div> | 44 | </div> |
| @@ -55,8 +60,8 @@ | |||
| 55 | <span class="skill-tag">More Linux</span> | 60 | <span class="skill-tag">More Linux</span> |
| 56 | </div> | 61 | </div> |
| 57 | </div> | 62 | </div> |
| 58 | <div> | 63 | <div class="about-image"> |
| 59 | <div class="image-placeholder"></div> | 64 | <img src="resources/about.png" alt="About Me" class="about-img"> |
| 60 | </div> | 65 | </div> |
| 61 | </div> | 66 | </div> |
| 62 | </div> | 67 | </div> |
diff --git a/resources/about.png b/resources/about.png new file mode 100644 index 0000000..9209f11 --- /dev/null +++ b/resources/about.png | |||
| Binary files differ | |||
diff --git a/resources/salmon.png b/resources/salmon.png new file mode 100644 index 0000000..9f9849a --- /dev/null +++ b/resources/salmon.png | |||
| Binary files differ | |||
| @@ -79,7 +79,30 @@ nav { | |||
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | .hero-content { | 81 | .hero-content { |
| 82 | max-width: 800px; | 82 | display: grid; |
| 83 | grid-template-columns: 1fr 1fr; | ||
| 84 | gap: 4rem; | ||
| 85 | align-items: center; | ||
| 86 | width: 100%; | ||
| 87 | } | ||
| 88 | |||
| 89 | .hero-text { | ||
| 90 | max-width: 600px; | ||
| 91 | } | ||
| 92 | |||
| 93 | .hero-image { | ||
| 94 | display: flex; | ||
| 95 | justify-content: center; | ||
| 96 | align-items: center; | ||
| 97 | } | ||
| 98 | |||
| 99 | .hero-image .hero-img { | ||
| 100 | width: 100%; | ||
| 101 | max-width: 300px; | ||
| 102 | height: auto; | ||
| 103 | border-radius: 1rem; | ||
| 104 | border: none; | ||
| 105 | box-shadow: none; | ||
| 83 | } | 106 | } |
| 84 | 107 | ||
| 85 | .greeting { | 108 | .greeting { |
| @@ -154,6 +177,11 @@ section { | |||
| 154 | } | 177 | } |
| 155 | 178 | ||
| 156 | /* About Section */ | 179 | /* About Section */ |
| 180 | .about { | ||
| 181 | padding: 6rem 0; | ||
| 182 | background-color: var(--bg); | ||
| 183 | } | ||
| 184 | |||
| 157 | .about-content { | 185 | .about-content { |
| 158 | display: grid; | 186 | display: grid; |
| 159 | grid-template-columns: 1fr 1fr; | 187 | grid-template-columns: 1fr 1fr; |
| @@ -161,6 +189,19 @@ section { | |||
| 161 | align-items: center; | 189 | align-items: center; |
| 162 | } | 190 | } |
| 163 | 191 | ||
| 192 | .about-image { | ||
| 193 | display: flex; | ||
| 194 | justify-content: center; | ||
| 195 | align-items: center; | ||
| 196 | } | ||
| 197 | |||
| 198 | .about-img { | ||
| 199 | max-width: 100%; | ||
| 200 | height: auto; | ||
| 201 | border-radius: 0.5rem; | ||
| 202 | box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | ||
| 203 | } | ||
| 204 | |||
| 164 | .skills { | 205 | .skills { |
| 165 | display: flex; | 206 | display: flex; |
| 166 | flex-wrap: wrap; | 207 | flex-wrap: wrap; |
| @@ -262,6 +303,22 @@ footer { | |||
| 262 | } | 303 | } |
| 263 | 304 | ||
| 264 | /* Responsive */ | 305 | /* Responsive */ |
| 306 | @media (max-width: 1024px) { | ||
| 307 | .hero-content { | ||
| 308 | grid-template-columns: 1fr; | ||
| 309 | gap: 3rem; | ||
| 310 | text-align: center; | ||
| 311 | } | ||
| 312 | |||
| 313 | .hero-text { | ||
| 314 | margin: 0 auto; | ||
| 315 | } | ||
| 316 | |||
| 317 | .cta-buttons { | ||
| 318 | justify-content: center; | ||
| 319 | } | ||
| 320 | } | ||
| 321 | |||
| 265 | @media (max-width: 768px) { | 322 | @media (max-width: 768px) { |
| 266 | .nav-links { | 323 | .nav-links { |
| 267 | display: none; | 324 | display: none; |
| @@ -274,6 +331,16 @@ footer { | |||
| 274 | .about-content { | 331 | .about-content { |
| 275 | grid-template-columns: 1fr; | 332 | grid-template-columns: 1fr; |
| 276 | gap: 2rem; | 333 | gap: 2rem; |
| 334 | text-align: center; | ||
| 335 | } | ||
| 336 | |||
| 337 | .skills { | ||
| 338 | justify-content: center; | ||
| 339 | } | ||
| 340 | |||
| 341 | .about-img { | ||
| 342 | max-width: 80%; | ||
| 343 | margin: 0 auto; | ||
| 277 | } | 344 | } |
| 278 | } | 345 | } |
| 279 | 346 | ||
