elemental-from-browser/index.css
2025-04-24 19:49:39 -04:00

114 lines
No EOL
1.7 KiB
CSS

:root,
input,
button {
font-family: sans-serif;
}
:root {
overflow-y: scroll;
}
body {
margin: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100vh;
background: rgb(255, 255, 255);
}
#form {
background: rgba(0, 0, 0, 0.15);
padding: 0.25rem;
box-sizing: border-box;
backdrop-filter: blur(10px);
position: sticky;
bottom: 0;
}
.inner-form {
display: flex;
flex-direction: row;
justify-content: center;
}
#input {
border: none;
padding: 0 1rem;
border-radius: 0.3rem;
margin: 0.25rem;
height: 2rem;
flex-grow: 1;
}
#input:focus {
outline: none;
}
.inner-form>button {
background: #333;
border: none;
padding: 0 1rem;
margin: 0.25rem;
height: 2rem;
border-radius: 3px;
outline: none;
flex-grow: 1;
}
button,
button a {
color: #fff;
text-decoration: none;
}
button a {
width: 100%;
height: 2rem;
text-align: center;
line-height: 2rem;
vertical-align: middle;
display: inline-block;
}
#messages {
list-style-type: none;
margin: 0;
padding: 0;
}
#messages>li {
padding: 0.5rem 1rem;
white-space: pre-wrap;
}
#messages>li>li:hover {
font-weight: bolder;
}
#messages>li>li {
margin: 0;
line-height: 1em;
min-height: 0.9em;
display: flex;
align-items: end;
overflow: visible;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
width: fit-content;
}
#messages>li>li>img {
height: 1.1em;
}
#messages>li:nth-child(odd) {
background: #efefef;
}