Page MenuHomeFreeBSD

D61595.1794858207.diff
No OneTemporary

Authored By
Unknown
Size
64 KB
Referenced Files
None
Subscribers
None

D61595.1794858207.diff

Index: documentation/config/_default/hugo.toml
===================================================================
--- documentation/config/_default/hugo.toml
+++ documentation/config/_default/hugo.toml
@@ -24,7 +24,7 @@
[security]
enableInlineShortcodes = false
[security.exec]
- allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]
+ allow = ["^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]
osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"]
[security.funcs]
getenv = ["^HUGO_"]
Index: documentation/config/offline/config.toml
===================================================================
--- documentation/config/offline/config.toml
+++ documentation/config/offline/config.toml
@@ -22,7 +22,7 @@
[security]
enableInlineShortcodes = false
[security.exec]
- allow = ["^dart-sass-embedded$", "^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]
+ allow = ["^go$", "^git$", "^npx$", "^postcss$", "^asciidoctor$"]
osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"]
[security.funcs]
getenv = ["^HUGO_"]
Index: documentation/themes/beastie/assets/styles/documentation.css
===================================================================
--- /dev/null
+++ documentation/themes/beastie/assets/styles/documentation.css
@@ -0,0 +1,363 @@
+/*
+ * Copyright (c) 1994-2026, The FreeBSD Documentation Project
+ * Copyright (c) 2021-2026, Sergio Carlavilla <carlavilla@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+.documents-list {
+ list-style: none;
+ padding-left: 10px;
+}
+.documents-list li a {
+ text-decoration: none;
+ font-weight: bolder;
+ color: var(--global-font);
+}
+.documents-list li p {
+ margin-top: 0px;
+}
+
+.main-wrapper-article {
+ display: flex;
+ justify-content: center;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: var(--max-width);
+ width: 100%;
+}
+.main-wrapper-article .article {
+ flex-grow: 1;
+ padding: var(--documentation-padding);
+ width: 90vw;
+ width: clamp(16rem, 90vw, 70rem);
+ min-width: 20rem;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 1.5rem;
+ padding-right: 1.5rem;
+ transition: 0.2s ease-in-out;
+}
+.main-wrapper-article .article h1 {
+ margin: 0.8rem 0;
+}
+.main-wrapper-article .article .subtitle {
+ font-size: var(--size-550);
+ font-weight: bold;
+ color: var(--global-font-color);
+ margin-top: 1.5rem;
+ margin-bottom: 1.3rem;
+}
+
+.main-wrapper-book {
+ display: flex;
+ justify-content: center;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: var(--max-width);
+ width: 100%;
+}
+.main-wrapper-book .book-menu {
+ flex: 0 0 16rem;
+ font-size: 0.75rem;
+ background-color: var(--global-background-color);
+}
+.main-wrapper-book .book-menu .book-menu-content {
+ width: 16rem;
+ position: sticky;
+ top: var(--header-height);
+ bottom: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ background-color: var(--global-background-color);
+ transition: 0.2s ease-in-out;
+}
+.main-wrapper-book .book-menu .book-menu-content h3 {
+ margin: 1rem 0;
+ padding-left: 0.5rem;
+ border-bottom: none;
+}
+.main-wrapper-book .book-menu .book-menu-content #search-book {
+ margin-top: 1.5rem;
+ margin-bottom: 0.75rem;
+ border: 1px solid #CCC;
+ border-radius: 4px;
+ box-shadow: inset 0 1px 3px #DDD;
+ box-sizing: border-box;
+ background-color: #FCFCFD;
+ color: #444;
+ width: 95%;
+ margin-left: 0.5rem;
+}
+.main-wrapper-book .book-menu .book-menu-content input.toggle ~ .icon::after {
+ display: inline-block;
+ font: 1rem FontAwesome;
+ text-rendering: auto;
+ content: "\f105";
+}
+.main-wrapper-book .book-menu .book-menu-content input.toggle:checked ~ .icon::after {
+ display: inline-block;
+ font: 1rem FontAwesome;
+ text-rendering: auto;
+ content: "\f107";
+}
+.main-wrapper-book .book-menu .book-menu-content input.toggle ~ ul {
+ display: none;
+}
+.main-wrapper-book .book-menu .book-menu-content input.toggle:checked ~ ul {
+ display: block;
+}
+.main-wrapper-book .book-menu .book-menu-content #MenuContents {
+ position: sticky;
+ overflow: auto;
+ max-height: calc(100vh - 8rem);
+ line-height: 2;
+}
+.main-wrapper-book .book-menu .book-menu-content #MenuContents ul {
+ margin: 0;
+ padding: 0;
+ padding-left: 0.5rem;
+}
+.main-wrapper-book .book-menu .book-menu-content #MenuContents ul li {
+ list-style: none;
+ margin: 0;
+}
+.main-wrapper-book .book-menu .book-menu-content #MenuContents ul li label {
+ position: absolute;
+ cursor: pointer;
+ font-size: 0.875rem;
+}
+.main-wrapper-book .book-menu .book-menu-content #MenuContents ul li a {
+ color: var(--global-font-color);
+ display: block;
+ padding-left: 1rem;
+ padding-right: 0.5rem;
+ font-size: 0.875rem;
+}
+.main-wrapper-book .book {
+ flex-grow: 1;
+ padding: var(--documentation-padding);
+ width: 90vw;
+ min-width: 20rem;
+ max-width: var(--max-width);
+ padding-left: 1.5rem;
+ padding-right: 1.5rem;
+ transition-duration: 0.2s;
+ background-color: var(--global-background-color);
+}
+.main-wrapper-book .book h1 {
+ margin: 0.8rem 0;
+}
+.main-wrapper-book .book .book-menu-mobile {
+ margin-top: 10px;
+}
+.main-wrapper-book .book .book-menu-mobile .menu-control-button {
+ border-radius: 2px;
+ cursor: pointer;
+ font-weight: 500;
+ padding: 5px;
+ border: 1px solid var(--lines-color);
+}
+.main-wrapper-book .book .book-menu-mobile .menu-control-button i {
+ padding-right: 5px;
+}
+.main-wrapper-book .book .buttons {
+ display: flex;
+ align-content: center;
+ align-items: center;
+ justify-content: center;
+ flex-direction: row;
+}
+.main-wrapper-book .book .buttons .prev, .main-wrapper-book .book .buttons .home, .main-wrapper-book .book .buttons .next {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+.main-wrapper-book .book .buttons .prev i, .main-wrapper-book .book .buttons .home i, .main-wrapper-book .book .buttons .next i {
+ padding: 1rem;
+}
+.main-wrapper-book .book .buttons .home {
+ margin-left: auto;
+ margin-right: auto;
+}
+.main-wrapper-book .book .buttons .home i {
+ padding-left: 0.2rem;
+ padding-right: 0.2rem;
+}
+.main-wrapper-book .book .buttons .container {
+ display: flex;
+ flex-direction: column;
+}
+.main-wrapper-book .book .buttons .container .direction {
+ font-weight: bolder;
+}
+
+.toc {
+ flex: 0 0 16rem;
+ font-size: 0.75rem;
+ background-color: var(--global-background-color);
+}
+.toc .toc-content {
+ width: 16rem;
+ position: sticky;
+ top: var(--header-height);
+ bottom: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ transition: 0.2s ease-in-out;
+}
+.toc .toc-content .toc-title {
+ border-bottom: none;
+ margin: 1rem 0;
+ font-size: var(--size-550);
+ font-weight: bold;
+ padding-top: 0.8rem;
+ padding-bottom: 0.3rem;
+ line-height: 1.3;
+}
+.toc .toc-content #TableOfContents {
+ position: sticky;
+ overflow: auto;
+ max-height: 60vh;
+}
+.toc .toc-content #TableOfContents ul {
+ margin: 0;
+ padding: 0;
+}
+.toc .toc-content #TableOfContents ul li {
+ margin: 0;
+ margin-bottom: 0.5rem;
+ list-style: none;
+}
+.toc .toc-content #TableOfContents ul li a {
+ color: var(--global-font-color);
+ display: inline-block;
+ padding: 0.25rem 0.5rem 0.25rem 0.5rem;
+ margin-left: 0.5rem;
+ font-size: 0.875rem;
+ text-decoration: none;
+}
+.toc .toc-content #TableOfContents ul li a:hover {
+ text-decoration: underline;
+}
+.toc .toc-content .resources .resources-title {
+ margin: 1rem 0;
+ font-size: var(--size-550);
+ font-weight: bold;
+ padding-top: 0.8rem;
+ padding-bottom: 0.3rem;
+ line-height: 1.3;
+}
+.toc .toc-content .resources ul {
+ margin: 0;
+ padding: 0;
+}
+.toc .toc-content .resources ul li {
+ list-style: none;
+ margin: 0;
+}
+.toc .toc-content .resources ul li a {
+ color: var(--global-font-color);
+ display: inline-block;
+ padding: 0.25rem 0.5rem 0.25rem 0.5rem;
+ font-size: 0.875rem;
+}
+.toc .toc-content .resources ul li i {
+ margin-left: 1rem;
+}
+
+.toc-mobile .toc-title {
+ border-bottom: none;
+ font-size: var(--size-550);
+ font-weight: bold;
+ padding-top: 0.8rem;
+ padding-bottom: 0.3rem;
+ line-height: 1.3;
+}
+.toc-mobile #TableOfContentsMobile ul, .toc-mobile .resources ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+.toc-mobile #TableOfContentsMobile ul li, .toc-mobile .resources ul li {
+ margin: 0;
+}
+.toc-mobile #TableOfContentsMobile ul li a, .toc-mobile .resources ul li a {
+ color: var(--global-font-color);
+ display: inline-block;
+ padding: 0.25rem 0 0.25rem 0.5rem;
+ text-decoration: none;
+ border-left: 1px solid var(--lines-color);
+}
+.toc-mobile #TableOfContentsMobile ul li a:hover, .toc-mobile .resources ul li a:hover {
+ font-weight: bolder;
+}
+
+.hidden {
+ display: none;
+}
+
+input.toggle {
+ height: 0;
+ width: 0;
+ overflow: hidden;
+ opacity: 0;
+ position: absolute;
+}
+
+@media (max-width: 55em) {
+ .toc {
+ display: none;
+ }
+ #menu-control {
+ display: inline;
+ }
+ .book-menu {
+ visibility: hidden;
+ margin-inline-start: -16rem;
+ z-index: 1;
+ }
+ #menu-control:checked ~ main .book-menu {
+ visibility: initial;
+ }
+ #menu-control:checked ~ main .book-menu .book-menu-content {
+ transform: translateX(16rem);
+ box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
+ }
+ #menu-control:checked ~ main .book {
+ opacity: 0.25;
+ }
+ #menu-control:checked ~ main .book-menu-overlay {
+ display: block;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ }
+}
+@media (min-width: 55em) {
+ .toc-mobile, .book-menu-mobile {
+ display: none;
+ }
+}
Index: documentation/themes/beastie/assets/styles/documentation.scss
===================================================================
--- documentation/themes/beastie/assets/styles/documentation.scss
+++ /dev/null
@@ -1,430 +0,0 @@
-/*
- * Copyright (c) 1994-2026, The FreeBSD Documentation Project
- * Copyright (c) 2021-2026, Sergio Carlavilla <carlavilla@FreeBSD.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
-
-.documents-list {
- list-style: none;
- padding-left: 10px;
-
- li {
-
- a {
- text-decoration: none;
- font-weight: bolder;
- color: var(--global-font);
- }
-
- p {
- margin-top: 0px;
- }
- }
-
-}
-
-.main-wrapper-article {
- display: flex;
- justify-content: center;
- margin-left: auto;
- margin-right: auto;
- max-width: var(--max-width);
- width: 100%;
-
- .article {
- flex-grow: 1;
- padding: var(--documentation-padding);
- width: 90vw;
- width: clamp(16rem, 90vw, 70rem);
- min-width: 20rem;
- margin-left: auto;
- margin-right: auto;
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- transition: .2s ease-in-out;
-
- h1 {
- margin: .8rem 0;
- }
-
- .subtitle {
- font-size: var(--size-550);
- font-weight: bold;
- color: var(--global-font-color);
- margin-top: 1.5rem;
- margin-bottom: 1.3rem;
- }
- }
-}
-
-.main-wrapper-book {
- display: flex;
- justify-content: center;
- margin-left: auto;
- margin-right: auto;
- max-width: var(--max-width);
- width: 100%;
-
- .book-menu {
- flex: 0 0 16rem;
- font-size: .75rem;
- background-color: var(--global-background-color);
-
- .book-menu-content {
- width: 16rem;
- position: sticky;
- top: var(--header-height);
- bottom: 0;
- overflow-x: hidden;
- overflow-y: auto;
- background-color: var(--global-background-color);
- transition: .2s ease-in-out;
-
- h3 {
- margin: 1rem 0;
- padding-left: .5rem;
- border-bottom: none;
- }
-
- #search-book {
- margin-top: 1.5rem;
- margin-bottom: .75rem;
- border: 1px solid #CCC;
- border-radius: 4px;
- box-shadow: inset 0 1px 3px #DDD;
- box-sizing: border-box;
- background-color: #FCFCFD;
- color: #444;
- width: 95%;
- margin-left: .5rem;
- }
-
- input.toggle ~ .icon::after {
- display: inline-block;
- font: 1rem FontAwesome;
- text-rendering: auto;
- content: "\f105";
- }
-
- input.toggle:checked ~ .icon::after {
- display: inline-block;
- font: 1rem FontAwesome;
- text-rendering: auto;
- content: "\f107";
- }
-
- input.toggle ~ ul {
- display:none
- }
-
- input.toggle:checked ~ ul {
- display:block
- }
-
- #MenuContents {
- position: sticky;
- overflow: auto;
- max-height: calc(100vh - 8rem);
- line-height: 2;
-
- ul {
- margin: 0;
- padding: 0;
- padding-left: .5rem;
-
- li {
- list-style: none;
- margin: 0;
-
- label {
- position: absolute;
- cursor: pointer;
- font-size: 0.875rem;
- }
-
- a {
- color: var(--global-font-color);
- display: block;
- padding-left: 1rem;
- padding-right: .5rem;
- font-size: 0.875rem;
- }
- }
- }
- }
- }
- }
-
- .book {
- flex-grow: 1;
- padding: var(--documentation-padding);
- width: 90vw;
- min-width: 20rem;
- max-width: var(--max-width);
- padding-left: 1.5rem;
- padding-right: 1.5rem;
- transition-duration: 0.2s;
- background-color: var(--global-background-color);
-
- h1 {
- margin: .8rem 0;
- }
-
- .book-menu-mobile {
- margin-top: 10px;
-
- .menu-control-button {
- border-radius: 2px;
- cursor: pointer;
- font-weight: 500;
- padding: 5px;
- border: 1px solid var(--lines-color);
-
- i {
- padding-right: 5px;
- }
- }
- }
-
- .buttons {
- display: flex;
- align-content: center;
- align-items: center;
- justify-content: center;
- flex-direction: row;
-
- .prev, .home, .next {
- display: flex;
- flex-direction: row;
- align-items: center;
-
- i {
- padding: 1rem;
- }
- }
-
- .home {
- margin-left: auto;
- margin-right: auto;
-
- i {
- padding-left: .2rem;
- padding-right: .2rem;
- }
- }
-
- .container {
- display: flex;
- flex-direction: column;
-
- .direction {
- font-weight: bolder;
- }
- }
- }
-
- }
-}
-
-.toc {
- flex: 0 0 16rem;
- font-size: .75rem;
- background-color: var(--global-background-color);
-
- .toc-content {
- width: 16rem;
- position: sticky;
- top: var(--header-height);
- bottom: 0;
- overflow-x: hidden;
- overflow-y: auto;
- transition: .2s ease-in-out;
-
- .toc-title {
- border-bottom: none;
- margin: 1rem 0;
- font-size: var(--size-550);
- font-weight: bold;
- padding-top: .8rem;
- padding-bottom: .3rem;
- line-height: 1.3;
- }
-
- #TableOfContents {
- position: sticky;
- overflow: auto;
- max-height: 60vh;
-
- ul {
- margin: 0;
- padding: 0;
-
- li {
- margin: 0;
- margin-bottom: .5rem;
- list-style: none;
-
- a {
- color: var(--global-font-color);
- display: inline-block;
- padding: .25rem .5rem .25rem .5rem;
- margin-left: .5rem;
- font-size: 0.875rem;
- text-decoration: none;
-
- &:hover {
- text-decoration: underline;
- }
- }
- }
- }
- }
-
- .resources {
- .resources-title {
- margin: 1rem 0;
- font-size: var(--size-550);
- font-weight: bold;
- padding-top: .8rem;
- padding-bottom: .3rem;
- line-height: 1.3;
- }
-
- ul {
- margin: 0;
- padding: 0;
-
- li {
- list-style: none;
- margin: 0;
-
- a {
- color: var(--global-font-color);
- display: inline-block;
- padding: .25rem .5rem .25rem .5rem;
- font-size: 0.875rem;
- }
-
- i {
- margin-left: 1rem;
- }
- }
- }
- }
- }
-}
-
-.toc-mobile {
- .toc-title {
- border-bottom: none;
- font-size: var(--size-550);
- font-weight: bold;
- padding-top: .8rem;
- padding-bottom: .3rem;
- line-height: 1.3;
- }
-
- #TableOfContentsMobile, .resources {
- ul {
- list-style: none;
- margin: 0;
- padding: 0;
-
- li {
- margin: 0;
-
- a {
- color: var(--global-font-color);
- display: inline-block;
- padding: .25rem 0 .25rem .5rem;
- text-decoration: none;
- border-left: 1px solid var(--lines-color);
-
- &:hover {
- font-weight: bolder;
- }
- }
- }
- }
- }
-}
-
-.hidden {
- display: none;
-}
-
-input.toggle {
- height: 0;
- width: 0;
- overflow: hidden;
- opacity: 0;
- position: absolute;
-}
-
-@media (max-width: 55em) {
- .toc {
- display: none;
- }
-
- #menu-control {
- display: inline;
- }
-
- .book-menu {
- visibility: hidden;
- margin-inline-start: -16rem;
- z-index: 1;
- }
-
- #menu-control:checked ~ main {
- .book-menu {
- visibility: initial;
- }
-
- .book-menu .book-menu-content {
- transform: translateX(16rem);
- box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
- }
-
- .book {
- opacity: 0.25;
- }
-
- .book-menu-overlay {
- display: block;
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- }
- }
-}
-
-@media (min-width: 55em) {
- .toc-mobile, .book-menu-mobile {
- display: none;
- }
-}
Index: documentation/themes/beastie/assets/styles/footer.css
===================================================================
--- documentation/themes/beastie/assets/styles/footer.css
+++ documentation/themes/beastie/assets/styles/footer.css
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*
*/
-
footer {
margin-top: 1rem;
padding: 1rem;
@@ -37,13 +36,7 @@
display: grid;
gap: 1rem;
grid-template-columns: 1fr;
- grid-template-areas:
- "logo"
- "about"
- "documentation"
- "community"
- "legal"
- "copyright";
+ grid-template-areas: "logo" "about" "documentation" "community" "legal" "copyright";
max-width: var(--max-width);
margin-left: auto;
margin-right: auto;
@@ -74,28 +67,28 @@
padding-top: 1rem;
border-top: 1px solid #E5E7EB;
line-height: 1rem;
- font-size: .8rem;
+ font-size: 0.8rem;
}
.column-title {
margin-top: 0;
font-size: inherit;
border-bottom: none;
- margin-bottom: .5rem;
+ margin-bottom: 0.5rem;
font-weight: bold;
line-height: 1.3;
- padding-top: .8rem;
- padding-bottom: .3rem;
+ padding-top: 0.8rem;
+ padding-bottom: 0.3rem;
}
.column-elements-container {
- margin: .5rem 0;
+ margin: 0.5rem 0;
padding: 0;
list-style: none;
}
.column-elements-container li {
- margin-top: .7rem;
+ margin-top: 0.7rem;
}
.column-element {
@@ -143,7 +136,7 @@
text-decoration: none;
color: var(--global-font-color);
border-radius: 1px;
- padding: .3rem;
+ padding: 0.3rem;
}
.language-container a img {
@@ -159,33 +152,23 @@
.footer-container {
gap: 2rem;
grid-template-columns: 1fr 1fr;
- grid-template-areas:
- "logo logo"
- "about community"
- "documentation legal"
- "copyright copyright";
+ grid-template-areas: "logo logo" "about community" "documentation legal" "copyright copyright";
}
}
-
@media screen and (min-width: 900px) {
footer {
padding: 2rem;
}
-
.footer-container {
grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
- grid-template-areas:
- "logo about documentation community legal"
- "copyright copyright copyright copyright copyright";
+ grid-template-areas: "logo about documentation community legal" "copyright copyright copyright copyright copyright";
gap: 1rem;
}
}
-
@media screen and (min-width: 1451px) {
footer {
padding: 2rem 5rem;
}
-
.footer-container {
gap: 2rem;
}
Index: documentation/themes/beastie/assets/styles/global.css
===================================================================
--- /dev/null
+++ documentation/themes/beastie/assets/styles/global.css
@@ -0,0 +1,714 @@
+/*
+ * Copyright (c) 1994-2026, The FreeBSD Documentation Project
+ * Copyright (c) 2021-2026, Sergio Carlavilla <carlavilla@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+html {
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
+ scroll-padding-top: var(--header-height);
+ scroll-behavior: auto;
+}
+
+@supports (font-variation-settings: normal) {
+ html {
+ font-family: "Inter var", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
+ }
+}
+html,
+body {
+ text-rendering: optimizeLegibility;
+ line-height: 1.5;
+}
+
+body {
+ display: flex;
+ flex-direction: column;
+ color: var(--global-font-color);
+ padding: 0;
+ margin: 0;
+ font-size: 100%;
+ font-weight: 400;
+ font-style: normal;
+ cursor: auto;
+ background-color: var(--global-background-color);
+}
+
+/* Main */
+.main-wrapper {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ margin: 0 auto;
+ width: 100%;
+ max-width: var(--max-width);
+ transition: padding 0.15s;
+ background-color: var(--global-background-color);
+}
+.main-wrapper .welcome-container {
+ display: flex;
+ width: 100%;
+ margin-top: 2.5rem;
+ text-align: center;
+ align-items: center;
+ flex-direction: column;
+}
+.main-wrapper .welcome-container .title-language-container {
+ display: flex;
+ width: 100%;
+ justify-content: center;
+ flex-direction: column;
+}
+.main-wrapper .welcome-container .title-language-container h2 {
+ margin: 0;
+ border-bottom: 0px;
+}
+.main-wrapper .welcome-container .title-language-container a {
+ margin-left: auto;
+}
+.main-wrapper .welcome-container .title-language-container a img {
+ display: inline-flex;
+ padding-right: 10px;
+ align-items: center;
+ justify-content: center;
+ height: 1.5rem;
+ width: 1.5rem;
+}
+.main-wrapper .welcome-container form {
+ display: flex;
+ width: 100%;
+ background-color: var(--global-background-color);
+ justify-content: center;
+ border: none;
+}
+.main-wrapper .welcome-container form input {
+ display: block;
+ width: 80%;
+ padding: 10px 20px;
+ border: 1px solid #CCC;
+ border-radius: 4px;
+ box-shadow: inset 0 1px 3px #DDD;
+ box-sizing: border-box;
+ background-color: #FCFCFD;
+ color: #444;
+}
+.main-wrapper .cards-container {
+ display: grid;
+ grid-gap: 1rem;
+ margin: 0 auto;
+ margin-top: 3rem;
+ margin-bottom: 3rem;
+ padding-right: 10%;
+ padding-left: 10%;
+}
+.main-wrapper .cards-container .card {
+ padding: 1rem;
+ border: 1px solid var(--card-border-color);
+ background-color: var(--card-background-color);
+}
+.main-wrapper .cards-container .card a {
+ display: flex;
+ flex-direction: column;
+ text-decoration: none;
+}
+.main-wrapper .cards-container .card a .card-title {
+ color: var(--global-font-color);
+ font-weight: 700;
+ font-size: 22px;
+ margin: 0px 0px 8px 0px;
+ border-bottom: 0px;
+ padding-top: 0.1rem;
+ padding-bottom: 0.5rem;
+}
+.main-wrapper .cards-container .card a p {
+ color: var(--global-font-color);
+ font-size: 18px;
+ margin: 0px;
+ margin-top: auto;
+ text-align: inherit;
+}
+.main-wrapper .document {
+ padding: var(--documentation-padding);
+}
+
+ul.language-list {
+ display: flex;
+ flex-wrap: wrap;
+ list-style: none;
+}
+ul.language-list li {
+ flex: 1 0 25%;
+ list-style-type: none;
+ max-width: 25%;
+}
+ul.language-list li a {
+ cursor: pointer;
+ color: var(--global-font-color);
+}
+ul.language-list .selected {
+ font-weight: bolder;
+}
+
+@media (min-width: 600px) {
+ .main-wrapper .welcome-container form input {
+ width: 50%;
+ }
+ .cards-container {
+ grid-template-columns: repeat(2, 1fr);
+ }
+}
+@media (min-width: 900px) {
+ .cards-container {
+ grid-template-columns: repeat(3, 1fr);
+ }
+}
+.abstract-title {
+ font-size: 24px;
+ font-weight: 700;
+}
+
+.visually-hidden {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ white-space: nowrap;
+ border: 0;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ margin: 0;
+ padding-bottom: 0.3rem;
+}
+
+h1,
+h2,
+h3,
+h4 {
+ line-height: 1.3;
+}
+
+h1,
+h2 {
+ font-weight: 900;
+}
+
+h1 {
+ font-size: var(--size-750);
+}
+
+h2 {
+ font-size: var(--size-600);
+}
+
+h3 {
+ font-size: var(--size-550);
+ padding-top: 0.8rem;
+}
+
+h4 {
+ font-size: var(--size-500);
+}
+
+h5 {
+ font-size: var(--size-400);
+}
+
+h6 {
+ font-size: var(--size-300);
+}
+
+h2 > .anchor,
+h3 > .anchor,
+h4 > .anchor,
+h5 > .anchor,
+h6 > .anchor {
+ text-decoration: none;
+}
+h2 > .anchor:hover,
+h3 > .anchor:hover,
+h4 > .anchor:hover,
+h5 > .anchor:hover,
+h6 > .anchor:hover {
+ text-decoration: none;
+}
+
+h2 > .anchor::before,
+h3 > .anchor::before,
+h4 > .anchor::before,
+h5 > .anchor::before,
+h6 > .anchor::before {
+ visibility: hidden;
+ margin-left: 0.3rem;
+ content: "#";
+ color: var(--global-font-color);
+}
+
+h2,
+h3,
+h4,
+h5,
+h6 {
+ border-bottom: 1px solid var(--lines-color);
+}
+h2:hover .anchor::before,
+h3:hover .anchor::before,
+h4:hover .anchor::before,
+h5:hover .anchor::before,
+h6:hover .anchor::before {
+ visibility: visible;
+ transition: visibility 0s easy 0s;
+}
+
+hr {
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+ border: 0;
+ border-top: 1px solid var(--lines-color);
+}
+
+a {
+ text-decoration: none;
+ color: var(--links-color);
+}
+a:hover {
+ text-decoration: underline;
+}
+
+img {
+ width: 100%;
+ max-width: 100%;
+}
+
+.imageblock .title {
+ margin-top: 0.5rem;
+ padding-bottom: 0;
+ font-weight: bolder;
+ font-style: italic;
+}
+
+figcaption {
+ font-size: var(--size-300);
+ font-style: italic;
+ margin-top: 1rem;
+}
+
+pre {
+ border-radius: 0.25rem;
+ font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
+ background-color: var(--pre-background-color);
+ font-size: 1rem;
+ color: var(--pre-font-color);
+ line-height: 1.4;
+ margin: 0 0 24px;
+ overflow: auto !important;
+ padding: 1rem;
+ margin: 0;
+}
+
+p {
+ text-justify: inter-word;
+}
+
+b,
+dt,
+strong,
+th {
+ font-weight: bolder;
+}
+
+dt {
+ font-style: italic;
+}
+
+blockquote {
+ padding-left: var(--size-600);
+ border-left: 5px solid;
+ font-style: italic;
+}
+
+.literalblock {
+ margin: 0.75em 0;
+ overflow: auto;
+}
+.literalblock .content {
+ overflow: auto;
+}
+
+/* callouts */
+.conum {
+ display: inline-block;
+ color: #FFF !important;
+ background-color: #000;
+ border-radius: 100px;
+ text-align: center;
+ font-size: 0.75em;
+ width: 1.67em;
+ height: 1.67em;
+ font-style: normal;
+ font-weight: bold;
+}
+
+.conum[data-value] {
+ color: #FFF !important;
+ text-align: center;
+ font-size: 0.75em;
+ line-height: 1.67em;
+ font-style: normal;
+ font-weight: bold;
+}
+
+.conum[data-value]::after {
+ content: attr(data-value);
+}
+
+.colist td {
+ padding-top: 4px;
+ padding-bottom: 4px;
+ vertical-align: top;
+}
+
+.colist tr td b,
+.programlisting b {
+ display: none;
+}
+
+.rouge b {
+ display: none;
+}
+
+/* Tables */
+table caption {
+ text-rendering: optimizeLegibility;
+ text-align: left;
+ font-weight: bolder;
+ font-size: 1rem;
+}
+
+table.tableblock {
+ display: block;
+ margin: auto;
+ margin-bottom: 1.25em;
+ max-width: 100%;
+ border-collapse: collapse;
+ overflow-x: auto;
+}
+table.tableblock th {
+ text-align: left;
+ background-color: var(--table-header-background-color);
+ color: var(--table-header-font-color);
+ text-rendering: optimizeLegibility;
+ padding: 0.5em 0.625em 0.625em;
+ border: 0 solid #DEDEDE;
+ border-width: 0 1px 1px 0;
+}
+table.tableblock td {
+ text-align: left;
+ border: 0 solid #DEDEDE;
+ text-rendering: optimizeLegibility;
+ line-height: 1.6;
+ padding: 0.5em 0.625em 0.625em;
+ font-size: inherit;
+ border-width: 0 1px 1px 0;
+ vertical-align: top;
+}
+table.tableblock td.icon {
+ border: none;
+}
+table.tableblock td:first-of-type,
+table.tableblock th:first-of-type {
+ border-left: none;
+}
+table.tableblock td:last-of-type,
+table.tableblock th:last-of-type {
+ border-right: none;
+}
+
+table.stretch {
+ width: 100%;
+}
+
+/* Admonitions */
+.admonitionblock {
+ margin: 1.4rem 0;
+ padding: 1rem;
+ color: var(--admonition-font-color);
+}
+.admonitionblock table {
+ table-layout: fixed;
+ position: relative;
+ width: 100%;
+}
+.admonitionblock table tbody tr td.icon {
+ position: absolute;
+ top: 0;
+ left: 0;
+ line-height: 1;
+ padding-bottom: 0.5rem;
+}
+.admonitionblock table tbody tr td.icon i {
+ display: inline-flex;
+ align-items: center;
+ width: auto;
+ background-position-x: 0.5em;
+ vertical-align: initial;
+ font-style: normal;
+}
+.admonitionblock table tbody tr td.icon i:after {
+ content: attr(title);
+ font-family: "Inter var", sans-serif;
+ font-weight: bolder;
+ padding: 0 0.5em;
+ margin: -0.05em;
+}
+.admonitionblock table tbody tr td.icon .icon-note::before {
+ content: "\f05a";
+ color: var(--admonition-note-color);
+}
+.admonitionblock table tbody tr td.icon .icon-tip::before {
+ content: "\f0eb";
+ color: var(--admonition-tip-color);
+}
+.admonitionblock table tbody tr td.icon .icon-warning::before {
+ content: "\f071";
+ color: var(--admonition-warning-color);
+}
+.admonitionblock table tbody tr td.icon .icon-caution::before {
+ content: "\f06d";
+ color: var(--admonition-caution-color);
+}
+.admonitionblock table tbody tr td.icon .icon-important::before {
+ content: "\f06a";
+ color: var(--admonition-important-color);
+}
+.admonitionblock table tbody tr td.icon [class^="fa icon-"] {
+ font-size: 1.2rem;
+ cursor: default;
+}
+.admonitionblock table tbody tr td.content {
+ width: 100%;
+ word-wrap: anywhere;
+}
+.admonitionblock table tbody tr td.content .title {
+ margin-top: 2rem;
+}
+.admonitionblock table tbody tr td.content .paragraph {
+ padding-top: 0.5rem;
+}
+.admonitionblock table tbody tr td.content a {
+ color: var(--admonition-links-color);
+}
+
+.note {
+ border-left: 5px solid var(--admonition-note-color);
+ background-color: var(--admonition-note-background-color);
+}
+
+.warning {
+ border-left: 5px solid var(--admonition-warning-color);
+ background-color: var(--admonition-warning-background-color);
+}
+
+.important {
+ border-left: 5px solid var(--admonition-important-color);
+ background-color: var(--admonition-important-background-color);
+}
+
+.caution {
+ border-left: 5px solid var(--admonition-caution-color);
+ background-color: var(--admonition-caution-background-color);
+}
+
+.tip {
+ border-left: 5px solid var(--admonition-tip-color);
+ background-color: var(--admonition-tip-background-color);
+}
+
+/* Example */
+.example,
+.exampleblock {
+ border-left: 5px solid var(--example-block-color);
+ padding: 1rem;
+ background-color: var(--example-block-background-color);
+}
+
+.exampleblock {
+ margin: 0.75rem 0;
+ color: var(--example-block-font-color);
+}
+.exampleblock .title {
+ font-weight: bolder;
+ font-family: "Inter var", sans-serif;
+}
+.exampleblock .content .literalblock .content {
+ background: #fefde6 !important;
+ border: none !important;
+ color: var(--global-font-color);
+}
+.exampleblock .content a {
+ color: var(--admonition-links-color);
+}
+
+.procedure {
+ border-left: 5px solid #B3B3B3;
+ padding: 1rem;
+ margin-bottom: 1.4rem;
+}
+
+/* Misc */
+.fa {
+ font-family: FontAwesome;
+ font-style: normal;
+}
+
+.listingblock {
+ margin: 0.75em 0;
+ position: relative;
+}
+
+.listingblock .title {
+ position: absolute;
+ top: -1em;
+ left: 1em;
+}
+
+.highlight {
+ padding: 1.5em 2em;
+}
+.highlight code {
+ font-size: 0.75rem;
+ padding: 0;
+ border-radius: inherit;
+ background-color: transparent;
+ color: inherit;
+}
+.highlight:hover code::before {
+ content: attr(data-lang);
+ position: absolute;
+ top: 0.5em;
+ right: 3em;
+}
+
+code {
+ font-family: "DejaVu Sans Mono", Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
+ padding: 0.12rem 0.2rem;
+ border-radius: 0.25rem;
+ background-color: var(--pre-background-color);
+ color: var(--pre-font-color);
+}
+
+.filename {
+ font-weight: bolder;
+}
+
+details {
+ margin: 1rem 0;
+}
+details summary {
+ cursor: pointer;
+}
+
+kbd {
+ font-family: "DejaVu Sans", "DejaVu Sans Bold";
+ display: inline-block;
+ color: rgba(0, 0, 0, 0.8);
+ font-size: 0.65em;
+ line-height: 1.45;
+ background-color: #F7F7F7;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em #FFF inset;
+ margin: 0 0.15em;
+ padding: 0.2em 0.5em;
+ vertical-align: middle;
+ position: relative;
+ top: -0.1em;
+ white-space: nowrap;
+}
+
+.to-top {
+ opacity: 1;
+ visibility: visible;
+ transition: 0.2s;
+ position: fixed;
+ bottom: 1.2rem;
+ right: 1.5rem;
+ z-index: 15;
+ text-decoration: none;
+}
+.to-top i {
+ font-size: 2rem;
+ color: var(--global-font-color);
+}
+
+.copy-to-clipboard-wrapper {
+ position: absolute;
+ margin: 0;
+ padding: 0.5rem;
+ right: 0.5rem;
+ top: 0rem;
+}
+.copy-to-clipboard-wrapper button {
+ display: flex;
+ flex-direction: column;
+ border: none;
+ cursor: pointer;
+ align-items: center;
+ width: 1rem;
+ height: 1rem;
+ background: none;
+}
+.copy-to-clipboard-wrapper button:focus {
+ outline: none;
+}
+.copy-to-clipboard-wrapper button i {
+ color: var(--white);
+}
+.copy-to-clipboard-wrapper .tooltip {
+ visibility: hidden;
+ opacity: 0;
+ justify-content: center;
+ margin-top: 1em;
+ background-color: var(--copy-clipboard-tooltip-background-color);
+ border-radius: 0.25em;
+ padding: 0.5em;
+ color: var(--white);
+ z-index: 999;
+}
+.copy-to-clipboard-wrapper .tooltip:focus {
+ outline: none;
+}
+.copy-to-clipboard-wrapper .show-tooltip {
+ visibility: visible;
+ opacity: 1;
+ transition: visibility 0s easy 0s;
+}
Index: documentation/themes/beastie/assets/styles/global.scss
===================================================================
--- documentation/themes/beastie/assets/styles/global.scss
+++ /dev/null
@@ -1,783 +0,0 @@
-/*
- * Copyright (c) 1994-2026, The FreeBSD Documentation Project
- * Copyright (c) 2021-2026, Sergio Carlavilla <carlavilla@FreeBSD.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
-
-html {
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
- scroll-padding-top: var(--header-height);
- scroll-behavior: auto;
-}
-
-@supports (font-variation-settings: normal) {
- html {
- font-family: 'Inter var', -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
- }
-}
-
-html,
-body {
- text-rendering: optimizeLegibility;
- line-height: 1.5;
-}
-
-body {
- display: flex;
- flex-direction: column;
- color: var(--global-font-color);
- padding: 0;
- margin: 0;
- font-size: 100%;
- font-weight: 400;
- font-style: normal;
- cursor: auto;
- background-color: var(--global-background-color);
-}
-
-/* Main */
-.main-wrapper {
- display: flex;
- flex-direction: column;
- justify-content: center;
- margin: 0 auto;
- width: 100%;
- max-width: var(--max-width);
- transition: padding .15s;
- background-color: var(--global-background-color);
-
- .welcome-container {
- display: flex;
- width: 100%;
- margin-top: 2.5rem;
- text-align: center;
- align-items: center;
- flex-direction: column;
-
- .title-language-container {
- display: flex;
- width: 100%;
- justify-content: center;
- flex-direction: column;
-
- h2 {
- margin: 0;
- border-bottom: 0px;
- }
-
- a {
- margin-left: auto;
-
- img {
- display: inline-flex;
- padding-right: 10px;
- align-items: center;
- justify-content: center;
- height: 1.5rem;
- width: 1.5rem;
- }
- }
- }
-
- form {
- display: flex;
- width: 100%;
- background-color: var(--global-background-color);
- justify-content: center;
- border: none;
-
- input {
- display: block;
- width: 80%;
- padding: 10px 20px;
- border: 1px solid #CCC;
- border-radius: 4px;
- box-shadow: inset 0 1px 3px #DDD;
- box-sizing: border-box;
- background-color: #FCFCFD;
- color: #444;
- }
- }
- }
-
- .cards-container {
- display: grid;
- grid-gap: 1rem;
- margin: 0 auto;
- margin-top: 3rem;
- margin-bottom: 3rem;
- padding-right: 10%;
- padding-left: 10%;
-
- .card {
- padding: 1rem;
- border: 1px solid var(--card-border-color);
- background-color: var(--card-background-color);
-
- a {
- display: flex;
- flex-direction: column;
- text-decoration: none;
-
- .card-title {
- color: var(--global-font-color);
- font-weight: 700;
- font-size: 22px;
- margin: 0px 0px 8px 0px;
- border-bottom: 0px;
- padding-top: 0.1rem;
- padding-bottom: 0.5rem;
- }
-
- p {
- color: var(--global-font-color);
- font-size: 18px;
- margin: 0px;
- margin-top: auto;
- text-align: inherit;
- }
- }
- }
- }
-
- .document {
- padding: var(--documentation-padding);
- }
-}
-
-ul.language-list {
- display: flex;
- flex-wrap: wrap;
- list-style: none;
-
- li {
- flex: 1 0 25%;
- list-style-type: none;
- max-width: 25%;
-
- a {
- cursor: pointer;
- color: var(--global-font-color);
- }
- }
-
- .selected {
- font-weight: bolder;
- }
-}
-
-@media (min-width: 600px) {
- .main-wrapper {
- .welcome-container {
- form {
- input {
- width: 50%;
- }
- }
- }
- }
-
- .cards-container {
- grid-template-columns: repeat(2, 1fr);
- }
-}
-
-@media (min-width: 900px) {
- .cards-container {
- grid-template-columns: repeat(3, 1fr);
- }
-}
-
-.abstract-title {
- font-size: 24px;
- font-weight: 700;
-}
-
-.visually-hidden {
- position: absolute;
- width: 1px;
- height: 1px;
- padding: 0;
- margin: -1px;
- overflow: hidden;
- clip: rect(0, 0, 0, 0);
- white-space: nowrap;
- border: 0;
-}
-
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- margin: 0;
- padding-bottom: .3rem;
-}
-
-h1,
-h2,
-h3,
-h4 {
- line-height: 1.3;
-}
-
-h1,
-h2 {
- font-weight: 900;
-}
-
-h1 {
- font-size: var(--size-750);
-}
-
-h2 {
- font-size: var(--size-600);
-}
-
-h3 {
- font-size: var(--size-550);
- padding-top: .8rem;
-}
-
-h4 {
- font-size: var(--size-500);
-}
-
-h5 {
- font-size: var(--size-400);
-}
-
-h6 {
- font-size: var(--size-300);
-}
-
-h2>.anchor,
-h3>.anchor,
-h4>.anchor,
-h5>.anchor,
-h6>.anchor {
- text-decoration: none;
-
- &:hover {
- text-decoration: none;
- }
-}
-
-h2>.anchor::before,
-h3>.anchor::before,
-h4>.anchor::before,
-h5>.anchor::before,
-h6>.anchor::before {
- visibility: hidden;
- margin-left: .3rem;
- content: "#";
- color: var(--global-font-color);
-}
-
-h2,
-h3,
-h4,
-h5,
-h6 {
- border-bottom: 1px solid var(--lines-color);
-
- &:hover .anchor::before {
- visibility: visible;
- transition: visibility 0s easy 0s;
- }
-}
-
-hr {
- margin-top: 1rem;
- margin-bottom: 1rem;
- border: 0;
- border-top: 1px solid var(--lines-color);
-}
-
-a {
- text-decoration: none;
- color: var(--links-color);
-
- &:hover {
- text-decoration: underline;
- }
-
-}
-
-img {
- width: 100%;
- max-width: 100%;
-}
-
-.imageblock {
- .title {
- margin-top: .5rem;
- padding-bottom: 0;
- font-weight: bolder;
- font-style: italic;
- }
-}
-
-figcaption {
- font-size: var(--size-300);
- font-style: italic;
- margin-top: 1rem;
-}
-
-pre {
- border-radius: 0.25rem;
- font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
- background-color: var(--pre-background-color);
- font-size: 1rem;
- color: var(--pre-font-color);
- line-height: 1.4;
- margin: 0 0 24px;
- overflow: auto !important;
- padding: 1rem;
- margin: 0;
-}
-
-p {
- text-justify: inter-word;
-}
-
-b,
-dt,
-strong,
-th {
- font-weight: bolder;
-}
-
-dt {
- font-style: italic;
-}
-
-blockquote {
- padding-left: var(--size-600);
- border-left: 5px solid;
- font-style: italic;
-}
-
-.literalblock {
- margin: .75em 0;
- overflow: auto;
-
- .content {
- overflow: auto;
- }
-}
-
-/* callouts */
-.conum {
- display: inline-block;
- color: #FFF !important;
- background-color: #000;
- border-radius: 100px;
- text-align: center;
- font-size: .75em;
- width: 1.67em;
- height: 1.67em;
- font-style: normal;
- font-weight: bold;
-}
-
-.conum[data-value] {
- color: #FFF !important;
- text-align: center;
- font-size: .75em;
- line-height: 1.67em;
- font-style: normal;
- font-weight: bold;
-}
-
-.conum[data-value]::after {
- content: attr(data-value);
-}
-
-.colist td {
- padding-top: 4px;
- padding-bottom: 4px;
- vertical-align: top;
-}
-
-.colist tr td b,
-.programlisting b {
- display: none;
-}
-
-.rouge b {
- display: none;
-}
-
-/* Tables */
-table {
- caption {
- text-rendering: optimizeLegibility;
- text-align: left;
- font-weight: bolder;
- font-size: 1rem;
- }
-}
-
-table.tableblock {
- display: block;
- margin: auto;
- margin-bottom: 1.25em;
- max-width: 100%;
- border-collapse: collapse;
- overflow-x: auto;
-
- th {
- text-align: left;
- background-color: var(--table-header-background-color);
- color: var(--table-header-font-color);
- text-rendering: optimizeLegibility;
- padding: .5em .625em .625em;
- border: 0 solid #DEDEDE;
- border-width: 0 1px 1px 0;
- }
-
- td {
- text-align: left;
- border: 0 solid #DEDEDE;
- text-rendering: optimizeLegibility;
- line-height: 1.6;
- padding: .5em .625em .625em;
- font-size: inherit;
- border-width: 0 1px 1px 0;
- vertical-align: top;
- }
-
- td.icon {
- border: none;
- }
-
- td:first-of-type,
- th:first-of-type {
- border-left: none;
- }
-
- td:last-of-type,
- th:last-of-type {
- border-right: none;
- }
-}
-
-table.stretch {
- width: 100%;
-}
-
-/* Admonitions */
-.admonitionblock {
- margin: 1.4rem 0;
- padding: 1rem;
- color: var(--admonition-font-color);
-
- table {
- table-layout: fixed;
- position: relative;
- width: 100%;
-
- tbody {
- tr {
- td.icon {
- position: absolute;
- top: 0;
- left: 0;
- line-height: 1;
- padding-bottom: .5rem;
-
- i {
- display: inline-flex;
- align-items: center;
- width: auto;
- background-position-x: .5em;
- vertical-align: initial;
- font-style: normal;
-
- &:after {
- content: attr(title);
- font-family: 'Inter var', sans-serif;
- font-weight: bolder;
- padding: 0 .5em;
- margin: -.05em;
- }
- }
-
- .icon-note::before {
- content: "\f05a";
- color: var(--admonition-note-color);
- }
-
- .icon-tip::before {
- content: "\f0eb";
- color: var(--admonition-tip-color)
- }
-
- .icon-warning::before {
- content: "\f071";
- color: var(--admonition-warning-color);
- }
-
- .icon-caution::before {
- content: "\f06d";
- color: var(--admonition-caution-color);
- }
-
- .icon-important::before {
- content: "\f06a";
- color: var(--admonition-important-color);
- }
- }
-
- td.icon [class^="fa icon-"] {
- font-size: 1.2rem;
- cursor: default;
- }
-
- td.content {
- width: 100%;
- word-wrap: anywhere;
-
- .title {
- margin-top: 2rem;
- }
-
- .paragraph {
- padding-top: .5rem;
- }
-
- a {
- color: var(--admonition-links-color);
- }
- }
- }
- }
- }
-}
-
-.note {
- border-left: 5px solid var(--admonition-note-color);
- background-color: var(--admonition-note-background-color);
-}
-
-.warning {
- border-left: 5px solid var(--admonition-warning-color);
- background-color: var(--admonition-warning-background-color);
-}
-
-.important {
- border-left: 5px solid var(--admonition-important-color);
- background-color: var(--admonition-important-background-color);
-}
-
-.caution {
- border-left: 5px solid var(--admonition-caution-color);
- background-color: var(--admonition-caution-background-color);
-}
-
-.tip {
- border-left: 5px solid var(--admonition-tip-color);
- background-color: var(--admonition-tip-background-color);
-}
-
-/* Example */
-.example,
-.exampleblock {
- border-left: 5px solid var(--example-block-color);
- padding: 1rem;
- background-color: var(--example-block-background-color);
-}
-
-.exampleblock {
- margin: .75rem 0;
- color: var(--example-block-font-color);
-
- .title {
- font-weight: bolder;
- font-family: 'Inter var', sans-serif;
- }
-
- .content {
- .literalblock {
- .content {
- background: #fefde6 !important;
- border: none !important;
- color: var(--global-font-color);
- }
- }
-
- a {
- color: var(--admonition-links-color);
- }
- }
-}
-
-.procedure {
- border-left: 5px solid #B3B3B3;
- padding: 1rem;
- margin-bottom: 1.4rem;
-}
-
-/* Misc */
-.fa {
- font-family: FontAwesome;
- font-style: normal;
-}
-
-.listingblock {
- margin: .75em 0;
- position: relative;
-}
-
-.listingblock .title {
- position: absolute;
- top: -1em;
- left: 1em;
-}
-
-.highlight {
- padding: 1.5em 2em;
-
- code {
- font-size: 0.75rem;
- padding: 0;
- border-radius: inherit;
- background-color: transparent;
- color: inherit;
- }
-
- &:hover code::before {
- content: attr(data-lang);
- position: absolute;
- top: 0.5em;
- right: 3em;
- }
-}
-
-code {
- font-family: "DejaVu Sans Mono", Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
- padding: .12rem .20rem;
- border-radius: .25rem;
- background-color: var(--pre-background-color);
- color: var(--pre-font-color);
-}
-
-.filename {
- font-weight: bolder;
-}
-
-details {
- margin: 1rem 0;
-
- summary {
- cursor: pointer;
- }
-}
-
-kbd {
- font-family: "DejaVu Sans", "DejaVu Sans Bold";
- display: inline-block;
- color: rgba(0, 0, 0, .8);
- font-size: .65em;
- line-height: 1.45;
- background-color: #F7F7F7;
- border: 1px solid #ccc;
- border-radius: 3px;
- box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 .1em #FFF inset;
- margin: 0 .15em;
- padding: .2em .5em;
- vertical-align: middle;
- position: relative;
- top: -.1em;
- white-space: nowrap;
-}
-
-.to-top {
- opacity: 1;
- visibility: visible;
- transition: .2s;
- position: fixed;
- bottom: 1.2rem;
- right: 1.5rem;
- z-index: 15;
- text-decoration: none;
-
- i {
- font-size: 2rem;
- color: var(--global-font-color);
- }
-}
-
-.copy-to-clipboard-wrapper {
- position: absolute;
- margin: 0;
- padding: .50rem;
- right: .5rem;
- top: 0rem;
-
- button {
- display: flex;
- flex-direction: column;
- border: none;
- cursor: pointer;
- align-items: center;
- width: 1rem;
- height: 1rem;
- background: none;
-
- &:focus {
- outline: none;
- }
-
- i {
- color: var(--white);
- }
- }
-
- .tooltip {
- visibility: hidden;
- opacity: 0;
- justify-content: center;
- margin-top: 1em;
- background-color: var(--copy-clipboard-tooltip-background-color);
- border-radius: .25em;
- padding: .5em;
- color: var(--white);
- z-index: 999;
-
- &:focus {
- outline: none;
- }
- }
-
- .show-tooltip {
- visibility: visible;
- opacity: 1;
- transition: visibility 0s easy 0s;
- }
-
-}
Index: documentation/themes/beastie/assets/styles/header.css
===================================================================
--- documentation/themes/beastie/assets/styles/header.css
+++ documentation/themes/beastie/assets/styles/header.css
@@ -25,12 +25,11 @@
* SUCH DAMAGE.
*
*/
-
header {
position: sticky;
top: 0;
z-index: 9999;
- padding: .5rem 1rem;
+ padding: 0.5rem 1rem;
background-color: var(--header-background);
}
@@ -77,7 +76,7 @@
cursor: pointer;
}
-input[type='checkbox'] {
+input[type=checkbox] {
display: none;
}
@@ -119,17 +118,17 @@
}
.menu-item i {
- margin-left: .1rem;
+ margin-left: 0.1rem;
}
.sub-menu {
visibility: hidden;
position: absolute;
top: 55px;
- padding: 1rem .75rem;
+ padding: 1rem 0.75rem;
min-width: 250px;
background-color: var(--white);
- border-radius: .4rem;
+ border-radius: 0.4rem;
color: #444;
border: 1px solid #CDCDCD;
z-index: 999;
@@ -139,14 +138,14 @@
visibility: visible;
}
-.menu-item-description:hover+.sub-menu,
-.menu-item a:hover+.sub-menu {
+.menu-item-description:hover + .sub-menu,
+.menu-item a:hover + .sub-menu {
visibility: visible;
}
.sub-menu li {
margin-top: 0;
- padding: .75rem .6rem;
+ padding: 0.75rem 0.6rem;
}
.sub-menu .title {
@@ -170,18 +169,18 @@
.search {
display: flex;
- border-radius: .4rem;
+ border-radius: 0.4rem;
background-color: var(--white);
border: 1px solid var(--white);
margin-top: 0px;
}
-.search input[type='text'] {
+.search input[type=text] {
display: inline-block;
width: 100%;
- padding: .3rem .8rem;
+ padding: 0.3rem 0.8rem;
border: none;
- border-radius: .4rem;
+ border-radius: 0.4rem;
appearance: none;
outline: none;
background-color: var(--white);
@@ -191,7 +190,7 @@
.search button {
background-color: var(--white);
border: none;
- border-radius: .4rem;
+ border-radius: 0.4rem;
}
.search button i {
@@ -199,14 +198,14 @@
}
.donate {
- margin-left: .5rem;
+ margin-left: 0.5rem;
}
.donate a {
display: inline-block;
- padding: .5rem 1rem;
+ padding: 0.5rem 1rem;
background-color: var(--white);
- border-radius: .4rem;
+ border-radius: 0.4rem;
}
.donate a .heart,
@@ -224,31 +223,25 @@
.header-container {
flex-direction: column;
}
-
.logo-menu-bars-container {
width: 100%;
- padding: .5rem 0;
+ padding: 0.5rem 0;
}
-
nav {
width: 100%;
margin: 0;
padding: 0;
}
-
.menu-bars {
display: block;
}
-
.menu {
display: none;
width: 100%;
}
-
- #menu-bars:checked~nav .menu {
+ #menu-bars:checked ~ nav .menu {
display: block !important;
}
-
.menu-item {
flex-direction: column;
width: 100%;
@@ -256,26 +249,21 @@
border-top: 1px solid var(--white);
cursor: pointer;
}
-
.menu-item a {
width: 100%;
}
-
- .menu-item-description:hover+.sub-menu,
- .menu-item a:hover+.sub-menu {
+ .menu-item-description:hover + .sub-menu,
+ .menu-item a:hover + .sub-menu {
visibility: visible;
}
-
.menu-item-description {
display: flex;
width: 100%;
cursor: pointer;
}
-
.menu-item-description i {
margin-left: auto;
}
-
.sub-menu {
display: none;
flex-direction: column;
@@ -288,66 +276,55 @@
color: inherit;
box-shadow: inherit;
}
-
.sub-menu .title {
display: none;
border-bottom: none;
}
-
.sub-menu li {
padding-left: 0px;
padding-right: 0px;
}
-
- #about:checked~.sub-menu,
- #download:checked~.sub-menu,
- #documentation:checked~.sub-menu,
- #community:checked~.sub-menu {
+ #about:checked ~ .sub-menu,
+ #download:checked ~ .sub-menu,
+ #documentation:checked ~ .sub-menu,
+ #community:checked ~ .sub-menu {
display: flex;
}
-
.search-donate-container {
display: none;
}
-
.search {
width: 100%;
}
-
- #menu-bars:checked~.search-donate-container {
+ #menu-bars:checked ~ .search-donate-container {
display: flex;
flex-direction: column;
width: 100%;
margin-left: unset;
- padding-top: .2rem;
+ padding-top: 0.2rem;
}
-
.donate {
display: flex;
width: 100%;
margin-left: unset;
- padding-top: .8rem;
+ padding-top: 0.8rem;
}
-
.donate a {
width: 100%;
text-align: center;
}
-
.donate a .heart {
font-size: 1.2rem;
color: #D1332E;
}
}
-
@media screen and (min-width: 900px) {
header {
- padding: .5rem 2rem;
+ padding: 0.5rem 2rem;
}
}
-
@media screen and (min-width: 1451px) {
header {
- padding: .5rem 5rem;
+ padding: 0.5rem 5rem;
}
}
Index: documentation/themes/beastie/assets/styles/main.css
===================================================================
--- documentation/themes/beastie/assets/styles/main.css
+++ documentation/themes/beastie/assets/styles/main.css
@@ -42,10 +42,3 @@
font-named-instance: 'Regular';
src: url("../fonts/inter/Inter-roman.var.woff2") format("woff2");
}
-
-@import "variables";
-@import "global";
-@import "header";
-@import "documentation";
-@import "footer";
-@import "rouge";
Index: documentation/themes/beastie/assets/styles/rouge.css
===================================================================
--- documentation/themes/beastie/assets/styles/rouge.css
+++ documentation/themes/beastie/assets/styles/rouge.css
@@ -1,84 +1,115 @@
-.highlight table td { padding: 5px; }
-.highlight table pre { margin: 0; }
+.highlight table td {
+ padding: 5px;
+}
+
+.highlight table pre {
+ margin: 0;
+}
+
.highlight, .highlight .w {
color: #f8f8f2;
background-color: #272822;
}
+
.highlight .err {
color: #272822;
background-color: #f92672;
}
+
.highlight .c {
color: #f8f8f2;
}
+
.highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
color: #75715e;
}
+
.highlight .cp {
color: #f4bf75;
}
+
.highlight .nt {
color: #f4bf75;
}
+
.highlight .o, .highlight .ow {
color: #f8f8f2;
}
+
.highlight .p, .highlight .pi {
color: #f8f8f2;
}
+
.highlight .gi {
color: #a6e22e;
}
+
.highlight .gd {
color: #f92672;
}
+
.highlight .gh {
color: #66d9ef;
background-color: #272822;
font-weight: bold;
}
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
color: #ae81ff;
}
+
.highlight .kc {
color: #fd971f;
}
+
.highlight .kt {
color: #fd971f;
}
+
.highlight .kd {
color: #fd971f;
}
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
color: #a6e22e;
}
+
.highlight .sa {
color: #ae81ff;
}
+
.highlight .sr {
color: #a1efe4;
}
+
.highlight .si {
color: #cc6633;
}
+
.highlight .se {
color: #cc6633;
}
+
.highlight .nn {
color: #f4bf75;
}
+
.highlight .nc {
color: #f4bf75;
}
+
.highlight .no {
color: #f4bf75;
}
+
.highlight .na {
color: #66d9ef;
}
+
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
color: #a6e22e;
}
+
.highlight .ss {
color: #a6e22e;
}
Index: documentation/themes/beastie/assets/styles/variables.css
===================================================================
--- documentation/themes/beastie/assets/styles/variables.css
+++ documentation/themes/beastie/assets/styles/variables.css
@@ -25,12 +25,10 @@
* SUCH DAMAGE.
*
*/
-
:root {
--max-width: 1450px;
--header-height: 4.5rem;
--documentation-padding: 0px 20px 20px 20px;
-
--size-300: 0.75rem;
--size-400: 1rem;
--size-500: 1.33rem;
@@ -58,7 +56,6 @@
--pre-background-color: #F4F4F4;
--pre-font-color: #444;
--copy-clipboard-tooltip-background-color: #43453B;
-
--admonition-font-color: #444;
--admonition-links-color: #0645AD;
--admonition-note-color: #19407C;
@@ -74,44 +71,43 @@
--example-block-color: #F1BB16;
--example-block-background-color: #FEF8E7;
--example-block-font-color: #444;
-
--footer-logo: "";
}
.theme-dark {
- --white: #FFF;
- --black: #000;
- --global-font-color: #EEEFF1;
- --header-background: #AB2B28;
- --header-font-color: #EEEFF1;
- --global-background-color: #333333;
- --card-background-color: #272727;
- --card-border-color: #272727;
- --table-header-background-color: #F1F3F1;
- --table-header-font-color: #444;
- --footer-background-color: #2B2B2B;
- --footer-border-color: #2B2B2B;
- --lines-color: #4d4d4d;
- --links-color: #BAD7FF;
- --pre-background-color: #272727;
- --pre-font-color: #EEEFF1;
- --copy-clipboard-tooltip-background-color: #43453B;
-
- --admonition-font-color: #444;
- --admonition-links-color: #1A79FF;
- --admonition-note-color: #19407C;
- --admonition-note-background-color: #EAF1FB;
- --admonition-warning-color: #BF6900;
- --admonition-warning-background-color: #FFF4E6;
- --admonition-important-color: #BF0000;
- --admonition-important-background-color: #FFE6E6;
- --admonition-caution-color: #BF3400;
- --admonition-caution-background-color: #FFECE6;
- --admonition-tip-color: #43B929;
- --admonition-tip-background-color: #EDFAEA;
- --example-block-color: #F1BB16;
- --example-block-background-color: #FEF8E7;
- --example-block-font-color: #272727;}
+ --white: #FFF;
+ --black: #000;
+ --global-font-color: #EEEFF1;
+ --header-background: #AB2B28;
+ --header-font-color: #EEEFF1;
+ --global-background-color: #333333;
+ --card-background-color: #272727;
+ --card-border-color: #272727;
+ --table-header-background-color: #F1F3F1;
+ --table-header-font-color: #444;
+ --footer-background-color: #2B2B2B;
+ --footer-border-color: #2B2B2B;
+ --lines-color: #4d4d4d;
+ --links-color: #BAD7FF;
+ --pre-background-color: #272727;
+ --pre-font-color: #EEEFF1;
+ --copy-clipboard-tooltip-background-color: #43453B;
+ --admonition-font-color: #444;
+ --admonition-links-color: #1A79FF;
+ --admonition-note-color: #19407C;
+ --admonition-note-background-color: #EAF1FB;
+ --admonition-warning-color: #BF6900;
+ --admonition-warning-background-color: #FFF4E6;
+ --admonition-important-color: #BF0000;
+ --admonition-important-background-color: #FFE6E6;
+ --admonition-caution-color: #BF3400;
+ --admonition-caution-background-color: #FFECE6;
+ --admonition-tip-color: #43B929;
+ --admonition-tip-background-color: #EDFAEA;
+ --example-block-color: #F1BB16;
+ --example-block-background-color: #FEF8E7;
+ --example-block-font-color: #272727;
+}
.theme-high-contrast {
--white: #FFF;
@@ -131,7 +127,6 @@
--pre-background-color: #FFF;
--pre-font-color: #000;
--copy-clipboard-tooltip-background-color: #43453B;
-
--admonition-font-color: #000;
--admonition-note-color: #19407C;
--admonition-links-color: #9F0E0F;
Index: documentation/themes/beastie/layouts/_partials/site-head.html
===================================================================
--- documentation/themes/beastie/layouts/_partials/site-head.html
+++ documentation/themes/beastie/layouts/_partials/site-head.html
@@ -14,7 +14,11 @@
{{ if $.Site.Params.isOnline }}
<link rel="shortcut icon" href="{{ absLangURL ($.Site.BaseURL) }}favicon.ico">
- {{- $styles := resources.Get "styles/main.scss" | css.Sass | resources.Minify }}
+ {{- $css := slice }}
+ {{- range slice "main" "variables" "global" "header" "documentation" "footer" "rouge" }}
+ {{- $css = $css | append (resources.Get (printf "styles/%s.css" .)) }}
+ {{- end }}
+ {{- $styles := $css | resources.Concat "styles/main.css" | resources.Minify }}
<link rel="stylesheet" href="{{ $styles.Permalink }}">
<link rel="stylesheet" href="{{ absLangURL ($.Site.BaseURL) }}css/font-awesome-min.css">
@@ -29,7 +33,11 @@
{{ else }}
<link rel="shortcut icon" href="/favicon.ico">
- {{- $styles := resources.Get "styles/main.scss" | css.Sass | resources.Minify }}
+ {{- $css := slice }}
+ {{- range slice "main" "variables" "global" "header" "documentation" "footer" "rouge" }}
+ {{- $css = $css | append (resources.Get (printf "styles/%s.css" .)) }}
+ {{- end }}
+ {{- $styles := $css | resources.Concat "styles/main.css" | resources.Minify }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
<link rel="stylesheet" href="/css/font-awesome-min.css">

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 7:43 PM (1 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41776123
Default Alt Text
D61595.1794858207.diff (64 KB)

Event Timeline