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
Update styles for mobile view and layout
  • Loading branch information
Sarah-okolo committed Sep 12, 2024
commit bdc0d95a9252a287c099fdb590c3e09cd1c61e48
3 changes: 1 addition & 2 deletions content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ function Book(title, author) {
```
:::

More tags can be used to add more information. See the [home page][block-tags] for a complete list
of tags that are recognized by JSDoc 3.
More tags can be used to add more information.

::: example "Adding more information with tags"

Expand Down
2 changes: 1 addition & 1 deletion content/tags-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ synonyms:

## Overview

The @default tag allows you to document the assigned value of a symbol. You can supply this tag with
The `@default` tag allows you to document the assigned value of a symbol. You can supply this tag with
a value yourself or you can allow JSDoc to automatically document the value from the source code --
only possible when the documented symbol is being assigned a single, simple value that is either: a
string, a number, a boolean or null.
Expand Down
2 changes: 1 addition & 1 deletion styles/css3-github-ribbon.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

@media (max-width: 768px) {
.github-ribbon{
font-size: .8em;
font-size: .65em;
}
}
26 changes: 19 additions & 7 deletions styles/usejsdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ th {
/* Responsive design Mobile*/
@media screen and (max-width: 768px) {
body {
--F-size: 12.5px;
--F-size: 13.5px;
font-size: var(--F-size);
}

Expand All @@ -301,14 +301,21 @@ th {
align-items: center;
}

.menu-wrapper{
margin-right: 55px;
position: relative;
top: 4px;
}

#theme-toggle-btn {
font-size: 1.3em;
font-size: 1.1em;
}

#burger-menu{
font-size: 1.5em;
font-size: 1.3em;
position: relative;
bottom: 4px;
margin-left: 5px;
}

#burger-menu, #closeMenuIcon{
Expand Down Expand Up @@ -340,15 +347,15 @@ th {
}

figure pre code {
font-size: .87em;
font-size: .9em;
}

code {
font-size: .9em;
font-size: .95em;
}

pre {
font-size: .85em;
font-size: .9em;
}

.nav-sidebar {
Expand All @@ -370,6 +377,11 @@ th {

.article-content {
width: 100%;
padding-right: 45px;
padding: 15px 25px 40px;
}

footer {
font-size: 0.7em;
line-height: 2;
}
}