1
0
Fork 0
IdreXyz/static/css/artists.css

56 lines
875 B
CSS
Raw Normal View History

2015-03-14 22:38:12 +01:00
#artists {
width: 700px;
margin: auto;
2016-02-26 15:20:55 +01:00
text-align: center;
2015-03-14 22:38:12 +01:00
}
#artists .artist {
width: 120px;
2016-02-26 15:20:55 +01:00
position: relative;
2015-03-14 22:38:12 +01:00
margin: 5px;
2016-02-26 15:20:55 +01:00
display: inline-block;
2015-03-14 22:38:12 +01:00
}
#artists .artist a {
color: #929292;
text-decoration: none;
2016-02-26 15:20:55 +01:00
transition: .5s;
2015-03-14 22:38:12 +01:00
-moz-transition: .5s;
2016-02-26 15:20:55 +01:00
-ms-transition: .5s;
-o-transition: .5s;
2015-03-14 22:38:12 +01:00
-webkit-transition: .5s;
}
#artists .artist a:hover {
color: #c9c9c9;
}
#artists .artist img {
height: 120px;
2016-02-26 15:20:55 +01:00
width: 120px;
2015-03-14 22:38:12 +01:00
border: none;
border-radius: 5px;
2016-02-26 15:20:55 +01:00
}
#artists .artist-genre {
height: 120px;
width: 120px;
position:absolute;
top: 0px;
left: 0px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 5px;
color: white;
opacity: 0;
transition: all 0.7s ease;
-webkit-transition: all 0.7s ease;
}
#artists .artist-genre:hover {
opacity: 1;
}