Template:Dndbeyond tooltip/style.css: Difference between revisions

From Campaigns
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
   padding: 3px;
   padding: 3px;
   background-color: #f8f8f8;
   background-color: #f8f8f8;
  opacity: .9;
   white-space: nowrap;
   white-space: nowrap;
   box-shadow: 0 0 60px #333;
   box-shadow: 0 0 60px #333;

Revision as of 03:42, 24 November 2021

.tooltip {
  visibility: hidden;
  position: absolute;
  top: -48px;
  left: 32px;
  z-index: 2;
  color: #333;
  padding: 3px;
  background-color: #f8f8f8;
  white-space: nowrap;
  box-shadow: 0 0 60px #333;
}

.tooltip_body {
  color: #008000;
  position: relative;
  display: inline-block;
}

div.header {
  display: flex;
  height: 70px;
  padding: 0 10px 10px;
  position: relative;
  align-items: center;
}

.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;
}

.wrapper {
  background-color: white;
  width: 50vw;
  min-width: 512px;
  max-width: 775px;
  overflow: hidden;
  position: relative;
}