Skip to content

Commit

Permalink
add padding to maldevacademy for small devices,
Browse files Browse the repository at this point in the history
  • Loading branch information
Sk3pper committed Aug 19, 2024
1 parent a9e2d0a commit e75a0be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/styles/override.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ html[data-theme='dark'] {
width: 100%; /* Ensure the image fits within the container */
transform: scale(1.9); /* Adjust the scale value to zoom in */
transform-origin: center; /* Set the origin of the zoom to the center of the image */
@include media('<=small') {
padding-top: 80px;
padding-bottom: 90px;
}
}

// trick to disable menu icons
Expand Down
2 changes: 1 addition & 1 deletion data/en/sections/pubblications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ section:
name: Publications
id: publications
enable: true
weight: 4
weight: 5
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
Expand Down
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ enableEmoji: true
params:
# Configure the number of section title visible in the top navbar
topNavbar:
maxVisibleSections: 7
maxVisibleSections: 6

# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
Expand Down

0 comments on commit e75a0be

Please sign in to comment.