updated style on website
This commit is contained in:
parent
33eef02907
commit
cdc4da40e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.swp
|
||||
*.lock
|
||||
/public
|
||||
/ressources
|
||||
|
@ -1,4 +1,4 @@
|
||||
baseurl = "//www.paulbsd.com/"
|
||||
baseurl = "https://www.paulbsd.com"
|
||||
languageCode = "en-gb"
|
||||
title = "PaulBSD website"
|
||||
googleAnalytics = ""
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
{{ if isset .Params "banner" }}
|
||||
<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>
|
||||
</a>
|
||||
{{ else }}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
|
||||
<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>
|
||||
|
||||
{{ partial "article_header" . }}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<footer id="footer-right">Your IP address : <a id="dip">{{ "{{" }} returnstring {{ "}}" }}</a></footer>
|
||||
</div>
|
||||
</div>
|
||||
<script src="{{ .Site.BaseURL }}js/main.js">
|
||||
<script src="{{ .Site.BaseURL }}/js/main.js">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js">
|
||||
</script>
|
||||
|
@ -9,16 +9,16 @@
|
||||
<meta name="description" content="{{ . }}">
|
||||
{{ end }}
|
||||
|
||||
<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/dropdowns-enhancement.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/d3/d3.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/vue/vue.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}bower_components/axios/axios.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/dropdowns-enhancement.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/d3/d3.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/vue/vue.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/bower_components/axios/axios.min.js"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
@ -29,16 +29,16 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" />
|
||||
<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/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/talaria/dist/talaria.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/icomoon/css/icomoon.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/mobile.css" />
|
||||
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico" />
|
||||
<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/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/talaria/dist/talaria.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/icomoon/css/icomoon.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/mobile.css" />
|
||||
</head>
|
@ -1,5 +1,5 @@
|
||||
<div id="top-image">
|
||||
<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>
|
@ -1,7 +1,7 @@
|
||||
<aside id="profile">
|
||||
<div class="inner profile-inner">
|
||||
<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.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
|
||||
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<article>
|
||||
<div class="article-inner">
|
||||
{{ 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 }}
|
||||
|
||||
{{ partial "article_header" . }}
|
||||
|
@ -1,100 +1,100 @@
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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>
|
||||
{{ end }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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 }}
|
@ -5,7 +5,7 @@
|
||||
<ul class="category-list">
|
||||
<h3 class="widget-title">Categories {{with .Site.Data.l10n.widgets.categories.title}}{{.}}{{end}}</h3>
|
||||
{{ 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">
|
||||
{{ $name }}
|
||||
<span class="category-list-count">{{ len $items }}</span>
|
||||
|
@ -2,6 +2,6 @@
|
||||
<input id="search" type="text" placeholder="search">
|
||||
<ul id="results">
|
||||
</ul>
|
||||
<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 }}/js/search.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/bower_components/lunr.js/lunr.min.js"></script>
|
||||
</div>
|
@ -5,7 +5,7 @@
|
||||
<h3 class="widget-title">Tags {{with .Site.Data.l10n.widgets.tag_cloud.title}}{{.}}{{end}} </h3>
|
||||
<div class="widget tagcloud">
|
||||
{{ 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 }}
|
||||
</div>
|
||||
</ul>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<ul class="category-list">
|
||||
{{ range $name, $items := .Site.Taxonomies.tags }}
|
||||
<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 }}
|
||||
</a>
|
||||
<span class="category-list-count">{{ len $items }}</span>
|
||||
|
@ -1,15 +1,15 @@
|
||||
@media screen and (min-width: 1300px) {
|
||||
@media screen and (min-width: 900px) {
|
||||
#footer-center {
|
||||
left: 50% !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
@media screen and (min-width: 800px) {
|
||||
#sidebar {
|
||||
display: inline;
|
||||
float: left;
|
||||
float: right;
|
||||
width: auto !important;
|
||||
margin-left: 10px;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
#main {
|
||||
@ -65,7 +65,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
@media screen and (max-width: 700px) {
|
||||
#footer-right {
|
||||
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 {
|
||||
display: inline;
|
||||
float: left;
|
||||
width: auto !important;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
#main {
|
||||
@ -115,10 +116,6 @@
|
||||
margin: 0 0.7692307692308%;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
#main-nav-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
@ -117,8 +117,6 @@ body {
|
||||
background-color: rgba(0, 0, 0, .5) !important;
|
||||
}
|
||||
|
||||
li.dropdown.open a.dropdown-toggle {}
|
||||
|
||||
li.dropdown.open a.dropdown-toggle:hover {
|
||||
background-color: rgba(51, 122, 183, 0.58) !important;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user