update css and scii art
This commit is contained in:
parent
4eed8ecfc3
commit
c1757d6242
5 changed files with 36 additions and 58 deletions
|
@ -1,12 +1,9 @@
|
|||
html {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #333;
|
||||
font-family: Consolas, Monaco, "Lucida Console", monospace !important;
|
||||
font-size: 0.9rem !important;
|
||||
color: #ccc !important;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -18,7 +15,7 @@ body {
|
|||
padding-right: 1.5rem;
|
||||
background-color: #3d3d3d;
|
||||
max-width: 600px;
|
||||
height: 100%;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px) {
|
||||
|
@ -70,24 +67,16 @@ a {
|
|||
}
|
||||
|
||||
.one {
|
||||
margin-left: 1.5rem;
|
||||
margin-left: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.two {
|
||||
margin-left: 3rem;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
.three {
|
||||
margin-left: 4.5rem;
|
||||
}
|
||||
|
||||
.four {
|
||||
margin-left: 6rem;
|
||||
}
|
||||
|
||||
.five {
|
||||
margin-left: 7.5rem;
|
||||
}
|
||||
margin-left: 3rem;
|
||||
}
|
|
@ -11,18 +11,6 @@
|
|||
<main>{{ block "main" . }}{{ end }}</main>
|
||||
<footer>{{ partial "footer.html" . }}</footer>
|
||||
}
|
||||
<pre>
|
||||
\ ヽ i | / /
|
||||
\
|
||||
;' ':;,, ,;'':;,
|
||||
;' ':;,.,.,.,.,.,,,;' ';,
|
||||
ー ,:' ::::::::、
|
||||
__ ,:' / \ ::::::::',
|
||||
二 :' ● ● ::::::::i.
|
||||
 ̄ i ''' (_人_) '''' ::::::::::i
|
||||
-‐ : ::::::::i
|
||||
`:,、 :::::::::: /
|
||||
/ ,:' : ::::::::::::`:、
|
||||
</pre>
|
||||
{{ partial "ascii.html"}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{<br />
|
||||
<div class="three">
|
||||
<span>question:</span>
|
||||
<span class="highlight">'{{ .question }}'</span>,<br>
|
||||
<span class="highlight">'{{ .question }}'</span>,<br />
|
||||
<span>answer:</span>
|
||||
<span class="highlight">'{{ .answer }}'</span>
|
||||
</div>
|
||||
|
@ -23,5 +23,19 @@
|
|||
</div>
|
||||
{{ end }} ],</span
|
||||
>
|
||||
<span class="flex-col"
|
||||
>contact: [
|
||||
<div class="two">
|
||||
{<br />
|
||||
{{ range .Params.contact }}
|
||||
<div class="three">
|
||||
<span>"{{ .service }}":</span>
|
||||
<span class="highlight">'{{ .input }}'</span>,<br />
|
||||
</div>
|
||||
{{ end }}
|
||||
<br />},
|
||||
</div>
|
||||
],</span
|
||||
>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
7
layouts/partials/ascii.html
Normal file
7
layouts/partials/ascii.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<pre>
|
||||
__..--''``---....___ _..._ __
|
||||
/// //_.-' .-/"; ` ``<._ ``.''_ `. / // /
|
||||
///_.-' _..--.'_ \ `( ) ) // //
|
||||
/ (_..-' // (< _ ;_..__ ; `' / ///
|
||||
/ // // // `-._,_)' // / ``--...____..-' /// / //
|
||||
</pre>
|
34
theme.toml
34
theme.toml
|
@ -1,31 +1,11 @@
|
|||
name = 'Theme name'
|
||||
name = 'Hugo JSON'
|
||||
license = 'MIT'
|
||||
licenselink = 'https://github.com/owner/repo/LICENSE'
|
||||
description = 'Theme description'
|
||||
|
||||
# The home page of the theme, where the source can be found
|
||||
homepage = 'https://github.com/owner/repo'
|
||||
|
||||
# If you have a running demo of the theme
|
||||
licenselink = 'https://git.myco.systems/mycosystems/hugo-maintenance/src/branch/main/LICENSE'
|
||||
description = 'Simple maintenance page in the style of JSON'
|
||||
homepage = 'https://git.myco.systems/mycosystems/hugo-maintenance'
|
||||
demosite = 'https://owner.github.io/repo'
|
||||
tags = ['maintenance', 'JSON']
|
||||
|
||||
# Taxonomy terms
|
||||
tags = ['blog', 'company']
|
||||
features = ['some', 'awesome', 'features']
|
||||
|
||||
# If the theme has multiple authors
|
||||
authors = [
|
||||
{name = 'Name of author', homepage = 'Website of author'},
|
||||
{name = 'Name of author', homepage = 'Website of author'}
|
||||
]
|
||||
|
||||
# If the theme has a single author
|
||||
[author]
|
||||
name = 'Your name'
|
||||
homepage = 'Your website'
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
author = 'Name of original author'
|
||||
homepage = 'Website of original author'
|
||||
repo = 'https://github.com/owner/repo'
|
||||
name = 'MycoSystems'
|
||||
homepage = 'https://myco.systems'
|
||||
|
|
Loading…
Add table
Reference in a new issue