File: doc_extra_stylesheet.css

package info (click to toggle)
vtk9 9.1.0%2Breally9.1.0%2Bdfsg2-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 153,832 kB
  • sloc: cpp: 1,800,419; ansic: 261,033; python: 86,332; yacc: 4,033; java: 3,977; xml: 3,068; sh: 2,702; perl: 2,189; lex: 1,761; objc: 143; makefile: 139; tcl: 59
file content (50 lines) | stat: -rw-r--r-- 919 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.examplegrid {
  display: -ms-inline-grid; /* IE 10 */
  display: inline-grid;
  padding: 0 4px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 5px;
  align-items: start;
  justify-items: start;
  margin: auto;
  width: 100%;
}

.examplegrid img {
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 2px 6px 6px 2px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.examplegrid_container {
  position: relative;
  width: 100%;
}

.examplegrid_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.1s ease;
  background-color: black;
}

.examplegrid_container:hover .examplegrid_overlay {
  opacity: 0.65;
}

.examplegrid_text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}