diff options
author | Miguel de Icaza <miguel@gnome.org> | 2014-04-30 01:30:41 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2014-04-30 01:31:26 +0400 |
commit | 626b3929bd2a359a8bb462fcbc44517451779ffe (patch) | |
tree | f57ef3b36f388e97a30aeb9548b5ffc794804b20 /mcs/class/monodoc | |
parent | 8989a87902276551254a8fc60167b8600a907068 (diff) |
Small touchups to the UI, remove some extra space, use a bold, large font for the text
Diffstat (limited to 'mcs/class/monodoc')
-rw-r--r-- | mcs/class/monodoc/Resources/base.css | 2 | ||||
-rw-r--r-- | mcs/class/monodoc/Resources/mdoc-html-utils.xsl | 8 | ||||
-rw-r--r-- | mcs/class/monodoc/Resources/mono-ecma-impl.xsl | 7 | ||||
-rw-r--r-- | mcs/class/monodoc/Resources/mono-ecma.css | 29 |
4 files changed, 29 insertions, 17 deletions
diff --git a/mcs/class/monodoc/Resources/base.css b/mcs/class/monodoc/Resources/base.css index f213fafb3ac..68941d0e651 100644 --- a/mcs/class/monodoc/Resources/base.css +++ b/mcs/class/monodoc/Resources/base.css @@ -11,7 +11,7 @@ body, table { body, table, pre, p { font-family: @@FONT_FAMILY@@, sans-serif; /* font-size: @@FONT_SIZE@@pt; */ - font-size: 10pt; + font-size: 11pt; } div.header { diff --git a/mcs/class/monodoc/Resources/mdoc-html-utils.xsl b/mcs/class/monodoc/Resources/mdoc-html-utils.xsl index 2f4519057b6..2c340f75074 100644 --- a/mcs/class/monodoc/Resources/mdoc-html-utils.xsl +++ b/mcs/class/monodoc/Resources/mdoc-html-utils.xsl @@ -54,8 +54,10 @@ <xsl:text>:Summary</xsl:text> </xsl:attribute> <!-- summary --> + <div class="msummary"> <xsl:apply-templates select="Docs/summary" mode="notoppara"/> <xsl:apply-templates select="Docs/summary" mode="editlink"/> + </div> <xsl:if test="$implemented"> <p><b>Mono Implementation Note: </b></p> @@ -359,11 +361,11 @@ <xsl:template name="CreateMemberOverview"> <xsl:param name="implemented" /> - <p class="Summary"> + <div class="msummary"> <xsl:apply-templates select="Docs/summary" mode="notoppara"/> <xsl:apply-templates select="Docs/summary" mode="editlink"/> - </p> - + </div> + <xsl:if test="$implemented"> <p><b>Mono Implementation Note: </b></p> <blockquote> diff --git a/mcs/class/monodoc/Resources/mono-ecma-impl.xsl b/mcs/class/monodoc/Resources/mono-ecma-impl.xsl index 61d827ef11a..65e42170cde 100644 --- a/mcs/class/monodoc/Resources/mono-ecma-impl.xsl +++ b/mcs/class/monodoc/Resources/mono-ecma-impl.xsl @@ -176,7 +176,7 @@ <xsl:when test="$show='namespace'"> <xsl:value-of select="$namespace"/> - <xsl:text> Namespace</xsl:text> + <xsl:text> FOO Namespace</xsl:text> </xsl:when> <xsl:when test="$show='overloads'"> @@ -403,8 +403,8 @@ <!-- summary --> - <p> - <xsl:apply-templates select="summary" mode="notoppara"/> + <p><div class="msummary"><xsl:apply-templates select="summary" mode="notoppara"/></div> + <xsl:if test="monodoc:MonoEditing()"> <xsl:value-of select="' '" /> [<a href="{monodoc:EditUrlNamespace (., $namespace, 'summary')}">Edit</a>] @@ -515,7 +515,6 @@ </td> <td> <xsl:apply-templates select="summary" mode="notoppara"/> - <xsl:variable name="MonoImplInfo" select="monodoc:MonoImpInfo(string(@assembly), string(@fullname), false())"/> <xsl:if test="$MonoImplInfo"><br/><b><xsl:value-of disable-output-escaping="yes" select="$MonoImplInfo"/></b></xsl:if> </td> diff --git a/mcs/class/monodoc/Resources/mono-ecma.css b/mcs/class/monodoc/Resources/mono-ecma.css index 2ffa1d2a5f8..ae6e1921f7e 100644 --- a/mcs/class/monodoc/Resources/mono-ecma.css +++ b/mcs/class/monodoc/Resources/mono-ecma.css @@ -3,7 +3,7 @@ body font-family: "Lucida Grande", Geneva, Helvetica, Arial, Verdana, Sans-Serif; margin: 0; padding: 0; - color: #333333; + color: #555; } a:link @@ -31,7 +31,7 @@ pre border: 1px solid #CCCCCC; background-color: #F7F7F7; padding: 7px; - margin: 0 20px 0 20px; + /*margin: 0 20px 0 20px;*/ line-height: 1.3em; -moz-border-radius: 3px; -webkit-border-radius: 3px; @@ -47,7 +47,7 @@ img ----------------------------------------------------------*/ h1, h2, h3, h4, h5, h6 { - color: #000; + color: #333; font-family: Arial, Helvetica, sans-serif; } @@ -62,17 +62,19 @@ h2 font-size: 14pt; padding: 0 0 1px 0; border-bottom: 1px solid #DDDDDD; - margin-top: 20px; + margin-top: .3em; + margin-bottom: .5em; } h3 { font-size: 12pt; - margin-top: 20px; + /*margin-top: 20px;*/ margin-bottom: 5px; } h4 { font-size: 11pt; + margin-bottom: 5px; } h5, h6 { @@ -177,7 +179,6 @@ page width. Or, you can specify an exact pixel width. */ background-color: #FAFBFD; font-size: 16pt; font-weight: bold; - padding: 8px 0 0 10px; font-family: 'Segoe UI',Verdana,Arial, sans-serif; } @@ -548,15 +549,20 @@ div.Signature { border: 1px solid #C0C0C0; background: #F2F2F2; padding: 1em; - margin-left: 1em; + /* margin-left: 1em; */ } div.Content { - margin-left: 1em; + /*margin-left: 1em;*/ +} + +div.msummary { + font-size: 24px; + color: #38689b; } .SectionBox { - margin-left: 1em; + /*margin-left: 1em;*/ } /* Salvaged from the old style */ @@ -594,3 +600,8 @@ span.NotEntered /* Documentation for this section has not yet been entered */ { font-style: italic; color: #aaa; } + +.SubsectionBox { + margin-top: 0; + margin-bottom: 0; +}
\ No newline at end of file |