/*
Chapter 2 case study
CSS styles for Ultimate frisbee page
*/

#announcements {
  background-color: #ddffdd;
  border: 2px solid black;
  margin-right: 10em;
}

body {
  background-color: white;
  color: black;
  font: 12pt "Tahoma", "Arial", sans-serif;
}

#calendar {
  background-color: #00eeee;
  border: 2px solid black;
  line-height: 1.5em;
  position: fixed;
  right: 1em;
  top: 1em;
  width: 8em;
}

#calendar ul {
  padding-left: 2em;
}

h1 {
  margin: 0em 0em 0.5em 0em;
  text-align: center;
}

#news {
  float: left;
}

.announcement {  /* text inside h2 headings */
  background-color: #0000cc;
  color: white;
}

#announcements h2 {
  border-bottom: 2px solid black;
  clear: right;
}

#announcements img {
  float: right;
  margin-left: 2em;
}

#news {
  font-size: smaller;
}

#news > ul {
  list-style-type: none;
  padding-left: 0em;
}

#news li {
  background-color: #FFFFCC;
  border: 3px solid #FFFF88;
  margin-bottom: 1em;
  padding: 1em;
}
