Skip to content

Commit 58596c2

Browse files
committed
Some style work, wip
1 parent 4be1831 commit 58596c2

2 files changed

Lines changed: 30 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
rebuild-docs: docs/template
3-
mdoc export-html -o docs --template=docs/template ecmadocs/en/
3+
mdoc export-html --force-update -o docs --template=docs/template ecmadocs/en/
44

55
# Used to fetch XML doc updates from the C# compiler into the ECMA docs
66
doc-update:

docs/template

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141

4242
<xsl:template name="create-default-style">
4343
<style>
44+
body {
45+
font-family: segoe-ui_normal,Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif;
46+
}
47+
4448
a { text-decoration: none }
4549

4650
div.SideBar {
@@ -53,15 +57,36 @@
5357
}
5458

5559
.CollectionTitle { font-weight: bold }
56-
.PageTitle { font-size: 150%; font-weight: bold }
60+
.PageTitle {
61+
font-family: segoe-ui_light,Segoe UI Light,Segoe WP,Helvetica Neue,Helvetica,sans-serif;
62+
font-size: 2.5rem;
63+
margin-bottom: 0;
64+
margin-top: 10px;
65+
font-weight: 300;
66+
font-style: normal;
67+
line-height: 1.3;
68+
text-rendering: optimizeLegibility;
69+
}
5770

58-
.Summary { }
59-
.Signature { }
71+
.Summary {
72+
margin-top: 0;
73+
}
74+
.Signature {
75+
font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif;
76+
line-height: 1.25;
77+
-webkit-font-smoothing: auto;
78+
-moz-osx-font-smoothing: auto;
79+
}
6080
.Remarks { }
6181
.Members { }
6282
.Copyright { }
6383

64-
.Section { font-size: 125%; font-weight: bold }
84+
.Section {
85+
color: #4c668b;
86+
font-size: 1.875rem;
87+
font-family: segoe-ui_semibold;
88+
word-break: break-all;
89+
}
6590
p.Summary {
6691
margin-left: 1em;
6792
}

0 commit comments

Comments
 (0)