/**************************************
Joel A. Tropp / Caltech website
research.css: Style for research page elements
June 2021
**************************************/

@charset "UTF-8";

/* Import overall look and feel */

@import url("main.css");

/* Responsive Design */

/* Format publication list */
/* High-level choices */

ul.publist {
  list-style-position: inside;
  text-indent: -2.5em;
  font-size: small;
  line-height: 1.5em;
}

li.pub {
  padding-bottom: .3em;
}

.title, .booktitle {
  font-weight: bold;
  /* display: inline; */
}

/* Upgrae this later and make it depend on even / odd sectioning */

.prize {
  text-indent: 2em;
  font-weight: normal;
  /* background-color: white;
  color: Sienna; */
  display: block;
  /* white-space: pre-wrap; */
}

.prize::before {
  content: '\27A2  ';
}

.prize::after {
  content: '\0009  ';
}

/* .prize::before {
  content: '\A';
} */

/* .title::after, .booktitle::after {
  content: '\A';
} */

.authors::before {
  content: 'by ';
}

.journal {
  font-style: italic;
}

/* Add periods, commas after most items... */

.journal::after {
  content: ', ';
}

.authors::after, .pubnotes::after, .pubinfo::after, .pubtype::after {
  content: '. ';
}

/* .arxiv::before {
  content: 'Available at arXiv:';
}

.arxiv::after {
  content: '.';
} */

/* Lists of resourcess associated with a course or publication */


ul.resources {
  text-indent: 0em;
  display: flex;
  flex-flow: row wrap;
  padding-left: 0px;
  padding-top: 2px;
  list-style: none;
  line-height: 1.1em;
  margin: 0.1em 0em 0.4em 0em;
}

.resources li {
  list-style-type: none;
  float: left;
  width: 5em;
  text-align: center;
  /* vertical-align: middle; */
  font-size: smaller;
  /* display: inline; */
  border: 1px solid;
  border-radius: 3px;
  padding: 0px 5px 0em 5px;
  margin: 0px 5px 5px 5px;
}

section:nth-of-type(even) .resources li:hover {
  background-color: SaddleBrown;
}

section:nth-of-type(odd) .resources li:hover {
  background-color: White;
}

/* .resources::before {
  padding-left: 10px;
  content: "[";
}

.resources::after {
  content: "]";
} */

/* .resources li:not(:last-child)::after {
  content: ", ";
  padding-right: 5px;
} */

/* Setup year nav */

nav.yearnav {
  display: flex;
  flex: row wrap;
}

.yearnav li {
  list-style-type: none;
  float: left;
  width: 4em;
  text-align: center;
  /* flex: inline-block; */
  /* vertical-align: middle; */
  font-size: smaller;
  font-weight: bold;
  /* display: inline; */
  border: 1px solid;
  border-radius: 3px;
  padding: 0px 3px 0px 3px;
  margin: 0px 5px 5px 5px;
}
