updated style on website
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2022-08-08 21:00:45 +02:00
parent 33eef02907
commit cdc4da40e4
16 changed files with 67 additions and 71 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.swp *.swp
*.lock
/public /public
/ressources /ressources

View File

@ -1,4 +1,4 @@
baseurl = "//www.paulbsd.com/" baseurl = "https://www.paulbsd.com"
languageCode = "en-gb" languageCode = "en-gb"
title = "PaulBSD website" title = "PaulBSD website"
googleAnalytics = "" googleAnalytics = ""

View File

@ -5,7 +5,7 @@
{{ if isset .Params "banner" }} {{ if isset .Params "banner" }}
<a href="{{ .Permalink }}" class="thumbnail"> <a href="{{ .Permalink }}" class="thumbnail">
<span style="background-image:url({{ .Site.BaseURL }}{{ .Params.banner }})" alt="{{ .Title }}" <span style="background-image:url({{ .Site.BaseURL }}/{{ .Params.banner }})" alt="{{ .Title }}"
class="thumbnail-image"></span> class="thumbnail-image"></span>
</a> </a>
{{ else }} {{ else }}

View File

@ -14,7 +14,7 @@
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }} {{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<a href="{{ .Permalink }}" itemprop="url"> <a href="{{ .Permalink }}" itemprop="url">
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner"> {{ end }} <img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner"> {{ end }}
</a> </a>
{{ partial "article_header" . }} {{ partial "article_header" . }}

View File

@ -9,7 +9,7 @@
<footer id="footer-right">Your IP address : <a id="dip">{{ "{{" }} returnstring {{ "}}" }}</a></footer> <footer id="footer-right">Your IP address : <a id="dip">{{ "{{" }} returnstring {{ "}}" }}</a></footer>
</div> </div>
</div> </div>
<script src="{{ .Site.BaseURL }}js/main.js"> <script src="{{ .Site.BaseURL }}/js/main.js">
</script> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js">
</script> </script>

View File

@ -9,16 +9,16 @@
<meta name="description" content="{{ . }}"> <meta name="description" content="{{ . }}">
{{ end }} {{ end }}
<script src="{{ .Site.BaseURL }}bower_components/jquery/dist/jquery.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/jquery/dist/jquery.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/bootstrap/js/bootstrap.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/bootstrap/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/bootstrap/js/dropdowns-enhancement.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/bootstrap/js/dropdowns-enhancement.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/bluebird/js/browser/bluebird.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/bluebird/js/browser/bluebird.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/talaria/dist/talaria.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/talaria/dist/talaria.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/d3/d3.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/d3/d3.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/cal-heatmap/cal-heatmap.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/highlightjs/highlight.pack.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/highlightjs/highlight.pack.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/vue/vue.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/vue/vue.min.js"></script>
<script src="{{ .Site.BaseURL }}bower_components/axios/axios.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/axios/axios.min.js"></script>
<script> <script>
hljs.initHighlightingOnLoad(); hljs.initHighlightingOnLoad();
</script> </script>
@ -29,16 +29,16 @@
}); });
</script> </script>
<link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" /> <link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico" />
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}apple-touch-icon.png" /> <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}/apple-touch-icon.png" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/highlightjs/styles/monokai.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/highlightjs/styles/monokai.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/bootstrap/css/dropdowns-enhancement.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/dropdowns-enhancement.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/talaria/dist/talaria.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/talaria/dist/talaria.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/createjs/createjs.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/createjs/createjs.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/font-awesome/css/font-awesome.min.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/icomoon/css/icomoon.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/icomoon/css/icomoon.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}bower_components/cal-heatmap/cal-heatmap.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/cal-heatmap/cal-heatmap.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/mobile.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/mobile.css" />
</head> </head>

View File

