Skip to content

Commit 2e47102

Browse files
chore(NODE-4545): docs front page brand alignment (mongodb#3376)
1 parent a3ee7e2 commit 2e47102

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+284
-266
lines changed

docs/404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<div class="logo pull-left">
2929
<a href="/node-mongodb-native">
30-
<img src="/node-mongodb-native/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
30+
<img src="/node-mongodb-native/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
3131
</a>
3232
</div>
3333

docs/Next/assets/search.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/Next/classes/Collection.html

+6-6
Large diffs are not rendered by default.

docs/Next/classes/Long.html

+83-83
Large diffs are not rendered by default.

docs/Next/classes/MaxKey.html

+1-1
Large diffs are not rendered by default.

docs/Next/classes/MinKey.html

+1-1
Large diffs are not rendered by default.

docs/Next/classes/ObjectId.html

+14-14
Large diffs are not rendered by default.

docs/Next/classes/Timestamp.html

+7-7
Large diffs are not rendered by default.

docs/Next/classes/TypedEventEmitter.html

+1-1
Large diffs are not rendered by default.

docs/Next/interfaces/AbstractCursorOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/AddUserOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/AggregateOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/AggregationCursorOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/BSONSerializeOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/BulkWriteOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ChangeStreamOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CollStatsOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CollectionOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CommandOperationOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CountDocumentsOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CountOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CreateCollectionOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/CreateIndexesOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/DbOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/DbStatsOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/DeleteOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/DropCollectionOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/EstimatedDocumentCountOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/EvalOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/FilterOperators.html

+1-1
Large diffs are not rendered by default.

docs/Next/interfaces/FindOneAndDeleteOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/FindOneAndReplaceOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/FindOneAndUpdateOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/FindOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/InsertOneOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ListCollectionsOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ListDatabasesOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ListIndexesOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/MapReduceOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/MongoClientOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/OperationOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/RenameOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ReplaceOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/TopologyOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/TransactionOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/UpdateOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/interfaces/ValidateCollectionOptions.html

+3-3
Large diffs are not rendered by default.

docs/Next/modules.html

+1-1
Large diffs are not rendered by default.

docs/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<div class="logo pull-left">
3030
<a href="/node-mongodb-native">
31-
<img src="/node-mongodb-native/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
31+
<img src="/node-mongodb-native/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
3232
</a>
3333
</div>
3434

@@ -52,9 +52,9 @@
5252
<div class="row">
5353
<div class="col-md-2"></div>
5454
<div class="col-md-6">
55-
<h2>MongoDB Node.JS Driver</h2>
55+
<h2>MongoDB Node.js Driver</h2>
5656
<p>
57-
The next generation Node.JS driver for MongoDB
57+
The next generation Node.js driver for MongoDB
5858
</p>
5959
<p>
6060

docs/s/css/frontpage.css

+25-16
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
3+
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
4+
5+
code, pre, kbd, samp {
6+
font-family: 'Source Code Pro', Monaco, Menlo, Consolas, "Courier New", monospace;
7+
}
8+
19
body {
2-
font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
10+
font-family: "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
311
margin: 0;
412
padding: 0;
5-
color: #494747;
13+
color: black;
614
font-size: 16px;
715
-webkit-font-smoothing: antialiased;
8-
background-color: #f3f4eb;
9-
color: #4c3a2c;
16+
background-color: white;
17+
color: black;
1018
padding-top: 50px;
1119
}
1220

@@ -40,8 +48,8 @@ dt {
4048
left: 0;
4149
width: 100%;
4250
font-size: 31px;
43-
background-color: #3b291f;
44-
color: white;
51+
background-color: white;
52+
color: black;
4553
margin: 0;
4654
padding: 0;
4755
z-index: 100;
@@ -65,7 +73,7 @@ dt {
6573
}
6674

6775
#header-db a {
68-
color: white;
76+
color: black;
6977
}
7078

7179
#header-db .logo img {
@@ -109,7 +117,7 @@ div.gsc-input-box,
109117
.gsc-input input.gsc-input:-moz-input-placeholder,
110118
.gsc-input input.gsc-input::-moz-input-placeholder,
111119
.gsc-input input.gsc-input:-ms-input-placeholder {
112-
color: #CCC;
120+
color: black;
113121
}
114122

115123
/* Clear search button */
@@ -168,7 +176,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
168176
}
169177

170178
.footer a {
171-
color: #989898;
179+
color: black;
172180
text-decoration: underline;
173181
}
174182

@@ -178,15 +186,15 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
178186
}
179187

180188
.footer .box {
181-
background-color: #f5f6f7;
189+
background-color: white;
182190
min-height: 20px;
183191
padding: 15px;
184192
margin-bottom: 20px;
185193
text-align: left;
186194
}
187195

188196
.footer .box a {
189-
color: #333;
197+
color: black;
190198
text-decoration: none;
191199
}
192200

@@ -219,8 +227,8 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
219227
/* Hero Styles */
220228

221229
#hero {
222-
background-color: #666;
223-
color: #f3f4eb;
230+
background-color: #023430;
231+
color: white ;
224232
border-bottom: 1px solid #313030;
225233
padding: 12px 0px;
226234
}
@@ -237,6 +245,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
237245
}
238246

