Skip to content

Commit

Permalink
Change theme template, update icon
Browse files Browse the repository at this point in the history
Signed-off-by: Haolong Wang <109599952+gsmark36@users.noreply.github.com>
  • Loading branch information
gsmark36 committed Oct 30, 2024
1 parent 06edca7 commit 3fe2525
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 29 deletions.
4 changes: 2 additions & 2 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ permalink: /404.html
# 404 | Page not found
Something went wrong bro... Please turn back

<hr style="height:50px; border:none;">
<img src="{{ site.url }}/assets/cactus.png" style="width: 300px; height: 300px; opacity: 0.80; margin-left: -20px">
<hr style="height:40px; border:none;">
<img src="{{ site.url }}/assets/cactus.png" style="width: 240px; height: 240px; opacity: 0.80; margin-left: -10px">
10 changes: 5 additions & 5 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<div class="wrapper">
<!-- 导航栏 -->
<div class="navbar container">
<div id="icon" class="alignable pull-left" style="margin-left: -15px;">
<img src="{{ site.url }}/assets/plant.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
<div id="icon" class="alignable pull-left" style="margin-left: -10px;">
<img src="{{ site.url }}/assets/3d.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
</div>
<a id="author-name" class="alignable pull-left" href="{{ site.url }}">
{{ site.title }}
Expand All @@ -32,14 +32,14 @@
<li class="alignable pull-left nav-list"><a href="{{ x.link }}">{{ x.name }}</a>
{% endif %}
{% if forloop.last == false %}
<span style="color: #272727e7;">/</span> <!-- 分隔符 -->
<span style="color: #272727e7;">|</span> <!-- 分隔符 -->
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<div style="clear:both"></div>
<hr style="height:60px; border:none;"> <!-- 分隔线 -->
<hr style="height:40px; border:none;"> <!-- 分隔线 -->

<!-- 页面内容 -->
<div class="container content">
Expand All @@ -64,7 +64,7 @@ <h2 style="font-weight: bold; font-size: 23px; margin-left: -18px; margin-bottom
{% endfor %}
</ul>
</div>
<hr style="height:60px; border:none;">
<hr style="height:50px; border:none;">

<!-- 页脚 -->
{% if site.footer == true %}
Expand Down
10 changes: 5 additions & 5 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<div class="wrapper">
<!-- 导航栏 -->
<div class="navbar container">
<div id="icon" class="alignable pull-left" style="margin-left: -15px;">
<img src="{{ site.url }}/assets/plant.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
<div id="icon" class="alignable pull-left" style="margin-left: -10px;">
<img src="{{ site.url }}/assets/3d.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
</div>
<a id="author-name" class="alignable pull-left" href="{{ site.url }}">
{{ site.title }}
Expand All @@ -32,20 +32,20 @@
<li class="alignable pull-left nav-list"><a href="{{ x.link }}">{{ x.name }}</a>
{% endif %}
{% if forloop.last == false %}
<span style="color: #272727e7;">/</span> <!-- 分隔符 -->
<span style="color: #272727e7;">|</span> <!-- 分隔符 -->
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<div style="clear:both"></div>
<hr style="height:60px; border:none;"> <!-- 分隔线 -->
<hr style="height:40px; border:none;"> <!-- 分隔线 -->

<!-- 页面内容 -->
<div class="container content">
{{ content }}
</div>
<hr style="height:60px; border:none;">
<hr style="height:50px; border:none;">

<!-- 页脚 -->
{% if site.footer == true %}
Expand Down
10 changes: 5 additions & 5 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<div class="wrapper">
<!-- 导航栏 -->
<div class="navbar container">
<div id="icon" class="alignable pull-left" style="margin-left: -15px;">
<img src="{{ site.url }}/assets/plant.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
<div id="icon" class="alignable pull-left" style="margin-left: -10px;">
<img src="{{ site.url }}/assets/3d.png" alt="icon" style="width: 90px; height: 90px; margin-right: 10px; margin-top: -15px; opacity: 0.80;">
</div>
<a id="author-name" class="alignable pull-left" href="{{ site.url }}">
{{ site.title }}
Expand All @@ -32,14 +32,14 @@
<li class="alignable pull-left nav-list"><a href="{{ x.link }}">{{ x.name }}</a>
{% endif %}
{% if forloop.last == false %}
<span style="color: #272727e7;">/</span> <!-- 分隔符 -->
<span style="color: #272727e7;">|</span> <!-- 分隔符 -->
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<div style="clear:both"></div>
<hr style="height:60px; border:none;"> <!-- 分隔线 -->
<hr style="height:40px; border:none;"> <!-- 分隔线 -->

