mirror of
https://github.com/JimenezJC/mshj_blog.git
synced 2025-12-06 08:59:56 -05:00
Initial Blog Commit
This commit is contained in:
commit
07775036ce
92 changed files with 4980 additions and 0 deletions
20
themes/terminal/LICENSE
Normal file
20
themes/terminal/LICENSE
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2023 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
8
themes/terminal/archetypes/default.md
Normal file
8
themes/terminal/archetypes/default.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "{{ replace .File.ContentBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
tags: []
|
||||
categories: []
|
||||
featured_image: ""
|
||||
description: ""
|
||||
---
|
||||
6
themes/terminal/archetypes/projects.md
Normal file
6
themes/terminal/archetypes/projects.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .File.ContentBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
featured_image: ""
|
||||
description: ""
|
||||
---
|
||||
1
themes/terminal/hugo.toml
Normal file
1
themes/terminal/hugo.toml
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Theme config.
|
||||
4
themes/terminal/layouts/404.html
Normal file
4
themes/terminal/layouts/404.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{ define "main"}}
|
||||
|
||||
<h1>404</h1>
|
||||
{{end}}
|
||||
43
themes/terminal/layouts/_default/baseof.html
Normal file
43
themes/terminal/layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- partial "topBar.html" . -}}
|
||||
<main>
|
||||
<div class="container">
|
||||
|
||||
<div class="components components-grid">
|
||||
<div>
|
||||
<aside id="menu">
|
||||
<img src="/images/punpun.jpg" alt="keeper pfp">
|
||||
|
||||
<h3>go home</h3>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>blog posts</li>
|
||||
<br>
|
||||
<li>categories</li>
|
||||
{{ range .Site.Taxonomies.categories.Alphabetical }}
|
||||
<li>
|
||||
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
</div>
|
||||
<div class = "main-content">
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
11
themes/terminal/layouts/_default/list.html
Normal file
11
themes/terminal/layouts/_default/list.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<h1>List of Posts</h1>
|
||||
<ul>
|
||||
{{ range .Site.RegularPages }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
29
themes/terminal/layouts/_default/single.html
Normal file
29
themes/terminal/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{{ define "main" }}
|
||||
<article class="card-container">
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<div class="content-wrapper">
|
||||
{{ if .Params.categories }}
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
<div class="tag-list">
|
||||
<strong>Categories:</strong>
|
||||
{{ range .Params.categories }}
|
||||
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
<div class="tag-list">
|
||||
<strong>Tags:</strong>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="tag-link">{{ . }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
15
themes/terminal/layouts/_default/taxonomy.html
Normal file
15
themes/terminal/layouts/_default/taxonomy.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<div class="terminal-card">
|
||||
<header>{{ .Title }} <span class="terminal-badge terminal-badge-primary">{{ len .Pages }}</span></header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<span class="terminal-meta">{{ .Date.Format "2006-01-02" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
14
themes/terminal/layouts/_default/terms.html
Normal file
14
themes/terminal/layouts/_default/terms.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<div class="terminal-card">
|
||||
<header>{{ .Title }}</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Data.Terms.ByCount }}
|
||||
<li>
|
||||
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }} <span class="terminal-badge terminal-badge-primary">{{ .Count }}</span></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
19
themes/terminal/layouts/categories/list.html
Normal file
19
themes/terminal/layouts/categories/list.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{{ define "main" }}
|
||||
<div class="card-container">
|
||||
<header>Category: {{ .Title }}</header>
|
||||
<div class="content-wrapper">
|
||||
<ul class="menu-list">
|
||||
{{ range .Pages }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<span class="meta-info">{{ .Date.Format "2006-01-02" }}</span>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
11
themes/terminal/layouts/index.html
Normal file
11
themes/terminal/layouts/index.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main"}}
|
||||
<h3>My nama jef:</h3>
|
||||
<p>My nam is Mshj. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In pellentesque massa placerat duis ultricies. Nec dui nunc mattis enim. Massa id neque aliquam vestibulum morbi blandit. Ut tortor pretium viverra suspendisse potenti nullam.</p>
|
||||
|
||||
|
||||
<h3>Latest Blog Posts</h3>
|
||||
{{ partial "blogList.html" . }}
|
||||
<h3>Latest Projects</h3>
|
||||
{{ partial "projectList.html" . }}
|
||||
|
||||
{{end}}
|
||||
11
themes/terminal/layouts/partials/blogList.html
Normal file
11
themes/terminal/layouts/partials/blogList.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!-- layouts/_default/list.html -->
|
||||
<ul>
|
||||
{{ range (where .Site.RegularPages "Section" "!=" "projects") }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a> </h3>
|
||||
{{ if .Params.description }}
|
||||
<p class = "post-list-description">{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
17
themes/terminal/layouts/partials/footer.html
Normal file
17
themes/terminal/layouts/partials/footer.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<footer class="site-footer">
|
||||
<nav class="footer-nav">
|
||||
<a href="https://github.com/jimenezjc" target="_blank" rel="noopener noreferrer">
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
style="display: inline-block; vertical-align: middle;"
|
||||
>
|
||||
<path d="M12 0C5.373 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.113.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-4.373-12-12-12z"/>
|
||||
</svg>
|
||||
|
||||
</a>
|
||||
</nav>
|
||||
<p>Made by Mshj | <a href = "terminal.css.xyz">Credits to Terminal.css</a></p>
|
||||
</footer>
|
||||
5
themes/terminal/layouts/partials/head.html
Normal file
5
themes/terminal/layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<meta name="theme-color" content="#ffffff">
|
||||
<link rel="stylesheet" href="https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css" />
|
||||
<link rel="stylesheet" href="/css/styles.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
3
themes/terminal/layouts/partials/header.html
Normal file
3
themes/terminal/layouts/partials/header.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<header class="homepage-header">
|
||||
|
||||
</header>
|
||||
11
themes/terminal/layouts/partials/projectList.html
Normal file
11
themes/terminal/layouts/partials/projectList.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!-- layouts/_default/list.html -->
|
||||
<ul>
|
||||
{{ range first 5 (where .Site.RegularPages "Section" "projects") }}
|
||||
<li class = "post-list">
|
||||
<h3 class="post-list-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a> </h3>
|
||||
{{ if .Params.description }}
|
||||
<p class = "post-list-description">{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
9
themes/terminal/layouts/partials/topBar.html
Normal file
9
themes/terminal/layouts/partials/topBar.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<header class="homepage-header">
|
||||
<div class="container">
|
||||
<div class = "header-container">
|
||||
<h1><a href="/">{{site.Title}}</a></h1>
|
||||
<span id="mini-header" class="mini-header"></span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<script src="/js/topbar.js"></script>
|
||||
13
themes/terminal/layouts/projects/list.html
Normal file
13
themes/terminal/layouts/projects/list.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<h1>Jects</h1>
|
||||
<ul>
|
||||
{{ range where .Site.RegularPages "Section" "projects" }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ if .Params.description }}
|
||||
<p>{{ .Params.description }}</p>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
11
themes/terminal/layouts/projects/single.html
Normal file
11
themes/terminal/layouts/projects/single.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<article class="card-container">
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<div class="content-wrapper">
|
||||
<p>{{ .Date.Format "2006-01-02" }}</p>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
15
themes/terminal/layouts/tags/list.html
Normal file
15
themes/terminal/layouts/tags/list.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
<div class="card-container">
|
||||
<header>Tag: {{ .Title }}</header>
|
||||
<div class="terminal-content">
|
||||
<ul class="terminal-menu">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<span class="meta-info">{{ .Date.Format "2006-01-02" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
334
themes/terminal/static/css/styles.css
Normal file
334
themes/terminal/static/css/styles.css
Normal file
|
|
@ -0,0 +1,334 @@
|
|||
/* Sleek Terminal Card */
|
||||
.card-container {
|
||||
--terminal-bg: #1a1d23;
|
||||
--terminal-border: #2c3e50;
|
||||
--terminal-accent: #3498db;
|
||||
--terminal-text: #ecf0f1;
|
||||
--terminal-highlight: #2ecc71;
|
||||
|
||||
color: var(--terminal-text) !important;
|
||||
font-family: 'SF Mono', 'Menlo', monospace;
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
max-width: 700px;
|
||||
margin: 1.5rem auto;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
|
||||
|
||||
/* Card container adjustments */
|
||||
.card-container {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
padding-right: 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Header styling */
|
||||
.card-container header {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
margin-bottom: 0.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.card-container header h1 {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.card-container header h2 {
|
||||
color: var(--terminal-text);
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
margin: 0;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
|
||||
/* Body content */
|
||||
.content-wrapper {
|
||||
line-height: 1.6;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
.content-wrapper pre {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 4px;
|
||||
padding: 0.75rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
|
||||
/* Status indicator */
|
||||
.card-container::after {
|
||||
content: '●';
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px;
|
||||
color: var(--terminal-highlight);
|
||||
font-size: 0.8rem;
|
||||
text-shadow: 0 0 8px currentColor;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Menu list */
|
||||
.menu-list {
|
||||
list-style-type: none !important;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu-list li {
|
||||
margin-bottom: 0.5rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.meta-info {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
/* Tag list */
|
||||
.tag-list {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Tag link */
|
||||
.tag-link {
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
padding: 0.1rem 0.3rem;
|
||||
border-radius: 0.3rem;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+1) {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+2) {
|
||||
background-color: #ff69b4;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+3) {
|
||||
background-color: #33cc33;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+4) {
|
||||
background-color: #6666ff;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+5) {
|
||||
background-color: #ffff66;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+6) {
|
||||
background-color: #ff9966;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+7) {
|
||||
background-color: #cc66cc;
|
||||
}
|
||||
|
||||
.tag-link:nth-child(8n+0) {
|
||||
background-color: #66cccc;
|
||||
}
|
||||
.tag-link:hover {
|
||||
background-color: #ddd;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.components-grid {
|
||||
display: grid;
|
||||
grid-column-gap: 1.4em;
|
||||
grid-template-columns: auto;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
|
||||
.image-grid {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: repeat(auto-fit,
|
||||
minmax(calc(var(--page-width) / 12), 1fr));
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mini-header {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
margin-left: 1rem;
|
||||
border-right: 2px solid #666;
|
||||
animation: blink 0.7s infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
border-color: #666;
|
||||
}
|
||||
50% {
|
||||
border-color: transparent;
|
||||
}
|
||||
100% {
|
||||
border-color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 70em) {
|
||||
.components-grid {
|
||||
grid-template-columns: 3fr 9fr;
|
||||
}
|
||||
|
||||
.components-grid aside {
|
||||
position: sticky;
|
||||
top: calc(var(--global-space) * 2);
|
||||
}
|
||||
}
|
||||
|
||||
.terminal-tags {
|
||||
margin-top: 1rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.terminal-tag {
|
||||
background-color: var(--secondary-color);
|
||||
color: var(--background-color);
|
||||
padding: 0.2rem 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.terminal-tag:hover {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.terminal-meta {
|
||||
opacity: 0.7;
|
||||
font-size: 0.8rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 20px;
|
||||
margin-bottom: 1.5rem;
|
||||
position:static !important;
|
||||
|
||||
}
|
||||
.post-list li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.post-list-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.post-list-description {
|
||||
color: #e6e6e6;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
/* Add spacing between list items */
|
||||
.post-list + .post-list {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
/* Subtle hover effect */
|
||||
.post-list:hover {
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
margin-top: auto;
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-nav a {
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
margin: 0 0.5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.footer-nav a:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.footer-nav svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
font-size: 0.9rem;
|
||||
color: #666;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
:root {
|
||||
--global-font-size: 15px;
|
||||
--global-line-height: 1.4em;
|
||||
--global-space: 10px;
|
||||
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
||||
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
||||
serif;
|
||||
--background-color: #15151b !important;
|
||||
--page-width: 60em;
|
||||
--font-color: #e8e9ed;
|
||||
--invert-font-color: #222225;
|
||||
--secondary-color: #a3abba;
|
||||
--tertiary-color: #a3abba;
|
||||
--primary-color: #62c4ff;
|
||||
--error-color: #ff3c74;
|
||||
--progress-bar-background: #3f3f44;
|
||||
--progress-bar-fill: #62c4ff;
|
||||
--code-bg-color: #3f3f44;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
14
themes/terminal/static/js/topbar.js
Normal file
14
themes/terminal/static/js/topbar.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const miniHeader = document.getElementById('mini-header');
|
||||
const texts = ['use linux', 'i hate css', 'gpl everything', 'made with love']; // add your random text here
|
||||
const text = texts[Math.floor(Math.random() * texts.length)];
|
||||
let charIndex = 0;
|
||||
|
||||
function typeText() {
|
||||
if (charIndex < text.length) {
|
||||
miniHeader.textContent += text.charAt(charIndex);
|
||||
charIndex++;
|
||||
setTimeout(typeText, 50); // adjust the typing speed here
|
||||
}
|
||||
}
|
||||
|
||||
typeText();
|
||||
21
themes/terminal/theme.toml
Normal file
21
themes/terminal/theme.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Terminal"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.112.3"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
||||
Loading…
Add table
Add a link
Reference in a new issue