Skip to content

Commit

Permalink
Update elpi doc to 1.17.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Sep 19, 2023
1 parent 352e622 commit 0e68108
Show file tree
Hide file tree
Showing 202 changed files with 457 additions and 21,653 deletions.
2 changes: 2 additions & 0 deletions _odoc_support/highlight.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 20 additions & 31 deletions odoc.support/odoc.css → _odoc_support/odoc.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@charset "UTF-8";
/* Copyright (c) 2016 The odoc contributors. All rights reserved.
Distributed under the ISC license, see terms at the end of the file.
odoc 2.2.0 */
odoc 2.1.1 */

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Fira+Mono:400,500');
Expand Down Expand Up @@ -419,44 +419,28 @@ pre code {
padding: 0.35em 0.5em;
}

li:not(:last-child) > .def-doc {
margin-bottom: 15px;
.def-doc {
margin-bottom: 10px;
}

/* Spacing between items */
div.odoc-spec,.odoc-include {
margin-bottom: 2em;
}

.spec.type .variant p, .spec.type .record p {
margin: 5px;
}

.spec.type .variant, .spec.type .record {
.spec.type .variant {
margin-left: 2ch;
list-style: none;
display: flex;
flex-wrap: wrap;
row-gap: 4px;
}

.spec.type .record > code, .spec.type .variant > code {
min-width: 40%;
.spec.type .variant p {
margin: 0;
font-style: italic;
}

.spec.type > ol {
margin-top: 0;
margin-bottom: 0;
.spec.type .record {
margin-left: 2ch;
}

.spec.type .record > .def-doc, .spec.type .variant > .def-doc {
min-width:50%;
padding: 0.25em 0.5em;
margin-left: 10%;
border-radius: 3px;
flex-grow:1;
background: var(--main-background);
box-shadow: 2px 2px 4px lightgrey;
.spec.type .record p {
margin: 0;
font-style: italic;
}

div.def {
Expand All @@ -465,6 +449,11 @@ div.def {
padding-left: 2ex;
}

div.def+div.def-doc {
margin-left: 1ex;
margin-top: 2.5px
}

div.def-doc>*:first-child {
margin-top: 0;
}
Expand Down Expand Up @@ -677,8 +666,9 @@ td.def-doc *:first-child {
/* Mobile adjustements. */

@media only screen and (max-width: 95ex) {
body.odoc {
margin: 2em;
.odoc-content {
margin: auto;
padding: 2em;
}
.odoc-toc {
position: static;
Expand All @@ -688,7 +678,6 @@ td.def-doc *:first-child {
border: none;
padding: 0.2em 1em;
border-radius: 5px;
margin-bottom: 2em;
}
}

Expand Down
59 changes: 0 additions & 59 deletions _sources/about.rst.txt

This file was deleted.

22 changes: 0 additions & 22 deletions _sources/index.rst.txt

This file was deleted.

Loading

0 comments on commit 0e68108

Please sign in to comment.