view mod_http_oauth2/html/style.css @ 5209:942f8a2f722d

mod_http_oauth2: Allow non-HTTPS on localhost URLs This is the recommended behaviour (draft-ietf-oauth-v2-1-07 section 7.5.1).
author Matthew Wild <mwild1@gmail.com>
date Mon, 06 Mar 2023 10:29:14 +0000
parents aaa64c647e12
children 1756c0f929f5
line wrap: on
line source

body
{
	text-align:center;
	background-color:#f8f8f8;
	font-family:sans-serif
}

h1
{
	font-size:xx-large;
}

p
{
	font-size:large;
}

.error
{
	margin: 0.75em;
	background-color: #f8d7da;
	color: #842029;
	border: solid 1px #f5c2c7;
}

input {
	margin: 0.3rem;
	padding: 0.2rem;
	line-height: 1.5rem;
	font-size: 110%;
}
h1, h2 {
	text-align: left;
}

main {
	max-width: 600px;
	padding: 0 1.5em 1.5em 1.5em;
}

dt
{
	font-weight: bold;
	margin: 0.5em 0 0 0;
}

dd
{
	margin: 0;
}

button, input[type=submit]
{
	padding: 0.5rem;
	margin: 0.75rem;
}

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

	.error {
		color: #f8d7da;
		background-color: #842029;
	}

}

@media(min-width: 768px)
{
	body
	{
		margin-top: 3em;
	}

	main
	{
		margin-left: auto;
		margin-right: auto;
		border: solid 1px #1e1e1e;
		background-color: #efefef;
	}

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

		main
		{
			color: #fff;
			background-color: #1f1f1f;
		}
	}
}