update layour, add support for google analytics, fontawesome

trunk
Thomas Riboulet 4 years ago
parent c0e39ec135
commit 4bd236feb3

@ -2,6 +2,14 @@
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_ua_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_ua_id }}');
</script>
<!-- Basic Page Needs
-->
<meta charset="utf-8">
@ -25,14 +33,15 @@
<link rel="stylesheet" href="/assets/css/normalize.css">
<link rel="stylesheet" href="/assets/css/skeleton.css">
<link rel="stylesheet" href="/assets/css/imfiny.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="{{ site.fontawesome_integrity }}" crossorigin="anonymous">
<!-- Scripts
-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Favicon
<!-- RSS
-->
<link rel="alternate" type="application/atom+xml"
title="Atom Feed for imfiny.com" href="/feed.xml" />
</head>
<body>

@ -20,9 +20,20 @@
<div class="section banner imf">
<div class="container">
<div class="row">
<div class="one-half column">
<div class="five columns">
{{ site.top_description }}
</div>
<div class="four columns u-pull-right" id="social">
<a href="https://{{ site.corporate_url }}"><i class="fas fa-chess-rook"></i></a>
<i class="fas fa-circle separator"></i>
<a href="https://github.com/{{ site.github_username }}"><i class="fab fa-github"></i></a>
<i class="fas fa-circle separator"></i>
<a href="https://www.linkedin.com/in/{{ site.linkedin_path }}"><i class="fab fa-linkedin-in"></i></a>
<i class="fas fa-circle separator"></i>
<a href="https://twitter.com/{{ site.twitter_username }}"><i class="fab fa-twitter"></i></a>
<i class="fas fa-circle separator"></i>
<a href="/feed.xml"><i class="fas fa-rss"></i></a>
</div>
</div>
</div>
</div>

@ -2,6 +2,11 @@
font-family: 'Playfair Display';
}
.imf li {
font-size: 1.8rem;
margin-left: 1rem;
}
.hero {
margin-top: 1rem;
}
@ -110,6 +115,10 @@
color: #AAA;
}
.post ul a {
font-size: 18px;
}
.opinions-intro {
font-style: italic;
}
@ -133,3 +142,36 @@
display: none;
}
}
.banner .fa-rss {
box-shadow: -5px 5px 0 0 rgba(30, 174, 219, 1);
transform: scale(1);
animation: pulse 2s infinite;
border-radius: 10px;
}
@keyframes pulse {
0% {
transform: scale(0.95);
box-shadow: -5px 5px 0 0 rgba(30, 174, 219.7);
}
70% {
transform: scale(1);
box-shadow: -5px 5px 0 10px rgba(30, 174, 219, 0);
}
100% {
transform: scale(0.95);
box-shadow: -5px 5px 0 0 rgba(30, 174, 219, 0);
}
}
#social i {
font-size: 17px;
}
#social i.separator {
vertical-align: middle;
font-size: 10px;
margin-right: 10px;
margin-left: 10px;
}

@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "imfiny-times"
spec.version = "0.1.0"
spec.version = "0.2.2"
spec.authors = ["Thomas Riboulet"]
spec.email = ["thomas@imfiny.com"]
@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|_layouts|_includes|_sass|LICENSE|README)}i) }
spec.add_runtime_dependency "jekyll", "~> 3.6"
spec.add_runtime_dependency "jekyll", "~> 4.0"
spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"

Loading…
Cancel
Save