Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 8a154a3

Browse files
committed
style and footer improvements
1 parent 923846f commit 8a154a3

File tree

5 files changed

+40
-22
lines changed

5 files changed

+40
-22
lines changed

_includes/footer.html

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11

22
<footer class="container container-fluid">
33
<hr>
4-
<div class="center subscribe">
5-
<nav>
6-
<ul class="pager">
7-
<li>
8-
<a href="/search" title="Search issues"><i class="fa fa-lg fa-search"></i> Search issues</a>
9-
</li>
10-
</ul>
11-
</nav>
12-
</div>
134
<p class="text-muted text-center">
145
<small>
156
<strong>Questions? Feedback? Corrections?</strong><br/>
@@ -18,13 +9,15 @@
189
on <a href="{{ site.links.github }}" target="_blank">GitHub</a>.
1910
</small>
2011
</p>
21-
<div class="row subscribe social">
12+
13+
<div class="row social">
2214
<div class="col-sm-12 col-sm-offset-0 col-md-8 col-md-offset-2">
2315
<ul class="inline center">
2416
<li><a href="{{ site.links.twitter }}" title="Follow on Twitter" target="_blank"><i class="fa fa-2x fa-twitter" aria-hidden="true"></i></a></li>
2517
<li><a href="{{ site.links.github }}" title="Contribute on Github" target="_blank"><i class="fa fa-2x fa-github" aria-hidden="true"></i></a></li>
2618
<li><a href="{{ site.links.rss }}" title="Subscribe via RSS/atom"><i class="fa fa-2x fa-rss" aria-hidden="true"></i></a></li>
2719
<li><a href="{{ site.links.applenews }}" title="Add to Apple News"><i class="fa fa-2x fa-apple" aria-hidden="true"></i></a></li>
20+
<li><a href="/search" title="Search issues"><i class="fa fa-2x fa-search" aria-hidden="true"></i></a></li>
2821
</ul>
2922
</div> <!-- col -->
3023
</div> <!-- row -->

_includes/header.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

2-
<header class="container">
3-
2+
<header class="container container-fluid">
43
<div class="row">
5-
<div class="col-sm-12 col-sm-offset-0 col-md-8 col-md-offset-2">
6-
<h1><a href="/">{{ site.title }}</a></h1>
4+
<div class="col-sm-12 col-md-8 col-md-offset-2">
5+
<h1 class="text-center"><a href="/">{{ site.title }}</a></h1>
76
<div class="tagline col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
87
<h2>A community-driven weekly newsletter about what's happening in the Swift open source projects at <a href="https://swift.org/" target="_blank">Swift.org</a>.
98
Curated by <a href="{{ site.curator.url }}" target="_blank">{{ site.curator.name }}</a> and published for free every Thursday.</h2>

_includes/social_share.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<div class="sharing">
33
<div class="row">
4-
<div class="col-md-4 col-sm-4 col-xs-12 center">
4+
<div class="col-md-4 col-md-offset-4 col-sm-4 col-sm-offset-4 col-xs-12">
55
<div class="btn-group btn-group-justified" role="group">
66

77
<div class="btn-group" role="group">

_includes/subscribe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<div class="row center subscribe">
2+
<div class="row subscribe">
33
<div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
44
<nav>
55
<ul class="pager">

css/style.css

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,6 @@ blockquote {
171171
padding: 0.25rem;
172172
}
173173

174-
.social ul li a {
175-
border-width: 0px;
176-
padding-left: 0.5rem;
177-
padding-right: 0.5rem;
178-
}
179-
180174
/* AUTHORS */
181175

182176
.posts-list li {
@@ -187,3 +181,35 @@ blockquote {
187181
.post-count {
188182
display: inline-block;
189183
}
184+
185+
/* BOTTOM ICONS */
186+
187+
footer a, footer a:visited,
188+
.social a, .social a:visited {
189+
color: #444444;
190+
}
191+
192+
.social ul li a {
193+
border-width: 0px;
194+
}
195+
196+
.social ul li a:hover {
197+
color: #666666;
198+
text-decoration: none;
199+
}
200+
201+
.social ul {
202+
-webkit-padding-start: 0px !important;
203+
-webkit-margin-before: 0px !important;
204+
-webkit-margin-after: 0px !important;
205+
}
206+
207+
.social ul li {
208+
display: inline-block;
209+
padding: 0.25rem 0.25rem 0.25rem 0.25rem;
210+
}
211+
212+
.social ul li {
213+
margin-left: 0.5rem;
214+
margin-right: 0.5rem;
215+
}

0 commit comments

Comments
 (0)