Skip to content

Commit b9659db

Browse files
deploy: 413dd66
1 parent 93398dc commit b9659db

37 files changed

Lines changed: 1348 additions & 760 deletions

File tree

community/code-of-conduct/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<noscript id="dark-mode-toggle-stylesheets">
1717
<link rel="stylesheet" type="text/css" href="/css/light.css" media="(prefers-color-scheme: light)" />
1818
<link rel="stylesheet" type="text/css" href="/css/dark.css" media="(prefers-color-scheme: dark)" />
19-
<meta name="color-scheme" content="dark light" />
19+
<meta name="color-scheme" content="light dark" />
2020
</noscript>
21+
2122
<script src="/js/dark-mode-toggle-stylesheets-loader.min.js"></script>
2223
<script type="module" src="/js/dark-mode-toggle.min.mjs"></script>
2324
<script type="module" src="/js/wasm-compat.js"></script>

community/contributing/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<noscript id="dark-mode-toggle-stylesheets">
1717
<link rel="stylesheet" type="text/css" href="/css/light.css" media="(prefers-color-scheme: light)" />
1818
<link rel="stylesheet" type="text/css" href="/css/dark.css" media="(prefers-color-scheme: dark)" />
19-
<meta name="color-scheme" content="dark light" />
19+
<meta name="color-scheme" content="light dark" />
2020
</noscript>
21+
2122
<script src="/js/dark-mode-toggle-stylesheets-loader.min.js"></script>
2223
<script type="module" src="/js/dark-mode-toggle.min.mjs"></script>
2324
<script type="module" src="/js/wasm-compat.js"></script>

community/events/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<noscript id="dark-mode-toggle-stylesheets">
1717
<link rel="stylesheet" type="text/css" href="/css/light.css" media="(prefers-color-scheme: light)" />
1818
<link rel="stylesheet" type="text/css" href="/css/dark.css" media="(prefers-color-scheme: dark)" />
19-
<meta name="color-scheme" content="dark light" />
19+
<meta name="color-scheme" content="light dark" />
2020
</noscript>
21+
2122
<script src="/js/dark-mode-toggle-stylesheets-loader.min.js"></script>
2223
<script type="module" src="/js/dark-mode-toggle.min.mjs"></script>
2324
<script type="module" src="/js/wasm-compat.js"></script>

community/feedback/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<noscript id="dark-mode-toggle-stylesheets">
1717
<link rel="stylesheet" type="text/css" href="/css/light.css" media="(prefers-color-scheme: light)" />
1818
<link rel="stylesheet" type="text/css" href="/css/dark.css" media="(prefers-color-scheme: dark)" />
19-
<meta name="color-scheme" content="dark light" />
19+
<meta name="color-scheme" content="light dark" />
2020
</noscript>
21+
2122
<script src="/js/dark-mode-toggle-stylesheets-loader.min.js"></script>
2223
<script type="module" src="/js/dark-mode-toggle.min.mjs"></script>
2324
<script type="module" src="/js/wasm-compat.js"></script>

community/resources/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<noscript id="dark-mode-toggle-stylesheets">
1717
<link rel="stylesheet" type="text/css" href="/css/light.css" media="(prefers-color-scheme: light)" />
1818
<link rel="stylesheet" type="text/css" href="/css/dark.css" media="(prefers-color-scheme: dark)" />
19-
<meta name="color-scheme" content="dark light" />
19+
<meta name="color-scheme" content="light dark" />
2020
</noscript>
21+
2122
<script src="/js/dark-mode-toggle-stylesheets-loader.min.js"></script>
2223
<script type="module" src="/js/dark-mode-toggle.min.mjs"></script>
2324
<script type="module" src="/js/wasm-compat.js"></script>

css/custom.css

