Skip to content

Commit 20c2290

Browse files
committed
Design Refresh
1 parent d152ce1 commit 20c2290

9 files changed

Lines changed: 66 additions & 3547 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
### About
44

55
Code-based references for various programming languages, frameworks and tools designed to simplify your coding experience by providing practical and focused guides that are constantly updated and refined.
6-
All of these references are available at https://referencecollection.com/ or directly in the [reference directory](./references).
6+
All of these references are available directly in the [reference directory](./references) or at https://referencecollection.com/
77

88
### How it started
99

10-
Throughout my education and career. Whenever I learned a new programming language, I developed the habit of creating a reference file with the same extension as the language. In this file, I documented the language's basic, intermediate, and advanced concepts. This organized approach made it easier for me to quickly review important information and refresh my knowledge. I created this repository to share these reference guides and to keep expanding them in a consistent, accessible format. Additionally, I am working on training AI to help write even better references, enhancing the quality and accessibility of these resources for all developers.
10+
Over the course of my university studies and professional career, I've developed a habit whenever I start learning a new programming language: I’d create a reference file with the same extension as the language. In this file, I documented everything from basic syntax to advanced features, keeping everything organized so I can easily refresh my knowledge whenever I need to.
1111

12-
### Contributing
12+
I put together this repository and this [website](https://referencecollection.com/) to share these reference guides with others and keep adding new ones in a consistent, easy-to-access format, hoping they’ll be useful for developers looking to quickly grasp key concepts and streamline their learning process.
1313

14-
We welcome contributions from the community to help make this repository a valuable resource for developers of all levels. Whether you're fixing a typo, adding new references, or suggesting improvements, your contributions are appreciated.
14+
I’m also working on training AI to help build even better guides. The goal is to make these resources even more useful and accessible for developers of all levels.
1515

16-
### How to Contribute
16+
### Contributing
1717

18-
Comming soon.
18+
Contributions are encouraged to help make this repository a valuable resource for developers of all levels. Whether it's fixing a typo, adding new references, or suggesting improvements, all contributions are greatly appreciated.

assets/css/main.css

Lines changed: 50 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,12 @@
1313
}
1414

1515
@font-face {
16-
font-family: "GeistMono Medium";
17-
src: url("../fonts/GeistMono-Medium.woff2") format("woff2");
16+
font-family: "Geist Regular";
17+
src: url("../fonts/Geist-Regular.woff2") format("woff2");
1818
font-display: swap;
1919
}
2020

