-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
54 lines (44 loc) · 904 Bytes
/
style.css
File metadata and controls
54 lines (44 loc) · 904 Bytes
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
body {
font-family: Arial, Helvetica, sans-serif;
}
#banner {
background-color: hsl(211, 100%, 50%);
padding-top: 8px;
padding-bottom: 8px;
text-align: right;
}
#banner .container {
overflow: hidden;
margin: 0 auto;
}
#banner .banner-text {
display: flex;
flex-flow: row nowrap;
align-items: center;
overflow: hidden;
}
.ticker {
display: inline-block;
white-space: nowrap;
box-sizing: content-box;
}
.ticker, .ticker-item {
display: inline-block;
font-size: 24px;
color: #fff;
}
.scrollSlow {
animation: scrollLeft 50s linear infinite;
}
.scrollFast {
animation: scrollLeft 20s linear infinite;
}
@keyframes scrollLeft {
0% {
transform: translate3d(0);
visibility: visible;
}
100% {
transform: translate3d(-50%, 0, 0);
}
}