mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
73 lines
1.5 KiB
CSS
73 lines
1.5 KiB
CSS
.characterviewer > ul.nav-tabs a[data-tab=charsheet] {
|
|
background: url("https://raw.githubusercontent.com/uriele/roll20-character-sheets/fc28ea60f4afca4923669639fc1ef2bc788e66f3/Delta%20Green%202/img/DG_white_logo.svg") center/contain no-repeat;
|
|
color: transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.characterviewer > ul.nav-tabs a[data-tab=charsheet]::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 128, 0, 0.5);
|
|
/* Green overlay with 50% opacity */
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
/* Smooth transition */
|
|
}
|
|
|
|
.characterviewer > ul.nav-tabs a[data-tab=charsheet]:hover::before {
|
|
opacity: 1;
|
|
/* Show the overlay on hover and focus */
|
|
}
|
|
|
|
.avatar_checker {
|
|
position: fixed;
|
|
}
|
|
|
|
div.dmi_avatar {
|
|
display: flex;
|
|
position: absolute;
|
|
max-width: 80px;
|
|
max-height: 100px;
|
|
top: -50px;
|
|
border: solid white;
|
|
background: black;
|
|
border-width: 5px 5px 20px 5px;
|
|
flex-wrap: nowrap;
|
|
justify-content: center !important;
|
|
transform: rotate(6deg);
|
|
border-radius: 3px;
|
|
z-index: 1000;
|
|
overflow: hidden;
|
|
box-shadow: 1px 1px 20px -10px rgba(0, 0, 0, 0.75);
|
|
right: 50px;
|
|
}
|
|
|
|
div.dmi_avatar img {
|
|
max-height: 80px;
|
|
max-width: 80px;
|
|
}
|
|
|
|
input.avatar_checker {
|
|
display: none;
|
|
}
|
|
|
|
input.avatar_checker:not([value]) ~ div.dmi_avatar {
|
|
display: none;
|
|
}
|
|
|
|
input.avatar_checker:placeholder-shown ~ div.dmi_avatar {
|
|
display: none;
|
|
}
|
|
|
|
div.picture {
|
|
position: sticky;
|
|
top: 0;
|
|
padding-right: 0em;
|
|
height: 0rem;
|
|
overflow: visible;
|
|
z-index: 1000;
|
|
} |