Skip to content

Commit 961aed8

Browse files
committed
style: update Mr.Docs branding and enhance UI elements
1 parent 10a82f5 commit 961aed8

File tree

4 files changed

+40
-28
lines changed

4 files changed

+40
-28
lines changed

docs/website/data.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@
8484
"panels": [
8585
{
8686
"description": "Mr.Docs understands C++ features such as attributes and noexcept functions.",
87-
"source": "terminate.cpp"
87+
"source": "terminate.cpp",
88+
"imageClass": "pointing",
89+
"boxClass": "box3 box-shape3 box270"
8890
},
8991
{
9092
"description": "Specially formatted comments are rendered to form a reference as part of documentation.",

docs/website/index.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
<meta name="apple-mobile-web-app-capable" content="yes">
99
<meta name="apple-mobile-web-app-status-bar-style" content="default">
1010
<meta name="msapplication-TileColor" content="#11191f">
11-
<meta name="application-name" content="MrDocs">
12-
<title>MrDocs</title>
13-
<meta name="description" content="MrDocs is a C++ documentation generator for your projects.">
11+
<meta name="application-name" content="Mr.Docs">
12+
<title>Mr.Docs</title>
13+
<meta name="description" content="Mr.Docs is a C++ documentation generator for your projects.">
1414
<link rel="canonical" href="https://www.mrdocs.com">
1515
<meta name="robots" content="index, follow">
16-
<meta property="og:title" content="MrDocs">
17-
<meta property="og:description" content="MrDocs is a C++ documentation generator for your projects.">
16+
<meta property="og:title" content="Mr.Docs">
17+
<meta property="og:description" content="Mr.Docs is a C++ documentation generator for your projects.">
1818
<meta property="og:url" content="https://www.mrdocs.com">
19-
<meta property="og:site_name" content="MrDocs">
19+
<meta property="og:site_name" content="Mr.Docs">
2020
<meta property="og:type" content="website">
2121
<meta name="twitter:card" content="summary_large_image">
2222
<meta property="twitter:domain" content="https://www.mrdocs.com">
@@ -58,7 +58,7 @@
5858
<path d="M687.9 399.8c-19.7 7.5-38.1 18.2-53.7 32.4-1.7 1.3-3.6 3.2-6 2.9l1.3-10.2c-.9-.2-2.4 0-3.1.5-.1 0 0 0 0 0 .5-.2 1.1-.6 1.7-1 17.8-12.3 38.4-20.9 59.3-25.7l.3.9ZM646 410.1c-19.1 8.9-36.7 20.9-51.3 36.1-1.6 1.5-3.3 3.4-5.7 3.4l.6-10.3c-.9 0-2.4.2-3.1.7-.1.1 0 0 0 0 .5-.2 1-.6 1.7-1.1 16.9-13.5 36.8-23.5 57.4-29.8l.4.9ZM741.6 399.6l-22.3 6.1c-5.1 1.6-11.1 2.6-15.6 5.2-1.1.8-2.8 2.3-4.4 3.5l-3.7-5.5c2.6-1.5 5.2-3.6 8.3-4.3 4.8-1.2 9.8-1.8 14.5-2.6l22.9-3.3.2 1ZM327.1 630c-5 39.2-3.9 78.8-.3 118l-14.5.5c.9-39.9 4.3-80 13.8-118.7l1 .2Z"/>
5959
</g>
6060
</svg>
61-
<span class="logo-text">MrDocs</span>
61+
<span class="logo-text">Mr.Docs</span>
6262
</a>
6363
</div>
6464
<div class="nav-section">
@@ -80,8 +80,8 @@
8080
<header>
8181
<div class="container">
8282
<div class="header-content">
83-
<h1>MrDocs</h1>
84-
<p>MrDocs is a C++ documentation generator for your projects.</p>
83+
<h1>Mr.Docs</h1>
84+
<p>Mr.Docs is a C++ documentation generator for your projects.</p>
8585
<div class="header-cta">
8686
<a href="docs/" class="secondary" role="button" aria-label="Documentation">Get started</a>
8787
<a href="docs/mrdocs/install.html" class="contrast outline" role="button" aria-label="Download">Download</a>
@@ -111,7 +111,7 @@ <h1>MrDocs</h1>
111111
<div class="principles-content">
112112
<hgroup>
113113
<h2>Simple code, simple documentation</h2>
114-
<h3>MrDocs understands C++ so you can focus on keeping the code simple.</h3>
114+
<h3>Mr.Docs understands C++ so you can focus on keeping the code simple.</h3>
115115
</hgroup>
116116
</div>
117117
</div>
@@ -159,16 +159,17 @@ <h4>Customizable</h4>
159159
</div>
160160
</div>
161161
</div>
162-
</section>
163-
<section id="features" class="features">
164-
<div class="container">
165-
<hgroup>
166-
<h2>More Code, Fewer Workarounds</h2>
167-
<h3>MrDocs let's you keep the code simple and maintainable.</h3>
168-
</hgroup>
162+
</div>
163+
</section>
164+
<section id="features">
165+
<div class="container">
166+
<hgroup>
167+
<h2>More Code, Fewer Workarounds</h2>
168+
<h3>Mr.Docs let's you keep the code simple and maintainable.</h3>
169+
</hgroup>
169170
<div class="snippet-documentation-panel">
170171
<ul class="check">
171-
<li>MrDocs understands C++ features such as attributes and noexcept functions.</li>
172+
<li>Mr.Docs understands C++ features such as attributes and noexcept functions.</li>
172173
</ul>
173174
<div class="panel-container">
174175
<div class="snippet-panel">
@@ -520,13 +521,12 @@ <h3>Parameters</h3>
520521
</div>
521522
</div>
522523
</div>
523-
</div>
524-
</section>
525-
<section id="star" data-theme="light" aria-label="Star MrDocs on GitHub">
526-
<div class="container">
527-
<p>Give us a Star on GitHub:
528-
<iframe
529-
src="https://ghbtns.com/github-btn.html?user=cppalliance&amp;repo=mrdocs&amp;type=star&amp;count=true&amp;size=large"
524+
</div>
525+
</section>
526+
<section id="star" data-theme="light" aria-label="Star Mr.Docs on GitHub">
527+
<div class="container">
528+
<p>Give us a Star on GitHub:
529+
<iframe src="https://ghbtns.com/github-btn.html?user=cppalliance&amp;repo=mrdocs&amp;type=star&amp;count=true&amp;size=large"
530530
frameborder="0" scrolling="0" width="160" height="30" title="GitHub"></iframe>
531531
</p>
532532
</div>

docs/website/index.html.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
</div>
117117
</div>
118118
</section>
119-
<section id="examples" data-theme="light">
119+
{{!-- <section id="examples" data-theme="light">
120120
<div class="container">
121121
<hgroup>
122122
<h2>Examples</h2>
@@ -138,7 +138,7 @@
138138
</div>
139139
</div>
140140
</div>
141-
</section>
141+
</section> --}}
142142
<section id="features">
143143
<div class="container">
144144
<hgroup>

docs/website/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3093,6 +3093,16 @@ header .header-image {
30933093
background-color: rgba(255, 255, 255, 0.25);
30943094
}
30953095

3096+
.header-cta a[aria-label="Documentation"]:hover {
3097+
background-color: rgba(255, 255, 255, 0.4);
3098+
transform: translateY(-1px);
3099+
}
3100+
3101+
.header-cta a[aria-label="Download"]:hover {
3102+
background-color: rgba(255, 255, 255, 0.15);
3103+
transform: translateY(-1px);
3104+
}
3105+
30963106
/* ===========================
30973107
Principles Styles
30983108
=========================== */

0 commit comments

Comments
 (0)