You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/01/17 09:04:47 UTC
[maven-fluido-skin] 03/10: Apply consistent CSS formatting
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch maven-fluido-skin-1.x
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
commit 85316f69b5810c0d9b5e46a0564ec34e41273536
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Dec 10 23:14:09 2022 +0100
Apply consistent CSS formatting
---
src/main/resources/css/maven-base.css | 22 ++++++++++++++----
src/main/resources/css/maven-theme.css | 41 +++++++++++++++++++++-------------
src/main/resources/css/print.css | 18 +++++++++++++--
3 files changed, 60 insertions(+), 21 deletions(-)
diff --git a/src/main/resources/css/maven-base.css b/src/main/resources/css/maven-base.css
index e7df1e1..6f6c90a 100644
--- a/src/main/resources/css/maven-base.css
+++ b/src/main/resources/css/maven-base.css
@@ -17,7 +17,21 @@
* under the License.
*/
-.clear{clear:both;visibility: hidden;}
-.clear hr{display: none;}
-section p,section dt{margin-right: 7px;margin-left: 7px;}
-#poweredBy{text-align: center}
+.clear {
+ clear: both;
+ visibility: hidden;
+}
+
+.clear hr {
+ display: none;
+}
+
+section p,
+section dt {
+ margin-right: 7px;
+ margin-left: 7px;
+}
+
+#poweredBy {
+ text-align: center;
+}
diff --git a/src/main/resources/css/maven-theme.css b/src/main/resources/css/maven-theme.css
index a18b90b..ec137a2 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -22,40 +22,50 @@ a.externalLink {
padding-right: 18px;
}
a.newWindow {
- background: url('../images/window-new.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/window-new.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href^=http] {
- background: url('../images/internet-web-browser.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/internet-web-browser.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href$=".asc"] {
- background: url('../images/accessories-text-editor.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/accessories-text-editor.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href$=".jpg"],
a.externalLink[href$=".jpeg"],
a.externalLink[href$=".gif"],
a.externalLink[href$=".png"] {
- background: url('../images/image-x-generic.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/image-x-generic.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href$=".tar.gz"],
a.externalLink[href$=".zip"] {
- background: url('../images/package-x-generic.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/package-x-generic.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href$=".md5"],
a.externalLink[href$=".sha1"] {
- background: url('../images/document-properties.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/document-properties.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href^=https] {
- background: url('../images/application-certificate.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/application-certificate.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href^=file] {
- background: url('../images/drive-harddisk.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/drive-harddisk.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href^=ftp] {
- background: url('../images/network-server.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/network-server.png') right center no-repeat;
+ padding-right: 18px;
}
a.externalLink[href^=mailto] {
- background: url('../images/contact-new.png') right center no-repeat;padding-right: 18px;
+ background: url('../images/contact-new.png') right center no-repeat;
+ padding-right: 18px;
}
li.none {
@@ -85,7 +95,8 @@ img.builtBy {
}
#search-form {
- margin-left: 9px;margin-right:9px;
+ margin-left: 9px;
+ margin-right: 9px;
}
/* Tweaks to the bootstrap theme
@@ -110,18 +121,18 @@ li {
/* avoid transparent background of table */
table.zebra-striped {
- background-color:#FFF
+ background-color:#FFF;
}
/* avoid transparent footer */
.footer {
- background-color:#EEE
+ background-color:#EEE;
}
/* align with adjustments of http://twitter.github.com/bootstrap/examples/fluid.html */
.sidebar-nav {
- padding-left: 0px;
- padding-right: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
}
.sidebar-nav .icon-chevron-right, .sidebar-nav .icon-chevron-down {
diff --git a/src/main/resources/css/print.css b/src/main/resources/css/print.css
index cd19a8c..d637584 100644
--- a/src/main/resources/css/print.css
+++ b/src/main/resources/css/print.css
@@ -17,5 +17,19 @@
* under the License.
*/
-#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {display: none !important;}
-#bodyColumn, body.docs div.docs {margin: 0 !important;border: none !important}
+#banner,
+#footer,
+#leftcol,
+#breadcrumbs,
+.docs #toc,
+.docs .courtesylinks,
+#leftColumn,
+#navColumn {
+ display: none !important;
+}
+
+#bodyColumn,
+body.docs div.docs {
+ margin: 0 !important;
+ border: none !important;
+}