Skip to content

Commit 74a99f3

Browse files
committed
Tweak langauge tab styling
1 parent a75b499 commit 74a99f3

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
div[data-group="language"] .nav-tabs {
2+
display: flex;
3+
justify-content: flex-end;
4+
padding-right: 0;
5+
}
6+
7+
.callout div[data-group="language"] .nav-tabs {
8+
display: flex;
9+
justify-content: flex-start;
10+
}
11+
12+
div[data-group="language"] .tab-content {
13+
padding: 0;
14+
padding-right: 1rem;
15+
padding-top: 1rem;
16+
border: none;
17+
}
18+
19+
20+
div[data-group="language"] .nav-tabs .nav-link {
21+
border: none;
22+
margin-right: 0;
23+
margin-top: 0;
24+
border-radius: 0;
25+
width: auto;
26+
padding: 0.25rem 0.5rem;
27+
}
28+
29+
30+
div[data-group="language"] .nav-tabs .nav-link.active,
31+
div[data-group="language"] .nav-tabs .nav-item.show .nav-link {
32+
border-bottom: solid;
33+
border-width: 2px;
34+
}
35+
36+
div[data-group="language"] .nav-tabs .nav-link:hover {
37+
border-bottom: solid;
38+
border-color: rgb(80,146,221);
39+
border-width: 2px;
40+
}

docs/get-started/hello/positron.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Tutorial: Hello, Quarto"
3+
css: positron.css
34
editor_options:
45
markdown:
56
wrap: sentence

0 commit comments

Comments
 (0)