Skip to content

Commit fbd556d

Browse files
committed
I think this is it!
1 parent 7c3e346 commit fbd556d

5 files changed

Lines changed: 36 additions & 32 deletions

File tree

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ EXTRACT_ALL = NO
530530
# be included in the documentation.
531531
# The default value is: NO.
532532

533-
EXTRACT_PRIVATE = NOE
533+
EXTRACT_PRIVATE = NO
534534

535535
# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual
536536
# methods of a class will be included in the documentation.

docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<style>
2+
.md-typeset h1 { display: none !important; }
3+
</style>
4+
15
<div align="center" markdown="1">
26
<img src="img/cpp-gl-hex.png" alt="CPP-GL" width="360" />
37
</div>

docs/style/theme.css

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
/* Change :root to target the default color scheme directly */
1+
/* Light Mode */
22
[data-md-color-scheme="default"] {
3-
/* -----------------------------------------
4-
LIGHT MODE - Crisp, Framed, Accessible
5-
----------------------------------------- */
63
--md-default-bg-color: #F1F5F9;
74
--md-default-bg-color--light: #FFFFFF;
85
--md-default-bg-color--lighter: #E2E8F0;
96

10-
--md-primary-fg-color: #0F172A; /* Deep Navy Header */
7+
--md-primary-fg-color: #0F172A;
118
--md-primary-bg-color: #FFFFFF;
129

13-
--md-accent-fg-color: #E11D48; /* Crimson Accent */
10+
--md-accent-fg-color: #E11D48;
1411

15-
/* Dedicated Blue for links/references in Light Mode */
16-
--md-typeset-a-color: #0284C7; /* Deep Sky Blue */
12+
--md-typeset-a-color: #0284C7;
1713

18-
/* Soften the harsh blacks in light mode */
19-
--md-text-color: #334155; /* Readable Slate Gray for body text */
20-
--md-typeset-color: #0F172A; /* Deep Navy for Headings and Bold text */
14+
--md-text-color: #334155;
15+
--md-typeset-color: #0F172A;
2116
}
2217

18+
/* Dark Mode */
2319
[data-md-color-scheme="slate"] {
24-
/* -----------------------------------------
25-
DARK MODE - Rich Midnight & Vibrant Accents
26-
----------------------------------------- */
2720
--md-default-bg-color: #0F172A;
2821
--md-default-bg-color--light: #1E293B;
2922
--md-default-bg-color--lighter: #334155;
@@ -37,29 +30,24 @@
3730
--md-text-color: #E2E8F0;
3831
--md-typeset-color: #F8FAFC;
3932

40-
/* Links/references use the glowing red accent in Dark Mode */
4133
--md-typeset-a-color: var(--md-accent-fg-color);
4234
}
4335

44-
/* -----------------------------------------
45-
MODERN "WEB-SLINGER" REFINEMENTS
46-
----------------------------------------- */
47-
48-
/* 1. The Dynamic Header */
36+
/* Dynamic Header */
4937
.md-header {
5038
background-color: var(--md-primary-fg-color) !important;
5139
box-shadow: none !important;
5240
border-bottom: 0px !important;
5341
}
5442

55-
/* 2. The Signature Gradient Border */
43+
/* Gradient Border */
5644
.md-tabs {
5745
background-color: var(--md-primary-fg-color) !important;
5846
border-bottom: 2px solid transparent !important;
5947
border-image: linear-gradient(to right, #3B82F6, #E30022) 1 !important;
6048
}
6149

62-
/* 3. Sleeker Search Bar */
50+
/* Search Bar */
6351
.md-search__input {
6452
background-color: rgba(255, 255, 255, 0.1) !important;
6553
color: #FFFFFF !important;
@@ -69,27 +57,28 @@
6957
color: rgba(255, 255, 255, 0.7) !important;
7058
}
7159

72-
/* 4. Modern Code Blocks (Fixed Corner Radius) */
60+
/* Code Blocks */
7361
.md-typeset pre {
74-
border-radius: 0.25rem !important; /* Matches the copy button corners */
62+
border-radius: 0.25rem !important;
63+
overflow: hidden !important;
7564
border: 1px solid var(--md-default-bg-color--lighter);
7665
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
7766
}
7867

79-
/* 5. Smooth Admonitions */
68+
/* Smooth Admonitions */
8069
.md-typeset .admonition, .md-typeset details {
8170
border-radius: 0.5rem;
8271
border-width: 1px;
8372
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
8473
background-color: var(--md-default-bg-color--light);
8574
}
8675

87-
/* 6. Enforce Accent Colors on API References & Links */
76+
/* Enforce Accent Colors on API References & Links */
8877
.md-typeset a,
8978
.md-typeset .el,
9079
.md-typeset a.el,
9180
.md-typeset strong .el,
92-
.md-typeset code a /* Added this just in case mkdoxy nests links inside code blocks */ {
81+
.md-typeset code a {
9382
color: var(--md-typeset-a-color) !important;
9483
text-decoration: none;
9584
transition: opacity 0.2s ease-in-out;

include/gl/graph.hpp

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,20 @@ struct to_impl;
109109
/// or the [Installation Guide](/#installing-the-library).
110110
/// A simple reference [MAIN PAGE](/)
111111
///
112+
/// > [!NOTE]
113+
/// > Highlights information that users should take into account, even when skimming.
114+
///
115+
/// > [!TIP]
116+
/// > Optional information to help a user be more successful.
117+
///
118+
/// > [!IMPORTANT]
119+
/// > Crucial information necessary for users to succeed.
120+
///
112121
/// > [!WARNING]
113-
/// > This class relies on its internal implementation tag to correctly define its layout. Modifying
114-
/// > the underlying structure bypassing the API can lead to undefined behavior.
122+
/// > Critical content demanding immediate user attention due to potential risks.
123+
///
124+
/// > [!CAUTION]
125+
/// > Negative potential consequences of an action.
115126
template <traits::c_instantiation_of<graph_traits> GraphTraits>
116127
class graph final {
117128
public:

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ theme:
2727
primary: custom
2828
accent: custom
2929
toggle:
30-
icon: material/brightness-7
30+
icon: material/brightness-5
3131
name: Switch to dark mode
3232
- media: "(prefers-color-scheme: dark)"
3333
scheme: slate
3434
primary: custom
3535
accent: custom
3636
toggle:
37-
icon: material/brightness-4
37+
icon: material/brightness-3
3838
name: Switch to light mode
3939

4040
markdown_extensions:

0 commit comments

Comments
 (0)