239247
#hero h2 {
248+
font-family: "Noto Serif JP", "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;;
240249
border-top: 3px solid #6ca439;
241250
color: #f3f4eb;
242251
padding: 10px 0;
@@ -257,14 +266,14 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
257266

258267
.btn-mongo:hover {
259268
color: white;
260-
border-color:#34302d;
269+
border-color:black;
261270
box-shadow:none;
262271
text-decoration:none;
263272
}
264273

265274
.btn-dark {
266-
border: 2px solid #3b291f;
267-
background-color: #3b291f;
275+
border: 2px solid black;
276+
background-color: black;
268277
color: white;
269278
border-radius: 0;
270279
}
21.7 KB

etc/docs/template/layouts/partials/header/main.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!--logo start-->
44
<div class="logo pull-left">
55
<a href="{{.Site.BaseURL}}">
6-
<img src="{{.Site.BaseURL}}/s/img/logo-mongodb-header.png", alt="MongoDB.org" />
6+
<img src="{{.Site.BaseURL}}/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
77
</a>
88
</div>
99
<!--logo end-->

etc/docs/template/layouts/partials/hero.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<div class="row">
44
<div class="col-md-2"></div>
55
<div class="col-md-6">
6-
<h2>MongoDB Node.JS Driver</h2>
6+
<h2>MongoDB Node.js Driver</h2>
77
<p>
8-
The next generation Node.JS driver for MongoDB
8+
The next generation Node.js driver for MongoDB
99
</p>
1010
<p>
1111
{{ range where $.Site.Data.releases.versions "version" $.Site.Data.releases.current }}{{ $.Scratch.Set "qs.currentReleasedVersion" . }}{{end }}

etc/docs/template/static/s/css/frontpage.css

+25-16
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
3+
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
4+
5+
code, pre, kbd, samp {
6+
font-family: 'Source Code Pro', Monaco, Menlo, Consolas, "Courier New", monospace;
7+
}
8+
19
body {
2-
font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
10+
font-family: "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
311
margin: 0;
412
padding: 0;
5-
color: #494747;
13+
color: black;
614
font-size: 16px;
715
-webkit-font-smoothing: antialiased;
8-
background-color: #f3f4eb;
9-
color: #4c3a2c;
16+
background-color: white;
17+
color: black;
1018
padding-top: 50px;
1119
}
1220

@@ -40,8 +48,8 @@ dt {
4048
left: 0;
4149
width: 100%;
4250
font-size: 31px;
43-
background-color: #3b291f;
44-
color: white;
51+
background-color: white;
52+
color: black;
4553
margin: 0;
4654
padding: 0;
4755
z-index: 100;
@@ -65,7 +73,7 @@ dt {
6573
}
6674

6775
#header-db a {
68-
color: white;
76+
color: black;
6977
}
7078

7179
#header-db .logo img {
@@ -109,7 +117,7 @@ div.gsc-input-box,
109117
.gsc-input input.gsc-input:-moz-input-placeholder,
110118
.gsc-input input.gsc-input::-moz-input-placeholder,
111119
.gsc-input input.gsc-input:-ms-input-placeholder {
112-
color: #CCC;
120+
color: black;
113121
}
114122

115123
/* Clear search button */
@@ -168,7 +176,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
168176
}
169177

170178
.footer a {
171-
color: #989898;
179+
color: black;
172180
text-decoration: underline;
173181
}
174182

@@ -178,15 +186,15 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
178186
}
179187

180188
.footer .box {
181-
background-color: #f5f6f7;
189+
background-color: white;
182190
min-height: 20px;
183191
padding: 15px;
184192
margin-bottom: 20px;
185193
text-align: left;
186194
}
187195

188196
.footer .box a {
189-
color: #333;
197+
color: black;
190198
text-decoration: none;
191199
}
192200

@@ -219,8 +227,8 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
219227
/* Hero Styles */
220228

221229
#hero {
222-
background-color: #666;
223-
color: #f3f4eb;
230+
background-color: #023430;
231+
color: white ;
224232
border-bottom: 1px solid #313030;
225233
padding: 12px 0px;
226234
}
@@ -237,6 +245,7 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
237245
}
238246

239247
#hero h2 {
248+
font-family: "Noto Serif JP", "Lexend Deca", "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;;
240249
border-top: 3px solid #6ca439;
241250
color: #f3f4eb;
242251
padding: 10px 0;
@@ -257,14 +266,14 @@ input.gsc-search-button[title], input.gsc-search-button:hover[title], input.gsc-
257266

258267
.btn-mongo:hover {
259268
color: white;
260-
border-color:#34302d;
269+
border-color:black;
261270
box-shadow:none;
262271
text-decoration:none;
263272
}
264273

265274
.btn-dark {
266-
border: 2px solid #3b291f;
267-
background-color: #3b291f;
275+
border: 2px solid black;
276+
background-color: black;
268277
color: white;
269278
border-radius: 0;
270279
}

0 commit comments

Comments
 (0)