Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeChen committed Dec 12, 2024
1 parent 81139a3 commit 121df67
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 30 deletions.
37 changes: 20 additions & 17 deletions CascadingStyleSheets/About/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

@media screen and (max-width: 750px) {
:root {

}
}

Expand Down Expand Up @@ -166,35 +165,39 @@

#about_ExpandContent #content_acknowledgments {

position: relative;

width: 100vw;
height: 100dvh;
min-height: 100dvh;
max-height: 100dvh;

overflow: hidden scroll;

/* filter: invert(1); */
}
#about_ExpandContent #content_acknowledgments::-webkit-scrollbar {
display: none;
}

#about_ExpandContent #content_acknowledgments > img:nth-child(1) {
#about_ExpandContent #content_acknowledgments > div:nth-child(1) {

display: block;

height: 15em;
text-align: center;
position: absolute;

margin: 10dvh auto 5dvh;
top: 0;
left: 0;

border-radius: 10em;
border: 0.15em solid #000000;
width: 100vw;
height: 125dvh;
}

#about_ExpandContent #content_acknowledgments > p:nth-child(2) {
#about_ExpandContent #content_acknowledgments > div:nth-child(1) > img:nth-child(1) {

color: var(--font-color-title);
font-size: var(--font-size-2_5em);
font-family: var(--fontface-title);
position: sticky;

text-align: center;
top: 0;
left: 0;

width: 100vw;
height: 100dvh;

object-fit: cover;
object-position: center;
}
1 change: 1 addition & 0 deletions Data/About/Acknowledgments/AngusTan.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"background-pictures": "https://angustan.com/assets/images/angus.avif",
"profile-pictures": "https://avatars.githubusercontent.com/u/59675739?v=4",
"websites": "https://angustan.com/",
"github": "https://github.com/tanvihang",
Expand Down
18 changes: 18 additions & 0 deletions Data/About/Acknowledgments/EugeneYip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"background-pictures": "https://seechen.github.io/File/Image/Services/materials_9.avif",
"profile-pictures": "https://avatars.githubusercontent.com/u/119862951?v=4",
"websites": "https://spevoljy.site/",
"github": "https://github.com/EugeneSpevoljy",
"gitlab": "none",
"gitee": "none",
"email": "[email protected]",
"help_list": {
"layout-bugs-fix": true,
"responsive-design": true,
"animation-enhancements": true,
"crossBrowser-compatibility": true,
"crossDevice-compatibility": true,
"styling-best-practices": true,
"new-features-of-css":true
}
}
6 changes: 3 additions & 3 deletions JavaScript/About/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ const SeeChen_AboutPage_Acknowledgments = {

window.myData.about.contentExpand = template_Acknowledgments;

window.myData.about.contentExpand.children[0].props["src"] = targetDetails["profile-pictures"];
window.myData.about.contentExpand.children[1].children = [e.target.dataset.originalObj];
// window.myData.about.contentExpand.children[0].props["src"] = targetDetails["profile-pictures"];
// window.myData.about.contentExpand.children[0].children[1] = [e.target.dataset.originalObj];

console.log(window.myData.about.contentExpand);
window.myData.about.contentExpand.children[0].children[0].props["src"] = targetDetails["background-pictures"];

window.vDom.Patch(
document.querySelector("#about_ExpandContent"),
Expand Down
20 changes: 10 additions & 10 deletions Layout/Webpages/About/Session/Acknowledgments.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
},
"lang": "",
"children": [{
"tag": "img",
"props": {
"src": "/favicon.svg"
},
"lang": "",
"children": []
}, {
"tag": "p",
"tag": "div",
"props": {},
"lang": "about",
"children": []
"lang": "",
"children": [{
"tag": "img",
"props": {
"src": "/favicon.svg"
},
"lang": "",
"children": []
}]
}]
}

0 comments on commit 121df67

Please sign in to comment.