Skip to content

Commit

Permalink
Merge pull request #42 from Abdenasser/fix-github-pages-light-mode
Browse files Browse the repository at this point in the history
fixed landing page download buttons styles for light mode
  • Loading branch information
Abdenasser authored Nov 7, 2024
2 parents 29651e2 + 3d2b63f commit 0e69e1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h3 class="platform-title">macOS</h3>
<h3 class="platform-title">Windows</h3>
<div class="platform-options">
<a href="" class="download-button windows" data-type="windows" data-version="latest">
<span class="icon">🪟</span>
<span class="icon">🫣</span>
<div class="button-text">
<span class="primary">Windows</span>
<span class="secondary">Windows 10 or later</span>
Expand Down
19 changes: 8 additions & 11 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1147,14 +1147,11 @@ footer {
}

.download-button.linux {
background: var(--primary-color);
flex-direction: column;
align-items: flex-start;
padding: 1rem 1.5rem;
background: #E95420;
}

.download-button.linux:hover {
background: var(--secondary-color);
background: #C7431B;
}

.download-options-group {
Expand Down Expand Up @@ -1267,23 +1264,23 @@ footer {
}

.download-button {
background: var(--card-background);
color: var(--text-primary);
background: var(--primary-color);
color: white;
padding: 1rem 1.5rem;
border-radius: 12px;
text-decoration: none;
display: flex;
align-items: center;
gap: 1rem;
transition: all 0.2s;
border: 1px solid rgba(255, 255, 255, 0.1);
border: 1px solid transparent;
min-width: 250px;
}

.download-button:hover {
transform: translateY(-2px);
border-color: var(--primary-color);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
background: var(--secondary-color);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.download-button .icon {
Expand All @@ -1304,7 +1301,7 @@ footer {

.button-text .secondary {
font-size: 0.85rem;
opacity: 0.8;
opacity: 0.9;
}

.linux-options {
Expand Down

0 comments on commit 0e69e1d

Please sign in to comment.