Skip to content

Commit fa7b12f

Browse files
authored
Réparation du bouton L'Express (#310)
* Réparation bouton L'Express
1 parent 39fe3c9 commit fa7b12f

File tree

2 files changed

+50
-22
lines changed

2 files changed

+50
-22
lines changed
Lines changed: 49 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,53 @@
11
.ophirofox-europresse {
2-
padding: 0px;
3-
text-decoration: none;
4-
color: #333 !important;
2+
text-decoration: none;
3+
color: #1b1b1b;
4+
transition: color 0.3s;
5+
}
6+
7+
.ophirofox-europresse:hover {
8+
color: #fff;
9+
}
10+
11+
.ophirofox-europresse:visited {
12+
color: #1b1b1b;
13+
}
14+
15+
.ophirofox-europresse:visited:hover {
16+
color: #fff;
517
}
618

719
.europresse-button {
8-
background-color: #ffe066;
9-
text-transform: uppercase;
10-
text-align: center;
11-
padding: 10px;
12-
font-size: .75rem;
13-
align-items: center;
14-
display: flex;
15-
border-radius: 5px;
16-
margin-right: 14px;
17-
margin-top: 14px;
18-
width: fit-content;
19-
font-weight: 600;
20-
margin-bottom: 0px;
21-
margin-left: 0px;
22-
box-sizing: inherit;
23-
color: #333;
24-
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';
25-
}
20+
display: flex;
21+
flex-direction: row;
22+
justify-content: center;
23+
align-items: center;
24+
color: #1b1b1b;
25+
border: solid 1px #1b1b1b;
26+
gap: 8px;
27+
height: 39px;
28+
background-color: #fff;
29+
font-weight: 600;
30+
border-radius: 42px;
31+
text-decoration: none;
32+
font-size: 0.75rem;
33+
cursor: pointer;
34+
padding: 10px 14px;
35+
font-family: Spartan, Spartan Fallback\1, Spartan Fallback\2, system-ui,
36+
-apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
37+
sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
38+
Noto Color Emoji;
39+
transition: background-color 0.3s, color 0.3s;
40+
}
41+
42+
.europresse-button:hover {
43+
color: #fff;
44+
background-color: #1b1b1b;
45+
}
46+
47+
.europresse-button:hover a {
48+
color: #fff;
49+
}
50+
51+
.europresse-button:visited {
52+
color: #1b1b1b;
53+
}

ophirofox/content_scripts/lexpress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function onLoad() {
77
const banner = findPremiumBanner();
88
if (!banner) return;
99
const anchor = document.querySelector(
10-
'.article__metas__container__info'
10+
'.article__icons'
1111
);
1212
const newDiv = document.createElement('div');
1313
newDiv.classList.add('europresse-button');

0 commit comments

Comments
 (0)