mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
rename downloadButton to button.
Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
@@ -151,7 +151,7 @@ a:hover {
|
||||
}
|
||||
|
||||
/* URI: /:user/:repo */
|
||||
.downloadButton {
|
||||
.button {
|
||||
background-color: var(--background);
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
@@ -162,7 +162,7 @@ a:hover {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.downloadButton:hover {
|
||||
.button:hover {
|
||||
background-color: var(--accent);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@
|
||||
{{ if .repo }}
|
||||
{{ range $key, $value := .repo}}
|
||||
<div class="buttonParent">
|
||||
<a href="/download/{{.Fullname}}/{{.DefaultBranch}}" class="downloadButton">Download (zip)</a>
|
||||
<a href="https://github.com/{{.Fullname}}" class="downloadButton">View on GitHub</a>
|
||||
<a href="/download/{{.Fullname}}/{{.DefaultBranch}}" class="button">Download (zip)</a>
|
||||
<a href="https://github.com/{{.Fullname}}" class="button">View on GitHub</a>
|
||||
</div>
|
||||
|
||||
<div class="userProfile">
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
{{ if .user }}
|
||||
{{ range $key, $value := .user}}
|
||||
<div class="buttonParent">
|
||||
<a href="https://github.com/{{.Login}}" class="downloadButton">View on GitHub</a>
|
||||
<a href="https://github.com/{{.Login}}" class="button">View on GitHub</a>
|
||||
</div>
|
||||
<div class="userProfile">
|
||||
<img src="{{ .AvatarUrl }}" alt="{{.Login}}'s avatar" class="avatar" width="150" height="150">
|
||||
|
||||
Reference in New Issue
Block a user