view src/site.css @ 22:082b97b7f1d9

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 15 Sep 2024 08:16:58 -0600
parents 3e2cb946d511
children
line wrap: on
line source

* {
	box-sizing: border-box;
}

body {
	font-family: Sans-Serif;
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

input[type="submit"],
[onclick] {
	cursor: pointer;
}

[pulldown] {
	position: relative;
}
[pulldown_menu] {
	display: none;  /* set to flex */
	flex-direction: column;
	z-index: 20;
	position: absolute;
	top: 40px;
	border: 1px solid #DDDDDD;
	text-align: left;
	background-color: #ffffff;
	white-space: nowrap;
}

div[header] {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

div[header] img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 50%;
}

div[header] [pulldown_menu] {
	right: 0;
	margin-top: 20px;
}

[error] {
	font-size: small;
	color: firebrick;
}
[error][flash] {
	color: red;
}
[error="success"] {
	color: green;
}
[error="success"][flash] {
	color: lime;
}