-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtwitter.css
More file actions
102 lines (90 loc) · 3.69 KB
/
Copy pathtwitter.css
File metadata and controls
102 lines (90 loc) · 3.69 KB
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
@import url('https://rsms.me/inter/inter.css');
html {
font-family: 'Inter', sans-serif;
}
@supports (font-variation-settings: normal) {
html {
font-family: 'Inter var', sans-serif;
}
}
/* don't show the blue notification dot */
div[aria-label="undefined unread items"],
/* don't show the Verified Orgs tab */
a[aria-label="Verified Orgs"],
/* don't show the Top Articles tab */
a[aria-label="Top Articles"],
/* don't show the Communities tab */
a[aria-label="Communities (New items)"] {
display: none !important;
}
//.r-x572qd { /* hide "Show offensive replies..." */
// display: none;
//}
.r-x572qd:hover { /* hide "Show offensive replies..." */
display: inherit;
}
// div:not(article) div[data-testid="placementTracking"] { /* hide ads */
// background: red;
// display: none;
// }
* {
font-family: 'Figtree', 'Inter', 'SF UI Display', 'Inter' !important;
}
/* Hide useless boxes of information */
.css-1dbjc4n.r-1u4rsef.r-9cbz99.r-t23y2h.r-1phboty.r-rs99b7.r-1cad53l.r-1udh08x,
*[aria-label="Timeline: Trending now"],
nav[aria-label="Footer"],.css-1dbjc4n.r-1adg3ll .css-1dbjc4n .css-1dbjc4n.r-1niwhzg.r-1tlfku8.r-t23y2h.r-1phboty.r-1yadl64.r-ku1wi2.r-1udh08x, .css-1dbjc4n.r-1u4rsef.r-9cbz99.r-1ylenci.r-1phboty.r-rs99b7.r-ku1wi2.r-1udh08x:nth-of-type(3) {
display: none;
}
a[aria-label="Search and explore"] {
display: none;
}
/* Red banner */
[data-testid="primaryColumn"]:before {
content: '👋 Are you trying to achieve something?';
display: block;
background-color: rgb(255, 0, 0, 95%);
border-bottom: 2px solid rgb(255, 0, 0, 100%);
color: white;
padding: 8px;
font-family: 'Inter', 'SF UI Display', 'Inter' !important;
text-align: center;
font-size: 26px;
width: 100%;
max-width: 580px;
padding: 138px 10px;
position: fixed;
font-weight: 600;
z-index: 4000;
margin-top: -310px;
}
[data-testid="primaryColumn"]{
margin-top: 310px;
}
/* search */
.css-1dbjc4n.r-sydbv7.r-1b9bua6 .css-1dbjc4n.r-1awozwy.r-aqfbo4.r-14lw9ot.r-18u37iz.r-ahm1il.r-hxarbt.r-174vidy.r-1xcajam.r-ipm5af.r-1hycxz.r-136ojw6 {
//height: auto;
}
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="1 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="2 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="3 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="4 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="5 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="6 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="7 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="8 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="9 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="10 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="11 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="12 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="13 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="14 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="15 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="16 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="17 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="18 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="19 unread items"],
*[data-testid="AppTabBar_Notifications_Link"] *[aria-label="20 unread items"] {
display: none;
background: orange;
}