Skip to content

Commit 024dd34

Browse files
authored
Merge pull request #7 from bci-oss/bamm-116-include-model-element-urns
Allow adding element-urns beside headers
2 parents 6ba5e74 + 96dd545 commit 024dd34

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

src/css/base.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,33 @@ body ::-webkit-scrollbar {
9191
body ::-webkit-scrollbar-thumb {
9292
background-color: var(--scrollbar-thumb-color);
9393
}
94+
95+
div.sect2 h3 {
96+
float: left;
97+
}
98+
99+
div.sect2 div.element-urn {
100+
float: right;
101+
color: var(--toolbar-muted-color);
102+
font-size: 0.75em;
103+
text-align: right;
104+
}
105+
106+
div.sect2 :not(div.element-urn) {
107+
clear: both;
108+
}
109+
110+
div.sect1 h2 {
111+
float: left;
112+
margin-bottom: 0.5em;
113+
}
114+
115+
div.sect1 div.sectionbody div.element-urn {
116+
float: right;
117+
color: var(--toolbar-muted-color);
118+
text-align: right;
119+
}
120+
121+
div.sect1 div.sectionbody :not(div.element-urn) {
122+
clear: both;
123+
}

src/css/doc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
hyphens: none;
3030
line-height: 1.3;
3131
margin: 1rem 0 0;
32+
clear: both;
3233
}
3334

3435
.doc h1 {

0 commit comments

Comments
 (0)