/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

html, body {
  padding: 0;
  margin: 0;
  height: 100%;

  background: white url(/images/nodejs.png) 50% 50% no-repeat;
}

header {
  background: #333;
  padding: 0 16px;
}

header h1 {
  color: white;
  line-height: 40px;
}

footer {
  width: 100%;
  height: 40px;
  margin-top: 0;
  padding: 16px 16px 0 16px;
  line-height: 24px;
  position: fixed;
  bottom: 0;
  background: white;
}

section#content {
  padding: 64px 32px;
}

section#notice {
  font-size: 32px;
  line-height: 48px;
}

section#tweets {
}

section#tweets article.tweet {
  padding: 2px 8px;
}

section#tweets article.tweet .clear {
  clear: both;
}

section#tweets article.tweet img.avatar {
  display: inline;
  float: left;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0 4px 0 0;
}

section#tweets article.tweet div.text-container {
  overflow: hidden;
  height: 24px;
  position: relative;
}

section#tweets article.tweet div.text-container div.text {
  display: inline-block;
  float: left;
  line-height: 24px;
  width: 10000px;
}

section#tweets article.tweet div.text:before {
  position: absolute;
  top: 0;
  right: 0px;

  background: -webkit-linear-gradient(right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  background: -moz-linear-gradient(right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  content: '';
  width: 50px;
  height: 24px;
}

div#tweet-button {
  line-height: 32px;
}

div#tweet-button iframe {
  position: relative;
  top: 6px;
}
