Template:Tt/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 27: Line 27:
.tt-after {
.tt-after {
  display: block;
  display: block;
  position: relative;
position: relative;
    top: 2em;
color: #FFFFFF;
    right: 100%;
background: #353535;
  width: 140px;
line-height: 96px;
  height: 96px;
text-align: center;
  /*margin-left: -76px;*/
border-radius: 8px;
  color: #FFFFFF;
box-shadow: 4px 3px 10px #800000;
  background: #353535;
  line-height: 96px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 4px 3px 10px #800000;
}
}

Revision as of 15:24, 2 May 2025

.has-tt {
  /*position: relative;*/
  display: inline;
}

.tt-wrapper {
  position: absolute;
  visibility: hidden;
}

.has-tt:hover .tt-wrapper {
  visibility: visible;
}

.tt {
 display: block;
 position: relative;
  width: max-content;
  max-width: 400px;
  padding: 6px 12px;
  color: #FFFFFF;
  background: #353535;
  text-align: center;
  border-radius: 8px;
}

.tt-after {
 display: block;
 position: relative;
 color: #FFFFFF;
 background: #353535;
 line-height: 96px;
 text-align: center;
 border-radius: 8px;
 box-shadow: 4px 3px 10px #800000;
}