Skip to content

Commit 621b789

Browse files
committed
add link for github repo
1 parent 9c06e98 commit 621b789

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
<header>
1515
<h1><i class="fa fa-code"></i> Code Browser</h1>
16-
<p><a href="https://lzx0626.me" class="blog-link">Visit My Blog</a></p>
16+
<a href="https://lzx0626.me" class="header-link">Visit My Blog</a>
17+
<a href="https://github.com/DavidingPlus/code-browser" class="header-link">GitHub Repo</a>
1718
</header>
1819

1920
<main id="link-container">

source/css/styles.css

+11-4
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,27 @@ header h1 {
2828
font-size: 2em;
2929
}
3030

31-
header .blog-link {
31+
header .header-link {
3232
display: inline-block;
3333
margin-top: 1em;
34-
padding: 0.5em 1em;
34+
padding: 0.6em 1.2em;
3535
text-decoration: none;
3636
color: #007acc;
37-
font-size: 1em;
37+
font-size: 1.1em;
38+
/* Slightly increased font size */
39+
font-weight: bold;
40+
/* Bold text */
41+
line-height: 1.4;
42+
/* Adjusted line height for better readability */
43+
letter-spacing: 0.05em;
44+
/* Added letter spacing */
3845
border: 2px solid white;
3946
border-radius: 5px;
4047
background-color: white;
4148
transition: background-color 0.2s, color 0.2s, border-color 0.2s;
4249
}
4350

44-
header .blog-link:hover {
51+
header .header-link:hover {
4552
background-color: #4da6ff;
4653
/* Lighter blue for hover */
4754
color: white;

0 commit comments

Comments
 (0)