-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.css
executable file
·91 lines (87 loc) · 1.77 KB
/
demo.css
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
html, body {
height: 100%;
padding: 0;
margin: 0;
}
body {
background-color: #fafafa;
}
ul#stackd {
width: 100%;
height: 350px;
position: relative;
margin: 45px auto 0;
}
ul#stackd li {
display: block;
width: 100%;
height: 100%;
background-color: #eeeeee;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
position: absolute;
top: 0;
left: 0;
-webkit-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
}
ul#stackd li:hover:not(:first-child) {
opacity: 1;
-webkit-transform: translate(5px, -10px);\
transform: translate(5px, -10px);
}
ul#stackd li:not(:first-child) .stackd-slide h3 {
opacity: 0.5;
}
ul#stackd li .stackd-slide {
display: block;
width: 100%;
height: 100%;
}
ul#stackd li .stackd-slide h3 {
display: block;
color: #444444;
font-size: 40px;
font-family: 'Lato', sans-serif;
font-weight: bold;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
margin: 0;
position: absolute;
bottom: 38px;
left: -80px;
}
ul#stackd li .stackd-slide a {
display: block;
color: #ffffff;
position: absolute;
bottom: 10px;
right: 10px;
}
ul#stackd li .stackd-slide a:hover {
text-decoration: none;
}
#stackd-controls {
font-size: 36px;
font-family: sans-serif;
letter-spacing: 5px;
position: absolute;
bottom: -40px;
right: 8px;
}
#stackd-controls #stackd-prev,
#stackd-controls #stackd-next {
color: #444444;
cursor: pointer;
}
#stackd-controls #stackd-prev:hover, #stackd-controls #stackd-prev:focus,
#stackd-controls #stackd-next:hover,
#stackd-controls #stackd-next:focus {
text-decoration: none;
}
#stackd li:not(:first-child) .stackd-slide h3 {
opacity: 0.5;
}
#stackd li:not(:first-child) .stackd-slide a {
visibility: hidden;
}