3 Commits

Author SHA1 Message Date
sefaria 539b9a36fc Merge branch 'main' into feature/add-menu-bar, adding new footer and section structure 2026-05-08 09:38:45 +02:00
sefaria 43e9fbc5aa add app.js to subpages 2026-05-02 13:13:36 +02:00
sefaria f7e58040fa feat: add menu html code 2026-05-02 13:03:51 +02:00
8 changed files with 79 additions and 28 deletions
-1
View File
@@ -1,5 +1,4 @@
Copyright (c) HTML5 Boilerplate
Copyright (c) 2026 Lars Winter
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
+13 -4
View File
@@ -2,10 +2,19 @@
This is the portfolio website and blog of Lars Winter.
## License
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Structure](#structure)
Code in this repository is licensed under the MIT License. See the `LICENSE` file.
## Installation
```bash
git clone <repo>
cd project
npm install # if applicable
```
## Asset notice
## Usage
Quick start example.
All images, screenshots, logos, trademarks, and project visuals in this repository are excluded from the code license unless explicitly stated otherwise. Such materials are the property of their respective copyright owners and may not be reused, redistributed, or modified without permission.
## Structure
+6 -15
View File
@@ -65,7 +65,7 @@
--color-neutral-600: #5B5B5B;
--color-neutral-700: #3D3D3D;
--color-neutral-800: #292929;
--color-neutral-900: #121212;
--color-neutral-900: #0F0F0F;
--color-orange-red-100: #FFE7CC;
--color-orange-red-200: #FFC999;
@@ -126,8 +126,9 @@
--radius-xl: 2rem;
--radius-xxl: 2.5rem;
--shadow-light: 0px 2px 8px rgba(0, 0, 0, 0.3), 0px 1px 4px rgba(0, 0, 0, 0.2);
--shadow-dark: 0px 2px 8px rgba(0, 0, 0, 0.5), 0px 1px 4px rgba(0, 0, 0, 0.2);
--shadow-box: 0px 2px 8px rgba(0, 0, 0, 0.4), 0px 1px 4px rgba(0, 0, 0, 0.12);
--shadow-button: inset 0px 1px 2px rgba(0, 0, 0, 0.16), inset 0px -1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
--shadow-button-active: inset 0px -1px 2px rgba(0, 0, 0, 0.16), inset 0px 1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
/* Semantic tokens: contextual usage */
--color-background: light-dark(var(--color-neutral-100), var(--color-neutral-900));
@@ -157,11 +158,6 @@
--color-text-button: var(--color-neutral-900);
--color-text-button-active: var(--color-neutral-100);
--shadow-box: var(--shadow-light);
--shadow-button: inset 0px 1px 2px rgba(0, 0, 0, 0.16), inset 0px -1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
--shadow-button-active: inset 0px -1px 2px rgba(0, 0, 0, 0.16), inset 0px 1px 4px rgba(0, 0, 0, 0.28), var(--shadow-box);
--border: #d8d8d8;
--overlay: rgb(12 12 12 / 0.24);
--panel: rgb(255 255 255 / 0.76);
@@ -354,11 +350,12 @@ button, .link-button {
line-height: var(--line-normal);
letter-spacing: 0.025rem;
padding: 0.875rem 1rem;
min-height: 44px;
background: var(--color-primary-button);
font-size: var(--text-button);
color: var(--color-text-button);
border: none;
border-radius: var(--radius-xxl);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-button);
text-decoration: none;
}
@@ -655,12 +652,6 @@ footer a:visited {
Media Queries for Responsive Design.
======================= */
@media (prefers-color-scheme: dark) {
:root {
--shadow-box: var(--shadow-dark);
}
}
@media screen and (max-width:768px) {
main {
padding: var(--spacing-4) var(--spacing-5);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 20 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

+56 -4
View File
@@ -25,7 +25,59 @@
<body>
<main>
<header class="site-header">
<a class="logo" href="/">Logo</a>
<nav class="desktop-nav" aria-label="Primary navigation">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<button
class="menu-toggle"
id="menuToggle"
type="button"
aria-expanded="false"
aria-controls="mobileMenu"
aria-haspopup="true"
aria-label="Open menu"
>
<span></span>
<span></span>
<span></span>
</button>
</header>
<div class="menu-overlay" id="menuOverlay" hidden></div>
<aside
class="mobile-menu"
id="mobileMenu"
aria-label="Mobile navigation"
aria-hidden="true"
>
<div class="mobile-menu__header">
<strong>Menu</strong>
<button class="menu-close" id="menuClose" type="button" aria-label="Close menu">
</button>
</div>
<nav aria-label="Mobile navigation">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</aside>
<main id="siteContent" class="page-content">
<!-- target="_blank" rel="noopener noreferrer" -->
@@ -35,11 +87,11 @@
</h1>
</header>
<section class="content-box content-text">
<div class="content-box content-text">
<p class="text">
As usual, my portfolio is a work in progress and currently only available on request. Please feel free to contact me <a href="mailto:contact@larswinter.me">via email</a> for work collaborations and other requests. You can also find me on one of those fancy social networks, like <a rel="me" href="https://mastodon.social/@larswinter">Mastodon</a>, <a href="https://www.linkedin.com/in/larswinter">LinkedIn</a> (if really necessary), <del>Instagram</del>, and <del>Twitter</del>.
</p>
</section>
</div>
<div class="content-box placeholder">
@@ -71,7 +123,7 @@
<!-- Add your site or application content here -->
<!-- <script src="js/app.js"></script> -->
<script src="js/app.js"></script>
</body>
+1 -1
View File
@@ -110,7 +110,7 @@
</footer>
<!-- Add your site or application content here -->
<!-- <script src="js/app.js"></script> -->
<script src="js/app.js"></script>
</body>
+1 -1
View File
@@ -144,7 +144,7 @@
<!-- Add your site or application content here -->
<!-- <script src="js/app.js"></script> -->
<script src="js/app.js"></script>
</body>