-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathoverride.css
156 lines (129 loc) · 2.94 KB
/
override.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
nav a div div,
nav div div div {
font-size: 16px !important;
font-weight: 400 !important;
line-height: 1.3 !important;
}
div[aria-label="Timeline: Trending now"] {
display: none;
}
a[aria-label="Tweet"] {
display: none;
}
aside[aria-label="Who to follow"] {
opacity: 0.6;
}
h2 div {
font-weight: 400 !important;
}
header {
margin-left: -7vw !important;
}
div[data-testid="primaryColumn"] {
border-color: rgba(40, 40, 40, 0.35) !important;
max-width: 650px !important;
box-shadow: 0 0 20px 6px rgba(0, 0, 0, 0.25);
}
div[aria-label="Timeline: Conversation"]
> div
> div
> div
> div
> div
> div[role="button"] {
padding: 0 0 20px 40px;
}
body {
font-family: "Avenir", Helvetica, Arial, sans-serif !important;
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
}
span,
div,
article,
aside,
main {
font-family: "Avenir", Helvetica, Arial, sans-serif !important;
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
letter-spacing: 0.01em;
}
article {
font-size: 17px;
max-width: 650px !important;
transition: none !important;
}
article[role="article"] > div {
padding: 10px 15px 20px !important;
}
article div div div div {
font-size: 17px !important;
line-height: 1.5;
}
header div div div div div {
padding: 12px 0;
}
div[aria-live="polite"] {
padding: 2px;
font-size: 12px !important;
line-height: 1.2em !important;
top: -15px;
right: -10px;
width: 22px !important;
height: 22px !important;
text-align: center !important;
}
div[aria-live="polite"][aria-label="20+ unread items"] {
width: 32px !important;
height: 21px !important;
right: -20px !important;
padding-top: 4px !important;
}
div[role="blockquote"] {
padding: 10px;
}
article div div a + div:empty {
background: linear-gradient(rgb(242, 101, 102, 0.8), #1d1f33);
}
div[data-testid="sidebarColumn"] {
visibility: hidden !important;
width: 125px !important;
}
form[aria-label="Search Twitter"][role="search"] {
visibility: visible !important;
position: fixed !important;
width: 270px !important;
top: 8px;
right: 20px;
}
div[aria-modal="true"] div div div div div div div div div div div div div {
border: 0 !important;
border-width: 0 !important;
}
div[data-testid="tweet"] > div > div:first-child:empty {
display: none !important;
}
a[aria-label="Profile"] img {
width: 30px;
height: 30px;
position: absolute;
opacity: 1;
}
svg[aria-label="Verified account"] {
/* lol */
display: none;
}
div[role="menu"],
div[aria-label="New Tweets are available. Push period to go to the beginning of your timeline and view them"] {
/* get rid of that weird glowy box-shadow on dim mode, damn */
box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.3) !important;
}
article[data-testid="tweetDetail"] > div:first-child {
display: none;
}
main[role="main"] > div {
width: 900px;
}
div[data-testid="DMDrawer"] {
visibility: hidden
}