-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalexandria.css
105 lines (88 loc) · 1.77 KB
/
alexandria.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
body {
margin-left: 5em;
margin-right: 15em;
}
.tweets-in-month > h4 {
margin: 0;
margin-top: 1em;
-webkit-transform-origin: bottom left;
-webkit-transition: 1s;
}
.tweets-in-month > .meta {
font-size: 40%;
-webkit-transform-origin: bottom left;
-webkit-transition: 1s;
}
.tweets-in-month:hover > .meta {
-webkit-transform: scale(1.5) translateX(2em);
}
.tweets-in-month:hover > h4 {
-webkit-transform: rotate(-5deg) scaleX(1.2) translateX(-2%);
}
.tweets-on-day {
position: relative;
}
.tweets-on-day > h4 {
margin: 0;
opacity: .1;
position: absolute;
right: 0;
-webkit-transform: rotate(90deg) translateX(100%);
-webkit-transform-origin: top right;
-webkit-mask-image: -webkit-gradient(linear,
left top, right top,
from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
-webkit-transition: 1s;
}
.tweets-on-day > h4 .meta {
opacity: 0;
text-align: right;
-webkit-transition: 1s;
}
.tweets-on-day:hover {
background-color: #fff9ff;
}
.tweets-on-day:hover > h4 {
opacity: .2;
-webkit-transform: rotate(60deg) translateX(100%);
-webkit-mask-image: none;
}
.tweets-on-day:hover > h4 .meta {
opacity: 1;
}
.tweet {
border: 1px solid rgba(0, 0, 0, .1);
background: rgba(0, 0, 0, .02);
padding: .2em;
margin-bottom: .5em;
margin-right: 2em;
}
.tweet.from-archive {
border-left: 2px solid rgba(0, 0, 255, .2);
}
.tweet:hover {
background: rgba(0, 0, 0, .04);
-webkit-transition: 1s;
}
.tweet:hover .meta {
opacity: .8;
-webkit-transition: 1s;
}
.tweet .meta {
opacity: .4;
margin: .2em 1em .2em 1em;
text-align: right;
font-size: 60%;
}
.tweet .meta div {
display: inline;
margin-left: .5em;
}
.controls {
position: fixed;
top: -1px;
right: -1px;
padding: 1em;
background: rgba(255, 255, 255, .9);
border: 1px solid rgba(0, 0, 0, .1);
}