Skip to content

Commit ef8a13d

Browse files
committed
Add Godot priorities page
1 parent 71db079 commit ef8a13d

File tree

79 files changed

+2856
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2856
-52
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ indent_size = 2
1616
[*.rb]
1717
indent_style = space
1818
indent_size = 2
19+
20+
[*.md]
21+
indent_style = space
22+
indent_size = 2

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ collections:
2626
download_3:
2727
output: true
2828
permalink: /download/3.x/:name/
29+
priorities:
30+
output: true
2931

3032
# Build collection items with a future date.
3133
future: true

_sass/common/_release.scss

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//
2+
// Functions
3+
//
14
@function offset-hue($color, $offset, $i: 1) {
25
@return adjust-hue($color, $offset * $i);
36
}
@@ -51,3 +54,18 @@
5154
@function r-get-mobile($value) {
5255
@return map-get($value, "mobile");
5356
}
57+
58+
//
59+
// Mixins
60+
//
61+
@mixin is-dark() {
62+
@media screen and (prefers-color-scheme: dark) {
63+
@content;
64+
}
65+
}
66+
67+
@mixin is-light() {
68+
@media screen and (prefers-color-scheme: light) {
69+
@content;
70+
}
71+
}

assets/css/main.scss

+42-40
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ h1,
311311
h2,
312312
h3,
313313
h4,
314-
nav a,
314+
#nav a,
315315
.btn,
316316
a.btn,
317317
.title-font {
@@ -437,31 +437,33 @@ header {
437437
.container {
438438
overflow: initial;
439439
}
440-
441-
.fund {
442-
margin-right: 0px;
443-
&.desktop {
444-
@media (max-width: 1200px) {
445-
display: none;
446-
}
447-
}
448-
&.mobile {
449-
top: -2px;
450-
position: relative;
451-
@media (min-width: 1200px) {
452-
display: none;
453-
}
454-
}
455-
a {
456-
text-decoration: none;
457-
color: var(--fund-color);
458-
color: white;
459-
background-color: var(--fund-color) !important; // avoid hover overwrite
460-
border-radius: var(--button-border-radius);
461-
box-shadow: inset 0 0 0 2px var(--fund-color);
462-
padding: 13px;
463-
}
464-
}
440+
441+
#nav, #nav_head {
442+
.fund {
443+
margin-right: 0px;
444+
&.desktop {
445+
@media (max-width: 1200px) {
446+
display: none;
447+
}
448+
}
449+
&.mobile {
450+
top: -2px;
451+
position: relative;
452+
@media (min-width: 1200px) {
453+
display: none;
454+
}
455+
}
456+
a {
457+
text-decoration: none;
458+
color: var(--fund-color);
459+
color: white;
460+
background-color: var(--fund-color) !important; // avoid hover overwrite
461+
border-radius: var(--button-border-radius);
462+
box-shadow: inset 0 0 0 2px var(--fund-color);
463+
padding: 13px;
464+
}
465+
}
466+
}
465467
#logo-link {
466468
/* Make the logo's clickable area as tall as for other navigation links. */
467469
padding: 0.2rem 0.5rem;
@@ -496,15 +498,15 @@ header > div.container {
496498
align-items: center;
497499
}
498500

499-
nav {
501+
#nav {
500502
width: 100%;
501503
display: flex;
502504
justify-content: space-between;
503505
align-items: center;
504506
padding-right: 1rem;
505507
}
506508

507-
nav a {
509+
#nav a {
508510
text-decoration: none;
509511
font-size: 16px;
510512
font-weight: 400;
@@ -513,44 +515,44 @@ nav a {
513515
padding: 1.3175rem 1rem;
514516
}
515517

516-
nav a:hover,
518+
#nav a:hover,
517519
#logo-link:hover {
518520
background-color: hsla(0, 0%, 50%, 0.1);
519521
}
520522

521-
nav ul {
523+
#nav ul {
522524
list-style: none;
523525
margin: 0;
524526
padding-left: 0;
525527
}
526528

527-
nav > ul {
529+
#nav > ul {
528530
display: flex;
529531
align-items: center;
530532
height: 100%;
531533
}
532534

533-
nav > ul > :first-child {
535+
#nav > ul > :first-child {
534536
padding-left: 0;
535537
}
536538

537-
nav > ul > :last-child {
539+
#nav > ul > :last-child {
538540
padding-right: 0;
539541
}
540542

541-
nav > ul li {
543+
#nav > ul li {
542544
padding-left: 1rem;
543545
padding-right: 1rem;
544546
margin-bottom: 0;
545547
margin-left: -1rem;
546548
margin-right: -1rem;
547549
}
548550

549-
nav li.active > a {
551+
#nav li.active > a {
550552
color: var(--navbar-link-current-color);
551553
}
552554

553-
nav > ul ul {
555+
#nav > ul ul {
554556
display: none;
555557
}
556558

@@ -1026,20 +1028,20 @@ pre > code {
10261028
#nav {
10271029
display: none;
10281030
}
1029-
nav ul {
1031+
#nav ul {
10301032
align-items: flex-start;
10311033
flex-direction: column;
10321034
height: auto;
10331035
}
1034-
nav > ul {
1036+
#nav > ul {
10351037
margin-bottom: 16px;
10361038
}
1037-
nav ul li {
1039+
#nav ul li {
10381040
padding: 0;
10391041
padding-top: 16px;
10401042
width: 100%;
10411043
}
1042-
nav ul a {
1044+
#nav ul a {
10431045
width: 100%;
10441046
display: block;
10451047
/* Make links easier to click but still close to each other. */

0 commit comments

Comments
 (0)