Skip to content

Commit

Permalink
Refactor and restyle documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Jan 10, 2025
1 parent caae59f commit 9264be9
Show file tree
Hide file tree
Showing 17 changed files with 2,895 additions and 1,965 deletions.
478 changes: 478 additions & 0 deletions docs/src/docs/asciidoc/changelog.adoc

Large diffs are not rendered by default.

File renamed without changes
53 changes: 53 additions & 0 deletions docs/src/docs/asciidoc/css/images/Grabbit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 17 additions & 12 deletions docs/src/docs/asciidoc/css/multi-lang-sample.css

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions docs/src/docs/asciidoc/css/page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
body {
background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85));
color: white;
}

#grabbit-logo {
position: absolute;
right: 0;
top: 0;
width: 150px;
}

#toc {
background: none !important;
}

#toc > #toctitle {
color: #ffc107;
}

#header > h1:first-child {
color: white;
font-weight: 600;
}

#header>.details {
color: white;
}

#preamble>.sectionbody>[class="paragraph"]:first-of-type p {
color: white;
}

h2, h3, h4, .title {
color: #ffc107 !important;
}

p {
color: white;
}

a {
color: #00a8cd;
}

a:hover {
color: #ffc107;
}

.listingblock >.content>pre:not(.highlight) {
color: white;
background: none;
border: 1px solid #ffc107;
border-radius: 4px;
}

:not(pre):not([class^=L])>code {
background: #00758F;
color: white;
}

.admonitionblock td.icon .icon-tip::before,
.admonitionblock td.icon .icon-note::before,
.admonitionblock td.icon .icon-warning::before {
color: white;
}

.admonitionblock>table td.content {
color: white;
}

#footer {
background: rgba(0, 0, 0, 0.2);
}
3 changes: 2 additions & 1 deletion docs/src/docs/asciidoc/docinfo-footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<link rel="stylesheet" href="css/multi-lang-sample.css">
<link rel="stylesheet" href="css/page.css">
<script src="js/multi-lang-sample.js"></script>
<div id="footer">
<div id="footer-text">
<img src="img/GraalVM-rgb.svg" alt="GraalVM"> (c) {docyear}. Licensed under the Universal Permissive License (UPL), Version 1.0
<img src="css/images/GraalVM-rgb.svg" alt="GraalVM"> (c) {docyear}. Licensed under the Universal Permissive License (UPL), Version 1.0
</div>
</div>
3 changes: 3 additions & 0 deletions docs/src/docs/asciidoc/docinfo-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div id="grabbit-logo">
<img src="css/images/Grabbit.svg" alt="">
</div>
Loading

0 comments on commit 9264be9

Please sign in to comment.