1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00
simple-icons/index.html

108 lines
4.0 KiB
HTML
Raw Normal View History

2015-10-12 21:04:24 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Simple Icons</title>
2015-10-14 17:52:04 +02:00
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400">
2015-10-12 21:04:24 +02:00
<style>
html {
font-size: 16px;
}
body {
color: #666;
font-family: Lato, sans-serif;
-webkit-font-feature-settings: "dlig", "kern", "liga";
font-feature-settings: "dlig", "kern", "liga";
-webkit-font-smoothing: antialiased;
font-weight: 400;
line-height: 1.5rem;
margin: 0;
-moz-osx-font-smoothing: grayscale;
}
a {
color: #333;
}
a:focus, a:hover {
color: #999;
}
.navbar {
2015-10-13 16:11:08 +02:00
background: #EEE;
2015-10-12 21:04:24 +02:00
display: flex;
justify-content: space-between;
}
.title {
font-size: 1rem;
font-weight: 400;
letter-spacing: 0.05rem;
margin: 0;
padding: 1.5rem;
text-transform: uppercase;
}
.navbar__text {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 1.5rem;
text-transform: uppercase;
}
2015-10-14 17:52:04 +02:00
.hero {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 0 auto;
max-width: 21rem;
padding: 3rem;
text-align: center;
text-transform: uppercase;
}
2015-10-12 21:04:24 +02:00
.tiles {
display: flex;
flex-wrap: wrap;
list-style: none;
2015-10-14 17:52:04 +02:00
margin: -0.25rem 1.25rem;
2015-10-12 21:04:24 +02:00
padding: 0;
}
2015-10-14 17:52:04 +02:00
.tiles li {
2015-10-12 21:04:24 +02:00
box-sizing: border-box;
2015-10-13 16:11:08 +02:00
background: #333;
border: 0.25rem solid #FFF;
color: #FFF;
2015-10-14 17:52:04 +02:00
font-size: 0.75rem;
letter-spacing: 0.05rem;
padding: 0.75rem 1.5rem;
text-transform: uppercase;
2015-10-12 21:04:24 +02:00
width: 100%;
}
2015-10-14 17:52:04 +02:00
@media (min-width: 600px) { .tiles li { width: 50%; } }
@media (min-width: 800px) { .tiles li { width: 33.333%; } }
@media (min-width: 1000px) { .tiles li { width: 25% } }
@media (min-width: 1200px) { .tiles li { width: 20% } }
@media (min-width: 1500px) { .tiles li { width: 16.666% } }
@media (min-width: 1800px) { .tiles li { width: 12.5% } }
2015-10-12 21:04:24 +02:00
.footer {
margin: 3rem;
}
.footer p {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 0 auto;
max-width: 31.5rem;
text-align: center;
text-transform: uppercase;
}
</style>
</head>
<body>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
<p class="navbar__text">Share on <a href="#">Facebook</a> &amp; <a href="#">Twitter</a></p>
</header>
<main role="main">
2015-10-14 17:52:04 +02:00
<p class="hero">A set of SVG icons for popular brands. Download them from <a href="https://github.com/danleech/simple-icons">GitHub</a>.</p>
<ul class="tiles"><li class="tiles__item" style="background-color:#3B5998">Facebook<br>#3B5998</li><li class="tiles__item" style="background-color:#55ACEE">Twitter<br>#55ACEE</li><li class="tiles__item" style="background-color:#009CDB">Bath ASU<br>#009CDB</li><li class="tiles__item" style="background-color:#0B0C0C">GOV.UK<br>#0B0C0C</li><li class="tiles__item" style="background-color:#5AB552">Event Store<br>#5AB552</li><li class="tiles__item" style="background-color:#CD201F">YouTube<br>#CD201F</li><li class="tiles__item" style="background-color:#000000">MediaTemple<br>#000000</li> </ul>
2015-10-12 21:04:24 +02:00
</main>
<footer class="footer" role="contentinfo">
2015-10-13 16:11:08 +02:00
<p>Distributed for free by Dan Leech under the Free Art License. Company logos in icons are copyright of their respective owners. <a href="#">Coffee fund donations</a> are greatly appreciated!</p>
2015-10-12 21:04:24 +02:00
</footer>
</body>
</html>