Skip to content

Commit c5010fb

Browse files
committed
Customize theme and remove GitHub Pages footer
1 parent 6b38763 commit c5010fb

File tree

2 files changed

+73
-2
lines changed

2 files changed

+73
-2
lines changed

docs/_config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ google_analytics:
99
markdown: kramdown
1010
highlighter: rouge
1111

12-
# GitHub Pages settings
12+
# Custom settings
1313
github:
1414
is_project_page: true
15-
repository_url: https://github.com/HackStyx/portfolio-tracker
15+
repository_url: https://github.com/HackStyx/portfolio-tracker
16+
17+
# Footer customization
18+
footer:
19+
show_edit_on_github: false
20+
show_github_pages_notice: false
21+
custom_text: "Copyright © 2024 Stock Portfolio Tracker. All rights reserved."

docs/assets/css/style.scss

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
@import "{{ site.theme }}";
2+
3+
// Custom styles
4+
.site-footer {
5+
text-align: center;
6+
padding: 2rem;
7+
border-top: solid 1px #eff0f1;
8+
}
9+
10+
.site-footer-owner {
11+
display: none;
12+
}
13+
14+
.site-footer-credits {
15+
display: none;
16+
}
17+
18+
// Additional customizations
19+
.main-content {
20+
h1, h2, h3, h4, h5, h6 {
21+
color: #2c3e50;
22+
}
23+
}
24+
25+
.btn {
26+
color: rgba(255, 255, 255, 0.9);
27+
background-color: rgba(255, 255, 255, 0.08);
28+
border-color: rgba(255, 255, 255, 0.2);
29+
30+
&:hover {
31+
color: rgba(255, 255, 255, 0.8);
32+
background-color: rgba(255, 255, 255, 0.2);
33+
border-color: rgba(255, 255, 255, 0.3);
34+
}
35+
}
36+
37+
// Table styles
38+
table {
39+
display: table;
40+
width: 100%;
41+
margin-bottom: 1rem;
42+
43+
th {
44+
background-color: #f8f9fa;
45+
font-weight: 600;
46+
}
47+
48+
tr:nth-child(even) {
49+
background-color: #f8f9fa;
50+
}
51+
}
52+
53+
// Code block styles
54+
.highlight {
55+
background-color: #f8f9fa;
56+
border-radius: 4px;
57+
58+
pre {
59+
padding: 1rem;
60+
margin-bottom: 1rem;
61+
font-size: 0.9rem;
62+
line-height: 1.4;
63+
overflow-x: auto;
64+
}
65+
}

0 commit comments

Comments
 (0)