Skip to content

Commit 900c0a2

Browse files
committed
Add a Elixir Radar link to the sidebar
1 parent 9345661 commit 900c0a2

File tree

6 files changed

+94
-1
lines changed

6 files changed

+94
-1
lines changed

Diff for: _includes/elixir-radar.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div id="elixir-radar" class="widget">
2+
<h3 class="widget-title">Elixir Radar</h3>
3+
<p>
4+
A weekly Elixir email newsletter with content curated by Plataformatec. <strong>Subscribe below</strong>.
5+
</p>
6+
<div class="elixir-radar-cta">
7+
<div class="cta-copy">
8+
<div class="cta-title">
9+
Elixir Radar
10+
</div>
11+
<div class="cta-subtitle">
12+
weekly newsletter
13+
</div>
14+
</div>
15+
<div class="cta-button-container">
16+
<a href="http://plataformatec.com.br/elixir-radar?utm_campaign=elixir_lang_cta&utm_medium=cta&utm_source=elixir_lang_website" class="cta-button">
17+
Subscribe now
18+
</a>
19+
</div>
20+
</div>
21+
</div>

Diff for: _includes/top.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="stylesheet" href="/js/icons/ie7/ie7.css">
1313
<!--<![endif]-->
1414
<meta name="viewport" content="width=device-width,initial-scale=1" />
15-
<link rel="stylesheet" id="font-bitter-css" href="http://fonts.googleapis.com/css?family=Bitter&amp;ver=1" type="text/css" media="screen" />
15+
<link rel="stylesheet" id="font-bitter-css" href="http://fonts.googleapis.com/css?family=Bitter:400,700" type="text/css" media="screen" />
1616
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
1717
<script>
1818
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

Diff for: _layouts/blog.html

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
{% include important-links.html %}
1414
{% include code-editor-support.html %}
1515
{% include sponsors.html %}
16+
{% include elixir-radar.html %}
1617
</div>
1718

1819
{% include bottom.html %}

Diff for: _layouts/default.html

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
{% include important-links.html %}
1010
{% include code-editor-support.html %}
1111
{% include sponsors.html %}
12+
{% include elixir-radar.html %}
1213
</div>
1314

1415
{% include bottom.html %}

Diff for: _layouts/getting-started.html

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ <h3 class="widget-title">{{guide.title}}</h3>
2020
{% endfor %}
2121

2222
{% include sponsors.html %}
23+
{% include elixir-radar.html %}
2324
</div>
2425

2526
<div id="content">

Diff for: css/style.css

+69
Original file line numberDiff line numberDiff line change
@@ -907,4 +907,73 @@ ol.jekyll-toc li a {
907907
-moz-user-select: none;
908908
-ms-user-select: none;
909909
user-select: none;
910+
}
911+
912+
/* elixir radar */
913+
.elixir-radar-cta {
914+
padding: 10px 0;
915+
display: table;
916+
width: 100%;
917+
border-top: 1px dashed #e5e5e5;
918+
border-bottom: 1px dashed #e5e5e5;
919+
}
920+
921+
.cta-copy {
922+
display: table-cell;
923+
margin-right: 10px;
924+
vertical-align: middle;
925+
}
926+
927+
.cta-copy .cta-title {
928+
font-size: 21px;
929+
font-family: 'Bree Serif';
930+
color: #14485b;
931+
}
932+
933+
.cta-copy .cta-subtitle {
934+
font-size: 14px;
935+
font-family: Georgia;
936+
color: #14485b;
937+
}
938+
939+
.cta-button-container {
940+
display: table-cell;
941+
vertical-align: middle;
942+
}
943+
944+
a.cta-button, a.cta-button:visited{
945+
color: white;
946+
text-decoration: none;
947+
}
948+
949+
a.cta-button {
950+
padding: 5px 10px;
951+
display: inline-block;
952+
953+
font-size: 1.1em;
954+
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
955+
text-align: center;
956+
957+
background-color: #17678a;
958+
background-image: linear-gradient(#1e88b6, #17678a);
959+
960+
border: 1px solid #14485b;
961+
border-radius: 3px;
962+
963+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
964+
}
965+
966+
a.cta-button:hover {
967+
background-color: #10465e;
968+
background-image: linear-gradient(#17678a, #10465e);
969+
border-color: #0b2731;
970+
}
971+
972+
a.cta-button:active {
973+
position: relative;
974+
top: 1px;
975+
left: 1px;
976+
977+
background-image: none;
978+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15);
910979
}

0 commit comments

Comments
 (0)