diff --git a/.gitignore b/.gitignore
index 8200231..38d7539 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/public
+.vscode
.direnv
result*
.pre-commit-config.yaml
diff --git a/content/_index.md b/content/_index.md
deleted file mode 100644
index 412e0b9..0000000
--- a/content/_index.md
+++ /dev/null
@@ -1,41 +0,0 @@
-+++
-title = "Build your own"
-
-# The homepage contents
-[extra]
-lead = '
Clan envisions a new model for a decentralized network, designed to provide families, smaller groups, and small businesses a private, secure, and user-friendly computing platform. '
-url = "docs"
-url_button = "Get Started"
-repo_version = "Clan v0.0.0-alpha"
-repo_license = "Open-source MIT License."
-repo_url = "https://git.clan.lol/clan/"
-
-# Menu items
-
-
-
-
-[[extra.menu.main]]
-name = "Documentation"
-section = "docs"
-url = "/docs"
-weight = 10
-
-[[extra.menu.main]]
-name = "Blog"
-section = "blog"
-url = "/blog"
-weight = 20
-
-[[extra.list]]
-title = "Easy to use"
-content = 'Clan provides a user-friendly interface that allows you to establish your own private network, complete with services.'
-
-[[extra.list]]
-title = "Open-source"
-content = 'All code for Clan is freely available and open-source.'
-
-[[extra.list]]
-title = "Decentralized"
-content = "The design of Clan enables the distribution of your applications/services across several machines. This increases the resilience of the network, ensuring continued operation even if some computers become unavailable."
-+++
diff --git a/content/authors/Lassulus.md b/content/authors/Lassulus.md
deleted file mode 100644
index fa15cf2..0000000
--- a/content/authors/Lassulus.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-title = "Lassulus"
-description = "Contributor to Clan."
-date = 2021-04-01T08:50:45+00:00
-updated = 2021-04-01T08:50:45+00:00
-draft = false
-+++
-
-Contributor to **clan**.
-
-[@lassulus](https://http://lassul.us/)
diff --git a/content/authors/Mic92.md b/content/authors/Mic92.md
deleted file mode 100644
index e401ee0..0000000
--- a/content/authors/Mic92.md
+++ /dev/null
@@ -1,11 +0,0 @@
-+++
-title = "Mic92"
-description = "Contributor to Clan."
-date = 2021-04-01T08:50:45+00:00
-updated = 2021-04-01T08:50:45+00:00
-draft = false
-+++
-
-Contributor to **clan**.
-
-[@thalheim](https://thalheim.io)
diff --git a/content/authors/Qubasa.md b/content/authors/Qubasa.md
deleted file mode 100644
index cfb2b39..0000000
--- a/content/authors/Qubasa.md
+++ /dev/null
@@ -1,7 +0,0 @@
-+++
-title = "Qubasa"
-description = "Contributor to Clan."
-+++
-
-Contributor to **clan**.
-[@Luis-Hebendanz](https://github.com/Luis-Hebendanz)
\ No newline at end of file
diff --git a/content/authors/W.md b/content/authors/W.md
deleted file mode 100644
index feebdd0..0000000
--- a/content/authors/W.md
+++ /dev/null
@@ -1,6 +0,0 @@
-+++
-title = "W"
-description = "Founder of Clan"
-+++
-
-Project founder and visionary of **clan**.
diff --git a/content/authors/_index.md b/content/authors/_index.md
deleted file mode 100644
index a2e223a..0000000
--- a/content/authors/_index.md
+++ /dev/null
@@ -1,20 +0,0 @@
-+++
-title = "Authors"
-description = "The authors of the blog articles."
-date = 2021-04-01T08:00:00+00:00
-updated = 2024-03-01T08:00:00+00:00
-draft = false
-
-# If add a new author page in this section, please add a new item,
-# and the format is as follows:
-#
-# "author-name-in-url" = "the-full-path-of-the-author-page"
-#
-# Note: We use quoted keys here.
-[extra.author_pages]
-"Mic92" = "authors/Mic92.md"
-"Qubasa" = "authors/Qubasa.md"
-"W" = "authors/W.md"
-+++
-
-The authors of the blog articles.
diff --git a/content/blog/2024-03-19-hello-world.md b/content/blog/2024-03-19-hello-world.md
deleted file mode 100644
index f2d8399..0000000
--- a/content/blog/2024-03-19-hello-world.md
+++ /dev/null
@@ -1,75 +0,0 @@
-+++
-title = "Introducing Clan: Full-Stack Computing Redefined"
-description = "Introducing Clan, a new model for a decentralized network, designed to provide families, smaller groups, and small businesses a platform that’s private, secure, and user-friendly."
-date = 2024-03-19T09:19:42+00:00
-updated = 2024-03-19T09:19:42+00:00
-draft = false
-template = "blog/page.html"
-
-[taxonomies]
-authors = ["W", "Qubasa"]
-
-+++
-
-In a digital age where users are guided increasingly toward submission and dependence, Clan reclaims computing and networking from the ground up.
-
-Clan enables users to build any system from a git repository, automate secret handling, and join devices in a secure darknet. This control extends beyond applications to communication protocols and the operating system itself, putting you fully in charge of your own digital environment.
-
-## Why We're Building Clan
-
-Our mission is simple: to restore fun, freedom, and functionality to computing as an open source project. We believe in building tools that empower users, foster innovation, and challenge the limitations imposed by outdated paradigms. Clan, in its essence, is an open source endeavor; it's our contribution to a future where technology serves humanity, not the other way around.
-
-## How Clan Changes the Game
-Clan embodies a new philosophy in system, application, and network design. It enables seamless, secure communication across devices, simplifies software distribution and updates, and offers both public and private network configurations. Here are some of the ways it accomplishes this:
-
-- **Nix as a Foundation:** Imagine a safety net for your computer's operating system, one that lets you make changes or updates without the fear of causing a crash or losing data. Nix simplifies the complexities of system design, ensuring that updates are safe and systems are more reliable.
-
-- **Simplified System Deployment:** Building and managing a computer system, from the operating system to the software you use, often feels like putting together a complex puzzle. With Clan, the puzzle pieces are replaced by a set of building blocks. Leveraging the power of Nix and Clan's innovative toolkit, anyone from tech-savvy administrators to everyday users can create and maintain what we call "full-stack systems" (everything your computer needs to run smoothly).
-
-- **A Leap in Connectivity:** Imagine if you could create private, secure pathways between your devices, bypassing the noisy and often insecure internet. Clan makes this possible through something called "overlay networks." These networks are like private tunnels, allowing your devices to talk to each other securely and directly. With Clan's built-in overlay networks and automatically configured services, connecting your devices becomes seamless, secure, and hassle-free.
-
-- **Security Through Separation:** Clan employs sandboxing and virtual machines, a technology that runs code in isolated environments - so even if you explore new Clans, your system remains protected from potential threats.
-
-- **Reliable:** With Clan, your data and services are preserved for the long haul. We focus on self-hosted backups and integration with the [Fediverse](https://de.wikipedia.org/wiki/Fediverse), a network of interconnected, independent online communities, so your digital life remains uninterrupted and under your control.
-
-
-## A Glimpse at Clan's Features
-
-- **Social Scaling:** Choose between creating a private sanctuary for your closest contacts, a dynamic space for a self-contained community, or embracing the open web with public Clans anyone can join.
-
-{{ video(name="show_join.webm")}}
-
-- **Seamless VM Integration:** Applications running in virtual machines can appear and behave as if they're part of your main operating system — a blend of power and simplicity.
-
-{{ video(name="show_run.webm")}}
-
-- **Robust Backup Management:** Keep your data safe _forever_ - never worry about cloud services disappearing in 10 years.
-
-{{ asciinema(name="backups.cast") }}
-
-- **Intuitive Secret Management:** Clan simplifies digital security by automating the creation and management of encryption keys and passwords for your services.
-
-{{ asciinema(name="secrets.cast") }}
-
-- **Remote Install:** Set up and manage Clan systems anywhere in the world with just a QR scan or SSH access, making remote installations as easy as snapping a photo or sharing a link.
-
-{{ asciinema(name="nixos-install.cast") }}
-
-
-## Who Stands to Benefit?
-
-Clan is for anyone and everyone who believes in the power of open source technology to connect, empower, and protect. From system administrators to less tech-savvy individuals, small business owners to privacy-conscious users, Clan offers something for everyone — a way to reclaim control and redefine how we interact with technology.
-
-## Join the Revolution
-
-Ready to control your digital world? Clan is more than a tool—it's a movement. Secure your data, manage your systems easily, or connect with others how you like. Start with Clan for a better digital future.
-
-Connect with us on our [Matrix channel at clan.lol](https://matrix.to/#/#clan:lassul.us) or through our IRC bridges (coming soon).
-
-Want to see the code? Check it out [on our Gitea](https://git.clan.lol/clan/clan-core) or [on GitHub](https://github.com/clan-lol/clan-core).
-
-Or follow our RSS feed by clicking in the top right corner!
-
-Join us and be part of changing technology for the better, together.
-
-
diff --git a/content/blog/2024-04-16-new-docs.md b/content/blog/2024-04-16-new-docs.md
deleted file mode 100644
index f767e35..0000000
--- a/content/blog/2024-04-16-new-docs.md
+++ /dev/null
@@ -1,15 +0,0 @@
-+++
-title = "New documentation site and weekly new meetup"
-date = 2024-04-16T14:36:16+02:00
-draft = false
-template = "blog/page.html"
-
-[taxonomies]
-authors = ["Lassulus", "Mic92"]
-+++
-
-Last week, we added a new documentation hub for clan at [docs.clan.lol](https://docs.clan.lol).
-We are still working on improving the installation procedures, so stay tuned.
-We now have weekly office hours where people are invited to hangout and ask questions.
-They are every Wednesday 15:30 UTC (17:30 CEST) in our [jitsi](https://jitsi.lassul.us/clan.lol).
-Otherwise drop by in our [matrix channel](https://matrix.to/#/#clan:lassul.us).
diff --git a/content/blog/_index.md b/content/blog/_index.md
deleted file mode 100644
index 95ecd8e..0000000
--- a/content/blog/_index.md
+++ /dev/null
@@ -1,7 +0,0 @@
-+++
-title = "Blog"
-description = "Blog"
-sort_by = "date"
-paginate_by = 2
-template = "blog/section.html"
-+++
diff --git a/content/docs/_index.md b/content/docs/_index.md
deleted file mode 100644
index 2748843..0000000
--- a/content/docs/_index.md
+++ /dev/null
@@ -1,9 +0,0 @@
-+++
-title = "Documentation"
-description = "Clan Documentation"
-date = 2025-05-01T08:00:00+00:00
-updated = 2021-05-01T08:00:00+00:00
-sort_by = "weight"
-weight = 1
-template = "docs/section.html"
-+++
diff --git a/content/privacy-policy/_index.md b/content/privacy-policy/_index.md
deleted file mode 100644
index 8b92dcc..0000000
--- a/content/privacy-policy/_index.md
+++ /dev/null
@@ -1,25 +0,0 @@
-+++
-title = "Privacy Policy"
-description = "We do not use cookies and we do not collect any personal data."
-date = 2021-05-01T08:00:00+00:00
-updated = 2020-05-01T08:00:00+00:00
-draft = false
-
-[extra]
-class = "page single"
-+++
-
-__TL;DR__: We do not use cookies and we do not collect any personal data.
-
-## Website visitors
-
-- No personal information is collected.
-- No information is stored in the browser.
-- No information is shared with, sent to or sold to third-parties.
-- No information is shared with advertising companies.
-- No information is mined and harvested for personal and behavioral trends.
-- No information is monetized.
-
-## Contact us
-
-[Contact us on Matrix](https://matrix.to/#/#clan:lassul.us) if you have any questions.
diff --git a/flake-parts/devShells/default.nix b/flake-parts/devShells/default.nix
index d777430..7d081da 100644
--- a/flake-parts/devShells/default.nix
+++ b/flake-parts/devShells/default.nix
@@ -8,9 +8,10 @@
}: {
devShells.default = pkgs.mkShell {
packages = [
- pkgs.bashInteractive
- pkgs.zola
];
+ shellHook = ''
+ ln -snf "$PWD"/static "$PWD"/website/static
+ '';
};
};
}
diff --git a/flake-parts/website.nix b/flake-parts/website.nix
index 6a510fb..493472f 100644
--- a/flake-parts/website.nix
+++ b/flake-parts/website.nix
@@ -11,7 +11,7 @@
let
build =
baseUrl:
- pkgs.runCommand "website" { buildInputs = [ pkgs.zola ]; } ''
+ pkgs.runCommand "website" { buildInputs = [ ]; } ''
mkdir -p $out
cp -r ${self}/* .
chmod -R u+w .
@@ -20,24 +20,8 @@
'base_url = "https://clan.lol"' \
'base_url = "${baseUrl}"' \
- # generates a zola compatible .md from a clan-core/docs/**/*.md
- generatePage() {
- local sourceFile="$1"
- local targetFile="$2"
-
- # generate title by reading first non-empty line of $file and stripping all '#' symbols
- title=$(sed -n '/./{p;q}' "$sourceFile" | sed 's/#*//g')
- echo "generating page from clan-core: $title"
-
- # generate header with title, template, weight to make zola happy
- echo -e "+++\ntitle = \"$title\"\ntemplate = \"docs/page.html\"\nweight = 0\n+++" > "$targetFile"
-
- # append everything from the file but remove header line starting with '#' and all preceding non-empty lines
- tail -n +2 "$sourceFile" >> "$targetFile"
- }
-
- zola build
- cp -r public/* public/.* $out
+ cp -r website/* website/.* $out
+ cp -r static/* static/.* $out
'';
in
{
diff --git a/static/logo/128x128.png b/static/logo/128x128.png
new file mode 100644
index 0000000..45361f1
Binary files /dev/null and b/static/logo/128x128.png differ
diff --git a/templates/.gitkeep b/templates/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/templates/macros/head.html b/templates/macros/head.html
deleted file mode 100644
index 4866219..0000000
--- a/templates/macros/head.html
+++ /dev/null
@@ -1,262 +0,0 @@
-{% macro resource() %}
-
-
-{% endmacro %}
-
-
-{% macro stylesheet() %}
-
-{% endmacro %}
-
-
-{% macro favicons() %}
-
-
-
-
- {% if not config.extra.is_netlify %}
-
- {% endif %}
-{% endmacro %}
-
-
-{# type: website or article, generally setting article for blog articles #}
-{# page_images: using for the blog single template page #}
-{# page_section: the blog single template page have to pass the parameter #}
-{# is_404: using for the 404.html template #}
-{% macro seo(
- title="",
- title_addition="",
- description="",
- type="website",
- is_home=false,
- is_404=false,
- is_page=false,
- page_images="",
- page_section="",
- created_time="2021-05-01T08:08:00+08:00",
- updated_time="2021-05-01T08:08:08+08:00"
- )
-%}
-
-{% if is_404 %}
-
-{% else %}
-
-
-
-{% endif %}
-{% if current_url %}
- {% set page_url = current_url %}
-{% else %}
- {% set page_url = get_url(path="404.html") %}
-{% endif %}
-{% if current_path %}
- {% set page_path = current_path %}
-{% else %}
- {% set page_path = "/404.html" %}
-{% endif %}
-
Test
- - -``` - -#### Code block indented with four spaces - - - - - -Test
- - - -## List Types - -#### Ordered List - -1. First item -2. Second item -3. Third item - -#### Unordered List - -- List item -- Another item -- And another item - -#### Nested list - -- Fruit - - Apple - - Orange - - Banana -- Dairy - - Milk - - Cheese - -## Other Elements — abbr, sub, sup, kbd, mark - -GIF is a bitmap image format. - -H2O - -Xn + Yn = Zn - -Press CTRL+ALT+Delete to end the -session. - -Most salamanders are nocturnal, and hunt for insects, worms, and -other small creatures. - ---- - -[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) -during Gopherfest, November 18, 2015. - -[^2]: The quote is the first sentence of Aristotle's [Metaphysics](http://classics.mit.edu/Aristotle/metaphysics.html). \ No newline at end of file diff --git a/themes/adidoks/content/blog/math-typesetting.md b/themes/adidoks/content/blog/math-typesetting.md deleted file mode 100644 index 99eaca8..0000000 --- a/themes/adidoks/content/blog/math-typesetting.md +++ /dev/null @@ -1,48 +0,0 @@ -+++ -title = "Math Typesetting" -description = "Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." -date = 2021-04-08T09:19:42+00:00 -updated = 2021-04-08T09:19:42+00:00 -draft = false -template = "blog/page.html" - -[taxonomies] -authors = ["Public"] - -[extra] -lead = "Mathematical notation in a project can be enabled by using third party JavaScript libraries." -math = true -+++ - - -In this example we will be using [KaTeX](https://katex.org/) - -- Create a macro under `/template/macros/math.html` with a macro named `math`. -- Within this macro reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. -- Import the macro in your templates like so: - -```bash -{% import 'macros/math.html' as macros %} -{% if page.extra.math or section.extra.math or config.extra.math %} -{{ macros::math() }} -{% endif %} -``` - -- To enable KaTex globally set the parameter `extra.math` to `true` in a project's configuration -- To enable KaTex on a per page basis include the parameter `extra.math = true` in content files - -**Note:** - -1. The MathJax library is the other optional choice, and you can set the parameter `extra.library` to `mathjax` in a project's configuration -2. Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) - -### Examples - --Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) -
- -Block math: -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/adidoks/content/blog/placeholder-text.md b/themes/adidoks/content/blog/placeholder-text.md deleted file mode 100644 index 750d5ab..0000000 --- a/themes/adidoks/content/blog/placeholder-text.md +++ /dev/null @@ -1,62 +0,0 @@ -+++ -title = "Placeholder Text" -description = "Lorem Ipsum Dolor Si Amet" -date = 2021-04-10T09:19:42+00:00 -updated = 2021-04-10T09:19:42+00:00 -draft = false -template = "blog/page.html" - -[taxonomies] -authors = ["Public"] - -+++ - -Lorem est tota propiore conpellat pectoribus de pectora summo. Redit -teque digerit hominumque toris verebor lumina non cervice subde tollit usus -habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus -inhospita parcite confusaque translucet patri vestro qui optatis lumine -cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. - -1. Exierant elisi ambit vivere dedere -2. Duce pollice -3. Eris modo -4. Spargitque ferrea quos palude - -Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus -silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. - -1. Comas hunc haec pietate fetum procerum dixit -2. Post torum vates letum Tiresia -3. Flumen querellas -4. Arcanaque montibus omnes -5. Quidem et - -# Vagus elidunt - - - -[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) - -## Mane refeci capiebant unda mulcebat - -Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit -colit est profanae esse virescere furit nec; iaculi matertera et visa est, -viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. -**Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, -sidus sequendo urbis. - -Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli -Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare -Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert -ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae -vulnus haerentia iuste et exercebat, sui et. - -Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit -sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis -corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti -flumina mortis facto sic: undique a alios vincula sunt iactata abdita! -Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. - - diff --git a/themes/adidoks/content/blog/say-hello-to-zola-doks.md b/themes/adidoks/content/blog/say-hello-to-zola-doks.md deleted file mode 100644 index 5599f4a..0000000 --- a/themes/adidoks/content/blog/say-hello-to-zola-doks.md +++ /dev/null @@ -1,15 +0,0 @@ -+++ -title = "Say hello to AdiDoks 👋" -description = "Introducing AdiDoks, a Zola theme helping you build modern documentation websites, which is a port of the Hugo theme Doks for Zola." -date = 2021-04-03T07:00:00+00:00 -updated = 2021-04-03T07:00:00+00:00 -template = "blog/page.html" -draft = false - -[taxonomies] -authors = ["Aaran Xu"] - -[extra] -lead = 'Introducing AdiDoks, a Zola theme helping you build modern documentation websites, which is a port of the Hugo theme Doks for Zola.' -images = [] -+++ diff --git a/themes/adidoks/content/docs/_index.md b/themes/adidoks/content/docs/_index.md deleted file mode 100644 index d715a6c..0000000 --- a/themes/adidoks/content/docs/_index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -title = "Docs" -description = "The documents of the AdiDoks theme." -date = 2025-05-01T08:00:00+00:00 -updated = 2021-05-01T08:00:00+00:00 -sort_by = "weight" -weight = 1 -template = "docs/section.html" -+++ diff --git a/themes/adidoks/content/docs/contributing/_index.md b/themes/adidoks/content/docs/contributing/_index.md deleted file mode 100644 index 2c6b355..0000000 --- a/themes/adidoks/content/docs/contributing/_index.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "Contributing" -description = "Find out how to contribute to AdiDoks." -date = 2025-05-01T18:00:00+00:00 -updated = 2021-05-01T18:00:00+00:00 -template = "docs/section.html" -sort_by = "weight" -weight = 4 -draft = false -+++ diff --git a/themes/adidoks/content/docs/contributing/code-of-conduct.md b/themes/adidoks/content/docs/contributing/code-of-conduct.md deleted file mode 100644 index f212db1..0000000 --- a/themes/adidoks/content/docs/contributing/code-of-conduct.md +++ /dev/null @@ -1,146 +0,0 @@ -+++ -title = "Code of Conduct" -description = "Contributor Covenant Code of Conduct." -date = 2021-05-01T18:20:00+00:00 -updated = 2021-05-01T18:20:00+00:00 -draft = false -weight = 420 -sort_by = "weight" -template = "docs/page.html" - -[extra] -lead = "Contributor Covenant Code of Conduct." -toc = true -top = false -+++ - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, -nationality, personal appearance, race, caste, color, religion, or sexual identity -and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, -diverse, inclusive, and healthy community. - -## Our Standards - -Examples of behavior that contributes to a positive environment for our -community include: - -* Demonstrating empathy and kindness toward other people -* Being respectful of differing opinions, viewpoints, and experiences -* Giving and gracefully accepting constructive feedback -* Accepting responsibility and apologizing to those affected by our mistakes, - and learning from the experience -* Focusing on what is best not just for us as individuals, but for the - overall community - -Examples of unacceptable behavior include: - -* The use of sexualized language or imagery, and sexual attention or - advances of any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email - address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of -acceptable behavior and will take appropriate and fair corrective action in -response to any behavior that they deem inappropriate, threatening, offensive, -or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, and will communicate reasons for moderation -decisions when appropriate. - -## Scope - -This Code of Conduct applies within all community spaces, and also applies when -an individual is officially representing the community in public spaces. -Examples of representing our community include using an official e-mail address, -posting via an official social media account, or acting as an appointed -representative at an online or offline event. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the community leaders responsible for enforcement at -
-
-
-
-
- Sleek, intuitive, and powerful front-end framework for faster and easier web development.
-
- Explore Bootstrap docs »
-
-
- Report bug
- ·
- Request feature
- ·
- Themes
- ·
- Blog
-
`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Duplicate behavior to the data-bs-* attribute for our tooltip plugin\n// 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 3. Add explicit cursor to indicate changed behavior.\n// 4. Prevent the text-decoration to be skipped.\n\nabbr[title],\nabbr[data-bs-original-title] { // 1\n text-decoration: underline dotted; // 2\n cursor: help; // 3\n text-decoration-skip-ink: none; // 4\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n background-color: $mark-bg;\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: $link-color;\n text-decoration: $link-decoration;\n\n &:hover {\n color: $link-hover-color;\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n direction: ltr #{\"/* rtl:ignore */\"};\n unicode-bidi: bidi-override;\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: $code-color;\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `