Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_carousel.css « css « assets « gohugoioTheme « themes - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 11fae8702b070a8c3f057ca8d9f85a08390d2804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* These styles enhance the home page carousel, located here: themes/gohugoioTheme/layouts/partials/home-page-sections/showcase.html */
.overflow-x-scroll{
  -webkit-overflow-scrolling: touch;
}
.row {
  transition: 450ms transform;
  font-size: 0;
}
.tile {
  transition: 450ms all;
}
.details {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.9)), to(rgba(0,0,0,0)));
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  transition: 450ms opacity;
}
.tile:hover .details {
  opacity: 1;
}
.row:hover .tile {
  opacity: 0.3;
}
.row:hover .tile:hover {
  opacity: 1;
}