-
Notifications
You must be signed in to change notification settings - Fork 1
Resources #304
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
Resources #304
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
67686e8
first commit: color of img needs to change
d17fde4
prettier and changed color of icon and added stars
32dff84
alignment fixes
bd6516a
prettier
3e27958
fixed sizing of boxes
d09a71b
prettier
9361094
fixed alignment
43cfb69
extra padding at bottom
d0caef3
Ordered alphabetically
IanWearsHat b9beb45
Used motion.img instead of img
IanWearsHat 2a7e72d
Prettier
IanWearsHat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
IanWearsHat marked this conversation as resolved.
Show resolved
Hide resolved
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 45 additions & 70 deletions
115
apps/site/src/views/Resources/components/ResourceCard/ResourceCard.module.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,94 +1,69 @@ | ||
| @use "zothacks-theme" as theme; | ||
| @use "bootstrap-utils" as utils; | ||
|
|
||
| .group { | ||
| position: relative; | ||
| padding: 1rem 0; | ||
| width: 200px; | ||
| } | ||
|
|
||
| .container { | ||
| position: relative; | ||
| .frame { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 10px; | ||
| justify-content: center; | ||
| width: 423px; | ||
| min-height: 260px; | ||
| padding: 3vh 0 0; | ||
| border-radius: 20px; | ||
| border: 5px solid rgba(42, 80, 75, 1); | ||
| background-color: rgba(42, 80, 75, 0.69); | ||
| box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .buttonImage { | ||
| width: 50px; | ||
| .logo { | ||
| width: 80px; | ||
| height: auto; | ||
| fill: #ffffff; | ||
| } | ||
|
|
||
| .titleLink { | ||
| font-family: inherit; | ||
| .cardLinkWrapper { | ||
| display: flex; | ||
| flex: 1 1 auto; | ||
| text-decoration: none; | ||
| color: inherit; | ||
| font-weight: 600; | ||
| color: theme.$lighter-black; | ||
| :link { | ||
| text-decoration: none; | ||
| } | ||
| } | ||
| cursor: pointer; | ||
| transition: | ||
| transform 0.2s ease, | ||
| box-shadow 0.2s ease; | ||
|
|
||
| .titleLinkIcon { | ||
| margin-bottom: 0.2rem; | ||
| } | ||
|
|
||
| .islandBackground { | ||
| position: absolute; | ||
| width: 350px; | ||
| } | ||
|
|
||
| .CardContainer { | ||
| position: relative; | ||
| height: auto; | ||
| aspect-ratio: 1 / 1.3; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| font-family: utils.$font-family-base; | ||
| width: 350px; | ||
| min-width: 350px; | ||
| &:hover { | ||
| transform: translateY(-4px); | ||
| box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); | ||
| } | ||
| } | ||
|
|
||
| .description > * { | ||
| margin: 0; | ||
| font-size: 1.05rem; | ||
| color: theme.$lighter-black; | ||
| .text { | ||
| font-family: "Reddit Mono", monospace; | ||
| font-weight: 400; | ||
| font-size: 16px; | ||
| line-height: 180%; | ||
| letter-spacing: 0.02em; | ||
| text-align: center; | ||
| color: rgba(153, 177, 203, 1); | ||
| max-width: 90%; | ||
| } | ||
|
|
||
| @include utils.media-breakpoint-up(md) { | ||
| .container { | ||
| position: relative; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 10px; | ||
| height: 450px; | ||
| } | ||
|
|
||
| .buttonImage { | ||
| width: 100px; | ||
| } | ||
| .bold { | ||
| font-weight: 800; | ||
| color: rgba(202, 202, 202, 1); | ||
| } | ||
|
|
||
| @include utils.media-breakpoint-up(sm) { | ||
| .CardContainer { | ||
| width: 500px; | ||
| min-width: 500px; | ||
| } | ||
|
|
||
| .islandBackground { | ||
| width: 500px; | ||
| @media (max-width: 480px) { | ||
| .frame { | ||
| width: 90%; | ||
| padding: 20px; | ||
| } | ||
|
|
||
| .group { | ||
| width: 300px; | ||
| .logo { | ||
| width: 60px; | ||
| } | ||
|
|
||
| .description > * { | ||
| font-size: 24px; | ||
| .text { | ||
| font-size: 15px; | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.