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 {
|
html {
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
font-family: Consolas, Monaco, "Lucida Console", monospace !important;
|
font-family: Consolas, Monaco, "Lucida Console", monospace !important;
|
||||||
font-size: 0.9rem !important;
|
font-size: 0.9rem !important;
|
||||||
color: #ccc !important;
|
color: #ccc !important;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -18,7 +15,7 @@ body {
|
||||||
padding-right: 1.5rem;
|
padding-right: 1.5rem;
|
||||||
background-color: #3d3d3d;
|
background-color: #3d3d3d;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
height: 100%;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 700px) {
|
@media only screen and (max-width: 700px) {
|
||||||
|
@ -70,24 +67,16 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
.one {
|
.one {
|
||||||
margin-left: 1.5rem;
|
margin-left: 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.two {
|
.two {
|
||||||
margin-left: 3rem;
|
margin-left: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.three {
|
.three {
|
||||||
margin-left: 4.5rem;
|
margin-left: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.four {
|
|
||||||
margin-left: 6rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.five {
|
|
||||||
margin-left: 7.5rem;
|
|
||||||
}
|
|
|
@ -11,18 +11,6 @@
|
||||||
<main>{{ block "main" . }}{{ end }}</main>
|
<main>{{ block "main" . }}{{ end }}</main>
|
||||||
<footer>{{ partial "footer.html" . }}</footer>
|
<footer>{{ partial "footer.html" . }}</footer>
|
||||||
}
|
}
|
||||||
<pre>
|
{{ partial "ascii.html"}}
|
||||||
\ ヽ i | / /
|
|
||||||
\
|
|
||||||
;' ':;,, ,;'':;,
|
|
||||||
;' ':;,.,.,.,.,.,,,;' ';,
|
|
||||||
ー ,:' ::::::::、
|
|
||||||
__ ,:' / \ ::::::::',
|
|
||||||
二 :' ● ● ::::::::i.
|
|
||||||
 ̄ i ''' (_人_) '''' ::::::::::i
|
|
||||||
-‐ : ::::::::i
|
|
||||||
`:,、 :::::::::: /
|
|
||||||
/ ,:' : ::::::::::::`:、
|
|
||||||
</pre>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{<br />
|
{<br />
|
||||||
<div class="three">
|
<div class="three">
|
||||||
<span>question:</span>
|
<span>question:</span>
|
||||||
<span class="highlight">'{{ .question }}'</span>,<br>
|
<span class="highlight">'{{ .question }}'</span>,<br />
|
||||||
<span>answer:</span>
|
<span>answer:</span>
|
||||||
<span class="highlight">'{{ .answer }}'</span>
|
<span class="highlight">'{{ .answer }}'</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,5 +23,19 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }} ],</span
|
{{ 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>
|
</div>
|
||||||
{{ end }}
|
{{ 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'
|
license = 'MIT'
|
||||||
licenselink = 'https://github.com/owner/repo/LICENSE'
|
licenselink = 'https://git.myco.systems/mycosystems/hugo-maintenance/src/branch/main/LICENSE'
|
||||||
description = 'Theme description'
|
description = 'Simple maintenance page in the style of JSON'
|
||||||
|
homepage = 'https://git.myco.systems/mycosystems/hugo-maintenance'
|
||||||
# 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
|
|
||||||
demosite = 'https://owner.github.io/repo'
|
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]
|
[author]
|
||||||
name = 'Your name'
|
name = 'MycoSystems'
|
||||||
homepage = 'Your website'
|
homepage = 'https://myco.systems'
|
||||||
|
|
||||||
# If porting an existing theme
|
|
||||||
[original]
|
|
||||||
author = 'Name of original author'
|
|
||||||
homepage = 'Website of original author'
|
|
||||||
repo = 'https://github.com/owner/repo'
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue