simple-icons/src/header.html
2015-11-06 18:50:13 +00:00

236 lines
8.6 KiB
HTML

<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="https://simpleicons.org">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="dns-prefetch" href="//www.google-analytics.com">
<link rel="dns-prefetch" href="//github.com">
<link rel="dns-prefetch" href="//raw.githubusercontent.com">
<title>Simple Icons</title>
<meta name="description" content="SVG icons for popular brands.">
<meta property="og:type" content="website">
<meta property="og:title" content="Simple Icons">
<meta property="og:description" content="SVG icons for popular brands.">
<meta property="og:url" content="https://simpleicons.org">
<meta property="og:site_name" content="Simple Icons">
<meta property="og:image" content="https://simpleicons.org/og.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Simple Icons">
<meta name="twitter:description" content="SVG icons for popular brands.">
<meta name="twitter:site" content="@bathtype">
<meta name="twitter:domain" content="Simple Icons">
<meta name="twitter:image:src" content="https://simpleicons.org/images/og.png">
<link rel="icon" type="image/x-icon" href="https://simpleicons.org/images/favicon.ico">
<link rel="icon" type="image/png" href="https://simpleicons.org/images/favicon.png">
<meta name="google-site-verification" content="jn6XSTOvKDg-FP9-O7SUw5qU1CxPOaqhAeNUEkNrz_M">
<link rel="apple-touch-icon" href="https://simpleicons.org/images/apple-touch-icon.png">
<link rel="mask-icon" href="https://simpleicons.org/images/logo.svg" color="#111111">
<style>
html {
font-size: 16px;
}
body {
background-color: #FFF;
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 {
background: #EEE;
text-align: center;
}
.title {
font-size: 1rem;
font-weight: 400;
letter-spacing: 0.05rem;
margin: 0;
padding: 1.5rem 1.5rem 0;
text-transform: uppercase;
}
.navbar__text {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 0;
padding: 0;
text-transform: uppercase;
}
.donate-form {
margin: 0;
padding: 0 0 1.5rem;
text-align: center;
}
@keyframes pulse {
0% {
background-color: #CCC;
}
50% {
background-color: #AAA;
}
100% {
background-color: #CCC;
}
}
.donate-button {
-webkit-appearance: none;
animation: pulse 2.5s infinite;
animation-timing-function: ease-in-out;
background: #CCC;
border: 0;
border-radius: 1.5rem;
color: #FFF;
cursor: pointer;
font-family: inherit;
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0.05rem;
padding: 0.75rem 1.5rem;
text-transform: uppercase;
}
.donate-button:focus, .donate-button:hover {
animation: none;
background: #333;
}
@media (min-width: 800px) {
.navbar {
display: flex;
justify-content: space-between;
text-align: left;
}
.title {
padding: 1.5rem;
}
.navbar__text {
display: inline-block;
padding: 1.5rem 0.75rem;
}
.donate-form {
margin: 0 1.5rem 0 0;
padding: 0;
}
}
.hero {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 0 auto;
max-width: 18rem;
padding: 3rem 3rem 0;
text-align: center;
text-transform: uppercase;
}
.search-field {
-webkit-appearance: none;
background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxLjQxNCI+PHBhdGggZD0iTTE1LjY4NSAxNC4xODNMMTEuNjIgMTAuMWMuNzUtMS4wNSAxLjE4Mi0yLjMxNyAxLjE4Mi0zLjcgMC0zLjUzMy0yLjg2Ny02LjQtNi40LTYuNC0zLjUzMyAwLTYuNCAyLjg2Ny02LjQgNi40IDAgMy41MzMgMi44NjcgNi40IDYuNCA2LjQgMS4zODMgMCAyLjY1LS40MzMgMy43LTEuMTgzbDQuMDgzIDQuMDY2Yy4yLjIxNy40ODQuMzE3Ljc1LjMxNy4yNjcgMCAuNTUtLjEuNzUtLjMxNy40MTctLjQxNi40MTctMS4wODMgMC0xLjV6bS05LjI4My0yLjc2NmMtMi43NjcgMC01LjAxNy0yLjI1LTUuMDE3LTUuMDE3IDAtMi43NjcgMi4yNS01LjAxNyA1LjAxNy01LjAxNyAyLjc2NyAwIDUuMDE3IDIuMjUgNS4wMTcgNS4wMTcgMCAyLjc2Ny0yLjI1IDUuMDE3LTUuMDE4IDUuMDE3eiIgZmlsbD0iI2QxZDFkMSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+);
background-position: left center;
background-repeat: no-repeat;
background-size: 1rem 1rem;
border: none;
border-bottom: 1px solid #EEE;
color: #999;
display: block;
font-family: inherit;
font-size: 0.75rem;
letter-spacing: 0.05rem;
line-height: 0.75rem;
margin: 1.5rem auto;
outline: 0;
padding: 0.375rem 0.375rem 0.375rem 1.375rem;
text-transform: uppercase;
width: 12rem;
}
.tiles {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: -0.25rem 1.25rem;
padding: 0;
}
.tiles li {
box-sizing: border-box;
background: #333;
border: 0.25rem solid #FFF;
color: #FFF;
font-size: 0.75rem;
letter-spacing: 0.05rem;
line-height: 1rem;
padding: 1.25rem 0.75rem 1.25rem;
text-transform: uppercase;
width: 100%;
}
.tiles ::selection {
background: #FFF;
color: #333;
}
.tiles ::-moz-selection {
background: #FFF;
color: #333;
}
.tiles li:hover {
border: 0.125rem solid #FFF;
padding: 1.375rem 0.875rem;
}
.tile-name {
color: #FFF;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: calc(100% - 4rem);
}
.tiles svg {
float: left;
height: 2rem;
margin: -0.5rem 0.75rem 0 0;
padding: 0.5rem 0.5rem 0;
width: 2rem;
}
.hex {
opacity: 0.5;
}
@media (min-width: 500px) { .tiles li { width: 50%; } }
@media (min-width: 700px) { .tiles li { width: 33.333%; } }
@media (min-width: 900px) { .tiles li { width: 25% } }
@media (min-width: 1100px) { .tiles li { width: 20% } }
@media (min-width: 1250px) { .tiles li { width: 16.666% } }
@media (min-width: 1700px) { .tiles li { width: 12.5% } }
@media (min-width: 2100px) { .tiles li { width: 10% } }
.footer {
margin: 3rem;
}
.footer p {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 1.5rem auto 0;
max-width: 31.5rem;
text-align: center;
text-transform: uppercase;
}
</style>
</head>
<body>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank" class="donate-form">
<p class="navbar__text">Like this?</p>
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="UCMEG4SWEYFUC">
<input type="submit" name="submit" value="Buy Dan a coffee!" class="donate-button">
</form>
</header>
<main role="main">