Files
trpic/web/styles/header/header.css
2026-04-18 00:26:51 +08:00

68 lines
1.1 KiB
CSS

header {
position: sticky;
top: 0;
left: 0;
padding: .5em;
z-index: 5;
display: flex;
flex-wrap: wrap;
gap: .2em .5em;
align-items: center;
scrollbar-width: thin;
color: white;
transition: background-color 0.5s ease-in-out;
}
header > span {
margin: 0;
line-height: 1.8rem;
height: 1.8rem;
padding: .2rem 0 .2rem .5rem;
display: flex;
gap: .3em;
align-items: center;
align-content: baseline;
line-break: strict;
position: relative;
white-space: nowrap;
}
header > span::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
padding: .2rem .5rem;
border-radius: .3em;
height: 1.8rem;
background-color: black;
}
header a {
color: aquamarine;
text-decoration: none;
}
header #title {
font-size: 1.2em;
font-weight: bold
}
header select {
color: white;
background-color: rgb(50, 50, 50);
border-radius: .2em;
border: none;
font-weight: bold;
width: fit-content;
height: 80%;
padding: .1em 0;
}
header option {
background-color: rgb(50, 50, 50);
border: none;
}