Skip to content

Commit

Permalink
Update contents
Browse files Browse the repository at this point in the history
  • Loading branch information
snoidetx committed Oct 14, 2024
1 parent 2474692 commit dac8549
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 15 deletions.
6 changes: 3 additions & 3 deletions docs/_includes/js/home/control_news_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ document.addEventListener('DOMContentLoaded', function() {
// Event listener to toggle hidden items when button is clicked
newsButton.addEventListener("click", function(e) {
var hiddenItems = document.querySelectorAll(".hidden-news"); // Update to use ID
if (this.textContent === "Show more") {
if (this.textContent === "Expand") {
for (var i = 0; i < hiddenItems.length; i++) {
hiddenItems[i].style.display = "block"; // Show hidden items
}
this.textContent = "Show less"; // Change button text to "Show Less"
this.textContent = "Collapse"; // Change button text to "Show Less"
} else {
for (var i = 0; i < hiddenItems.length; i++) {
hiddenItems[i].style.display = "none"; // Hide items again
}
this.textContent = "Show more"; // Change button text back to "Show More"
this.textContent = "Expand"; // Change button text back to "Show More"
}
});
});
2 changes: 1 addition & 1 deletion docs/_includes/nav_footer_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</div>
<div id="site-contact" class="site-contact">
<div style="border-bottom: 3px solid #cc79a7; margin: 0; padding: 0; border-radius: 3px;"></div>
<div style="border-bottom: 3px solid #cc79a7; margin: 0; padding: 0; border-radius: 16px;"></div>
<p style="font-size: 16px; color: black; margin-top: 14px"><strong>Contact</strong></p>
<div class="footer-item">
<img src="https://raw.githubusercontent.com/snoidetx/Snoidepaedia/main/docs/assets/images/icon-email.png" alt="icon-email" style="height: 1.5em; vertical-align: middle;">
Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/custom/iframes/iframe-pdf.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
margin-bottom: $sp-5;
overflow-x: auto;
background-color: $s-pdf-grey;
border-radius: $border-radius;
border-radius: 16px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
}
7 changes: 7 additions & 0 deletions docs/_sass/custom/news_lists.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
@import "buttons";
@import "./snoidepaedia_buttons.scss";

#list-news {
background-color: $s-lightergreen;
padding: $sp-2;
padding-left: $sp-7;
border-radius: 16px;
}

.hidden-news {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/custom/snoidepaedia_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$button-width: 170px;
$button-small-width: 85px;
$btn-secondary-color: $s-lightblue;
$btn-secondary-color: $s-blue;

.btn-secondary {
@include btn-color($s-white, $btn-secondary-color);
Expand Down
4 changes: 2 additions & 2 deletions docs/_sass/custom/tables/table-about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
z-index: 2;

@include mq(lg) {
-ms-transform: translate(-50%, 0px) scaleY(2.5);
transform: translate(-50%, 0px) scaleY(2.5);
-ms-transform: translate(-50%, 0px) scaleY(2.3);
transform: translate(-50%, 0px) scaleY(2.3);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/_sass/custom/tables/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
max-width: 100%;
margin-bottom: $sp-5;
overflow-x: auto;
border-radius: 4px;
border-radius: 16px;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.12), 0 5px 1px rgba(0, 0, 0, 0.08);
}
2 changes: 1 addition & 1 deletion docs/home/volunteering.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Service with honour.

---

This page documents some of my selected major and long-term volunteer experiences. For a full list of my volunteer experiences, see my [LinkedIn page](https://www.linkedin.com/in/snoidetx/details/volunteering-experiences/).
This page documents some of my selected major and long-term volunteer experiences. For a full list of my volunteer experiences, see my [LinkedIn page](https://sg.linkedin.com/in/snoidetx).

| <img src="../img/logos/logo-nus.png" width=75> | NUS Teach Singapore |
| :-: | --- |
Expand Down
8 changes: 3 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ Personal website of Xiao Tian *@snoidetx*.

---

I am Xiao <u>Tian</u> (a.k.a. *@snoidetx*), an honours year undergraduate student at [**National University of Singapore**](https://nus.edu.sg/) (NUS) pursuing a double degree in Applied Mathematics and Computer Science. I will be graduating in Fall 2024. Check out my **résumé** above to know more about me!
I am Xiao <u>Tian</u> (a.k.a. *@snoidetx*), an incoming Ph.D. in Computer Science student at [**National University of Singapore**](https://nus.edu.sg/) (NUS), starting from Spring 2025. I am fortunate to be supervised by [**Prof. Bryan Kian Hsiang Low**](https://www.comp.nus.edu.sg/cs/people/lowkh/). Currently, I am an honours year undergraduate student at NUS pursuing a **double honours degree** in Applied Mathematics and Computer Science. My research interests include **data-centric machine learning**, **multi-agent machine learning** and **privacy-preserving machine learning**. Refer to my [**Research**](./research/) page to find out more about my research and past works. I have also been working as teaching assistant in NUS School of Computing. Refer to my [**Teaching**](./teaching/) page to know about the courses I have taught.

In Spring 2025, I will be joining NUS again as a Ph.D. in Computer Science student, supervised by [**Prof. Bryan Kian Hsiang Low**](https://www.comp.nus.edu.sg/cs/people/lowkh/). My research interests include data-centric machine learning, multi-agent machine learning and privacy-preserving machine learning. Refer to my [**Research**](./research/) page to find out more about my research and past works.

I have also been working as teaching assistant in NUS School of Computing. Refer to my [**Teaching**](./teaching/) page to know about the courses I have taught.
Check out my **résumé** above to know more about me!

## Education 🎓 <span class="see-more">[<a href="./education/">see more</a>]</span>

Expand All @@ -43,7 +41,7 @@ I have also been working as teaching assistant in NUS School of Computing. Refer
{: #list-news }

<div style="display: flex; justify-content: center; align-items: center;">
<button id="list-news-btn" class="list-news-btn">Show more</button>
<button id="list-news-btn" class="list-news-btn">Expand</button>
</div>

<script>{% include js/home/control_news_list.js %}</script>

0 comments on commit dac8549

Please sign in to comment.