Small touchups to the UI, remove some extra space, use a bold, large font for the...
authorMiguel de Icaza <miguel@gnome.org>
Tue, 29 Apr 2014 21:30:41 +0000 (17:30 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 29 Apr 2014 21:31:26 +0000 (17:31 -0400)
mcs/class/monodoc/Resources/base.css
mcs/class/monodoc/Resources/mdoc-html-utils.xsl
mcs/class/monodoc/Resources/mono-ecma-impl.xsl
mcs/class/monodoc/Resources/mono-ecma.css

index f213fafb3ac62da797e1a9adefa6eab9cb37ee0b..68941d0e651ffc42b80bf2c0e826df7a5a9a00c8 100644 (file)
@@ -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 {
index 2f4519057b6e93558e2e951ce8961281ec1df884..2c340f75074d1882105ca342d3543d4da67e2ed0 100644 (file)
                        <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>
        <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>
index 61d827ef11aeffa16b51f52ff04b03f1440dd8a0..65e42170cde36760aaef8cb78f6766704c8d7b8c 100644 (file)
 
                                        <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'">
 
                        <!-- 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>]
                                        </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>
index 2ffa1d2a5f8410732b3eb24d492f9cb2dd1f47a8..ae6e1921f7e18a77787eeb02e7179a8f5711f672 100644 (file)
@@ -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