@ -1,5 +1,5 @@
<div id="top-image"> <div id="top-image">
<div id="top-image-wrap"> <div id="top-image-wrap">
<iframe src="{{ .Site.BaseURL }}bower_components/particlesjs/particlesjs.html"></iframe> <iframe src="{{ .Site.BaseURL }}/bower_components/particlesjs/particlesjs.html"></iframe>
</div> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
<aside id="profile"> <aside id="profile">
<div class="inner profile-inner"> <div class="inner profile-inner">
<div class="base-info profile-block"> <div class="base-info profile-block">
<img id="avatar" src="{{ .Site.BaseURL }}css/images/avatar.png"> <img id="avatar" src="{{ .Site.BaseURL }}/css/images/avatar.png">
{{ with .Site.Params.author}}<h2 id="name">{{ . }}</h2>{{ end }} {{ with .Site.Params.author}}<h2 id="name">{{ . }}</h2>{{ end }}
{{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }} {{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }} {{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}

View File

@ -2,7 +2,7 @@
<article> <article>
<div class="article-inner"> <div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }} {{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<img src="{{ .Site.BaseURL }}{{ .Params.banner }}" class="article-banner"> <img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner">
{{ end }} {{ end }}
{{ partial "article_header" . }} {{ partial "article_header" . }}

View File

@ -1,100 +1,100 @@
{{ with .Site.Social.github }} {{ with .Site.Social.github }}
<td><a href="//github.com/{{.}}" target="_blank" title="Github"><i class="fa fa-github"></i></a></td> <td><a href="https://github.com/{{.}}" target="_blank" title="Github"><i class="fa fa-github"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.bitbucket }} {{ with .Site.Social.bitbucket }}
<td><a href="//bitbucket.com/{{.}}" target="_blank" title="Bitbucket"><i class="fa fa-bitbucket"></i></a></td> <td><a href="https://bitbucket.com/{{.}}" target="_blank" title="Bitbucket"><i class="fa fa-bitbucket"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.jsfiddle }} {{ with .Site.Social.jsfiddle }}
<td><a href="//jsfiddle.com/{{.}}" target="_blank" title="JSFiddle"><i class="fa fa-jsfiddle"></i></a></td> <td><a href="https://jsfiddle.com/{{.}}" target="_blank" title="JSFiddle"><i class="fa fa-jsfiddle"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.codepen }} {{ with .Site.Social.codepen }}
<td><a href="//codepen.io/{{.}}" target="_blank" title="Codepen"><i class="fa fa-codepen"></i></a></td> <td><a href="https://codepen.io/{{.}}" target="_blank" title="Codepen"><i class="fa fa-codepen"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.foursquare }} {{ with .Site.Social.foursquare }}
<td><a href="//foursquare.com/{{.}}" target="_blank" title="Foursquare"><i class="fa fa-foursquare"></i></a></td> <td><a href="https://foursquare.com/{{.}}" target="_blank" title="Foursquare"><i class="fa fa-foursquare"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.dribbble }} {{ with .Site.Social.dribbble }}
<td><a href="//dribbble.com/{{.}}" target="_blank" title="Dribbble"><i class="fa fa-dribbble"></i></a></td> <td><a href="https://dribbble.com/{{.}}" target="_blank" title="Dribbble"><i class="fa fa-dribbble"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.deviantart }} {{ with .Site.Social.deviantart }}
<td><a href="//{{.}}.deviantart.com/" target="_blank" title="Deviantart"><i class="fa fa-deviantart"></i></a></td> <td><a href="https://{{.}}.deviantart.com/" target="_blank" title="Deviantart"><i class="fa fa-deviantart"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.behance }} {{ with .Site.Social.behance }}
<td><a href="//behance.net/{{.}}" target="_blank" title="Behance"><i class="fa fa-behance"></i></a></td> <td><a href="https://behance.net/{{.}}" target="_blank" title="Behance"><i class="fa fa-behance"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.flickr }} {{ with .Site.Social.flickr }}
<td><a href="//flickr.com/photos/{{.}}" target="_blank" title="Flickr"><i class="fa fa-flickr"></i></a></td> <td><a href="https://flickr.com/photos/{{.}}" target="_blank" title="Flickr"><i class="fa fa-flickr"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.instagram }} {{ with .Site.Social.instagram }}
<td><a href="//instagram.com/{{.}}" target="_blank" title="Instagram"><i class="fa fa-instagram"></i></a></td> <td><a href="https://instagram.com/{{.}}" target="_blank" title="Instagram"><i class="fa fa-instagram"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.youtube }} {{ with .Site.Social.youtube }}
<td><a href="//youtube.com/{{.}}" target="_blank" title="Youtube"><i class="fa fa-youtube"></i></a></td> <td><a href="https://youtube.com/{{.}}" target="_blank" title="Youtube"><i class="fa fa-youtube"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.vimeo }} {{ with .Site.Social.vimeo }}
<td><a href="//vimeo.com/{{.}}" target="_blank" title="Vimeo"><i class="fa fa-vimeo"></i></a></td> <td><a href="https://vimeo.com/{{.}}" target="_blank" title="Vimeo"><i class="fa fa-vimeo"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.vine }} {{ with .Site.Social.vine }}
<td><a href="//vine.co/{{.}}" target="_blank" title="Vine"><i class="fa fa-vine"></i></a></td> <td><a href="https://vine.co/{{.}}" target="_blank" title="Vine"><i class="fa fa-vine"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.medium}} {{ with .Site.Social.medium}}
<td><a href="//medium.com/@{{.}}" target="_blank" title="Medium"><i class="fa fa-medium"></i></a></td> <td><a href="https://medium.com/@{{.}}" target="_blank" title="Medium"><i class="fa fa-medium"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.wordpress }} {{ with .Site.Social.wordpress }}
<td><a href="//{{.}}.wordpress.com" target="_blank" title="Wordpress"><i class="fa fa-wordpress"></i></a></td> <td><a href="https://{{.}}.wordpress.com" target="_blank" title="Wordpress"><i class="fa fa-wordpress"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.tumblr }} {{ with .Site.Social.tumblr }}
<td><a href="//{{.}}.tumblr.com" target="_blank" title="Tumblr"><i class="fa fa-tumblr"></i></a></td> <td><a href="https://{{.}}.tumblr.com" target="_blank" title="Tumblr"><i class="fa fa-tumblr"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.xing }} {{ with .Site.Social.xing }}
<td><a href="//xing.com/profile/{{.}}" target="_blank" title="Xing"><i class="fa fa-xing"></i></a></td> <td><a href="https://xing.com/profile/{{.}}" target="_blank" title="Xing"><i class="fa fa-xing"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.linkedin }} {{ with .Site.Social.linkedin }}
<td><a href="//linkedin.com/in/{{.}}" target="_blank" title="Linkedin"><i class="fa fa-linkedin"></i></a></td> <td><a href="https://linkedin.com/in/{{.}}" target="_blank" title="Linkedin"><i class="fa fa-linkedin"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.slideshare }} {{ with .Site.Social.slideshare }}
<td><a href="//slideshare.com/{{.}}" target="_blank" title="Slideshare"><i class="fa fa-slideshare"></i></a></td> <td><a href="https://slideshare.com/{{.}}" target="_blank" title="Slideshare"><i class="fa fa-slideshare"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.stackoverflow }} {{ with .Site.Social.stackoverflow }}
<td><a href="//stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i <td><a href="https://stackoverflow.com/users/{{.}}" target="_blank" title="Stackoverflow"><i
class="fa fa-stackoverflow"></i></a></td> class="fa fa-stackoverflow"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.reddit }} {{ with .Site.Social.reddit }}
<td><a href="//reddit.com/user/{{.}}" target="_blank" title="Reddit"><i class="fa fa-reddit"></i></a></td> <td><a href="https://reddit.com/user/{{.}}" target="_blank" title="Reddit"><i class="fa fa-reddit"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.pinterest }} {{ with .Site.Social.pinterest }}
<td><a href="//pinterest.com/{{.}}" target="_blank" title="Pinterest"><i class="fa fa-pinterest"></i></a></td> <td><a href="https://pinterest.com/{{.}}" target="_blank" title="Pinterest"><i class="fa fa-pinterest"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.googleplus }} {{ with .Site.Social.googleplus }}
<td><a href="//plus.google.com/+{{.}}" target="_blank" title="Google+"><i class="fa fa-googleplus"></i></a></td> <td><a href="https://plus.google.com/+{{.}}" target="_blank" title="Google+"><i class="fa fa-googleplus"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.facebook }} {{ with .Site.Social.facebook }}
<td><a href="//facebook.com/{{.}}" target="_blank" title="Facebook"><i class="fa fa-facebook"></i></a></td> <td><a href="https://facebook.com/{{.}}" target="_blank" title="Facebook"><i class="fa fa-facebook"></i></a></td>
{{ end }} {{ end }}
{{ with .Site.Social.twitter }} {{ with .Site.Social.twitter }}
<td><a href="//twitter.com/{{.}}" target="_blank" title="Twitter"><i class="fa fa-twitter"></i></a></td> <td><a href="https://twitter.com/{{.}}" target="_blank" title="Twitter"><i class="fa fa-twitter"></i></a></td>
{{ end }} {{ end }}

