Skip to content

Commit

Permalink
css fixes, promo images
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute committed Dec 28, 2023
1 parent 01b1d8e commit f56b9fa
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div align="center">
<a href="https://github.com/KatsuteDev/GitHub-Center#readme">
<img src="https://raw.githubusercontent.com/KatsuteDev/GitHub-Center/main/assets/icon.png#gh-light-mode-only" width=100>
<img src="https://raw.githubusercontent.com/KatsuteDev/GitHub-Center/main/assets/icon-alt.png#gh-dark-mode-only" width=100>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/KatsuteDev/GitHub-Center/main/assets/icon-alt.png">
<img src="https://raw.githubusercontent.com/KatsuteDev/GitHub-Center/main/assets/icon.png" width=100>
</picture>
</a>
<h3>GitHub Center</h3>
<p>Center GitHub navigation on large viewports.</p>
Expand Down Expand Up @@ -30,7 +32,7 @@
<a href="https://chrome.google.com/webstore/detail/github-center/"><img alt="Opera" width="48" valign="middle" src="https://raw.githubusercontent.com/KatsuteDev/GitHub-Center/main/assets/opera.svg"></a>
<a href="https://chrome.google.com/webstore/detail/github-center/"><img alt="Chrome Web Store" valign="middle" src="https://img.shields.io/chrome-web-store/v/github-center?label=%20&style=flat-square&color=4285F4"></a>

#### Firefox*
#### Firefox

<sup><i>requires Firefox 121 or higher</i></sup>

Expand Down
Binary file added assets/promo-marquee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/promo-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
/* Copyright (C) 2023 Katsute <https://github.com/Katsute> */

.AppHeader > div, #repository-container-header,
body:not(.project-page):not(.full-width) #repo-content-turbo-frame > div:not(:has(> react-app[app-name="react-code-view"])) {
body:not(.project-page, .full-width) #repo-content-turbo-frame > div:not(:has(> react-app[app-name="react-code-view"])) {

width: 100%;
max-width: 1280px;
margin-left: auto;
margin-right: auto;

}

#repository-container-header > .container-xl,
#repo-content-turbo-frame .container-xl {

padding-left: 16px !important;
padding-right: 16px !important;

}

#repository-container-header > .container-xl > .border-bottom {

margin: 0 !important;

}

0 comments on commit f56b9fa

Please sign in to comment.