-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.css
109 lines (92 loc) · 1.38 KB
/
App.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
106
107
108
109
#root {
max-width: 1280px;
margin: 0 0;
padding: 0;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
.tweet {
display: flex;
border: 1px solid #e6ecf0;
border-radius: 10px;
padding: 10px;
margin-bottom: 10px;
}
.profile-pic {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 10px;
}
.tweet-content {
flex: 1;
}
.tweet-header {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.username {
font-weight: bold;
margin-right: 5px;
}
.handle {
color: #657786;
margin-right: 5px;
}
.timestamp {
color: #657786;
}
.tweet-text {
margin-bottom: 5px;
}
.tweet-image {
width: 100%;
height: auto;
margin-bottom: 5px;
border-radius: 5px;
}
.tweet-footer {
display: flex;
}
button {
border: none;
background-color: transparent;
color: #657786;
font-weight: bold;
margin-right: 10px;
cursor: pointer;
}
button:hover {
color: #1da1f2;
}