2121
/* Minimal CSS reset for browser compatibility */
22-
23-
body {
24-
scroll-behavior: smooth;
25-
}
26-
2722
*,
2823
*::before,
2924
*::after {
@@ -84,14 +79,14 @@ a {
8479
--main-radius: 0.25rem;
8580

8681
/* Font */
82+
--font: 'Geist Regular', sans-serif;
8783
--font-medium: 'Geist Medium', sans-serif;
88-
--font-mono-medium: 'GeistMono Medium', sans-serif;
8984
--font-jetbrains: 'JetBrainsMono', sans-serif;
9085
--font-size: 0.850rem;
9186

9287
/* Colors */
9388
--background-primary: #fefcfa;
94-
--background-secondary: #f9f8f8;
89+
--background-secondary: #f6f5f5;
9590

9691
--c1: #8d8d8d;
9792
--c2: #374253;
@@ -100,7 +95,9 @@ a {
10095
--c5: #e0eefe;
10196
--c6: #00abff;
10297
--c7: #e73b2c;
103-
--c8: #f0f0f0;
98+
--c9: #ecebeb;
99+
--c10: #f9edd6;
100+
--c11: #f4f4f4;
104101

105102
/* Shadows */
106103
--box-shadow-0: rgba(0, 0, 0, 0.15) 0px 3px 10px;
@@ -112,7 +109,7 @@ a {
112109

113110
/* Colors */
114111
--background-primary: #fefcfa;
115-
--background-secondary: #f9f8f8;
112+
--background-secondary: #f6f5f5;
116113

117114
--c1: #8d8d8d;
118115
--c2: #374253;
@@ -121,7 +118,9 @@ a {
121118
--c5: #e0eefe;
122119
--c6: #00abff;
123120
--c7: #e73b2c;
124-
--c8: #f0f0f0;
121+
--c9: #ecebeb;
122+
--c10: #f9edd6;
123+
--c11: #f4f4f4;
125124

126125
/* Shadows */
127126
--box-shadow-0: rgba(0, 0, 0, 0.15) 0px 3px 10px;
@@ -130,8 +129,8 @@ a {
130129
:root[app-appearance="dark"] {
131130

132131
/* Colors */
133-
--background-primary: #161614;
134-
--background-secondary: #222222;
132+
--background-primary: #111111;
133+
--background-secondary: #1e1e1e;
135134

136135
--c1: #818b94;
137136
--c2: #d7dbe1;
@@ -140,7 +139,9 @@ a {
140139
--c5: #003672;
141140
--c6: #00abff;
142141
--c7: #e73b2c;
143-
--c8: #2b2d2e;
142+
--c9: #282828;
143+
--c10: #2a2110;
144+
--c11: #1e1e1e;
144145

145146
--box-shadow-0: rgba(0, 0, 0, 0.25) 0px 1px 4px 1px;
146147

@@ -173,6 +174,7 @@ body {
173174
-webkit-font-smoothing: antialiased;
174175
-moz-osx-font-smoothing: grayscale;
175176
background-color: var(--background-primary);
177+
scroll-behavior: smooth;
176178
}
177179

178180
.main_container {
@@ -194,7 +196,7 @@ body {
194196
align-content: center;
195197
justify-content: space-between;
196198
align-items: center;
197-
font-family: var(--font-mono-medium);
199+
font-family: var(--font-jetbrains);
198200
font-size: var(--font-size);
199201
height: var(--navigation-height);
200202
}
@@ -358,50 +360,52 @@ body {
358360
flex-direction: column;
359361
align-items: center;
360362
text-align: center;
361-
padding: 11rem var(--main-side-padding) 8rem var(--main-side-padding);
363+
row-gap: 0.25rem;
364+
padding: 9rem var(--main-side-padding) 8rem var(--main-side-padding);
362365
}
363366

364367
.hero_content h1:nth-child(1) {
365-
font-family: var(--font-mono-medium);
366-
font-size: var(--font-size);
367-
line-height: 1.6;
368+
font-family: var(--font-jetbrains);
369+
font-size: 0.8rem;
370+
line-height: 1.7;
368371
color: var(--c3);
372+
background-color: var(--c10);
369373
font-weight: normal;
374+
padding: 0 0.7rem;
375+
border-radius: 5rem;
370376
}
371377

372378
.hero_content h1:nth-child(2) {
373379
font-family: var(--font-medium);
374-
line-height: 1.2;
375-
font-size: 2.15rem;
380+
line-height: 1.15;
381+
font-size: 2.60rem;
376382
font-weight: 500;
377383
color: var(--c2);
378384
}
379385

380386
.hero_content p {
381-
font-family: var(--font-mono-medium);
382-
font-size: var(--font-size);
383-
line-height: 1.6;
387+
font-family: var(--font-jetbrains);
388+
font-size: 0.925rem;
389+
line-height: 1.7;
390+
letter-spacing: -0.01em;
384391
color: var(--c1);
385392
margin-top: 5px;
386393
}
387394

388-
.accent {
389-
background-color: var(--c8);
390-
}
391-
392395
/* REFERENCES */
393396

394397
.references {
395-
background-color: var(--background-secondary);
398+
background-color: var(--background-primary);
396399
border-top: 1px solid var(--c4);
397400
min-height: 350px;
401+
padding-bottom: 7rem;
398402
}
399403

400404

401405
.references_container,
402406
.hero_container {
403407
position: relative;
404-
max-width: 670px;
408+
max-width: 650px;
405409
margin: 0 auto;
406410
padding-bottom: 1rem;
407411
}
@@ -434,13 +438,13 @@ body {
434438
width: 100%;
435439
font-size: 16px;
436440
outline: 0;
437-
border-radius: 0.50rem;
441+
border-radius: var(--main-radius);
438442
-webkit-box-sizing: border-box;
439443
box-sizing: border-box;
440444
display: flex;
441445
-webkit-appearance: none;
442446
vertical-align: middle;
443-
padding: 1rem 0.5rem 1rem 1.85rem;
447+
padding: 0.95rem 0.5rem 0.9rem 1.85rem;
444448
color: var(--c1);
445449
background-color: var(--background-primary);
446450
border: 1px solid var(--c4);
@@ -523,7 +527,7 @@ input[type="search"]::-ms-clear {
523527
}
524528

525529
.footer_bar {
526-
font-family: var(--font-mono-medium);
530+
font-family: var(--font-jetbrains);
527531
display: flex;
528532
flex-direction: row;
529533
justify-content: space-between;
@@ -569,7 +573,7 @@ input[type="search"]::-ms-clear {
569573
/* License */
570574

571575
#license {
572-
font-family: var(--font-mono-medium);
576+
font-family: var(--font-jetbrains);
573577
font-size: 0.750rem;
574578
text-align: center;
575579
padding-top: 0.5rem;
@@ -591,27 +595,30 @@ input[type="search"]::-ms-clear {
591595
.languages {
592596
display: grid;
593597
grid-template-columns: repeat(3, 1fr);
594-
gap: 0.7rem;
598+
gap: 0.950rem;
595599
}
596600

597601
.language {
598602
display: flex;
599603
flex-direction: row;
600604
justify-content: space-between;
601-
font-family: var(--font-mono-medium);
602-
font-size: 0.915rem;
605+
font-family: var(--font-jetbrains);
606+
font-size: 0.875rem;
603607
padding: 0.950rem;
604-
background-color: var(--background-primary);
608+
background-color: var(--c11);
605609
border-radius: var(--main-radius);
606610
color: var(--c2);
607-
box-shadow: inset 0 0 0 1px var(--c4);
608611
}
609612

610613
.language_wrapper {
611614
display: flex;
612615
align-items: center;
613616
}
614617

618+
.language:hover {
619+
background-color: var(--c9);
620+
}
621+
615622
.language:hover .language_icon {
616623
color: var(--c7);
617624
}
@@ -635,7 +642,7 @@ input[type="search"]::-ms-clear {
635642
}
636643

637644
.header_title {
638-
font-family: var(--font-mono-medium);
645+
font-family: var(--font-jetbrains);
639646
text-transform: capitalize;
640647
display: flex;
641648
align-items: center;
@@ -653,7 +660,7 @@ input[type="search"]::-ms-clear {
653660
}
654661

655662
.header_buttons {
656-
font-family: var(--font-mono-medium);
663+
font-family: var(--font-jetbrains);
657664
display: flex;
658665
flex-direction: row;
659666
margin: 1.2rem 0 0.3rem 0;
@@ -667,18 +674,6 @@ input[type="search"]::-ms-clear {
667674
column-gap: 1rem;
668675
}
669676

670-
.share_dropdown {
671-
position: relative;
672-
}
673-
674-
.share_dropdown [type="checkbox"]:checked,
675-
.share_dropdown [type="checkbox"]:not(:checked) {
676-
position: absolute;
677-
display: none;
678-
opacity: 0;
679-
pointer-events: none;
680-
}
681-
682677
.header_back {
683678
display: flex;
684679
cursor: pointer;
@@ -692,52 +687,6 @@ input[type="search"]::-ms-clear {
692687
color: var(--c2);
693688
}
694689

695-
.header_share {
696-
display: flex;
697-
cursor: pointer;
698-
align-items: center;
699-
padding: 0.40rem 0.50rem;
700-
column-gap: 0.5rem;
701-
color: var(--c6);
702-
}
703-
704-
.header_share:hover svg {
705-
color: var(--c6);
706-
}
707-
708-
.share_container {
709-
position: absolute;
710-
display: none;
711-
margin-top: 10px;
712-
border-radius: var(--main-radius);
713-
background-color: var(--background-secondary);
714-
box-shadow: inset 0 0 0 1px var(--c4);
715-
z-index: 100;
716-
}
717-
718-
.show_dropdown {
719-
display: flex;
720-
}
721-
722-
.share_container ul li a {
723-
display: flex;
724-
column-gap: 0.5rem;
725-
cursor: pointer;
726-
align-items: center;
727-
padding: .655em;
728-
margin: .450em;
729-
min-width: 165px;
730-
color: var(--c2);
731-
}
732-
733-
.share_container ul li a svg {
734-
color: var(--c4);
735-
}
736-
737-
.share_container ul li a:hover svg {
738-
color: var(--c2);
739-
}
740-
741690
.header_contribute {
742691
display: flex;
743692
cursor: pointer;
@@ -752,8 +701,7 @@ input[type="search"]::-ms-clear {
752701
}
753702

754703
.header_contribute svg,
755-
.header_back svg,
756-
.header_share svg {
704+
.header_back svg {
757705
color: var(--c4);
758706
}
759707

assets/fonts/Geist-Regular.woff2

39.1 KB
Binary file not shown.
-43.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)