Template:Tt/styles.css: Difference between revisions

Template page
(Created page with ".tt-wrapper { position: absolute; visibility: hidden; } .tt { display: block; position: relative; top: 2em; right: 100%; width: 140px; height: 96px; color: #FFFFFF; background: #000000; line-height: 96px; text-align: center; border-radius: 8px; box-shadow: 4px 3px 10px #800000; } .tt-after { display: block; position: relative; top: 2em; right: 100%; width: 140px; height: 96px; →‎margin-left: -76px;: color: #FFFFFF; ba...")
 
No edit summary
Line 1: Line 1:
.has-tt {
  /*position: relative;*/
  display: inline;
}
.tt-wrapper {
.tt-wrapper {
   position: absolute;
   position: absolute;
   visibility: hidden;
   visibility: hidden;
}
.has-tt:hover .tt-wrapper {
  visibility: visible;
  opacity: 0.7;
}
}



Revision as of 14:48, 2 May 2025

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

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

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

.tt {
 display: block;
 position: relative;
    top: 2em;
    right: 100%;
  width: 140px;
  height: 96px;
  color: #FFFFFF;
  background: #000000;
  line-height: 96px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 4px 3px 10px #800000;
}

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