Skip to content

Commit 94ef940

Browse files
committed
css fixes
1 parent 816faaf commit 94ef940

File tree

4 files changed

+17
-9
lines changed

4 files changed

+17
-9
lines changed

content/extras/updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ authors:
66
- ItsZariep
77
---
88

9-
9+
This page contains last 15 commits in [Cereus Linux codeberg organization](https://codeberg.org/cereus-linux)
1010

1111
{{< updates >}}

layouts/_shortcodes/updates.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
<section class="header-upt">
55
<div class="weltext">
6-
<p id="str-extrasubtitle">This page contains last 15 commits in Cereus Linux codeberg organization</p>
76
<section class="post-card">
87
<a href="https://codeberg.org/cereus-linux.rss"><h1>Suscribe to Codeberg feed (RSS)</h1></a>
98
</section>
@@ -14,7 +13,6 @@ <h1>Recent Commits</h1>
1413

1514
<div id="commit-feed"></div>
1615

17-
1816
<script>
1917
async function fetchCommits(url) {
2018
try {

static/css/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ input[type="text"] {
221221

222222
@media only screen and (max-width: 768px) and (max-aspect-ratio: 1/1)
223223
{
224-
.dropdown-checkbox:checked + label + .tp-dropdown-elements {
225-
display: block;
226-
}
224+
.dropdown-checkbox:checked + label + .tp-dropdown-elements {
225+
display: block;
226+
}
227227
#left-container .search-input {
228228
display:block;
229229
}

static/css/updates.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
}
2121

2222
#commit-feed {
23-
width: 66%;
23+
width: 100%;
2424
margin: 0 auto;
25+
display: grid;
26+
grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
27+
gap: 10px;
2528
}
2629
.aboutpage .post .post-postcontent
2730
{
28-
width:95%
31+
width:95%
2932
}
3033

3134

@@ -91,7 +94,7 @@
9194
}
9295

9396
/* Responsive adjustments */
94-
@media only screen and (max-aspect-ratio: 1/1) {
97+
@media only screen and (max-width: 768px) and (max-aspect-ratio: 1/1) {
9598
.commit-table td {
9699
display: block;
97100
width: 100%;
@@ -101,4 +104,11 @@
101104
width: 100%;
102105
text-align: center;
103106
}
107+
#commit-feed {
108+
width: 100%;
109+
margin: 0 auto;
110+
display: grid;
111+
grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
112+
gap: 10px;
113+
}
104114
}

0 commit comments

Comments
 (0)