Skip to content

Commit

Permalink
added SHA-512 button styles for installation page
Browse files Browse the repository at this point in the history
- added css for SHA-512 button on installation page. See commented example line duckdb#138
  • Loading branch information
Franz-Kafka committed Mar 5, 2024
1 parent 5b373b5 commit 164e4c2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions _includes/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ <h3>Usage example</h3>

<div class="stable cplusplus binary macos direct">
<a href="https://github.com/duckdb/duckdb/releases/download/v{{ site.currentduckdbversion }}/libduckdb-osx-universal.zip" target="_blank">https://github.com/duckdb/duckdb/releases/download/v{{ site.currentduckdbversion }}/libduckdb-osx-universal.zip</a>
<!--<a href="https://blobs.duckdb.org/releases/v{{ site.currentduckdbversion }}/hashes.sha512" class="sha512" target="_blank">SHA-512</a>-->
</div>

<div class="stable cplusplus binary linux x86_64 direct">
Expand Down
3 changes: 1 addition & 2 deletions css/docu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ body.documentation{
}
}
.headlinebar a,
main .wrap a{
.wrap a{
color: black;
background-color: transparent;
text-decoration: underline;
transition: color .3s;
&:hover{
Expand Down
16 changes: 16 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -955,11 +955,27 @@ body.installation{
word-wrap: break-word;
word-break: break-word;
}
a.externallink{
line-height: 1.6;
}
}
}
.possibleresults{
display: none;
}
.wrap a.sha512{
border-radius: 50px;
background-color: $black300;
border: 1px solid $black400;
text-decoration: none;
padding: 0px 7px;
transition: background-color .3s, border-color 3s;
&:hover{
color: black;
background-color: darken($black300, 4%);
border: 1px solid darken($black400, 4%);
}
}
}


Expand Down

0 comments on commit 164e4c2

Please sign in to comment.