Template:Dndbeyond tooltip/style.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
.tooltip_body > a, | .tooltip_body > a, | ||
.tooltip_body > a:visited { | .tooltip_body > a:visited { | ||
color: # | color: #0645ad; | ||
text-decoration: none; | text-decoration: none; | ||
border-bottom: 1px dotted # | border-bottom: 1px dotted #0645ad; | ||
} | } | ||
Line 93: | Line 93: | ||
position: relative; | position: relative; | ||
display:block; | display:block; | ||
} | |||
.wrapper::after { | |||
content: ""; | |||
height: 60px; | |||
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,0,0,.4) 99%); | |||
position: absolute; | |||
top: 470px; | |||
width: 100%; | |||
} | } |
Latest revision as of 20:08, 14 February 2022
.tooltip {
visibility: hidden;
position: absolute;
top: -48px;
left: 32px;
z-index: 2;
color: #333;
background-color: #f8f8f8;
white-space: nowrap;
box-shadow: 0 0 60px #333;
}
.tooltip_body {
position: relative;
display: inline-block;
}
.tooltip_body > a,
.tooltip_body > a:visited {
color: #0645ad;
text-decoration: none;
border-bottom: 1px dotted #0645ad;
}
.tooltip_body > a:hover {
border-bottom-style: solid;
}
.header {
display: flex;
height: 70px;
padding: 0 10px 10px;
position: relative;
align-items: center;
}
.header-icon {
margin-right: 10px;
}
.header-icon img {
width: 30px;
height: 30px;
}
.header-icon .invert img {
filter: invert(1);
}
.fitimage {
max-width: 100%;
max-height: 100%;
position: absolute;
top: 0;
left: 0;
}
.header-text {
font-size: 28px;
font-family: "Roboto Condensed",Roboto,Helvetica,sans-serif;
color: white;
position: relative;
}
.header-type {
color: white;
margin: 0 5px 0 auto;
padding: 2px 10px;
font-family: "Roboto Condensed",Roboto,Helvetica,sans-serif;
font-size: 12px;
border: 1px solid #99e5bf;
background-color: #47d18c;
position: relative;
text-transform: uppercase;
}
.body {
padding: 10px;
max-height: 430px;
white-space: normal;
font-size: 14px;
color: #242527;
line-height: 24px;
display: block;
}
.wrapper {
background-color: white;
width: 50vw;
min-width: 512px;
max-width: 775px;
overflow: hidden;
position: relative;
display:block;
}
.wrapper::after {
content: "";
height: 60px;
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,0,0,.4) 99%);
position: absolute;
top: 470px;
width: 100%;
}