Skip to content

Commit

Permalink
correct menu
Browse files Browse the repository at this point in the history
  • Loading branch information
julsraemy committed Feb 9, 2024
1 parent 32e5e7f commit 8594cfe
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 24 deletions.
3 changes: 2 additions & 1 deletion _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ <h2>404 - Page Not Found</h2>
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down
27 changes: 18 additions & 9 deletions _site/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ nav {
text-align: left;
cursor: pointer;
font-family: 'CMU Sans Serif', 'Segoe UI', Tahoma, Verdana, sans-serif; /* Match the font family */
font-size: 1.3em; /* Match the font size, adjust as necessary */
font-size: 1.35em; /* Match the font size, adjust as necessary */
}


Expand All @@ -92,8 +92,12 @@ nav ul {

nav ul li {
display: inline-block;
margin-left: 25px;
font-size: 1.3em; /* Adjust font size as needed */
font-size: 1.35em;
}

/* Navigation Bar Item Spacing for Larger Screens */
nav ul li:not(:first-child) {
margin-left: 60px;
}

nav ul li a {
Expand All @@ -119,10 +123,13 @@ nav ul li a:hover {
display: block; /* Default state, shown */
}

nav ul li {
nav ul li,
nav ul li:not(:first-child) { /* This targets all li elements, including the first child */
display: block;
margin: 0;
padding: 10px 0; /* Add padding for touch targets */
margin-left: 0; /* Ensure no left margin is applied */
padding: 10px 0; /* Consistent padding for all items */
text-align: left; /* Align text for all items uniformly */
width: 100%; /* Ensure full width for easier tapping on mobile */
}

nav ul li a {
Expand All @@ -146,7 +153,7 @@ a:hover {
header {
background: transparent; /* No background color for the header */
color: #ffffff;
padding: 20px;
padding: 10px;
text-align: center;
}

Expand All @@ -166,7 +173,9 @@ p {
}

footer {
margin-top: 30px;
margin-top: 40px;
margin-bottom: 10px;
line-height: 1.3;
text-align: center;
font-size: 0.85em;
font-size: 0.86em;
}
3 changes: 2 additions & 1 deletion _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ <h3>From Working Titles to Final Title</h3>
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down
3 changes: 2 additions & 1 deletion _site/pia.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ <h1>Participatory Knowledge Practices in Analogue and Digital Image Archives (PI
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down
3 changes: 2 additions & 1 deletion _site/research.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ <h2>Software</h2>
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down
3 changes: 2 additions & 1 deletion _site/thesis.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ <h2>Bibliography</h2>
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down
27 changes: 18 additions & 9 deletions assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ nav {
text-align: left;
cursor: pointer;
font-family: 'CMU Sans Serif', 'Segoe UI', Tahoma, Verdana, sans-serif; /* Match the font family */
font-size: 1.3em; /* Match the font size, adjust as necessary */
font-size: 1.35em; /* Match the font size, adjust as necessary */
}


Expand All @@ -92,8 +92,12 @@ nav ul {

nav ul li {
display: inline-block;
margin-left: 25px;
font-size: 1.3em; /* Adjust font size as needed */
font-size: 1.35em;
}

/* Navigation Bar Item Spacing for Larger Screens */
nav ul li:not(:first-child) {
margin-left: 60px;
}

nav ul li a {
Expand All @@ -119,10 +123,13 @@ nav ul li a:hover {
display: block; /* Default state, shown */
}

nav ul li {
nav ul li,
nav ul li:not(:first-child) { /* This targets all li elements, including the first child */
display: block;
margin: 0;
padding: 10px 0; /* Add padding for touch targets */
margin-left: 0; /* Ensure no left margin is applied */
padding: 10px 0; /* Consistent padding for all items */
text-align: left; /* Align text for all items uniformly */
width: 100%; /* Ensure full width for easier tapping on mobile */
}

nav ul li a {
Expand All @@ -146,7 +153,7 @@ a:hover {
header {
background: transparent; /* No background color for the header */
color: #ffffff;
padding: 20px;
padding: 10px;
text-align: center;
}

Expand All @@ -166,7 +173,9 @@ p {
}

footer {
margin-top: 30px;
margin-top: 40px;
margin-bottom: 10px;
line-height: 1.3;
text-align: center;
font-size: 0.85em;
font-size: 0.86em;
}
3 changes: 2 additions & 1 deletion src/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
</main>

<footer>
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using 11ty. All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>.
Site created by <a href="https://julsraemy.ch" target="_blank">Julien Antoine Raemy</a> using <a href="https://www.11ty.dev/" target="_blank">11ty</a>, a static site generator.<br/>
All content is released and distributed under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank"> CC BY 4.0 licence. <img alt="CC BY 4.0" src="https://julsraemy.ch/prezi/assets/cc-by.svg" width="50" /></a>
</footer>
<script src="/js/accordion.js"></script>
</body>
Expand Down

0 comments on commit 8594cfe

Please sign in to comment.