Skip to content

Redesigned site with modern UI #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed media query styles visibility
  • Loading branch information
Sarah-okolo committed Sep 11, 2024
commit 3a181e9e7a78bc421321b8e124e08ad94898b85f
1 change: 1 addition & 0 deletions content/includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{% block meta -%}
<meta charset="utf-8">
<meta name="generator" content="{{ eleventy.generator }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if keywords -%}
<meta name="keywords" content="{{ keywords }}">
{%- endif %}
Expand Down
7 changes: 4 additions & 3 deletions styles/usejsdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,13 @@ th {
flex-wrap: nowrap;
width: 100vw;
max-width: 1500px;
margin: 0 auto;
}

/* Sidebar styling */
.nav-sidebar {
min-width: 280px;
max-width: 280px;
min-width: 300px;
max-width: 300px;
background-color: var(--bg-color);
padding: 25px 20px;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
Expand Down Expand Up @@ -288,7 +289,7 @@ th {


/* Responsive design Mobile*/
@media (max-width: 768px) {
@media screen and (max-width: 768px) {
body {
--F-size: 12.5px;
font-size: var(--F-size);
Expand Down