View File

@ -5,7 +5,7 @@
<ul class="category-list"> <ul class="category-list">
<h3 class="widget-title">Categories {{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3> <h3 class="widget-title">Categories {{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3>
{{ range $name, $items := .Site.Taxonomies.categories }} {{ range $name, $items := .Site.Taxonomies.categories }}
<a class="category-list-link" href="{{ $.Site.BaseURL }}categories/{{ $name | urlize | lower }}"> <a class="category-list-link" href="{{ $.Site.BaseURL }}/categories/{{ $name | urlize | lower }}">
<li class="category-list-item"> <li class="category-list-item">
{{ $name }} {{ $name }}
<span class="category-list-count">{{ len $items }}</span> <span class="category-list-count">{{ len $items }}</span>

View File

@ -2,6 +2,6 @@
<input id="search" type="text" placeholder="search"> <input id="search" type="text" placeholder="search">
<ul id="results"> <ul id="results">
</ul> </ul>
<script type="text/javascript" src="{{ .Site.BaseURL }}js/search.js"></script> <script type="text/javascript" src="{{ .Site.BaseURL }}/js/search.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}bower_components/lunr.js/lunr.min.js"></script> <script type="text/javascript" src="{{ .Site.BaseURL }}/bower_components/lunr.js/lunr.min.js"></script>
</div> </div>

View File

@ -5,7 +5,7 @@
<h3 class="widget-title">Tags {{with .Site.Data.l10n.widgets.tag_cloud.title}}{{.}}{{end}} </h3> <h3 class="widget-title">Tags {{with .Site.Data.l10n.widgets.tag_cloud.title}}{{.}}{{end}} </h3>
<div class="widget tagcloud"> <div class="widget tagcloud">
{{ range $name, $items := .Site.Taxonomies.tags }} {{ range $name, $items := .Site.Taxonomies.tags }}
<a href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a> <a href="{{ $.Site.BaseURL }}/tags/{{ $name | urlize | lower }}" style="font-size: 12px;">{{ $name }}</a>
{{ end }} {{ end }}
</div> </div>
</ul> </ul>

View File

@ -8,7 +8,7 @@
<ul class="category-list"> <ul class="category-list">
{{ range $name, $items := .Site.Taxonomies.tags }} {{ range $name, $items := .Site.Taxonomies.tags }}
<li class="category-list-item"> <li class="category-list-item">
<a class="category-list-link" href="{{ $.Site.BaseURL }}tags/{{ $name | urlize | lower }}"> <a class="category-list-link" href="{{ $.Site.BaseURL }}/tags/{{ $name | urlize | lower }}">
{{ $name }} {{ $name }}
</a> </a>
<span class="category-list-count">{{ len $items }}</span> <span class="category-list-count">{{ len $items }}</span>

View File

@ -1,15 +1,15 @@
@media screen and (min-width: 1300px) { @media screen and (min-width: 900px) {
#footer-center { #footer-center {
left: 50% !important; left: 50% !important;
} }
} }
@media screen and (min-width: 1200px) { @media screen and (min-width: 800px) {
#sidebar { #sidebar {
display: inline; display: inline;
float: left; float: right;
width: auto !important; width: auto !important;
margin-left: 10px; max-width: 400px;
} }
#main { #main {
@ -65,7 +65,7 @@
} }
} }
@media screen and (max-width: 1100px) { @media screen and (max-width: 700px) {
#footer-right { #footer-right {
display: none; display: none;
} }
@ -101,11 +101,12 @@
} }
} }
@media screen and (min-width: 800px) and (max-width: 1199px) { @media screen and (min-width: 500px) and (max-width: 899px) {
#sidebar { #sidebar {
display: inline; display: inline;
float: left; float: left;
width: auto !important; width: auto !important;
max-width: 200px;
} }
#main { #main {
@ -115,10 +116,6 @@
margin: 0 0.7692307692308%; margin: 0 0.7692307692308%;
} }
#sidebar {
width: auto !important;
}
#main-nav-mobile { #main-nav-mobile {
display: none; display: none;
} }

View File

@ -117,8 +117,6 @@ body {
background-color: rgba(0, 0, 0, .5) !important; background-color: rgba(0, 0, 0, .5) !important;
} }
li.dropdown.open a.dropdown-toggle {}
li.dropdown.open a.dropdown-toggle:hover { li.dropdown.open a.dropdown-toggle:hover {
background-color: rgba(51, 122, 183, 0.58) !important; background-color: rgba(51, 122, 183, 0.58) !important;