This is an automated email from the ASF dual-hosted git repository. cbrisson pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/velocity-site.git
commit aac6c45f967ce3502c51581f72c9688b677c72c5 Author: Henning Schmiedehausen <[email protected]> AuthorDate: Sun Dec 10 17:06:05 2006 +0000 Skin the site with a custom skin git-svn-id: https://svn.apache.org/repos/asf/velocity/site/trunk@485216 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 2 +- src/site/resources/css/site.css | 137 ++-------------------------------------- src/site/site.xml | 9 ++- 3 files changed, 12 insertions(+), 136 deletions(-) diff --git a/pom.xml b/pom.xml index f5d4e61..3c32a93 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ </distributionManagement> <build> - <defaultGoal>site:site</defaultGoal> + <defaultGoal>site</defaultGoal> </build> <licenses> diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css index 73d840f..1d4f8e1 100644 --- a/src/site/resources/css/site.css +++ b/src/site/resources/css/site.css @@ -1,133 +1,4 @@ -body { - background-color: white; -} - -body, td, select, input, li{ - font-family: Helvetica, Times, Times New Roman, serif; - font-size: 12pt; -} - -pre, code{ - font-size: 10pt; -} - -#breadcrumbs a:link, #breadcrumbs a:visited, #breadcrumbs a:active, #breadcrumbs a:hover { - color: white; - text-decoration: none; -} - -a:link, a:visited, a:active, a:hover { - color: #525D76; -} -#legend li.externalLink { - background: url(../images/external.png) left top no-repeat; - padding-left: 18px; -} -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 18px; -} -#legend li.newWindow { - background: url(../images/newwindow.png) left top no-repeat; - padding-left: 18px; -} -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} -h1,h2 { - padding: 4px 4px 4px 6px; - border: none; - background-color: #525D76; - color: white; - font-size: 14pt; - font-weight: normal; -} -h3 { - padding: 4px 4px 4px 6px; - border: none; - background-color: #525D76; - color: white; - font-size: 13pt; - font-weight: normal; -} - -#breadcrumbs { - font-family: Arial, Verdana, Helvetica, sans-serif; - border: none; - background-color: #525D76; - color: white; -} - -#leftColumn { - font-family: Arial, Verdana, Helvetica, sans-serif; - margin: 10px 0 0 5px; - background-color: white; -} - -#leftColumn a { - text-decoration: none; -} - -#leftColumn li { - font-family: Arial, Verdana, Helvetica, sans-serif; -} - -#navcolumn h5 { - font-size: small; - border-bottom: 1px solid #aaaaaa; - padding-top: 2px; -} - -table.bodyTable th { - color: white; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th, table.bodyTable td { - font-size: 10pt; -} - -table.bodyTable th { - background-color: #039acc; - color: #000000; - vertical-align: top; - text-align:left; - border:1px #FFFFFF solid; - padding: 2px; -} - -table.bodyTable tr.a { - background-color: #a0ddf0; - color: #000000; - vertical-align: top; - text-align:left; - border:1px #FFFFFF solid; - padding: 2px; -} - -table.bodyTable tr.b { - background-color: #88c5d8; - color: #000000; - vertical-align: top; - text-align:left; - border:1px #FFFFFF solid; - padding: 2px; -} - -.source { - border: 1px solid #999; -} - -dt.question { - color: #900; - background-color: #eee; -} - -dl { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - background-color: white; -} +/* + * Don't add site specific content here, please add + * these to the maven-velocity-skin + */ diff --git a/src/site/site.xml b/src/site/site.xml index f511b19..1ee1d72 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -9,10 +9,15 @@ <poweredBy> <logo name="Apache Velocity" - href="http://velocity.apache.org/" + href="http://velocity.apache.org" img="/images/pbv90x30.png" /> </poweredBy> + <skin> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity-site-skin</artifactId> + <version>1.0.0</version> + </skin> <body> <breadcrumbs> <item name="Apache" href="http://www.apache.org"/> @@ -28,7 +33,7 @@ <menu name="General"> <item name="Welcome" href="index.html"/> <item name="News" href="news.html"/> - <item name="Downloads" href="downloads.html"/> + <item name="Downloads" href="download.cgi"/> <item name="Projects" href="projects.html"/> </menu>
