Skip to content

Commit 46a0974

Browse files
committed
Move signup button to similar ones
1 parent f9b7114 commit 46a0974

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

sass/_extra.scss

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ li {
1010
margin: 15px 0;
1111
}
1212

13-
pre > code {
13+
pre>code {
1414
// To avoid grey background on code blocks.
1515
background-color: inherit;
1616
}
@@ -99,7 +99,7 @@ h6:hover .anchor {
9999
margin-bottom: 0;
100100
}
101101

102-
a.btn {
102+
.btn {
103103
text-decoration: none;
104104
border-radius: 3px;
105105
font-weight: 600;
@@ -120,10 +120,10 @@ a.btn {
120120

121121
// A hack for image captions.
122122
// See https://stackoverflow.com/questions/19331362/using-an-image-caption-in-markdown-jekyll
123-
img + em,
124-
a:first-child + em:last-child,
125-
video + em {
123+
img+em,
124+
a:first-child+em:last-child,
125+
video+em {
126126
display: block;
127127
text-align: center;
128128
color: $grey-color;
129-
}
129+
}

templates/includes/email_signup.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<div id="mc_embed_signup">
22
<form action="https://gamedev.us22.list-manage.com/subscribe/post?u=3b2317bf9350c11e252162541&amp;id=aaf37783ec&amp;f_id=0011cde1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_self" novalidate="">
3-
<div id="mc_embed_signup_scroll"><h2>Subscribe</h2>
4-
<div class="mc-field-group"><label for="mce-EMAIL">Email Address </label><input type="email" name="EMAIL" class="required email" id="mce-EMAIL" required="" value=""></div>
5-
<div id="mce-responses" class="clear">
6-
<div class="response" id="mce-error-response" style="display: none;"></div>
7-
<div class="response" id="mce-success-response" style="display: none;"></div>
8-
</div>
9-
<div style="position: absolute; left: -5000px;" aria-hidden="true">
10-
<input type="text" name="b_3b2317bf9350c11e252162541_aaf37783ec" tabindex="-1" value="">
3+
<div id="mc_embed_signup_scroll">
4+
<div class="mc-field-group">
5+
<label for="mce-EMAIL">Email Address </label>
6+
<input type="email" name="EMAIL" class="required email" id="mce-EMAIL" required="" value="">
117
</div>
128
<div class="clear">
139
<input type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn" value="Subscribe">
1410
</div>
11+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
12+
<input type="text" name="b_3b2317bf9350c11e252162541_aaf37783ec" tabindex="-1" value="">
13+
</div>
1514
</div>
1615
</form>
1716
</div>

templates/includes/footer.html

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ <h2 class="footer-heading">{{ config.title | default(value="Minima") }}</h2>
2323
{% if config.description %}
2424
<p>{{ config.description }}</p>
2525
{% endif %}
26-
27-
{% include "includes/email_signup.html" %}
2826
</div>
2927

3028
<div class="footer-col one-half">

templates/includes/home.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ <h2 class="post-list-heading">{{ section.title | default(value="Latest Blog Post
3939
<a class="btn" id="all-blog-posts" href="{{ get_url(path='blog/') }}">All Blog Posts</a>
4040
<a href="{{ get_url(path='rss.xml') }}">
4141
<svg class="svg-icon orange"><use xlink:href="{{ get_url(path='minima-social-icons.svg#rss') }}"></use></svg><span>Subscribe</span>
42-
</a>
42+
</a>
43+
{% include "includes/email_signup.html" %}
4344
</p>
4445
</div>

0 commit comments

Comments
 (0)