Skip to content

Commit c149471

Browse files
committed
fixes
1 parent 0bc39d9 commit c149471

3 files changed

Lines changed: 63 additions & 1 deletion

File tree

assets/css/custom.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,29 @@ html.dark pre,
66
html.dark code {
77
background-color: #171717 !important; /* Add !important to enforce the style */
88
}
9+
10+
/* Make cards slightly brighter with warmer gray */
11+
.hextra-card {
12+
background: rgb(254, 252, 251) !important;
13+
border: 1px solid rgb(231, 229, 228) !important;
14+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px 0 rgba(0, 0, 0, 0.02) !important;
15+
}
16+
17+
/* Dark mode adjustments with warmer gray */
18+
.dark .hextra-card {
19+
background: rgb(44, 42, 41) !important;
20+
border: 1px solid rgb(54, 52, 51) !important;
21+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
22+
}
23+
24+
/* Card hover effects with slightly warmer hue */
25+
.hextra-card:hover {
26+
background: rgb(252, 249, 248) !important;
27+
border-color: rgb(227, 224, 221) !important;
28+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
29+
}
30+
31+
.dark .hextra-card:hover {
32+
background: rgb(48, 46, 45) !important;
33+
border-color: rgb(62, 60, 59) !important;
34+
}

assets/css/styles.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@import "tailwind.css";
2+
3+
@import "typography.css";
4+
@import "highlight.css";
5+
@import "components/cards.css";
6+
@import "components/steps.css";
7+
@import "components/search.css";
8+
@import "components/sidebar.css";
9+
@import "components/navbar.css";
10+
@import "components/scrollbar.css";
11+
@import "components/code-copy.css";
12+
@import "components/hextra/feature-grid.css";
13+
14+
html {
15+
@apply hx-text-base hx-antialiased;
16+
font-feature-settings: "rlig" 1, "calt" 1, "ss01" 1;
17+
-webkit-tap-highlight-color: transparent;
18+
}
19+
20+
body {
21+
@apply hx-w-full hx-bg-white dark:hx-bg-dark dark:hx-text-gray-100;
22+
}
23+
24+
:root {
25+
--primary-hue: 212deg;
26+
--primary-saturation: 100%;
27+
--navbar-height: 4rem;
28+
--menu-height: 3.75rem;
29+
--primary-lightness: 50%;
30+
}
31+
32+
.dark {
33+
--primary-hue: 204deg;
34+
--primary-saturation: 100%;
35+
--primary-lightness: 50%;
36+
}

hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pageRef = "hub/plug-ins/folder"
8181
weight = 6
8282

8383
[[menu.main]]
84-
name = "Practical Applications"
84+
name = "Practicals"
8585
pageRef = "hub/practical-applications"
8686
weight = 5
8787

0 commit comments

Comments
 (0)