Meningoenzep (Talk | contribs) |
Meningoenzep (Talk | contribs) |
||
Line 8,255: | Line 8,255: | ||
display:block; | display:block; | ||
list-style-type: none; | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .overlay { | ||
+ | position: absolute; | ||
+ | top:0; | ||
+ | bottom:0; | ||
+ | right:0; | ||
+ | left:0; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | opacity: 0; | ||
+ | transition: .5s ease; | ||
+ | background-color: #1d729f; | ||
+ | } | ||
+ | |||
+ | .overlay_container:hover .overlay{ | ||
+ | opacity:0.8; | ||
+ | } | ||
+ | |||
+ | .overlay_text { | ||
+ | color:white; | ||
+ | font-size: 20px; | ||
+ | position: absolute; | ||
+ | top: 50%; | ||
+ | left: 50%; | ||
+ | transform: translate(-50%, -50%); | ||
} | } | ||
</style> | </style> |
Revision as of 12:07, 30 September 2017