updated readme

This commit is contained in:
legitnull 2023-04-15 17:16:27 -06:00
parent 9d9c4fa7ff
commit 62f1a366c5
Signed by: sad
GPG Key ID: 5CBB787AA7E5B8A6
3 changed files with 20 additions and 15 deletions

View File

@ -4,6 +4,9 @@ feel free to commit, leave suggestions/ideas, issues, or really anything <3
# What is TCP.WIKI ?
https://tcp.ac/i/IFAZE
## Project Goals
secure and verifiable wiki for projects, code, courses, documents, articles, tutorials, and more

View File

@ -24,7 +24,7 @@
{{ .Content }}
</div>
<hr>
<div style="font-size: 0.3em; text-align: right; margin-bottom: 5px;">
<div class="page-info">
{{- if eq .Author .LastModifier -}}
Authored: {{ .Author }} @ {{ .AuthoredDate.Format "2006/01/02" }}
{{- else -}}

View File

@ -52,6 +52,7 @@ pre {
padding: 1em;
border-radius: 3px;
}
/* Button styles */
nav ul li a {
display: inline-block;
@ -98,21 +99,22 @@ section h2 {
color: #999;
}
/* reduce font size for authored and modified date */
div.content div[style="font-size: 0.8em;"] {
font-size: 0.6em;
}
/* add bar under authored and modified date */
div.content div[style="font-size: 0.8em;"]:after {
content: "";
display: block;
margin-top: 5px;
/* Added styles */
.page-info {
font-size: 0.8em;
display: flex;
justify-content: flex-end;
align-items: center;
margin-bottom: 5px;
border-bottom: 1px solid #14ee00;
}
/* align authored and modified date to the right */
div.content div[style="font-size: 0.8em;"] {
text-align: right;
.page-info-text {
margin-right: 5px;
}
.page-info-bar {
flex-grow: 1;
height: 1px;
background-color: #555;
margin-left: 5px;
}