diff --git a/themes/minth/assets/css/main.css b/themes/minth/assets/css/main.css index ac7ef63..2634ce2 100644 --- a/themes/minth/assets/css/main.css +++ b/themes/minth/assets/css/main.css @@ -7,13 +7,7 @@ body { line-height: 1.5; margin: 1rem; font-family: monospace; - background: rgb(0,58,155); - /*background: linear-gradient(0deg, rgba(0,78,255,1) 0%, rgba(0,0,0,1) 100%); - */ - background-image: url('../hacker-manifesto-bg.jpg'); - background-repeat: repeat; - /*background-size: contain; - background-attachment: fixed;*/ + background: #d6d6d6; } @media only screen and (min-width: 800px) { @@ -29,7 +23,6 @@ body { } header { - border-bottom: 1px solid #3b3b3b; margin-bottom: 1rem; } @@ -39,14 +32,13 @@ footer { } a { - color: #524f6e !important; + opacity: .6; } a:hover { - color: #6d6994 !important; - text-shadow: 0px 0px 10px #685aed; + opacity: 1; } hr { - color: white !important; - background-color: white !important; + color: black !important; + background-color: black !important; } diff --git a/themes/minth/hugo.toml b/themes/minth/hugo.toml index e555484..4b27b65 100644 --- a/themes/minth/hugo.toml +++ b/themes/minth/hugo.toml @@ -3,32 +3,32 @@ languageCode = 'en-us' title = 'My New Hugo Site' [[menus.main]] -name = 'Home' +name = 'home' pageRef = '/' weight = 10 [[menus.main]] -name = 'About' +name = 'about' pageRef = '/pages/about-me' weight = 25 [[menus.main]] -name = 'Resources' +name = 'resources' pageRef = '/pages/resources' weight = 30 [[menus.main]] -name = 'Git' +name = 'git' url = 'http://git.0xdeadbeer.xyz/0xdeadbeer/' weight = 33 [[menus.main]] -name = 'Archive' +name = 'archive' url = 'http://archive.0xdeadbeer.xyz' weight = 35 [[menus.main]] -name = 'RSS' +name = 'rss' url = '/index.xml' weight = 40 diff --git a/themes/minth/layouts/_default/home.html b/themes/minth/layouts/_default/home.html index 441e3d0..0ac8a27 100644 --- a/themes/minth/layouts/_default/home.html +++ b/themes/minth/layouts/_default/home.html @@ -3,8 +3,10 @@ {{ .Content }} {{ $postsDir := .Site.Params.Posts | default (slice "posts" "post") }} {{ $allPostsList := where (where site.RegularPages "Section" "in" $postsDir) "Section" "!=" "" }} +

posts:

+ {{ end }} diff --git a/themes/minth/layouts/_default/list.html b/themes/minth/layouts/_default/list.html index 50fc92d..bcd40ef 100644 --- a/themes/minth/layouts/_default/list.html +++ b/themes/minth/layouts/_default/list.html @@ -1,8 +1,6 @@ {{ define "main" }}

{{ .Title }}

- {{ .Content }} {{ range .Pages }}

{{ .LinkTitle }}

- {{ .Summary }} {{ end }} {{ end }} diff --git a/themes/minth/layouts/partials/header.html b/themes/minth/layouts/partials/header.html index 61de999..afa15a7 100644 --- a/themes/minth/layouts/partials/header.html +++ b/themes/minth/layouts/partials/header.html @@ -1,26 +1,4 @@
- -
-                                                 (                (    
-        (   (    )       )      (      (         )\ )   (     )   )\ ) 
- `  )   )(  )\  /((   ( /(   (  )\ )   )\  (    (()/(  ))\ ( /(  (()/( 
- /(/(  (()\((_)(_))\  )(_))  )\(()/(  ((_) )\    ((_))/((_))(_))  ((_))
-((_)_\  ((_)(_)_)((_)((_)_  ((_))(_))  (_)((_)   _| |(_)) ((_)_   _| | 
-| '_ \)| '_|| |\ V / / _` |/ _|| || |  | |(_-< / _` |/ -_)/ _` |/ _` | 
-| .__/ |_|  |_| \_/  \__,_|\__| \_, |  |_|/__/ \__,_|\___|\__,_|\__,_| 
-|_|                             |__/
-
-       (  (   )      )    (      
- `  )  )( )\ /((  ( /(  ( )\ )   
- /(/( (()((_|_))\ )(_)) )(()/(   
-((_)_\ ((_|_))((_|(_)_ ((_)(_))  
-| '_ \) '_| \ V // _` / _| || |  
-| .__/|_| (_|\_/ \__,_\_(|\_, |  
-|(|       )\ )  (    )  )\|)_/   
- )\ (    (()/( ))\( /( (()/(     
-((_))\    ((_))((_)(_)) ((_))    
- (_|(_)   _| (_))((_)_  _| |     
- | (_-< / _` / -_) _` / _` |     
- |_/__/ \__,_\___\__,_\__,_|   
+

<<0xDEADBEER>>

{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
diff --git a/themes/minth/static/css/global.css b/themes/minth/static/css/global.css index ebf8d48..7579715 100644 --- a/themes/minth/static/css/global.css +++ b/themes/minth/static/css/global.css @@ -7,13 +7,14 @@ background: white; } -* { - color: white; + +code { + background: black !important; + color: white !important; } pre code { display: block; - background: black; } .post-title { @@ -22,7 +23,7 @@ pre code { .container { margin: auto !important; - background: #0d0d0d !important; + background: #e8e6e6 !important; padding: 20px 20px; } @@ -42,7 +43,7 @@ pre code { @media only screen and (min-width: 800px) { .container { max-width: 800px; - border: 1px solid white; + border: 1px solid #303030; } .header .header-bg { font-size: 18px; @@ -85,6 +86,7 @@ pre code { code { background: #333333; + color: white; padding: 2px; } @@ -92,8 +94,4 @@ img { width: 100%; } -.code { - background: #ffffff !important; - color: black !important; -}