Lines changed: 10 additions & 196 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ audio:not([controls]) {
2525
height: 0;
2626
}
2727
[hidden] {
28-
display: none;
28+
display: none !important;
2929
}
3030
html {
3131
font-size: 100%;
@@ -2447,8 +2447,6 @@ dl dd {
24472447
}
24482448

24492449
table {
2450-
/* https://bugzilla.mozilla.org/show_bug.cgi?id=1005271 */
2451-
/* display: block; */
24522450
width: 100%;
24532451
overflow: auto;
24542452
}
@@ -2522,200 +2520,16 @@ pre code::after {
25222520
content: normal;
25232521
}
25242522

2525-
#feature-support-scrollbox {
2526-
width: min-content;
2527-
max-width: 95vw;
2528-
margin: 0 50%;
2529-
margin-bottom: 2em;
2530-
transform: translateX(-50%);
2531-
overflow-x: auto;
2532-
}
2533-
2534-
#feature-support-scrollbox th[scope='row'] {
2535-
position: sticky;
2536-
left: -1px;
2537-
background-color: inherit;
2538-
z-index: 1;
2539-
}
2540-
2541-
#feature-support-scrollbox a::after {
2542-
/* Hide external link symbols on the table, since they are all external. */
2543-
display: none;
2544-
}
2545-
2546-
@media (min-width: 1400px) {
2547-
#feature-support {
2548-
white-space: nowrap;
2549-
}
2550-
}
2551-
2552-
#feature-support {
2553-
cursor: default;
2554-
}
2555-
2556-
#feature-support > caption {
2557-
text-align: left;
2558-
}
2559-
2560-
#feature-support sup {
2561-
padding-left: 1pt;
2562-
}
2563-
2564-
#feature-support tr > * {
2565-
text-align: center;
2566-
}
2567-
2568-
#feature-support tr:first-child > th {
2569-
vertical-align: bottom;
2570-
white-space: normal;
2571-
}
2572-
2573-
#feature-support .img-container {
2574-
width: 32px;
2575-
height: 32px;
2576-
}
2577-
2578-
#feature-support td {
2579-
position: relative; /* for tooltip */
2580-
}
2581-
2582-
#feature-support td:hover,
2583-
#feature-support td:focus,
2584-
#feature-support td:focus-within {
2585-
background: rgba(0, 0, 0, 0.04);
2586-
}
2587-
2588-
#feature-support th img {
2589-
max-height: 32px;
2590-
}
2591-
2592-
.feature-cell {
2593-
position: relative;
2594-
height: 24px; /* height of the icon inside */
2595-
line-height: 24px;
2596-
}
2597-
2598-
.feature-cell > sup {
2599-
font-size: 0.7em;
2600-
position: absolute;
2601-
top: 0.2em;
2602-
}
2603-
2604-
.feature-cell > svg {
2605-
width: 24px;
2606-
height: 24px;
2607-
}
2608-
2609-
.feature-cell.icon-yes {
2610-
color: #1b5e20;
2611-
}
2612-
2613-
.feature-cell.icon-yes > svg .svg-stroke {
2614-
fill: #1b5e20;
2615-
}
2616-
2617-
.feature-cell.icon-no {
2618-
color: #a96e8e;
2619-
}
2620-
2621-
.feature-cell.icon-no > svg .svg-stroke {
2622-
fill: #a96e8e;
2623-
}
2624-
2625-
.feature-cell.icon-flag {
2626-
color: #575581;
2627-
}
2628-
2629-
.feature-cell.icon-flag > svg .svg-stroke {
2630-
fill: #575581;
2631-
}
2632-
2633-
.feature-cell.icon-na {
2634-
color: #78909c;
2635-
}
2636-
2637-
.feature-cell.icon-unknown > svg .svg-stroke {
2638-
fill: #78909c;
2639-
}
2640-
2641-
#feature-support-scrollbox + ol {
2642-
list-style: lower-alpha;
2643-
font-size: 0.7em;
2644-
margin: 0 0 1em 0;
2645-
columns: 32em auto;
2646-
column-gap: 2em;
2647-
}
2648-
2649-
#feature-support-scrollbox + ol > li {
2650-
transition: background-color 0.08s ease-in-out;
2651-
}
2652-
2653-
#feature-support-scrollbox + ol .ref-highlight {
2654-
background: #eceff1;
2655-
}
2656-
2657-
.feature-tooltip {
2658-
text-align: left;
2659-
text-align: start;
2660-
white-space: normal;
2661-
color: #000;
2662-
background: #fefefe;
2663-
font-size: 0.8em;
2664-
border-radius: 2px;
2665-
outline: none;
2666-
2667-
top: 0;
2668-
left: 0;
2669-
z-index: 1;
2670-
max-width: 16em;
2671-
width: max-content;
2672-
height: max-content;
2673-
padding: 12px;
2674-
}
2675-
2676-
/* Only apply transition after the initial position was set */
2677-
.feature-tooltip[data-placement] {
2678-
transition: transform 0.2s ease-in-out;
2679-
}
2680-
2681-
.feature-tooltip,
2682-
.feature-tooltip-arrow {
2523+
.visually-hidden {
2524+
/* Visually hidden */
26832525
position: absolute;
2684-
contain: layout style;
2685-
--shadow-size: 3px;
2686-
box-shadow: 0 0 var(--shadow-size) rgba(0, 0, 0, 0.3);
2687-
}
2688-
2689-
.feature-tooltip-arrow {
2690-
--arrow-size: 8px;
2691-
background: inherit;
2692-
width: var(--arrow-size);
2693-
height: var(--arrow-size);
2694-
2695-
--c0: calc(var(--shadow-size) * -1);
2696-
--c1: calc(100% + var(--shadow-size));
2697-
clip-path: polygon(
2698-
var(--c0) var(--c1),
2699-
var(--c0) var(--c0),
2700-
var(--c1) var(--c0)
2701-
);
2702-
}
2703-
2704-
[data-placement='top'] > .feature-tooltip-arrow {
2705-
bottom: 0;
2706-
transform: translateY(50%) rotate(-135deg);
2707-
}
2708-
[data-placement='bottom'] > .feature-tooltip-arrow {
2709-
top: 0;
2710-
transform: translateY(-50%) rotate(45deg);
2711-
}
2712-
[data-placement='left'] > .feature-tooltip-arrow {
2713-
right: 0;
2714-
transform: translateX(50%) rotate(135deg);
2715-
}
2716-
[data-placement='right'] > .feature-tooltip-arrow {
2717-
left: 0;
2718-
transform: translateX(-50%) rotate(-45deg);
2526+
width: 1px;
2527+
height: 1px;
2528+
padding: 0;
2529+
border: none;
2530+
white-space: nowrap;
2531+
overflow: hidden;
2532+
clip: rect(0, 0, 0, 0);
27192533
}
27202534

27212535
dark-mode-toggle {

css/dark.css

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
:root {
22
color-scheme: dark;
3+
4+
--color-fg: #e5e5e5;
5+
--color-bg: #1e1e1e;
6+
--color-bg-highlight: rgb(255 255 255 / 4%);
7+
--color-bg-secondary: #202020;
8+
--color-link: #7cb1e2;
9+
--color-link-visited: #ab8fee;
10+
--color-border: #404549;
11+
--color-border-primary: #2a4872;
12+
13+
color: var(--color-fg);
14+
background-color: var(--color-bg);
315
}
416

17+
.invert-in-dark-theme,
518
:not(.flash) > a[href^='http']::after {
6-
filter: invert(1);
19+
filter: invert(0.8);
720
}
821

922
.flash.flash-warn {
10-
color: CanvasText;
23+
color: var(--color-fg);
1124
background-color: #555;
1225
}
1326

@@ -20,30 +33,45 @@
2033
}
2134

2235
.lead {
23-
color: #999;
36+
color: #c7c7c7;
2437
}
2538

2639
blockquote {
27-
color: #999;
40+
color: #c7c7c7;
2841
}
2942

3043
h6 {
31-
color: #999;
44+
color: #c7c7c7;
3245
}
3346

34-
table th,
35-
table td {
36-
border: 1px solid #222;
47+
.text-secondary {
48+
color: rgb(255 255 255 / 75%);
3749
}
3850

39-
table tr {
40-
border-top: 1px solid #333;
51+
#feature-table table {
52+
--color-bg: #202020;
53+
--color-status-dim: #444c50;
54+
background-color: var(--color-bg);
4155
}
4256

43-
table tr:nth-child(2n) {
44-
background-color: #303030;
57+
#feature-table :is(.cell, .details-status) > * {
58+
filter: brightness(2);
4559
}
4660

47-
.feature-cell {
48-
filter: brightness(2);
61+
#feature-table :is(th, .cell) {
62+
border-left: none;
63+
}
64+
65+
.status-yes {
66+
color: #305934;
67+
fill: #3d4e3e;
68+
}
69+
70+
.status-no {
71+
color: #785562;
72+
}
73+
74+
.status-experimental {
75+
color: #3e5997;
76+
fill: #3f63b7;
4977
}

0 commit comments

Comments
 (0)