Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_includes/doi-template/content-section.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section>
<h2>{{ include.title }}</h2>
<p>{{ include.body }}</p>
<p>{{ include.body }}</p><br>
{% if include.button_label and include.button_href %}
<a class="secondary-btn" href="{{ include.button_href }}">{{ include.button_label }}</a>
{% endif %}
Expand Down
6 changes: 4 additions & 2 deletions docs/_includes/doi-template/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<h2>Contributors</h2>
<p>{{ page.contributors_intro }}</p>
<p>{{ page.contributors_note }}</p>
<div class="scroll">
<div class="markdown-content">{{ page.contributors | strip | markdownify }}</div>
<div class="contributors-wrap">
<div class="scroll">
<div class="markdown-content">{{ page.contributors | strip | markdownify }}</div>
</div>
</div>
</section>
6 changes: 4 additions & 2 deletions docs/_includes/doi-template/definitions.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<div class="box">
<h3>Definitions</h3>
<div class="scroll">
<div class="markdown-content">{{ page.definitions | strip | markdownify }}</div>
<div class="definitions-wrap">
<div class="scroll">
<div class="markdown-content">{{ page.definitions | strip | markdownify }}</div>
</div>
</div>
</div>
42 changes: 0 additions & 42 deletions docs/css/doi-hm-code.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,48 +25,6 @@
color: #00000061;
}

.doiStyle .schema-wrap table th {
text-align: left;
}

.doiStyle .schema-wrap table td:nth-child(1) {
font-family: monospace;
}

.doiStyle .schema-wrap table td:nth-child(2) {
width: 10%;
text-align: center;
color: #00000061;
}

.doiStyle .schema-wrap table th:nth-child(2) {
width: 10%;
text-align: center;
}

.doiStyle .schema-wrap table td:nth-child(2) i:hover {
color: #00000091;
}

.doiStyle .schema-wrap table td:nth-child(3) {
font-weight: 400;
font-size: 0.75rem;
line-height: 1.36;
letter-spacing: 0.03333em;
max-height: 150px;
overflow-y: auto;
}

.doiStyle .schema-wrap table td:nth-child(3),
.doiStyle .schema-wrap table td:nth-child(4) {
max-height: none;
overflow: visible;
}

.doiStyle .schema-wrap table td:nth-child(4) {
padding-bottom: 14px;
}

.doiStyle .fa-circle-nodes {
transform: rotate(80deg);
}
124 changes: 66 additions & 58 deletions docs/css/doi-template.css
Original file line number Diff line number Diff line change
Expand Up @@ -310,34 +310,34 @@ h1 {
border: 1px solid #b7bdc9;
background: #fff;
padding: 8px;
white-space: pre-wrap;
white-space: normal;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
line-height: 1.4;
}

.schema-wrap .scroll {
font-family: inherit;
white-space: normal;
max-height: 380px;
}

.deprecated-wrap .scroll {
font-family: inherit;
white-space: normal;
max-height: 150px;
max-height: 200px;
}

.schema-wrap .scroll table {
width: 100%;
margin: 0;
border-collapse: collapse;
table-layout: auto;
box-shadow: none;
background: #fff;
.definitions-wrap .scroll {
font-family: inherit;
max-height: 380px;
}

.contributors-wrap .scroll {
margin-top: 14px;
font-family: inherit;
max-height: 210px;
}

.deprecated-wrap .scroll table {
.scroll table {
width: 100%;
margin: 0;
border-collapse: collapse;
Expand All @@ -346,34 +346,22 @@ h1 {
background: #fff;
}

.schema-wrap .scroll th,
.schema-wrap .scroll td {
.scroll table th,
.scroll table td {
padding: 6px 7px;
font-size: 10.5px;
line-height: 1.35;
vertical-align: top;
word-break: break-word;
overflow-wrap: anywhere;
}

.schema-wrap .scroll th,
.schema-wrap .scroll td,
.deprecated-wrap .scroll th,
.deprecated-wrap .scroll td {
padding: 6px 7px;
font-size: 10.5px;
line-height: 1.35;
vertical-align: top;
word-break: break-word;
overflow-wrap: anywhere;
}

.schema-wrap .scroll th {
background: #f2f5fa;
}

.deprecated-wrap .scroll th {
background: #f2f5fa;
}

.schema-section + .deprecated-section {
margin-top: 22px;
}
Expand Down Expand Up @@ -416,43 +404,72 @@ h1 {
.schema-wrap .scroll th:nth-child(1),
.deprecated-wrap .scroll td:nth-child(1),
.deprecated-wrap .scroll th:nth-child(1) {
width: 1%;
white-space: nowrap;
word-break: normal;
overflow-wrap: normal;
width: 20%;
font-family: monospace;
}

.schema-wrap .scroll td:nth-child(2),
.schema-wrap .scroll th:nth-child(2),
.deprecated-wrap .scroll td:nth-child(2),
.deprecated-wrap .scroll th:nth-child(2) {
width: 52px;
min-width: 52px;
max-width: 52px;
width: 50px;
min-width: 50px;
max-width: 50px;
text-align: center;
}

.schema-wrap .scroll td:nth-child(2),
.deprecated-wrap .scroll td:nth-child(2) {
width: 50px;
min-width: 50px;
max-width: 50px;
text-align: center;
}

.schema-wrap table td:nth-child(3),
.deprecated-wrap table td:nth-child(3) {
font-weight: 400;
font-size: 0.75rem;
line-height: 1.36;
letter-spacing: 0.03333em;
max-height: 150px;
overflow-y: auto;
}

.schema-wrap .scroll td:nth-child(3),
.schema-wrap .scroll th:nth-child(3),
.deprecated-wrap .scroll td:nth-child(3),
.deprecated-wrap .scroll th:nth-child(3) {
width: 60%;
.schema-wrap table td:nth-child(3),
.schema-wrap table td:nth-child(4),
.deprecated-wrap table td:nth-child(3),
.deprecated-wrap table td:nth-child(4) {
max-height: none;
overflow: visible;
}

.schema-wrap table td:nth-child(4),
.deprecated-wrap table td:nth-child(4) {
padding-bottom: 14px;
}

.schema-wrap .scroll td:nth-child(4),
.schema-wrap .scroll th:nth-child(4),
.deprecated-wrap .scroll td:nth-child(4),
.deprecated-wrap .scroll th:nth-child(4) {
width: 40%;
width: 20%;
}

.schema-wrap .scroll td:nth-child(2),
.deprecated-wrap .scroll td:nth-child(2) {
text-align: center;
.definitions-wrap .scroll table tr td:nth-child(1) {
width: 50%;
word-break: normal;
overflow-wrap: normal;
}

.schema-wrap .scroll th:nth-child(2),
.deprecated-wrap .scroll th:nth-child(2) {
text-align: center;
.contributors-wrap .scroll table tr td:nth-child(1) {
width: 20%;
word-break: normal;
overflow-wrap: normal;
}

.contributors-wrap .scroll table tr td:nth-child(2) {
width: 40%;
word-break: normal;
overflow-wrap: normal;
}

.allowable-values-scroll {
Expand All @@ -479,15 +496,6 @@ h1 {
border-radius: 999px;
}

.schema-wrap .scroll p {
margin: 0 0 8px;
}

.schema-wrap .scroll ul {
margin: 0;
padding-left: 18px;
}

.hint {
color: #4f5a6d;
font-size: 12px;
Expand Down
Loading
Loading