Skip to content

Commit 8eaf4f8

Browse files
fix; post-cards
1 parent acf04bd commit 8eaf4f8

File tree

63 files changed

+3302
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3302
-152
lines changed

assets/styles/components/cards.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.card {
2+
border-radius: 10px;
23
box-shadow: none;
34
@include transition();
45
overflow: hidden;
@@ -7,22 +8,25 @@
78
&:hover,
89
&:focus {
910
box-shadow: $box-shadow;
10-
border: 1px solid get-light-color('bg-primary');
11+
border: 3px solid get-light-color('bg-primary');
1112
@include transition();
1213
}
1314

1415
.card-head {
15-
height: 172px;
16+
height: 180px;
1617
display: flex;
18+
align-items: center;
1719
overflow: hidden;
20+
background-color: black;
1821
}
1922

2023
.card-body {
21-
text-align: justify;
24+
text-align: center;
2225
}
2326

2427
.card-img-top {
2528
object-fit: cover;
29+
min-height: 150px;
2630
@include transition();
2731
}
2832

@@ -60,7 +64,7 @@
6064
&:hover,
6165
&:focus {
6266
.card-img-top {
63-
transform: scale(1.2);
67+
transform: scale(1.1);
6468
object-fit: cover;
6569
@include transition();
6670
}
@@ -74,7 +78,7 @@
7478
overflow: hidden;
7579
text-overflow: ellipsis;
7680
display: -webkit-box;
77-
max-height: 144px;
81+
max-height: 100px;
7882
/* fallback */
7983
-webkit-line-clamp: 5;
8084
/* number of lines to show */
@@ -87,7 +91,7 @@
8791
span {
8892
font-size: 10pt;
8993
color: get-light-color('muted-text-color') !important;
90-
padding-top: 5px;
94+
padding-top: 4px;
9195
}
9296
}
9397
}

assets/styles/layouts/list.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ body.kind-page {
153153

154154
@include media('>=very-large', '<extra-large') {
155155
.post-card {
156-
width: calc(100% / 4);
156+
width: calc(100% / 3);
157157
}
158158
.post-card-holder {
159159
margin-left: 0px;
@@ -162,7 +162,7 @@ body.kind-page {
162162

163163
@include media('>=extra-large') {
164164
.post-card {
165-
width: calc(100% / 5);
165+
width: calc(100% / 4);
166166
}
167167
.content-section {
168168
padding-left: 1rem;

content/notes/physics/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menu:
44
notes:
55
name: Physics
66
identifier: notes-physics
7-
weight: 10
7+
weight: 1
88
---
99

1010
# Physics Notes

content/notes/physics/electromagnetism/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Electromagnetism
3-
weight: 10
3+
weight: 1
44
menu:
55
notes:
66
name: Electromagnetism
77
identifier: notes-physics-em
88
parent: notes-physics
9-
weight: 10
9+
weight: 1
1010
---
1111
<!-- A Sample Program -->
1212
{{< note title="Maxwell Equations (Integral)">}}

content/notes/python/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menu:
44
notes:
55
name: Python
66
identifier: notes-python
7-
weight: 10
7+
weight: 2
88
---
99

1010
# Python Notes

content/notes/python/web/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: WebSocket
3-
weight: 10
3+
weight: 2
44
menu:
55
notes:
66
name: WebSocket
77
identifier: notes-python-web
88
parent: notes-python
9-
weight: 10
9+
weight: 2
1010
---
1111

1212
<!-- A Sample Program -->

content/notes/software engineering/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menu:
44
notes:
55
name: Software-Engineering
66
identifier: notes-swe
7-
weight: 11
7+
weight: 3
88
---
99

1010
# Software-Engineering

content/notes/software engineering/books/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: Software Engineering - Book Recommendations
3-
weight: 14
3+
weight: 3
4+
page: 2
45
menu:
56
notes:
67
name: Books
78
identifier: notes-swe-books
89
parent: notes-swe
9-
weight: 14
10+
weight: 3
1011
---
1112

1213
{{< note title="Software Engineering - Book Recommendations">}}

layouts/notes/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<section class="content-section" id="content-section">
3232
<div class="content container-fluid" id="content">
3333
<div class="container-fluid note-card-holder" id="note-card-holder">
34-
{{ $paginator := .Paginate .RegularPagesRecursive 10 }}
34+
{{ $paginator := .Paginate .RegularPagesRecursive 2 }}
3535
{{ range $paginator.Pages }}
3636
{{ if .Layout }}
3737
{{/* ignore search.md file*/}}

public/application.0ec957ef3daa3161324e2765ba5df5f844b47fb09a6a3bfcd8b01eebd0fc8d37.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)