Skip to content

Commit c5f3307

Browse files
committed
Update copyright
1 parent 6a02c28 commit c5f3307

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

assets/css/main.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2847,29 +2847,29 @@ input, select, textarea {
28472847
color: rgba(255, 255, 255, 0.4);
28482848
}
28492849

2850-
#footer .copyright {
2850+
#footer #copyright {
28512851
color: rgba(255, 255, 255, 0.4);
28522852
font-size: 0.8em;
28532853
list-style: none;
28542854
margin: 1em 0 0 0;
28552855
padding: 0;
28562856
}
28572857

2858-
#footer .copyright li {
2858+
#footer #copyright li {
28592859
border-left: solid 1px rgba(255, 255, 255, 0.25);
28602860
display: inline-block;
28612861
line-height: 1em;
28622862
margin-left: 0.75em;
28632863
padding-left: 0.75em;
28642864
}
28652865

2866-
#footer .copyright li:first-child {
2866+
#footer #copyright li:first-child {
28672867
border-left: 0;
28682868
margin-left: 0;
28692869
padding-left: 0;
28702870
}
28712871

2872-
#footer .copyright li a {
2872+
#footer #copyright li a {
28732873
color: inherit;
28742874
}
28752875

@@ -3210,7 +3210,7 @@ input, select, textarea {
32103210

32113211
/* Footer */
32123212

3213-
#footer .copyright li {
3213+
#footer #copyright li {
32143214
border-left-width: 0;
32153215
display: block;
32163216
line-height: 2.25em;
@@ -3289,11 +3289,11 @@ input, select, textarea {
32893289
margin: 0 0 1em 0;
32903290
}
32913291

3292-
#footer .copyright {
3292+
#footer #copyright {
32933293
margin: 0 0 1em 0;
32943294
}
32953295

3296-
#footer .copyright li {
3296+
#footer #copyright li {
32973297
border-left-width: 1px;
32983298
display: inline-block;
32993299
line-height: 1em;
@@ -3405,7 +3405,7 @@ input, select, textarea {
34053405

34063406
/* Footer */
34073407

3408-
#footer .copyright li {
3408+
#footer #copyright li {
34093409
border-left-width: 0;
34103410
display: block;
34113411
line-height: 2.25em;

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ <h3 class="icon solid fa-envelope"><span class="label">Email</span></h3>
247247
<li><a href="mailto:andrewmacpherson01@gmail.com" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
248248
<li><a href="https://github.com/admacpherson/" class="icon brands fa-github" target="_blank"><span class="label">Github</span></a></li>
249249
</ul>
250-
<ul class="copyright">
250+
<ul id="copyright">
251251
<li>&copy; Andrew Macpherson 2025</li>
252252
</ul>
253253
</div>
@@ -276,6 +276,8 @@ <h3 class="icon solid fa-envelope"><span class="label">Email</span></h3>
276276
});
277277
});
278278
});
279+
280+
document.getElementById("copyright").innerHTML = ("&copy; Andrew Macpherson " + new Date().getFullYear());
279281
</script>
280282

281283
</body>

0 commit comments

Comments
 (0)