Skip to content

Improves the user interface for resource cards and makes them responsive #298

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

Merged
merged 35 commits into from
Jul 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e393351
implemented image-title-blurb structure in thumbnailbox
Murdock9803 Jun 28, 2024
9967b50
enhanced style of thumbnaillist for grid structure
Murdock9803 Jun 28, 2024
2c2a395
enhanced style of thumbnailbox for grid structure and temporary border
Murdock9803 Jun 28, 2024
3017f9b
shifted .thumbnail selector in style.css and enhanced aspect ratio of…
Murdock9803 Jun 28, 2024
18f2908
corrected the font family and color for .thumbnailtitle in style.css
Murdock9803 Jun 28, 2024
4602033
formatted the file with prettier
Murdock9803 Jun 28, 2024
f17d737
changed the .main-content div to <main> to accompany vocabulary and b…
Murdock9803 Jun 29, 2024
68cb707
In .thumbnailbox, converted divs to appropriate elements and removed …
Murdock9803 Jun 29, 2024
65ed9da
structured the .thumbnailbox div in listing.html
Murdock9803 Jun 29, 2024
edacec3
removed the display-flex property from body in style.css
Murdock9803 Jun 29, 2024
8233b2d
added styles for <main> in style.css
Murdock9803 Jun 29, 2024
df0cb91
removed the extra border from thumbnailbox in style.css
Murdock9803 Jun 29, 2024
55cdfc5
refactored style for thumbnailblurb and thumbnailtitle to align with …
Murdock9803 Jun 29, 2024
d24c3d0
formatted the style.css file with prettier
Murdock9803 Jun 29, 2024
fb6bbc7
some more structuring and documentation of style.css
Murdock9803 Jun 29, 2024
6d67e8b
added 100% width to header and box-sizing:borderbox to every element
Murdock9803 Jun 29, 2024
76a6385
enhanced padding and margin properties for thumbnaillist and main in …
Murdock9803 Jun 29, 2024
f3c4af0
Added grid-auto-rows property to thumbnaillist grid in style.css
Murdock9803 Jun 29, 2024
e189458
Added width:100% to footer in style.css
Murdock9803 Jun 29, 2024
0073a3b
formatted the style.css with prettier
Murdock9803 Jun 29, 2024
c8de9fe
added vertical gap to the thumbnaillist grid in style.css
Murdock9803 Jun 29, 2024
d41da54
improved the font size in thmbnailbox title and blurb
Murdock9803 Jun 29, 2024
e010ad6
added responsive for max-width 1024px in thumbnaillist
Murdock9803 Jun 29, 2024
7a74218
added responsive for max-width 600px and 480px in thumbnaillist
Murdock9803 Jun 29, 2024
dba772e
formatted the style.css file with prettier
Murdock9803 Jun 29, 2024
aedf112
improved the bottom padding in thumbnaillist and height in thumbnailbox
Murdock9803 Jun 29, 2024
956802e
Merge branch 'main' into listing-card
Murdock9803 Jul 1, 2024
1e8c7d5
removed the * selector from style.css
Murdock9803 Jul 2, 2024
ae1778d
added listing-page class to body in listing.html
Murdock9803 Jul 2, 2024
6b51a58
Added box-sizing:border-box to appropriate locations in style.css
Murdock9803 Jul 2, 2024
4acbeb7
improved the edges for the thumbnaillist according to site's page-fit…
Murdock9803 Jul 2, 2024
41644e3
replaced the <div> with <article> tags in listing.html for semantic code
Murdock9803 Jul 2, 2024
3ac8343
restructured the article>article as ul>li>article for thumbnaillist i…
Murdock9803 Jul 2, 2024
a24e654
formatted the code with prettier and left spaces wherever appropriate
Murdock9803 Jul 2, 2024
c7f1011
removed the listing-page class from listing.html and style.css
Murdock9803 Jul 2, 2024
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
formatted the style.css file with prettier
  • Loading branch information
Murdock9803 committed Jun 29, 2024
commit dba772ea82c2e2077949fc1ac843d43f76ecbf22
38 changes: 19 additions & 19 deletions docs/_assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,61 +163,61 @@ footer .donate a {
/* Media Queries for responsiveness */
@media screen and (max-width: 1024px) {
#thumbnaillist {
gap: 6vw 5%;
padding: 4em 7vw 8em;
gap: 6vw 5%;
padding: 4em 7vw 8em;
}

.thumbnailbox {
grid-column: span 4;
grid-column: span 4;
}

.thumbnailtitle {
font-size: 2.4vw;
font-size: 2.4vw;
}

.thumbnailblurb {
font-size: 1.7vw;
font-size: 1.7vw;
}
}

@media screen and (max-width: 600px) {
#thumbnaillist {
gap: 12vw 7%;
padding: 4em 6vw 8em;
gap: 12vw 7%;
padding: 4em 6vw 8em;
}

.thumbnailbox {
grid-column: span 6;
grid-column: span 6;
}

.thumbnailtitle {
font-size: 3.5vw;
font-size: 3.5vw;
}

.thumbnailblurb {
font-size: 2.5vw;
font-size: 2.5vw;
}
}

@media screen and (max-width: 480px) {
#thumbnaillist {
gap: 35vw 5%;
padding: 4em 6vw 8em;
gap: 35vw 5%;
padding: 4em 6vw 8em;
}

.thumbnailbox {
grid-column: span 12;
grid-column: span 12;
}

.thumbnailtitle {
font-size: 6.5vw;
font-size: 6.5vw;
}

.thumbnailblurb {
font-size: 5vw;
font-size: 5vw;
}

#resourcenavbar {
flex-direction: column;
flex-direction: column;
}
}