forked from hakimel/stroll.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.css
More file actions
76 lines (66 loc) · 1 KB
/
example.css
File metadata and controls
76 lines (66 loc) · 1 KB
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
/**
* Demo page styles, all list scroll effects styles are in sctroll.css
*/
html, body {
margin: 0px;
padding: 0px;
}
body {
background: #323232;
font-family: 'Lato', Times, 'Times New Roman', serif;
font-size: 16px;
color: #eee;
margin-bottom: 40px;
}
header {
background: rgba(0, 0, 0, 0.2);
margin-bottom: 30px;
padding: 20px 100px 20px 20px;
font-size: 20px;
line-height: 1.3em;
}
header div {
margin-top: 10px;
}
a {
color: cyan;
}
article {
display: inline-block;
margin: 20px;
}
h2 {
font-size: 16px;
margin-bottom: 20px;
text-transform: uppercase;
}
small {
opacity: 0.6;
font-style: italic;
font-size: 14px;
margin-left: 5px;
}
/**
* List used for the demo page
*/
ul {
position: relative;
width: 230px;
height: 480px;
margin: 0;
padding: 0;
overflow-x: hidden;
overflow-y: scroll;
list-style: none;
}
ul li {
position: relative;
padding: 16px;
background: #eee;
color: #252525;
font-size: 18px;
z-index: 2;
}
ul li:nth-child(odd) {
background: #fff;
}