blob: bf328f5367e794a60f5d3e265dd0c765bdd923d4 (
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
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
|
.content blockquote {
border-left: #689d6a 8px solid;
}
.content blockquote.tidbit {
border-left: #928f74 8px solid;
font-size: 12px;
color: #282828;
}
li p {
margin: 2px;
}
/* OUTER CONTAINER */
.tcontainer {
width: 100%;
overflow: hidden; /* Hide scroll bar */
}
/* MIDDLE CONTAINER */
.ticker-wrap {
width: 100%;
padding-left: 100%; /* Push contents to right side of screen */
background-color: #eee;
}
/* INNER CONTAINER */
@keyframes ticker {
0% { transform: translate3d(0, 0, 0); }
100% { transform: translate3d(-100%, 0, 0); }
}
.ticker-move {
/* Basically move items from right side of screen to left in infinite loop */
display: inline-block;
white-space: nowrap;
padding-right: 100%;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-name: ticker;
animation-duration: 30s;
}
.ticker-move:hover{
animation-play-state: paused; /* Pause scroll on mouse hover */
}
/* ITEMS */
.ticker-item {
display: inline-block; /* Lay items in a horizontal line */
padding: 0 5px;
}
.ticker-item::before {
content: " ✑ ";
}
.hero section {
padding: 0 5rem;
}
@media screen and (max-width: 768px) {
.hero section {
padding: 0 2rem;
}
.hero-image {
display: none
}
}
footer {
color: #8b8b8b;
}
|