Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Writing Test Helpers

Stuart Kam
PRO
Stuart Kam
Pro Student 345 Points

Where's the CSS??

Where's the CSS file to copy and paste. In the Downloads it doesn't have it. What the hell.

1 Answer

Seth Kroger
Seth Kroger
56,369 Points

From a previous question: https://teamtreehouse.com/community/here-is-the-css-jason-pastes-into-applicationcss-so-you-dont-have-to-type-it-from-the-video

.clear { clear: both; }

div.nav {
  border-bottom: 1px solid #aaa;
  margin-bottom: 20px;
  padding: 10px 0 0 5px;
}

div.nav h1 {
  float: left;
  margin: 0 1em 0 0;
}

div.nav a { text-decoration: none !important; }

div.nav ul {
  float: left;
  list-style: none;
  clear: right;
  margin: 0 0 0 1em;
  padding: 0;
}

div.nav ul li {
  float: left;
}

div.nav ul li a {
  display: block;
  width: auto;
  padding: 8px 10px 8px 10px;
  background: #eee;
  color: #aaa;
}

div.nav ul li a:hover {
  background: #aaa;
  color: #eee;
}