/*********
* Fedora schedule css
*
* Copyright 2021
*   Ben Cotton
* 
* License: CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0/
* 
* It's bad, but it's better than the default 🤷
*
* To use, copy to fedorapeople.org:/project/schedule/
* 
*********/

body {
/*****
  Define the colors so we can reuse them easily
*****/
    --fedoraBlue: #3c6eb4;
    --fedoraDarkBlue: #294172;
    --friendsMagenta: #db3279;
    --featuresOrange: #e59728;
    --firstGreen: #79db32;
    --freedomPurple: #a07cbc;
    --black: #000000;
    --darkGrey: #4c4c4c;
    --grey: #8c8c8c;
    --lightGrey: #dedede;
    font-family: 'Open Sans';
}

H1 { 
  text-align: center;
  margin-bottom: 0;
}

div.backlink {
  text-align: center;
  margin-bottom: 1.5em;
}

table {
    margin-left: auto;
    margin-right: auto;
}

table.navbar {
    border: 0;
    font-size: 80%
}

table.schedule th {
    font-weight: bold;
    background-color: var(--fedoraDarkBlue);
    color: white;
    padding-left: 5px;
    padding-right: 5px;
}
table.schedule td {
    padding-left: 5px;
    padding-right: 5px;
}

/* Alternate background colors on the table */
table.schedule tr:nth-child(even) td {
}
table.schedule tr:nth-child(odd) td {
    background-color: var(--lightGrey);
}

table.schedule td.date {
    white-space: nowrap;
}

.note {
    font-size: 80%;
    padding-left: 5px;
    font-style: italic;
}

/* Hack to style links in the table because the tool doesn't currently add a class to links */
td div a {
    font-size: 80%
}

.banner {
    text-align: center;
}
