Lindenii Project Forge
Login

server

Vireo IdP server

Hi… I am well aware that this diff view is very suboptimal. It will be fixed when the refactored server comes along!

Commit info
ID
5a4bb5403a7066f2dce774474aaa01e2cae2f6e4
Author
Runxi Yu <me@runxiyu.org>
Author date
Thu, 25 Sep 2025 18:24:14 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Thu, 25 Sep 2025 18:24:14 +0800
Actions
Footer should look reasonable
body {
	font-family: sans-serif;
	margin: 0;
	color: #444;
}
main, #nav-inner {
main, #nav-inner, footer {
	padding: 0 5px;
	max-width: 800px;
	margin: 0 auto;
}
main {
	padding-bottom: 20px;
}

nav {
	border-bottom: 1px solid #eee;
}
nav h1 {
	margin: 0;
	padding: 10px 0;
	font-size: 1.2em;
}
nav h1 a {
	color: inherit;
	text-decoration: none;
}

h2 {
	font-size: 1.2em;
}

table {
	border-collapse: collapse;
}
td, th {
	border: 1px solid rgb(208, 210, 215);
	padding: 5px;
}

button {
	border: 1px solid rgb(208, 210, 215);
	border-radius: 4px;
	padding: 6px 12px;
	margin: 4px 0;
	color: #444;
	background-color: transparent;
	cursor: pointer;
}
button:hover {
	background-color: rgba(0, 0, 0, 0.02);
}
button[type="submit"]:not(.btn-regular):first-of-type {
	background-color: rgb(0, 128, 0);
	border-color: rgb(0, 128, 0);
	color: white;
}
button[type="submit"]::not(.btn-regular):first-of-type:hover {
	background-color: rgb(0, 150, 0);
	border-color: rgb(0, 150, 0);
}

input[type="text"], input[type="password"], input[type="url"], textarea {
	border: 1px solid rgb(208, 210, 215);
	border-radius: 4px;
	padding: 6px;
	margin: 4px 0;
	color: #444;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="url"]:focus, textarea:focus {
	outline: none;
	border-color: rgb(0, 128, 0);
}

label {
	display: block;
	margin: 15px 0;
}
label input[type="text"], label input[type="password"], label input[type="url"] {
	display: block;
	width: 100%;
	max-width: 350px;
	box-sizing: border-box;
}
label:has(input[type="radio"]) {
	margin: 5px 0;
}
label textarea {
	display: block;
	width: 100%;
	resize: vertical;
}

main.narrow {
	max-width: 400px;
}
main.narrow input {
	max-width: 100%;
}

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

	nav {
		border-color: rgba(255, 255, 2555, 0.02);
	}

	a {
		color: #809fff;
	}

	button {
		color: #f8f9fa;
	}
	button:hover {
		background-color: rgba(255, 255, 255, 0.02);
	}

	input[type="text"], input[type="password"], input[type="url"], textarea {
		background-color: rgba(255, 255, 255, 0.05);
		color: inherit;
	}
}