Difference between revisions of "Template:UCSC-Styles"

Line 272: Line 272:
 
   opacity: 0;
 
   opacity: 0;
 
   position: absolute;
 
   position: absolute;
  top: 100%
 
  left: 50%;
 
 
   background-color: rgba(0, 0, 0, 0.65);
 
   background-color: rgba(0, 0, 0, 0.65);
 
}
 
}
Line 279: Line 277:
 
@media (max-width: 420px) {
 
@media (max-width: 420px) {
 
   .person-name {
 
   .person-name {
    font-family: 'Quicksand';
 
 
     opacity: 1;
 
     opacity: 1;
 
     position: absolute;
 
     position: absolute;
     top: 100%
+
     top: -42px;
     left: 50%;
+
    width: inherit;
     background-color: rgba(0, 0, 0, 0.65);
+
     height: auto;
 +
     background-color: rgba(0, 0, 0, 0);
 
   }
 
   }
 
   .face:hover .profile, .profilehovered {
 
   .face:hover .profile, .profilehovered {

Revision as of 23:18, 13 September 2017