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
92
93
94
95
96
97
98
99*, *::after, *::before {
box-sizing: border-box;
}
html {
font-size: 120%;
}
#feed-1, #feed-2 {
padding: 5px 15px;
margin: 0px 30px;
display: inline-block;
position: relative;
width: 250px;
height: 400px;
border: 3px solid #000;
vertical-align: top;
}
#feed-1 > .toggle,
#feed-2 > .toggle {
position: absolute;
left: 50%;
transform: translate(-50%);
bottom: -25px;
}
#my-feed {
padding: 5px 15px;
margin: 0px 30px;
display: inline-block;
position: relative;
width: 400px;
height: 500px;
border: 3px solid #000;
background-color: #f0f0f0;
vertical-align: top;
}
#feed-1 > .content,
#feed-2 > .content,
#my-feed > .content {
position: relative;
width: 100%;
height: 100%;
overflow-y: scroll;
}
.item {
display: block;
position: relative;
margin: 10px 0px;
padding: 5px;
width: 100%;
color: #000;
overflow: hidden;
white-space: nowrap;
text-decoration: none;
text-overflow: ellipsis;
}
.item.floating {
cursor: default;
position: absolute;
transition: left 0.3s ease-out, top 0.3s ease-out;
max-width: 214px;
max-height: 100px;
}
.item.killed {
text-decoration: line-through;
}
#feed-1 > .content > .item,
#feed-2 > .content > .item {
max-height: 100px;
}
#feed-1 > .content > .item:hover,
#feed-2 > .content > .item:hover {
background-color: rgba(0,0,0,0.1);
}
#my-feed > .content > .item {
cursor: default;
max-height: inherit;
white-space: normal;
overflow: auto;
text-overflow: inherit;
}
.first-list {
background-color: #ffb8b3;
}
.second-list {
background-color: #b3caff;
}