diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2015-10-30 03:31:26 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2015-10-30 03:31:26 +0000 |
commit | beb77e7da50a2e9bc761e08010491e2eee98a138 (patch) | |
tree | 92ca49bd5f92f20c5d131a0f23d021cf28db57e7 /src/site | |
parent | f98954ce8f90ebebc6ce7ae636eb7f7a474b24d4 (diff) | |
download | jackcess-beb77e7da50a2e9bc761e08010491e2eee98a138.tar.gz jackcess-beb77e7da50a2e9bc761e08010491e2eee98a138.zip |
pretty up the site
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@959 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/site')
-rw-r--r-- | src/site/fml/faq.fml | 4 | ||||
-rw-r--r-- | src/site/javadoc/stylesheet.css | 180 | ||||
-rw-r--r-- | src/site/resources/css/site.css | 71 | ||||
-rw-r--r-- | src/site/site.xml | 20 | ||||
-rw-r--r-- | src/site/xdoc/cookbook.xml | 6 |
5 files changed, 277 insertions, 4 deletions
diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 3d37158..03f5255 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -39,7 +39,8 @@ <p>Data validation in Access is controlled via a variety of mechanisms, not all of which are supported by Jackces. See the table below for details:</p> - <table> + <div class="indented"> + <table border="1"> <tr> <th>Data Validation Type</th> <th>Support</th> @@ -66,6 +67,7 @@ <td>No (but Jackcess does provide access to the Properties)</td> </tr> </table> + </div> </answer> </faq> diff --git a/src/site/javadoc/stylesheet.css b/src/site/javadoc/stylesheet.css index ca1bb5e..e877e69 100644 --- a/src/site/javadoc/stylesheet.css +++ b/src/site/javadoc/stylesheet.css @@ -70,3 +70,183 @@ a:link.selfref, a:visited.selfref { .UsageGeneral { background: #efefef } .UsageIntermediate { background: #efefef } .UsageAdvanced { background: #efefef } + + +/* Customizations pulled in from fluido 1.4 (and custom site.css) */ +ul,ol { + padding:0; + margin:0 0 10px 25px +} +ul ul,ul ol,ol ol,ol ul { + margin-bottom:0 +} +li { + line-height:20px +} +ul.unstyled,ol.unstyled { + margin-left:0; + list-style:none +} +ul.inline,ol.inline { + margin-left:0; + list-style:none +} +ul.inline>li,ol.inline>li { + display:inline-block; + *display:inline; + padding-right:5px; + padding-left:5px; + *zoom:1 +} + + +pre.prettyprint { + border:1px solid #999; + page-break-inside:avoid +} +pre.prettyprint { + padding:0 3px 2px; + font-family:Monaco,Menlo,Consolas,"Courier New",monospace; + font-size:12px; + color:#333; + -webkit-border-radius:3px; + -moz-border-radius:3px; + border-radius:3px +} +/* code { */ +/* padding:2px 4px; */ +/* color:#d14; */ +/* white-space:nowrap; */ +/* background-color:#f7f7f9; */ +/* border:1px solid #e1e1e8 */ +/* } */ +pre.prettyprint { + display:block; + padding:9.5px; + margin:0 0 10px; + font-size:13px; + line-height:20px; + word-break:break-all; + word-wrap:break-word; + white-space:pre; + white-space:pre-wrap; + background-color:#f5f5f5; + border:1px solid #ccc; + border:1px solid rgba(0,0,0,0.15); + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px +} +pre.prettyprint { + margin-bottom:20px +} +pre.prettyprint code { + padding:0; + color:inherit; + white-space:pre; + white-space:pre-wrap; + background-color:transparent; + border:0 +} +.pre-scrollable { + max-height:340px; + overflow-y:scroll +} + +.pln { + color:#000 +} +@media screen { + .str { + color:#080 + } + .kwd { + color:#008 + } + .com { + color:#800 + } + .typ { + color:#606 + } + .lit { + color:#066 + } + .pun,.opn,.clo { + color:#660 + } + .tag { + color:#008 + } + .atn { + color:#606 + } + .atv { + color:#080 + } + .dec,.var { + color:#606 + } + .fun { + color:red + } + +} +@media print,projection { + .str { + color:#060 + } + .kwd { + color:#006; + font-weight:bold + } + .com { + color:#600; + font-style:italic + } + .typ { + color:#404; + font-weight:bold + } + .lit { + color:#044 + } + .pun,.opn,.clo { + color:#440 + } + .tag { + color:#006; + font-weight:bold + } + .atn { + color:#404 + } + .atv { + color:#060 + } + +} +pre.prettyprint { + padding:2px; + border:1px solid #888 +} +ol.linenums { + margin-top:0; + margin-bottom:0; + padding-left:15px +} +li.L1,li.L3,li.L5,li.L7,li.L9 { + background:#eee +} + +li.L1,li.L3,li.L5,li.L7,li.L9 { + color:#888 +} +li.L0,li.L2,li.L4,li.L6,li.L8 { + color:#888 +} +.source +{ + padding-left: 10pt; + padding-right: 10pt; +} diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css new file mode 100644 index 0000000..2448bf1 --- /dev/null +++ b/src/site/resources/css/site.css @@ -0,0 +1,71 @@ +/* You can override this file with your own styles */ + +li.L1,li.L3,li.L5,li.L7,li.L9 { + color:#888 +} +li.L0,li.L2,li.L4,li.L6,li.L8 { + color:#888 +} +a.externalLink[href^=https] { + background:url('../images/internet-web-browser.png') right center no-repeat; + padding-right:18px +} +tt { + background:#eee +} +.indented { + padding-left: 10pt; + padding-right: 100pt; +} +.source { + padding-top: 5pt; + padding-left: 10pt; + padding-right: 100pt; +} +dl { + background-color: #ffc; + border: 1px solid #aaa; + padding: 4px 4px 4px 6px; +} +dd { + padding-top:5pt; +} +dt { + padding:5pt; +} +hr { + border-color:#aaa; +} +.table-striped tbody>tr:nth-child(even)>td { + background-color:#EEE +} +th { + background-color: #BBB; +} +.section h3 { + padding: 0px 8px; + border: 1px solid #AAA; + background-color: #EEE; + color: #BF7D30; + font-size: large; +} +.section h2 { + padding: 0px 8px; + border: 1px solid #999; + background-color: #DDD; + color: #BF7D30; + font-size: x-large; +} +.table-striped tbody>tr:nth-child(even)>th,.table-striped tbody>tr:nth-child(odd)>th { + background-color:#BBB; + color: #FFF; +} +.section h2 > a,.section h3 > a { + color: #BF7D30; +} +#bannerLeft h2 { + color: #005985; +} +#breadcrumbs > ul { + padding-right: 50pt; +} diff --git a/src/site/site.xml b/src/site/site.xml index 4da8ce2..cbeaf24 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,6 +1,14 @@ <?xml version="1.0"?> <project name="Jackcess"> + <skin> + <groupId>org.apache.maven.skins</groupId> + <artifactId>maven-fluido-skin</artifactId> + <version>1.4</version> + </skin> + <bannerLeft> + <name>${project.name}</name> + </bannerLeft> <body> <menu name="Jackcess"> <item name="About" href="index.html"/> @@ -16,5 +24,17 @@ <menu ref="reports"/> </body> + + <custom> + <fluidoSkin> + <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled> + <copyrightClass>center</copyrightClass> + <gitHub> + <projectId>jahlborn/jackcess</projectId> + <ribbonOrientation>right</ribbonOrientation> + <ribbonColor>gray</ribbonColor> + </gitHub> + </fluidoSkin> + </custom> </project> diff --git a/src/site/xdoc/cookbook.xml b/src/site/xdoc/cookbook.xml index 477f2f7..f164676 100644 --- a/src/site/xdoc/cookbook.xml +++ b/src/site/xdoc/cookbook.xml @@ -89,8 +89,8 @@ So, what's in a row? Well, let's assume your "Test" table is defined in the following way in Access: </p> - <blockquote> - <table> + <div class="indented"> + <table border="1"> <tr> <th>Field Name</th><th>Data Type</th> </tr> @@ -107,7 +107,7 @@ <td>StartDate</td><td>Date/Time</td> </tr> </table> - </blockquote> + </div> <p> Then, given a row of data, we could inspect the various <a href="apidocs/com/healthmarketscience/jackcess/Column.html">Columns</a> and their values like so: |