Skip to content

Commit eb70a2c

Browse files
committed
Fix header
1 parent 51e55f2 commit eb70a2c

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/pub/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const index = ({ activeGroups, cacheDuration, maxReq, maxReqWindow, version }: {
2828
<h1>ReTLEctor</h1>
2929
<p>Celestrak TLE caching proxy - v{version}</p>
3030
</div>
31-
<a class="header-gh" href="https://github.com/MrTalon63/ReTLEctor" target="_blank">
31+
<a class="header-gh btn" href="https://github.com/MrTalon63/ReTLEctor" target="_blank">
3232
GitHub repository
3333
</a>
3434
</div>

src/pub/styles.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,24 @@ header {
3838
justify-content: space-between;
3939
gap: 16px;
4040
max-width: 900px;
41+
width: 100%;
42+
margin: 0 auto;
4143
}
4244

4345
.header-gh {
4446
color: #fff;
45-
border: 1px solid rgba(255,255,255,.4);
47+
border: 1px solid rgba(255, 255, 255, 0.4);
4648
border-radius: var(--radius);
4749
padding: 6px 14px;
48-
font-size: .88rem;
50+
font-size: 0.88rem;
4951
font-weight: 600;
5052
text-decoration: none !important;
5153
white-space: nowrap;
52-
transition: background .15s;
54+
transition: background 0.15s;
55+
margin-left: auto;
5356
}
5457
.header-gh:hover {
55-
background: rgba(255,255,255,.15);
58+
background: rgba(255, 255, 255, 0.15);
5659
text-decoration: none;
5760
}
5861

0 commit comments

Comments
 (0)