Skip to content

Commit 2520f25

Browse files
committed
fix(css): style fixes for BS4 syntax
1 parent 18ee7ee commit 2520f25

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ target/
66
github-report.html
77
node_modules/*
88
node/*
9+
10+
maven-archiver/

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exist-documentation",
3-
"version": "4.1.1",
3+
"version": "4.1.3-SNAPSHOT",
44
"description": "Documentation package for eXist-db",
55
"scripts": {
66
"copy": "cpx -C node_modules/bootstrap/dist/js/bootstrap.min.js.* src/main/xar-resources/resources/scripts && cpx node_modules/jquery/dist/jquery.min.js src/main/xar-resources/resources/scripts && cpx node_modules/highlight.js/build/highlight.pack.js src/main/xar-resources/resources/scripts && cpx node_modules/bootstrap/dist/css/bootstrap.min.css.* src/main/xar-resources/resources/styles && cpx node_modules/highlight.js/src/styles/atom-one-dark.css src/main/xar-resources/resources/styles",
@@ -30,6 +30,7 @@
3030
"dependencies": {
3131
"bootstrap": "^4.2.1",
3232
"highlight.js": "git+https://github.com/duncdrum/highlight.js.git#rebase-2019",
33-
"jquery": "^3.3.1"
33+
"jquery": "^3.3.1",
34+
"popper.js": "^1.15.0"
3435
}
3536
}

src/main/xar-resources/modules/xsl/convert-db5.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
<xsl:variable name="spacing" as="xs:string" select="normalize-space((@spacing, 'normal')[1])"/>
139139
<xsl:call-template name="do-anchor"/>
140-
<dl class="dl-horizontal {if ($spacing = 'normal') then 'wide' else ''}">
140+
<dl class="row {if ($spacing = 'normal') then 'wide' else ''}">
141141

142142
<xsl:for-each select="db5:varlistentry">
143143
<dt>

src/main/xar-resources/resources/styles/exist-2.2.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
.content code {
5252
font-size: .92em;
53-
background-color: transparent;
53+
background-color: inherit;
5454
border: 0;
5555
color: inherit;
5656
}
@@ -89,11 +89,11 @@
8989
margin-bottom: .4em;
9090
}
9191
.content dl.wide dt {
92-
width: 260px;
92+
width: 25em;
9393
word-wrap: break-word;
9494
}
9595
.content dl.wide dd {
96-
margin-left: 270px;
96+
margin-left: 1.5em;
9797
}
9898
#content .content dt {
9999
font-weight: bold;
@@ -142,14 +142,14 @@
142142
padding: 10px 10px;
143143
border: 1px solid #707070;
144144
}
145-
.content .dl-horizontal dd {
145+
/* .content .dl-horizontal dd {
146146
margin-left: 150px;
147147
}
148148
.content .dl-horizontal dt {
149149
text-align: left;
150150
width: 140px;
151151
word-wrap: break-word;
152-
}
152+
} */
153153
/* ---------------------------------------- LAYOUT ---------------------------------------- */
154154
body {
155155
color: #222;
@@ -253,7 +253,7 @@ body {
253253
background-size: 100% 100%;
254254
}
255255
/* ---------------------------------------- NAVBAR ---------------------------------------- */
256-
.navbar-default {
256+
/* .navbar-default {
257257
height: 60px;
258258
background: transparent;
259259
border: 0;
@@ -364,7 +364,7 @@ body {
364364
#navigation .actions {
365365
float: right;
366366
margin: 8px 0 8px 0;
367-
}
367+
} */
368368
/* ---------------------------------------- GENERAL STYLES ---------------------------------------- */
369369
h1 {
370370
font-size: 1.75em;
@@ -416,7 +416,7 @@ a:hover {
416416
}
417417
.code {
418418
font: 14px/20px "Ubuntu Mono", Menlo, Consolas, "Courier New", Courier, monospace;
419-
background: #444444 url(../images/noise.png);
419+
/* background: #444444 url(../images/noise.png); */
420420
padding: 8.5px;
421421
width: 100%;
422422
margin: 18px 0 18px;
@@ -467,3 +467,7 @@ input:required:valid {
467467
.hidden {
468468
display: none;
469469
}
470+
471+
.row {
472+
margin-left: 0rem;
473+
}

0 commit comments

Comments
 (0)