Skip to content

Commit 4f0d70a

Browse files
author
github-actions
committed
Release from Ophirofox v2.4.26569.3348
1 parent caf8bfa commit 4f0d70a

File tree

1 file changed

+50
-22
lines changed

1 file changed

+50
-22
lines changed

ophirofox.user.js

Lines changed: 50 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ==UserScript==
2-
// @version 2.4.26567.37140
2+
// @version 2.4.26569.3348
33
// @author Write
44
// @name OphirofoxScript
55
// @grant GM.getValue
@@ -2281,7 +2281,7 @@
22812281
const banner = findPremiumBanner();
22822282
if (!banner) return;
22832283
const anchor = document.querySelector(
2284-
'.article__metas__container__info'
2284+
'.article__icons'
22852285
);
22862286
const newDiv = document.createElement('div');
22872287
newDiv.classList.add('europresse-button');
@@ -2294,29 +2294,57 @@
22942294

22952295
pasteStyle(`
22962296
.ophirofox-europresse {
2297-
padding: 0px;
2298-
text-decoration: none;
2299-
color: #333 !important;
2297+
text-decoration: none;
2298+
color: #1b1b1b;
2299+
transition: color 0.3s;
2300+
}
2301+
2302+
.ophirofox-europresse:hover {
2303+
color: #fff;
2304+
}
2305+
2306+
.ophirofox-europresse:visited {
2307+
color: #1b1b1b;
2308+
}
2309+
2310+
.ophirofox-europresse:visited:hover {
2311+
color: #fff;
23002312
}
23012313
23022314
.europresse-button {
2303-
background-color: #ffe066;
2304-
text-transform: uppercase;
2305-
text-align: center;
2306-
padding: 10px;
2307-
font-size: .75rem;
2308-
align-items: center;
2309-
display: flex;
2310-
border-radius: 5px;
2311-
margin-right: 14px;
2312-
margin-top: 14px;
2313-
width: fit-content;
2314-
font-weight: 600;
2315-
margin-bottom: 0px;
2316-
margin-left: 0px;
2317-
box-sizing: inherit;
2318-
color: #333;
2319-
font-family: 'Spartan','Spartan Fallback 1','Spartan Fallback 2',system-ui,'-apple-system','Segoe UI','Roboto','Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
2315+
display: flex;
2316+
flex-direction: row;
2317+
justify-content: center;
2318+
align-items: center;
2319+
color: #1b1b1b;
2320+
border: solid 1px #1b1b1b;
2321+
gap: 8px;
2322+
height: 39px;
2323+
background-color: #fff;
2324+
font-weight: 600;
2325+
border-radius: 42px;
2326+
text-decoration: none;
2327+
font-size: 0.75rem;
2328+
cursor: pointer;
2329+
padding: 10px 14px;
2330+
font-family: Spartan, Spartan Fallback\1, Spartan Fallback\2, system-ui,
2331+
-apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
2332+
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
2333+
Noto Color Emoji;
2334+
transition: background-color 0.3s, color 0.3s;
2335+
}
2336+
2337+
.europresse-button:hover {
2338+
color: #fff;
2339+
background-color: #1b1b1b;
2340+
}
2341+
2342+
.europresse-button:hover a {
2343+
color: #fff;
2344+
}
2345+
2346+
.europresse-button:visited {
2347+
color: #1b1b1b;
23202348
}
23212349
`);
23222350
}

0 commit comments

Comments
 (0)