@import url(../../People/Antonio/noto/noto-tmp.css);

:root {
    --text: black;
    --bg: white;
    --bg-team: #fff6e0;
    --bg-team-alt-1: #ff9f2f;
    --bg-team-alt-2: #ffd39f;
    --bg-alt-1: #f6f6f6;
    --bg-alt-2: #ebebeb;
    --bg-alt-3: #e0e0e0;
    --bg-alt-4: #ddd;
    --border-1: #aaa;
    --border-2: #bbb;
    --info-bg: #e8f2fc;
    --info-border: #5b9bd5;
    --info-text: #1a4f7a;
    --warning-bg: #fdf6e3;
    --warning-border: #c9960a;
    --warning-text: #6b4c00;
    --error-bg: #fdf0f0;
    --error-border: #d96b6b;
    --error-text: #7a1a1a;
    --success-bg: #eef7f1;
    --success-border: #3a9e62;
    --success-text: #1a5c35;
    --link: #00e;
    --link-visited: #529;
    }

@media (prefers-color-scheme: dark) {
    :root {
	--text: #b9b9b9;
	--bg: black;
	--bg-team: #181818;
	--bg-team-alt-1: #222;
	--bg-team-alt-2: #333;
	--bg-alt-1: #222;
	--bg-alt-2: #333;
	--bg-alt-3: #444;
	--bg-alt-4: #555;
	--border-1: #555;
	--border-2: #444;
	--info-bg: #0d2137;
	--info-border: #4a9edd;
	--info-text: #b8dcf8;
	--warning-bg: #1f1500;
	--warning-border: #c98a1a;
	--warning-text: #f0cc78;
	--error-bg: #1e0505;
	--error-border: #c23b3b;
	--error-text: #f0a0a0;
	--success-bg: #011a0d;
	--success-border: #1e8a52;
	--success-text: #72d49a;
	--link: #77abd9;
	--link-visited: #f7adf7;
    }
}

/* default settings should work well on small screens; custom settings
 * for desktop and tablet displays are handled at the end of this file */

body {
    margin: 1rem;
    color: var(--text);
    background: var(--bg-team);
}

/* redefine this here to override the one in team.css */
html {
    background: fixed top right no-repeat url(team.gif) var(--bg-team);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    margin-top: 0px;
    font-size: 1.5em;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1.125em;
}

:not(pre):not(ol):not(ul) {
    line-height: 1.5;
}
pre, pre *, ol, ol *, ul, ul * {
    line-height: 1.25;
}
li {
    margin-bottom: 0.25rem;
}
ul#navbar li {
    margin-bottom: 0;
}
:not(code):not(pre) {
    font-family: 'Noto Sans', sans-serif;
}
code, code *, pre, pre * {
    font-family:  'Inconsolata', monospace !important;
    background: var(--bg-alt-2);
}

code, pre {
    padding: .15rem .25rem;
    border: thin solid var(--border-2);
    border-radius: 4px;
    background-color: var(--bg-alt-2);
    font-size: 93%;
}

pre {
  padding: 0.5rem;
  overflow-x: scroll;
  max-width: 90%;
  display: inline-block;
  margin: 0;
  margin-left: 2rem;
}

table {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
th {
    background: var(--bg-alt-3);
    padding: 0.25rem 0.75rem 0.25rem 0.75rem;
    text-align: center;
}
td {
    background: var(--bg);
    padding: 0.25rem 0.75rem 0.25rem 0.75rem;
    text-align: center;
}

input, textarea {
  background-color: var(--bg-alt-3);
  color: var(--text);
}

a:link {
    text-underline-offset: 2px;
}

a:link, a:active {
  color: var(--link);
  background: transparent;
}

a:visited {
  color: var(--link-visited);
  background: transparent;
}

/* navbar copied and adapted from generic-navbar-2.css */
#navbar {
	background-color: var(--bg-alt-2);
	border: 1px solid var(--border-1);
	border-radius: 4px;
	margin-right: 1rem;
	padding: 0.5rem;
	font-size: 1em;
}

#navbar li.empty {
	padding-left: 1rem;
	background-color: var(--bg-alt-3);
	padding-left: 4px;
	font-weight: bold;
}

#navbar li {
	padding: 1px 1px 1px 1rem;
	list-style: none;
	border-bottom: var(--border-2);
	border-width: 0 0 1px 0;
	border-style: none none solid none;
}

#navbar li a {
	display: inline;
	text-decoration: none;
}

#navbar li:hover {
	background-color: var(--bg-alt-4);
	border-bottom: var(--text);
	border-width: 0 0 1px 0;
	border-style: none none solid none;
}

.alert-success {
	background: var(--success-bg);
	border: thin solid var(--success-border);
	color: var(--success-text);
	border-radius: 4px;
	padding: 0.5rem;
}

.alert-info {
	background: var(--info-bg);
	border: thin solid var(--info-border);
	color: var(--info-text);
	border-radius: 4px;
	padding: 0.5rem;
}

.alert-warning {
	background: var(--warning-bg);
	border: thin solid var(--warning-border);
	color: var(--warning-text);
	border-radius: 4px;
	padding: 0.5rem;
}

.alert-error {
	background: var(--error-bg);
	border: thin solid var(--error-border);
	color: var(--error-text);
	border-radius: 4px;
	padding: 0.5rem;
}

.alt-bg-1 {
    background: var(--bg-alt-1);
}

.alt-bg-2 {
    background: var(--bg-alt-2);
}

.alt-bg-3 {
    background: var(--bg-alt-3);
}

.alt-bg-4 {
    background: var(--bg-alt-4);
}

/* custom settings for wider screens (desktops, tablets) */
@media screen and (min-width: 48em) {
    body {
	margin: 1rem 2rem;
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.5em; }
    h3 { font-size: 1.25em; }
    #navbar {
	width: 17rem;
	float: right;
	margin-right: 2rem;
    }
}

