Skip to content

Commit

Permalink
Correction de la génération des docs du site
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Oct 6, 2023
1 parent 77f2c9e commit 2b4ab78
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 2 deletions.
119 changes: 119 additions & 0 deletions postgresql/pgfr.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
.pgTopNav {
text-align: left;
color: #666;
font-size: 0.9em;
margin: 5px;
padding: 0;
height: 23px;
background: #B7B7B7 url("nav_fill.png") top left repeat-x;
overflow: visible;
margin-top: 2px;
}

.pgTopNavLeft {
width: 7px;
height: 23px;
border: 0px;
padding-right: 10px;
margin: 0px;
float: left;
}

.pgTopNavLeft img {
border: 0px;
margin: 0;
padding: 0;
}

.pgTopNavRight {
width: 7px;
height: 23px;
border: 0px;
padding: 0px;
margin: 0px;
float: right;
}

.pgTopNavRight img {
border: 0px;
margin: 0;
padding: 0;
}

.pgTopNavList {
list-style: none;
margin: 0;
padding: 0;

height: 23px;
padding-top: 5px;
}

.pgTopNavList li {
padding: 0 1em 0 1.2em;
display: inline;
border-left: 1px solid #C8C8C8;
}

.pgTopNavList li a {
color: #fff;
font-weight: bold;
text-decoration: none;
}

.pgTopNavList li:first-child {
border-left: 0;
padding-left: 0;
}

p.code {
font-size: 150%;
font-family: monospace;
padding: 10px;
background-color: #f7f9fa;
border-left: 3px solid #7A7A7A;
overflow: auto;
color: Black;
}

#pgHeader {
position: relative;
background: url("hdr_fill.png") repeat-x;
height: 80px;
margin: 5px;
padding: 0;
clear: both;
}

#pgHeaderLogoLeft {
position: relative;
width: 230px;
height: 80px;
border: 0px;
padding: 0px;
margin: 0px;
float: left;
}

#pgHeaderLogoLeft img {
border: 0px;
}

#pgHeaderLogoRight {
position: relative;
width: 210px;
height: 80px;
border: 0px;
padding: 0px;
margin: 0px;
float: right;
}

#pgHeaderLogoRight img {
border: 0px;
}

.pgContent {
margin: 20px;
}

8 changes: 8 additions & 0 deletions postgresql/pgfr.css.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
wrapper around stylesheet.css.xml to allow it to be loaded via docbook-xsl's
generate.css.header parameter.
-->
<!DOCTYPE style [
<!ENTITY pgfrcss SYSTEM "pgfr.css">
]>
<style>&pgfrcss;</style>
1 change: 1 addition & 0 deletions postgresql/stylesheet-html-common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<xsl:param name="website.stylesheet" select="0"/>
<xsl:param name="custom.css.source">
<xsl:if test="$website.stylesheet = 0">stylesheet.css.xml</xsl:if>
<xsl:if test="not($website.stylesheet = 0)">pgfr.css.xml</xsl:if>
</xsl:param>
<xsl:param name="html.stylesheet">
<xsl:if test="not($website.stylesheet = 0)">https://www.postgresql.org/media/css/docs-complete.css</xsl:if>
Expand Down
2 changes: 0 additions & 2 deletions postgresql/stylesheet.css.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
-->
<!DOCTYPE style [
<!ENTITY css SYSTEM "stylesheet.css">
<!ENTITY pgfrcss SYSTEM "pgfr.css">
]>
<style>&css;</style>
<style>&pgfrcss;</style>

0 comments on commit 2b4ab78

Please sign in to comment.