Skip to content

Commit 80bdca8

Browse files
committed
1 parent 053d155 commit 80bdca8

File tree

26 files changed

+1175
-510
lines changed

26 files changed

+1175
-510
lines changed

404.html

Lines changed: 65 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030

3131
<link rel="stylesheet" href="/assets/stylesheets/modern/main.f28b7ce3.min.css">
3232

33+
34+
35+
36+
<link rel="stylesheet" href="/assets/stylesheets/modern/palette.dfe2e883.min.css">
37+
3338

3439

3540

@@ -47,6 +52,8 @@
4752

4853

4954

55+
<link rel="stylesheet" href="/stylesheets/extra.css">
56+
5057
<script>__md_scope=new URL("/",location),__md_hash=e=>[...e].reduce(((e,t)=>(e<<5)-e+t.charCodeAt(0)),0),__md_get=(e,t=localStorage,a=__md_scope)=>JSON.parse(t.getItem(a.pathname+"."+e)),__md_set=(e,t,a=localStorage,_=__md_scope)=>{try{a.setItem(_.pathname+"."+e,JSON.stringify(t))}catch(e){}},document.documentElement.setAttribute("data-platform",navigator.platform)</script>
5158

5259

@@ -56,7 +63,14 @@
5663
</head>
5764

5865

59-
<body dir="ltr">
66+
67+
68+
69+
70+
71+
72+
73+
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="custom" data-md-color-accent="indigo">
6074

6175

6276
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
@@ -78,8 +92,7 @@
7892
<nav class="md-header__inner md-grid" aria-label="Header">
7993
<a href="/" title="ruby-prof" class="md-header__button md-logo" aria-label="ruby-prof" data-md-component="logo">
8094

81-
82-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-book-open" viewBox="0 0 24 24"><path d="M12 7v14M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>
95+
<img src="/public/images/ruby-prof-logo.svg" alt="logo">
8396

8497
</a>
8598
<label class="md-header__button md-icon" for="__drawer">
@@ -103,6 +116,32 @@
103116
</div>
104117
</div>
105118

119+
120+
<form class="md-header__option" data-md-component="palette">
121+
122+
123+
124+
125+
<input class="md-option" data-md-color-media="none" data-md-color-scheme="default" data-md-color-primary="custom" data-md-color-accent="indigo" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0">
126+
127+
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden>
128+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/></svg>
129+
</label>
130+
131+
132+
133+
134+
135+
<input class="md-option" data-md-color-media="none" data-md-color-scheme="slate" data-md-color-primary="custom" data-md-color-accent="indigo" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1">
136+
137+
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden>
138+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-moon" viewBox="0 0 24 24"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"/></svg>
139+
</label>
140+
141+
142+
</form>
143+
144+
106145

107146
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
108147

@@ -123,6 +162,16 @@
123162

124163
<div class="md-header__source">
125164

165+
<a href="https://github.com/ruby-prof/ruby-prof" title="Go to repository" class="md-source" data-md-component="source">
166+
<div class="md-source__icon md-icon">
167+
168+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
169+
</div>
170+
<div class="md-source__repository">
171+
ruby-prof/ruby-prof
172+
</div>
173+
</a>
174+
126175
</div>
127176
</nav>
128177

@@ -151,13 +200,24 @@
151200
<label class="md-nav__title" for="__drawer">
152201
<a href="/" title="ruby-prof" class="md-nav__button md-logo" aria-label="ruby-prof" data-md-component="logo">
153202

154-
155-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-book-open" viewBox="0 0 24 24"><path d="M12 7v14M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>
203+
<img src="/public/images/ruby-prof-logo.svg" alt="logo">
156204

157205
</a>
158206
ruby-prof
159207
</label>
160208

209+
<div class="md-nav__source">
210+
<a href="https://github.com/ruby-prof/ruby-prof" title="Go to repository" class="md-source" data-md-component="source">
211+
<div class="md-source__icon md-icon">
212+
213+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
214+
</div>
215+
<div class="md-source__repository">
216+
ruby-prof/ruby-prof
217+
</div>
218+
</a>
219+
</div>
220+
161221
<ul class="md-nav__list" data-md-scrollfix>
162222

163223

0 commit comments

Comments
 (0)