simple-icons/src/header.html

158 lines
4.5 KiB
HTML
Raw Normal View History

2015-10-14 18:52:04 +03: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>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400">
<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 {
background: #EEE;
2015-10-15 16:30:13 +03:00
text-align: center;
2015-10-14 18:52:04 +03:00
}
.title {
font-size: 1rem;
font-weight: 400;
letter-spacing: 0.05rem;
margin: 0;
2015-10-15 16:30:13 +03:00
padding: 1.5rem 1.5rem 0;
2015-10-14 18:52:04 +03:00
text-transform: uppercase;
}
.navbar__text {
font-size: 0.75rem;
letter-spacing: 0.05rem;
2015-10-15 16:30:13 +03:00
margin: 0;
padding: 0 1.5rem 1.5rem;
2015-10-14 18:52:04 +03:00
text-transform: uppercase;
}
2015-10-15 16:30:13 +03:00
@media (min-width: 800px) {
.navbar {
display: flex;
justify-content: space-between;
text-align: left;
}
.title {
padding: 1.5rem;
}
.navbar__text {
padding: 1.5rem;
}
}
2015-10-14 18:52:04 +03:00
.hero {
font-size: 0.75rem;
letter-spacing: 0.05rem;
margin: 0 auto;
2015-10-15 16:30:13 +03:00
max-width: 18rem;
2015-10-14 18:52:04 +03:00
padding: 3rem;
text-align: center;
text-transform: uppercase;
}
.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;
2015-10-15 16:30:13 +03:00
line-height: 1rem;
2015-10-16 13:09:43 +03:00
padding: 0;
2015-10-14 18:52:04 +03:00
text-transform: uppercase;
2015-10-16 16:08:40 +03:00
transition: all 0.05s ease-out;
2015-10-14 18:52:04 +03:00
width: 100%;
}
2015-10-16 15:41:20 +03:00
.tiles li:hover {
border: 0.125rem solid #FFF;
padding: 0.125rem 0 0 0.125rem;
}
2015-10-16 13:09:43 +03:00
.tiles a {
color: #FFF;
display: block;
padding: 1.25rem 0.75rem 1.25rem;
text-decoration: none;
}
.tiles svg {
2015-10-15 16:30:13 +03:00
float: left;
height: 2rem;
margin: -0.5rem 0.75rem 0 0;
padding: 0.5rem 0.5rem 0;
2015-10-18 21:20:19 +03:00
width: 2rem;
2015-10-15 16:30:13 +03:00
}
.hex {
opacity: 0.5;
}
2015-10-15 18:39:35 +03:00
@media (min-width: 500px) { .tiles li { width: 50%; } }
@media (min-width: 700px) { .tiles li { width: 33.333%; } }
2015-10-16 18:48:09 +03:00
@media (min-width: 900px) { .tiles li { width: 25% } }
@media (min-width: 1100px) { .tiles li { width: 20% } }
2015-10-16 18:53:05 +03:00
@media (min-width: 1250px) { .tiles li { width: 16.666% } }
2015-10-16 18:48:09 +03:00
@media (min-width: 1700px) { .tiles li { width: 12.5% } }
@media (min-width: 2100px) { .tiles li { width: 10% } }
2015-10-14 18:52:04 +03:00
.footer {
margin: 3rem;
}
.footer p {
font-size: 0.75rem;
letter-spacing: 0.05rem;
2015-10-16 17:41:26 +03:00
margin: 1.5rem auto 0;
2015-10-14 18:52:04 +03:00
max-width: 31.5rem;
text-align: center;
text-transform: uppercase;
}
2015-10-18 21:20:19 +03:00
.donate-form {
margin: 1.5rem 0;
text-align: center;
}
.donate-button {
2015-10-18 21:40:44 +03:00
-webkit-appearance: none;
2015-10-18 21:20:19 +03:00
background: #999;
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 {
background: #333;
}
2015-10-14 18:52:04 +03:00
</style>
</head>
<body>
<header class="navbar" role="banner">
<h1 class="title">Simple Icons</h1>
2015-10-18 13:59:36 +03:00
<p class="navbar__text">Like this? Help by sharing!</p>
2015-10-14 18:52:04 +03:00
</header>
<main role="main">