https://github.com/lzhzlw/lzhzlw.github.io
Zhenhai's Homepage
https://github.com/lzhzlw/lzhzlw.github.io
giscus homepage
Last synced: 4 months ago
JSON representation
Zhenhai's Homepage
- Host: GitHub
- URL: https://github.com/lzhzlw/lzhzlw.github.io
- Owner: lzhzlw
- License: mit
- Created: 2024-04-29T00:59:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-07T08:21:19.000Z (5 months ago)
- Last Synced: 2025-06-08T02:08:01.898Z (5 months ago)
- Topics: giscus, homepage
- Language: SCSS
- Homepage: http://lzhzlw.github.io
- Size: 90.4 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zhenhai Liu - AcadHomepage
forked from [RayeRen/acad-homepage.github.io](https://github.com/RayeRen/acad-homepage.github.io) and [Xiaoyang0118/xiaoyang0118.github.io](https://github.com/Xiaoyang0118/xiaoyang0118.github.io)
## Change your avatar from round to square
**_sass/_sidebar.scss**
```
.author__avatar {
display: table-cell;
vertical-align: top;
width: 75px;
// set width only, for non-square avatars
height: 75px;
@include breakpoint($large) {
display: block;
width: auto;
height: auto;
}
img {
max-width: 175px;
min-width: 75px;
border-radius: 0%;//50%;
@include breakpoint($large) {
padding: 0px;
border: 1px solid $border-color;
}
}
}
```
Change border-radius from 50% to 0%
## Change the font color of navigation
**_sass/_navigation.scss**
```
.greedy-nav{
color:#fff
}
```
**_sass/_variables.scss**
Change primary-color from #7a8288 to #fff
**_sass/_forms.scss**
line 89
Change border-color: mix(#fff, $primary-color, 50%) to border-color: mix(#7a8288, $primary-color, 50%)
## Change the background color of navigation
**_sass/_navigation.scss**
line 178
```
.greedy-nav{
background: #0D4994;//$background-color;
}
```
**_sass/_masthead.scss**
line 8
```
.masthead {
background-color: #0D4994;//white;
}
```
## Change the body font color
**_sass/_variables.scss**
Change $text-color from $dark-gray to #000
## To make the link open in a new tab
**_includes/masthead.html**
```
{{ link.title }}
```
Adding target="_blank" ensures that the link will open in a new tab or window.