diff options
author | Martin Stockhammer <martin_s@apache.org> | 2019-11-30 20:58:52 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2019-11-30 20:58:52 +0100 |
commit | fce356b5938935871c6f3de4b4e65223827a604e (patch) | |
tree | 769abf3460e926fbe221a9fb9e0d3c004b086a07 /archiva-modules/src | |
parent | 58b9a3a8b64de41f0774e67882d493202a3be300 (diff) | |
download | archiva-fce356b5938935871c6f3de4b4e65223827a604e.tar.gz archiva-fce356b5938935871c6f3de4b4e65223827a604e.zip |
Switching site publish to asf-staging branch
Diffstat (limited to 'archiva-modules/src')
-rwxr-xr-x | archiva-modules/src/site/resources/css/site.css | 186 | ||||
-rw-r--r-- | archiva-modules/src/site/resources/images/external-link-12x12.png | bin | 0 -> 305 bytes | |||
-rw-r--r-- | archiva-modules/src/site/resources/images/external-link.png | bin | 0 -> 317 bytes | |||
-rw-r--r-- | archiva-modules/src/site/site.xml | 7 |
4 files changed, 191 insertions, 2 deletions
diff --git a/archiva-modules/src/site/resources/css/site.css b/archiva-modules/src/site/resources/css/site.css new file mode 100755 index 000000000..2374bd1fa --- /dev/null +++ b/archiva-modules/src/site/resources/css/site.css @@ -0,0 +1,186 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +body { + padding-top: 1px; +} + +a.externalLink[href^="https"] { + background: url('../images/external-link-12x12.png') right center no-repeat; + padding-right: 18px; +} + +a.externalLink[href^="http"] { + background: url('../images/external-link-12x12.png') right center no-repeat; + padding-right: 18px; +} + +#bodyColumn { + margin-left: 1.5em; +} + +div#rhs { + float: right; + text-align: center; +} + +div.mainBox { + margin-left: auto; + margin-right: auto; + margin-top: 1em; + margin-bottom: 1em; + width: 75%; + background-color: #ccc; + position: relative; + padding-left: 5em; + border-top-right-radius: 6px; + border-bottom-right-radius: 6px; +} + +div.mainBox div { + padding: 0.4em; +} + +div.newsBox { + margin-left: auto; + margin-right: auto; + margin-top: 1em; + margin-bottom: 1em; + width: 75%; + background-color: #ccc; + position: relative; + padding-left: 8em; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; +} + +div.newsBox div { + padding: 0.6em; +} + +div.mainBox span + p a { + background: url(../images/arrow.png) no-repeat; + background-size: 16px 16px; + background-position: right; + padding-right: 20px; +} + +div.mainBox span + p a { + font-size: 1.5em; + /*color: black;*/ +} + +div.mainBox span + p a:hover { + /*color: blue;*/ +} + +.bignumber { + position: absolute; + color: white; + left: 0.25em; + font-size: 1.9em; +} + +div.linkBox p { + text-align: right; + margin-bottom: 0; + margin-top: 0; + padding-top: 0; +} + +#banner { + background: none; +} + +#banner img { + margin: 10px; +} + +div.jqmWindow h2, div.jqmWindow p { + text-align: center; +} + +span.jqmClose { + position: absolute; + cursor: pointer; + right: 4px; + top: 6px; +} + + +div.section { + margin-right: 110px; + margin-left: 10px; +} + +.hero-unit p { + /* font-weight: inherit;*/ +} + +.archivascreenshots { + border: 1px solid silver; + margin-left: 0.25em; + margin-bottom: 0.25em +} + +.rhs span { + display: block; + font-size: 13px; + font-weight: bold; + margin-top: 1.5em; + margin-bottom: 1.5em; +} + +.container ul li iframe { + margin-top: 4px; + margin-right: 4px; +} + +.modal-body table { + border: 0px; +} + + +.features-preview:after { + background-color: #F5F5F5; + border: 1px solid #DDDDDD; + border-radius: 4px 0 4px 0; + color: #9DA0A4; + content: "New web UI"; + font-size: 12px; + font-weight: bold; + left: -1px; + padding: 3px 7px; + position: absolute; + top: -1px; + +} +.features-preview { + background-color: #FFFFFF; + border: 1px solid #DDDDDD; + border-radius: 4px 4px 4px 4px; + margin: 15px 0; + padding: 39px 19px 14px; + position: relative; + min-height: 450px; +} + +.carousel .item > img { + min-height: 400px; +}
\ No newline at end of file diff --git a/archiva-modules/src/site/resources/images/external-link-12x12.png b/archiva-modules/src/site/resources/images/external-link-12x12.png Binary files differnew file mode 100644 index 000000000..8ea642ef3 --- /dev/null +++ b/archiva-modules/src/site/resources/images/external-link-12x12.png diff --git a/archiva-modules/src/site/resources/images/external-link.png b/archiva-modules/src/site/resources/images/external-link.png Binary files differnew file mode 100644 index 000000000..bd5fbd482 --- /dev/null +++ b/archiva-modules/src/site/resources/images/external-link.png diff --git a/archiva-modules/src/site/site.xml b/archiva-modules/src/site/site.xml index 1963e93ca..7fc56c2bc 100644 --- a/archiva-modules/src/site/site.xml +++ b/archiva-modules/src/site/site.xml @@ -40,7 +40,7 @@ <gitHub> <projectId>apache/archiva</projectId> <ribbonOrientation>right</ribbonOrientation> - <ribbonColor>black</ribbonColor> + <ribbonColor>gray</ribbonColor> </gitHub> </fluidoSkin> @@ -50,9 +50,12 @@ <version position="right" /> <body> + <head> + <![CDATA[<link rel="stylesheet" type="text/css" href="https://archiva.apache.org/css/site.css" />]]> + </head> <breadcrumbs> <item name="Apache" href="https://www.apache.org" /> - <item name="Archiva" href="https://archiva.apache.org" /> + <item name="Archiva" href="https://archiva.apache.org/index.html" /> <item name="Archiva Modules" href="index.html" /> </breadcrumbs> |