Larger github button and changed project button text
This commit is contained in:
parent
a28535008f
commit
e77878731b
2 changed files with 12 additions and 6 deletions
|
@ -9,6 +9,7 @@
|
|||
.card-img-xs {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.sub-title {
|
||||
color: get-light-color('muted-text-color');
|
||||
margin-top: 0.4rem;
|
||||
|
@ -17,6 +18,7 @@
|
|||
&:nth-child(1) {
|
||||
float: left;
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
float: right;
|
||||
}
|
||||
|
@ -35,6 +37,7 @@
|
|||
|
||||
.project-card-footer {
|
||||
display: flex;
|
||||
|
||||
.badge {
|
||||
margin-left: 0.1em;
|
||||
margin-right: 0.1em;
|
||||
|
@ -54,6 +57,7 @@
|
|||
span {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,9 +69,11 @@
|
|||
.container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.filtr-projects {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.filtr-item {
|
||||
flex: 50%;
|
||||
padding-left: 0.2rem;
|
||||
|
@ -80,6 +86,7 @@
|
|||
.btn {
|
||||
margin-top: 0.3125rem;
|
||||
}
|
||||
|
||||
.filtr-item {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
@ -91,10 +98,11 @@ html[data-theme='dark'] {
|
|||
.card {
|
||||
.card-header {
|
||||
background-color: get-dark-color('bg-card');
|
||||
|
||||
.sub-title {
|
||||
color: get-dark-color('muted-text-color');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
>
|
||||
<div class="card mt-1">
|
||||
<div class="card">
|
||||
<a href="{{ if .repo }}{{ .repo }}{{ else if .url }}{{ .url }}{{ else }}javascript:void(0){{ end }}" {{ if or .repo .url }}target="_blank" rel="noopener"{{ end }}>
|
||||
<a href="{{ if .url }}{{ .url }}{{ else if .repo }}{{ .repo }}{{ else }}javascript:void(0){{ end }}" {{ if or .repo .url }}target="_blank" rel="noopener"{{ end }}>
|
||||
{{ if .image }}
|
||||
<div class="card-head">
|
||||
{{ $imageImage:= resources.Get .image}}
|
||||
|
@ -69,9 +69,7 @@
|
|||
class="github-button project-btn d-none"
|
||||
href="{{ .repo }}"
|
||||
data-icon="octicon-standard"
|
||||
data-show-count="true"
|
||||
aria-label="Star {{ .name }}"
|
||||
>{{ i18n "project_star" }}</a
|
||||
data-size="large"
|
||||
>
|
||||
{{ end }}
|
||||
{{ if .url }}
|
||||
|
@ -80,7 +78,7 @@
|
|||
class="btn btn-outline-info btn-sm"
|
||||
href="{{ .url }}"
|
||||
target="#"
|
||||
>{{ i18n "project_details" }}</a
|
||||
>Read More</a
|
||||
>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue