Merge pull request #426 from danleech/develop

Develop
This commit is contained in:
Dan Leech 2017-05-03 14:22:47 +01:00 committed by GitHub
commit b232456da5

View File

@ -104,16 +104,16 @@
<link rel="preconnect" href="//cdn.carbonads.com"> <link rel="preconnect" href="//cdn.carbonads.com">
<link rel="preconnect" href="//github.com"> <link rel="preconnect" href="//github.com">
<title>Simple Icons</title> <title>Simple Icons</title>
<meta name="description" content="SVG icons for popular brands."> <meta name="description" content="Free SVG icons for popular brands.">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:title" content="Simple Icons"> <meta property="og:title" content="Simple Icons">
<meta property="og:description" content="SVG icons for popular brands."> <meta property="og:description" content="Free SVG icons for popular brands.">
<meta property="og:url" content="https://simpleicons.org"> <meta property="og:url" content="https://simpleicons.org">
<meta property="og:site_name" content="Simple Icons"> <meta property="og:site_name" content="Simple Icons">
<meta property="og:image" content="https://simpleicons.org/images/og.png"> <meta property="og:image" content="https://simpleicons.org/images/og.png">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Simple Icons"> <meta name="twitter:title" content="Simple Icons">
<meta name="twitter:description" content="SVG icons for popular brands."> <meta name="twitter:description" content="Free SVG icons for popular brands.">
<meta name="twitter:site" content="@bathtype"> <meta name="twitter:site" content="@bathtype">
<meta name="twitter:domain" content="Simple Icons"> <meta name="twitter:domain" content="Simple Icons">
<meta name="twitter:image:src" content="https://simpleicons.org/images/og.png"> <meta name="twitter:image:src" content="https://simpleicons.org/images/og.png">
@ -195,8 +195,10 @@
background-color: #EEE; background-color: #EEE;
padding: 1.5rem; padding: 1.5rem;
} }
@media (min-width: 720px) { @media (min-width: 45rem) {
.footer { .footer {
display: flex;
justify-content: space-between;
padding: 3rem; padding: 3rem;
} }
} }
@ -208,14 +210,34 @@
margin: 0; margin: 0;
opacity: 0.5; opacity: 0.5;
} }
a.share-button {
background-color: #1DA1F2;
border-radius: 0.125rem;
color: #FFF;
display: block;
margin: 0.75rem 0 0;
padding: 0.75rem 1.5rem;
text-align: center;
text-decoration: none;
}
@media (min-width: 45rem) {
a.share-button {
margin: 0;
}
}
.hero { .hero {
font-size: 1.5rem; font-size: 1.5rem;
line-height: 2rem; line-height: 2rem;
margin: 0; margin: 0;
padding: 4.5rem 1.5rem 1.5rem; padding: 3rem 1.5rem 1.5rem;
text-align: center; text-align: center;
} }
@media (min-width: 45rem) {
.hero {
padding: 4.5rem 3rem 1.5rem;
}
}
.grid { .grid {
display: flex; display: flex;
@ -224,7 +246,7 @@
margin: 1.5rem; margin: 1.5rem;
padding: 0; padding: 0;
} }
@media (min-width: 720px) { @media (min-width: 45rem) {
.grid { .grid {
margin: 3rem; margin: 3rem;
} }
@ -310,7 +332,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@media (min-width: 720px) { @media (min-width: 45rem) {
.navbar__nav { .navbar__nav {
padding: 0 1.5rem; padding: 0 1.5rem;
} }
@ -348,7 +370,7 @@
</ul> </ul>
</header> </header>
<main role="main"> <main role="main">
<p class="hero">{{ site.data.simple-icons.icons | size }} free <abbr title="Scalable Vector Graphic">SVG</abbr> icons for popular brands</p> <p class="hero">Free <abbr title="Scalable Vector Graphic">SVG</abbr> icons for popular&nbsp;brands</p>
<ul class="grid"> <ul class="grid">
<li class="grid-item grid-item--ad"> <li class="grid-item grid-item--ad">
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1696&amp;serve=CVYD42T&amp;placement=simpleiconsorg" id="_carbonads_js"></script> <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1696&amp;serve=CVYD42T&amp;placement=simpleiconsorg" id="_carbonads_js"></script>
@ -378,8 +400,9 @@
</ul> </ul>
</main> </main>
<footer class="footer" role="contentinfo"> <footer class="footer" role="contentinfo">
<p>A <a href="https://github.com/danleech/simple-icons/blob/master/LICENSE.md">CC0</a> project maintained by <a href="https://twitter.com/bathtype">Dan&nbsp;Leech</a>.</p> <p>A <a href="https://github.com/danleech/simple-icons/blob/master/LICENSE.md">CC0</a> project maintained by <a href="https://twitter.com/bathtype">Dan&nbsp;Leech</a>.<br>
<p>Use <a href="https://github.com/danleech/simple-icons">GitHub</a> for requests, corrections and contributions.</p> Use <a href="https://github.com/danleech/simple-icons">GitHub</a> for requests, corrections and contributions.</p>
<a class="share-button" href="https://twitter.com/share?url=https%3A%2F%2Fsimpleicons.org&via=bathtype&text=Simple%20Icons%3A%20free%20SVG%20icons%20for%20popular%20brands.">Share this on Twitter!</a>
</footer> </footer>
<script> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){