-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
61 lines (56 loc) · 1.42 KB
/
styles.css
File metadata and controls
61 lines (56 loc) · 1.42 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
/* CodeDown Extension - Injected Styles */
/* LMArena Download Button Tooltip */
.download-button-lmarena {
position: relative;
}
.download-button-lmarena::before {
content: attr(data-tooltip);
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
margin-top: 8px;
background-color: white;
color: black;
padding: 5px 9px;
border-radius: 5px;
font-size: 13px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.2s, visibility 0.2s;
z-index: 2147483647;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.download-button-lmarena:hover::before {
opacity: 1;
visibility: visible;
}
/* General download button hover states */
.download-button-gpt:hover,
.download-button-zai:hover,
.download-button-gemini:hover,
.download-button-lmarena:hover,
.download-button-kimi:hover,
.download-button-mistral:hover,
.download-button-meta:hover,
.download-button-copilot:hover,
.download-button-grok:hover,
.download-button-longcat:hover {
opacity: 0.8;
}
/* Ensure download buttons don't break existing layouts */
.download-button-gpt,
.download-button-zai,
.download-button-gemini,
.download-button-lmarena,
.download-button-kimi,
.download-button-mistral,
.download-button-meta,
.download-button-copilot,
.download-button-grok,
.download-button-longcat {
cursor: pointer;
transition: opacity 0.2s ease;
}