Skip to content

Commit

Permalink
i hope this dosen't break everything
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Dec 18, 2023
1 parent 527fc10 commit c7d683e
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 123 deletions.
28 changes: 19 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"lodash.debounce": "4.0.8",
"lodash.omit": "4.5.0",
"lodash.throttle": "4.0.1",
"md": "^0.6.0",
"minilog": "3.1.0",
"omggif": "1.0.9",
"papaparse": "5.3.0",
Expand Down Expand Up @@ -87,6 +86,7 @@
"scratch-storage": "github:PenguinMod/PenguinMod-Storage#develop",
"scratch-svg-renderer": "github:TurboWarp/scratch-svg-renderer#develop",
"scratch-vm": "github:Snail-IDE/Snail-IDE-Vm#develop",
"PenguinMod-MarkDown": "github:PenguinMod/PenguinMod-MarkDown#master",
"startaudiocontext": "1.2.1",
"style-loader": "^0.23.1",
"text-encoding": "0.7.0",
Expand Down
99 changes: 97 additions & 2 deletions src/playground/interface.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ h4 {
font-size: 1rem;
}
a {
color: rgb(153, 34, 221);
color: #25d;
cursor: pointer;
text-decoration: underline;
}
Expand Down Expand Up @@ -107,14 +107,33 @@ a {
color: #4af;
}

.unshared-update {
.unshared-update,
.infobox {
line-height: 1.5em;
padding: 0.5rem;
margin: 5px 0 8px 0;
border: 1px solid #b9d6ff;
background-color: #dbebff;
border-radius: 0.5rem;
border: 1px solid #b9d6ff;
background-color: #dbebff;
}
[theme="dark"] .infobox {
border-color: #203652;
background-color: #16202c;
}
.infobox p {
margin: 4px 0;
}
.infobox a {
font-weight: bold;
text-decoration: none;
}

/* .unshared-update {
border-color: #ffb9b9;
background-color: #ffdbdb;
} */
[theme="dark"] .unshared-update {
border-color: #203652;
background-color: #16202c;
Expand Down Expand Up @@ -147,6 +166,82 @@ a {
text-decoration: none;
}

.remix-author-image {
width: 32px;
height: 32px;
margin-right: 4px;
border-radius: 4px;
}

.project-details {
display: flex;
flex-direction: row;
align-items: center;
margin: 8px 0;
}
.project-metadata {
display: flex;
flex-direction: column;
}
.project-author-image {
width: 50px;
height: 50px;
border-radius: 4px;
margin-right: 8px;
}
.project-metadata h2 {
line-height: 1.4em;
}
.project-metadata p {
font-size: 0.85rem;
}
.project-metadata p a,
.project-metadata a {
text-decoration: none;
font-weight: bold;
}

.center-sector {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.report-link,
.share-link {
display: flex;
flex-direction: row;
align-items: center;
}
.share-link > img,
.report-link > img {
height: 16px;
margin-right: 4px;
}
.report-link {
color: red !important;
}
.share-link {
background: transparent;
padding: 0;
margin: 0;
border: 0;
color: rgb(90, 90, 90) !important;
text-decoration: underline;
cursor: pointer;
}
.share-link:active {
filter: brightness(0.8);
}
.share-link > img {
filter: brightness(0.3529411765);
}
[theme="dark"] .share-link {
color: rgb(202, 202, 202) !important;
}
[theme="dark"] .share-link > img {
filter: brightness(0.7921568627);
}

.remixList {
overflow-x: auto;
display: flex;
Expand Down
Loading

0 comments on commit c7d683e

Please sign in to comment.