Skip to content

Commit

Permalink
Update index.css
Browse files Browse the repository at this point in the history
  • Loading branch information
SondosBsharat authored Jun 11, 2024
1 parent fee65a8 commit 8715fe6
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion index.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,4 +403,31 @@ code{
color: #666;
}


/* Responsive styles */
@media (max-width: 480px) {
header h1 {
font-size: 20px; /* Further reduce font size for smaller screens */
}

header .h1-2 {
font-size: 16px; /* Further reduce font size for smaller screens */
}

header .authors, header .contribution, header .affiliations {
font-size: 12px; /* Further reduce font size for smaller screens */
margin: 2px; /* Further reduce margin for tighter spacing */
}

a.nav-link {
font-size: 12px; /* Further reduce font size for smaller screens */
padding: 6px 12px; /* Further adjust padding for better touch area */
}
}

/* Responsive styles */
@media (max-width: 768px) {
/* Decrease the font size of navigation links */
.main-nav ul.second li a {
font-size: 11px;
}
}

0 comments on commit 8715fe6

Please sign in to comment.