Skip to content

Commit d1d303a

Browse files
authored
Merge pull request #7 from imigueldiaz/about-tab
Update extension styling and content with dark mode support
2 parents 29d5818 + 4db81f3 commit d1d303a

File tree

2 files changed

+34
-23
lines changed

2 files changed

+34
-23
lines changed

extension.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
<h3><a href="https://github.com/imigueldiaz/firefox-quick-abstract" target="_blank" rel="noopener noreferrer"><span id="extensionName"></span></a></h3>
7575
<p><a href="" id="versionLink" target="_blank" rel="noopener noreferrer">Version <span id="version"></span></a></p>
7676
<a href="LICENSE" target="_blank" rel="noopener noreferrer">MIT License</a>
77+
<p>This extension uses the <a href="https://docs.perplexity.ai/" target="_blank" rel="noopener noreferrer">Perplexity.ai API</a>.</p>
78+
<p>Perplexity is a trademark of Perplexity, Inc.</p>
7779
</div>
7880

7981
</div>

style.css

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -276,32 +276,32 @@ img#logo {
276276
}
277277

278278
#aboutContent {
279-
margin: 100px auto;
279+
margin: 70px auto;
280+
margin-bottom: 50px;
280281
display: flex;
281282
flex-direction: column;
282283
justify-content: center;
283284
align-items: center;
284-
height: 330px;
285-
width: 330px;
285+
height: 400px;
286+
width: 380px;
286287
text-align: center;
287-
border: 1px solid #aaa;
288+
border: 1px solid #0a84ff33;
288289
border-radius: 16px;
289-
background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
290+
background: linear-gradient(45deg, #f0f0f0, #fafafa);
290291
background-size: 400% 400%;
291-
animation: gradientAnimation 10s ease infinite;
292+
animation: gradientAnimation 15s ease-in-out infinite;
293+
color: #0a84ff
292294
}
293295

294296
#aboutContent h2, #aboutContent h3 {
295-
margin: 10px 0;
297+
margin: 5px 0;
296298
}
297299

298300
#aboutContent a {
299301
color: #0A84FF;
300302
text-decoration: none;
301-
}
302-
303-
#aboutContent a:hover {
304-
text-decoration: underline;
303+
font-weight: bolder;
304+
border-bottom: 1px solid #0A84FF55;
305305
}
306306

307307
@keyframes gradientAnimation {
@@ -316,6 +316,7 @@ img#logo {
316316
}
317317
}
318318

319+
/* Dark Mode */
319320

320321
@media (prefers-color-scheme: dark) {
321322
body {
@@ -387,20 +388,28 @@ img#logo {
387388
button img {
388389
filter: invert(100%);
389390
}
390-
#aboutContent a {
391+
#aboutContent a {
391392
color: #007AFF;
392393
}
393394

394395
#options-form label {
395-
display: block;
396-
margin-bottom: 8px;
397-
color: #F2F2F7;
398-
font-size: 13px;
399-
font-weight: bold;
400-
}
401-
#aboutContent {
402-
background: linear-gradient(45deg, #2c2c2e, #1c1c1e);
403-
border: 1px solid #333;
404-
}
396+
display: block;
397+
margin-bottom: 8px;
398+
color: #F2F2F7;
399+
font-size: 13px;
400+
font-weight: bold;
401+
}
402+
#aboutContent {
403+
background: linear-gradient(45deg, #2c2c2e, #1c1c1e);
404+
border: 1px solid #007AFF55;
405+
background-size: 400% 400%;
406+
animation: gradientAnimation 15s ease-in-out infinite;
407+
}
408+
#aboutContent a {
409+
color: #007AFF;
410+
text-decoration: none;
411+
background-color: #2c2c2e;
412+
border-bottom: 1px solid #007AFF55;
405413

406-
}
414+
}
415+
}

0 commit comments

Comments
 (0)