Skip to content

Commit 3dc3083

Browse files
committed
tweak typography for Unity page
1 parent d5bd604 commit 3dc3083

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

public/media/css/main.css

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,9 @@ h1.page-heading {
286286
}
287287

288288
.main h1,
289-
.main h2 {
290-
font-weight bold;
289+
.main h2,
290+
.main h3 {
291+
font-weight: bold;
291292
font-size: 3rem;
292293
}
293294

@@ -296,6 +297,11 @@ h1.page-heading {
296297
padding-top: 1.5rem;
297298
}
298299

300+
.main h3 {
301+
opacity: .5;
302+
font-size: 1rem;
303+
}
304+
299305
.page-heading-link {
300306
display: flex;
301307
flex-direction: column-reverse;
@@ -433,6 +439,10 @@ html[data-layout~="headset"][data-layout~="samsung_gear_vr"] a[itemprop="pictogr
433439
fill: #3b80de;
434440
}
435441

442+
hr {
443+
display: none;
444+
}
445+
436446
.main h2,
437447
.main h3,
438448
.main h4,
@@ -441,11 +451,18 @@ html:not([data-layout~="home"]) .main p,
441451
html:not([data-layout~="home"]) .main dl,
442452
html:not([data-layout~="home"]) .main ol,
443453
html:not([data-layout~="home"]) .main ul,
454+
html:not([data-layout~="home"]) .main table,
444455
.page-intro {
445456
margin-bottom: 1.5rem;
446457
max-width: 47rem;
447458
}
448459

460+
.main h3 {
461+
border-bottom: 1px solid #ccc;
462+
padding-bottom: .35rem;
463+
margin-top: 2.5rem;
464+
}
465+
449466
html:not([data-layout~="home"]) .main li ul,
450467
html:not([data-layout~="home"]) .main li ol {
451468
margin-bottom: 0;

public/unity.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"name_html": "Unity <span>→</span> WebVR Exporter",
55
"description": "Unity Asset package for exporting Unity3D projects to WebVR.",
66
"description_html": "Unity Asset package for exporting <a href=\"https://unity3d.com/\" rel=\"noreferrer noopener\">Unity3D</a> projects to <a href=\"https://webvr.rocks/\" rel=\"noreferrer noopener\">WebVR</a>.",
7-
"about": "https://github.com/caseyyee/unity-webvr-export",
8-
"landingUrl": "https://github.com/caseyyee/unity-webvr-export",
9-
"sourceCodeUrl": "https://github.com/caseyyee/unity-webvr-export",
10-
"githubUrl": "https://github.com/caseyyee/unity-webvr-export",
11-
"downloadUrl": "https://github.com/caseyyee/unity-webvr-export/archive/master.zip",
7+
"about": "https://github.com/mozilla/unity-webvr-export",
8+
"landingUrl": "https://github.com/mozilla/unity-webvr-export",
9+
"sourceCodeUrl": "https://github.com/mozilla/unity-webvr-export",
10+
"githubUrl": "https://github.com/mozilla/unity-webvr-export",
11+
"downloadUrl": "https://github.com/mozilla/unity-webvr-export/archive/master.zip",
1212
"logo": "/unity/unity-master-black.svg",
1313
"image": {
1414
"src": "https://raw.githubusercontent.com/caseyyee/unity-webvr-export/master/img/preview.gif",

0 commit comments

Comments
 (0)