Skip to content

Commit

Permalink
Merge branch 'main' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Sep 1, 2024
2 parents 23e0344 + 2470469 commit 0c40fe7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/hooks/md_image_sizing.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _add_attr_handler(match: re.Match[str]) -> str:
width = str(int(width) * multi)
height = str(int(height) * multi)
res = match.group(0) + string.Template(
'{ style="width:${width}px; height:${height}px;" }'
'{ style="max-width:${width}px; max-height:${height}px; width: 100%;" }'
).substitute(width=width, height=height)
return res

Expand Down
8 changes: 0 additions & 8 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ A quick list of stuff you might be interested in checking out:

- [:material-harddisk: **Installing Bazzite**](General/Installation_Guide/index.md){ style="font-size: 1.1rem" }

***

From [desktop/laptops][install_pc_laptop], <br>Framework [13][frame_13]/[16][frame_16], to a multitude of handhelds:

- [Steam Deck (and OLED)][install_handheld]
Expand All @@ -25,8 +23,6 @@ A quick list of stuff you might be interested in checking out:

- [:material-download-circle: **Install software**][installing_software]{ style="font-size: 1.1rem" }

***

<small>Order reflects the recommendation degree</small>

1. [Flatpak][flatpak] for graphical apps
Expand All @@ -44,8 +40,6 @@ A quick list of stuff you might be interested in checking out:

- [:fontawesome-brands-windows: **Run Windows games**][run_win_game]{ style="font-size: 1.1rem" }

***

Bazzite comes bundled with :fontawesome-brands-steam: Steam\* and [Lutris](Gaming/Game_Launchers.md#lutris-setup).

As well, compatible with other tools:
Expand All @@ -58,8 +52,6 @@ A quick list of stuff you might be interested in checking out:

- [:fontawesome-solid-handshake: **Contribute to the project**][contrib]{ style="font-size: 1.1rem" }

***

One of the strengths of Bazzite (inherited from [Universal Blue](https://universal-blue.org/)) is how easy is to contribute.

- Something seems broken? You might want to [report a bug](General/reporting_bugs.md).
Expand Down
39 changes: 29 additions & 10 deletions docs/src/stylesheets/bazzite.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
@import url(https://fonts.googleapis.com/css?family=DM+Sans);
@import url(https://fonts.googleapis.com/css?family=Fira+Code);

body {
--md-text-font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--md-code-font-family: "Fira Code";
}

.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
font-variant-ligatures: normal;
}

.md-header--shadow,
Expand Down Expand Up @@ -41,11 +49,6 @@ body {
padding: 30px;
box-shadow: none!important;
}
.md-typeset .grid.cards > ol > li > hr,
.md-typeset .grid.cards > ul > li > hr,
.md-typeset .grid > .card > hr {
border: none!important;
}

.md-typeset blockquote {
background-color: #fff;
Expand All @@ -56,6 +59,20 @@ body {
padding: 10px;
}

[data-md-component="search"].md-search {
--md-accent-fg-color: #a47bea;
}

header > nav > div.md-search {
& form{
border-radius: 99999px;
}

.md-search__output {
border-radius: 0 0 20px 20px;
}
}

@media screen and (max-width: 59.9844em) {
.md-nav__source {
padding: 10px .2rem;
Expand All @@ -67,11 +84,13 @@ body {
backdrop-filter: none;
}

h1,
h2,
h3,
h4 {
text-align: center;
[data-md-component="content"].md-content {
h1,
h2,
h3,
h4 {
text-align: center;
}
}
}

Expand Down

0 comments on commit 0c40fe7

Please sign in to comment.