Update website design

This commit is contained in:
kevinj 2024-07-29 14:54:31 +02:00
parent 5324c7d262
commit 9535db9cce
5 changed files with 98 additions and 13 deletions

3
README Normal file
View File

@ -0,0 +1,3 @@
+==========+
| blog |
+==========+

View File

@ -1 +0,0 @@
# Blog

View File

@ -1,14 +1,33 @@
html {
min-height: 100%;
}
body { body {
overflow-x: hidden;
color: #222; color: #222;
font-family: sans-serif;
line-height: 1.5; line-height: 1.5;
margin: 1rem; margin: 1rem;
width: 100%; font-family: monospace;
height: 100%; background: rgb(0,78,255);
background: linear-gradient(0deg, rgba(0,78,255,1) 0%, rgba(0,0,0,1) 100%);
background-size: contain;
background-attachment: fixed;
margin: 0;
}
@media only screen and (min-width: 800px) {
.body {
font-size: 14px;
}
}
@media only screen and (max-width: 800px) {
.body {
font-size: 10px;
}
} }
header { header {
border-bottom: 1px solid #222; border-bottom: 1px solid #3b3b3b;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -18,6 +37,10 @@ footer {
} }
a { a {
color: #00e; color: #3061ff !important;
text-decoration: none; }
hr {
color: white !important;
background-color: white !important;
} }

View File

@ -1,4 +1,26 @@
<div class="header"> <div class="header">
<h1>{{ site.Title }}</h1> <!--<h1>{{ site.Title }}</h1>-->
<pre class="header-bg">
( (
( ( ) ) ( ( )\ ) ( ) )\ )
` ) )( )\ /(( ( /( ( )\ ) )\ ( (()/( ))\ ( /( (()/(
/(/( (()\((_)(_))\ )(_)) )\(()/( ((_) )\ ((_))/((_))(_)) ((_))
((_)_\ ((_)(_)_)((_)((_)_ ((_))(_)) (_)((_) _| |(_)) ((_)_ _| |
| '_ \)| '_|| |\ V / / _` |/ _|| || | | |(_-< / _` |/ -_)/ _` |/ _` |
| .__/ |_| |_| \_/ \__,_|\__| \_, | |_|/__/ \__,_|\___|\__,_|\__,_|
|_| |__/</pre>
<pre class="header-sm">
( ( ) ) (
` ) )( )\ /(( ( /( ( )\ )
/(/( (()((_|_))\ )(_)) )(()/(
((_)_\ ((_|_))((_|(_)_ ((_)(_))
| '_ \) '_| \ V // _` / _| || |
| .__/|_| (_|\_/ \__,_\_(|\_, |
|(| )\ ) ( ) )\|)_/
)\ ( (()/( ))\( /( (()/(
((_))\ ((_))((_)(_)) ((_))
(_|(_) _| (_))((_)_ _| |
| (_-< / _` / -_) _` / _` |
|_/__/ \__,_\___\__,_\__,_| </pre>
{{ partial "menu.html" (dict "menuID" "main" "page" .) }} {{ partial "menu.html" (dict "menuID" "main" "page" .) }}
</div> </div>

View File

@ -1,6 +1,5 @@
* { * {
color: black; color: white;
background: white !important;
} }
.post-title { .post-title {
@ -9,23 +8,62 @@
.container { .container {
margin: auto !important; margin: auto !important;
max-width: 800px; background: #0d0d0d !important;
padding: 20px 20px;
} }
.header { .header {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0px 10px; }
.header pre {
color: #3061ff;
font-weight: bolder;
}
@media only screen and (min-width: 800px) {
.container {
max-width: 800px;
border: 1px solid white;
}
.header .header-bg {
font-size: 18px;
}
.header .header-sm {
display: none;
}
}
@media only screen and (max-width: 800px) {
.container {
width: 100%;
height: 100%;
border: none;
}
.header .header-bg {
display: none;
}
.header .header-sm {
font-size: 20px;
}
} }
.menu li { .menu li {
display: inline-block; display: inline-block;
margin: 0px !important; margin: 0px !important;
padding: 0px 10px; padding: 0px 10px;
font-size: 20px;
} }
.menu li a {
text-decoration: underline;
font-weight: bold;
}
.title { .title {
text-decoration: underline; text-decoration: underline;
} }