mapcomplete/css/userbadge.css

108 lines
1.9 KiB
CSS
Raw Normal View History

2020-11-05 12:28:02 +01:00
#userbadge {
display: inline-block;
background-color: var(--background-color);
color: var(--foreground-color);
2020-11-05 12:28:02 +01:00
margin: 0;
margin-bottom: 0.5em;
width: 100%;
min-width: 20em;
pointer-events: all;
2021-01-21 23:39:31 +01:00
border-radius: 999em;
2020-11-05 12:28:02 +01:00
}
#userbadge a {
text-decoration: none;
color: var(--foreground-color);
2020-11-05 12:28:02 +01:00
}
2020-09-18 00:56:04 +02:00
#userbadge form {
width: unset !important;
}
2020-11-05 12:28:02 +01:00
.userstats {
display: flex;
align-items: center;
margin-top: 0.2em;
margin-bottom: 0.2em;
}
.userstats a {
display: block ruby;
padding-right: 0.2em;
margin-bottom: 0.2em;
}
.userstats span {
display: block ruby;
padding-right: 0.2em;
margin-bottom: 0.2em;
}
.userstats svg {
width: 1em;
height: 1em;
2020-11-16 02:33:44 +01:00
border-radius: 0;
display: block;
}
2020-11-05 12:28:02 +01:00
.userstats img {
width: 1em;
height: 1em;
border-radius: 0;
display: block;
}
#profile-pic {
float: left;
width: 4em;
height: 4em;
padding: 0;
margin: 0;
opacity: 0;
transition: opacity 500ms linear;
2021-01-21 23:39:31 +01:00
border-radius: 999em;
}
2020-11-05 12:28:02 +01:00
.usertext {
display: block;
width: max-content;
margin: 0;
padding: 0.9em;
padding-left: 4.7em; /* Should be half of profile-pic's width + actual padding (same as padding-right)*/
padding-right: 1.5em;
border-radius: 2em; /*Half border radius width/height*/
height: 2.2em; /*SHould equal profile-pic height - padding*/
z-index: 5000;
text-align: left;
background-color: var(--background-color);
color: var(--foreground-color);
background-size: 100%;
line-height: 0.75em;
}
.userbadge-login {
font-weight: bold;
font-size: large;
background-color: var(--subtle-detail-color) !important;
color: var(--subtle-detail-color-contrast);
height:3em;
display: inline-block;
text-align: center;
margin: 0;
min-width: 20em;
pointer-events: all;
}
#userbadge-and-search {
display: inline-block;
width: min-content;
}