<!-- 页面内容 -->
<div class="container content">
Expand All @@ -51,7 +51,7 @@
{% include toc.html %}
</aside>

<hr style="height:60px; border:none;">
<hr style="height:50px; border:none;">

<!-- 页脚 -->
{% if site.footer == true %}
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions _sass/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ hr {
.toc {
display: block;
position: fixed;
top: 220px;
top: 200px;
right: 130px;
width: 300px;
padding: 10px;
Expand Down Expand Up @@ -152,7 +152,7 @@ hr {
}
#icon {
text-align: center;
margin-right: -25px; // offset = -(-10-15) = 25
margin-right: -20px; // offset = -(-10-10) = 20
margin-bottom: 10px;
float: none;
}
Expand Down
2 changes: 1 addition & 1 deletion _sass/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ table {
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
width: 85%;
width: 90%;
padding: 0;
}
table tr {
Expand Down
8 changes: 4 additions & 4 deletions _sass/vars.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Custom Variables

// Selected colors #108fff #2bbc8a #02ac2c #00a64e
// Selected colors #108fff #2bbc8a #02ac2c #00a64e #b7f116

$text-color: #272727e7;
$accent: #009e4a;
$accent-light: #b7f116;
$background: rgb(252, 252, 252);
$background: rgb(255, 255, 255);
$background-dark: #f5f5f5;
$border-color: #acacac;
$icon-color: #101010;

// Build Variables, don't touch

$max-width: 750px;
$max-width: 770px;
$med-width: 600px;
$small-width: 480px;
Binary file added assets/3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/chip-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/chip-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/chip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/code-file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/disk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/terminal-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ title: "Home | Haolong Wang"

# About Me

<a href="https://github.com/gsmark36"><img class="profile-picture" src="{{ site.url }}/assets/juice.png" style="opacity: 0.80; width: 130px; height: 200px;"></a>
<a href="https://github.com/gsmark36"><img class="profile-picture" src="{{ site.url }}/assets/chip.png" style="opacity: 0.80; width: 150px; height: 150px;"></a>

Hi! I am a graduate student at Computer Lab, University of Cambridge.

## Contact

[Email](mailto:hw611@cantab.ac.uk) / [LinkedIn](https://www.linkedin.com/in/haolong-wang-cam) / [GitHub](https://github.com/gsmark36)
[Email](mailto:hw611@cantab.ac.uk) \| [LinkedIn](https://www.linkedin.com/in/haolong-wang-cam) \| [GitHub](https://github.com/gsmark36)
7 changes: 4 additions & 3 deletions research.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Some of my research projects are shown here. Please contact me if you have any q
---

## Title 1
<img class="profile-picture" src="{{ site.url }}/assets/cactus.png" style="opacity: 0.80; width: 170px; height: 170px;">
<img class="profile-picture" src="{{ site.url }}/assets/cactus.png" style="opacity: 0.80; width: 160px; height: 160px;">

**Full name of project 1**

Expand All @@ -22,9 +22,10 @@ Description of project to be added here.
---

## Title 2
<img class="profile-picture" src="{{ site.url }}/assets/plant.png" style="opacity: 0.80; width: 150px; height: 150px;">
<img class="profile-picture" src="{{ site.url }}/assets/plant.png" style="opacity: 0.80; width: 170px; height: 170px;">

### Full name of project 2
**Full name of project 2**

Description of project to be added here.

**Institute**
Expand Down

0 comments on commit 3fe2525

Please sign in to comment.