/*
 * Styles for release_notes.html shown in the Sparkle "Software Update" dialog.
 *
 * Kept in an external file on purpose: updates.imanage.com serves
 * "Content-Security-Policy: default-src 'self'", which blocks every inline
 * <style> element and style="" attribute - including the dark-mode stylesheet
 * Sparkle injects into its WKWebView. A same-origin stylesheet is still allowed,
 * so this file must be published next to release_notes.html and note.png.
 */

html {
  color-scheme: light dark;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: black;
  background: white;
}

ul {
  font-size: 14px;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

th, td {
  padding: 5px;
  text-align: left;
}

.note-icon {
  vertical-align: bottom;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eee;
    background: #121212;
  }

  table, th, td {
    border-color: #eee;
  }

  a:link {
    color: #419CFF;
  }

  a:active {
    color: #FF1919;
  }
}
