Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Dec 16, 2024
1 parent b23774c commit 0de8272
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .factory/_skin/blue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
--header: url('header-bottom/blue.gif'), url('header-top/blue.gif'), url('header-center/blue.gif');
--icon-author: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAARCAYAAAAL4VbbAAAAd0lEQVQoU2NkgILGzY/+w9j1vnKMMDYyDRZEVgji3zqwi2FpbwqGBhorBlkdXTwH7mZsTgCpweoRbJ6DK0b3IEgCW4gwYlOIK0SGpGKSoxtZA650gRIpsCBEV3z37l14zMJjEFlxU5Yj1kiEK0ZOG+iKlZWVweoAlhJnPrTDhdsAAAAASUVORK5CYII=');
--icon-bullet-1: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAILGzY/+g2hsoN5XjpERnwKQplsHdjHQSRHIKhBgBBHRxXNwOnxpbwojADP0HasjE/P6AAAAAElFTkSuQmCC');
--icon-bullet: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAILGzY/+g2hsoN5XjpERnwKQplsHdjHQSRHIKhBgBBHRxXNwOnxpbwojADP0HasjE/P6AAAAAElFTkSuQmCC');
--icon-bullet: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAIL/Z9L+g2hsgNFkFiMjPgUgTXdu32KgkyKQVSDACCJuL3fA6XDVyAOMANW8HwtoXHIaAAAAAElFTkSuQmCC');
--icon-comment-footer: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAYElEQVQoU2OcaWz8P/3sWUYGIgEjVTVgMwxsg3FaGoNJejqGs0ByIJciOxmsASSITRNMDlkT45mZM/+fnTWLKC+DbAI7A9kkQjrh7ibGJrgNuEzF6gd8TsAaSoQ0oKcCAA/zPAqxwgCvAAAAAElFTkSuQmCC');
--icon-time: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAP0lEQVQYV2NkAIKZM2f+B9G4QHp6OiMjIUUwzRgKQbqx2UJDhTAr0T0E8wOK1eiKkT1KvhtxhSXWoEBXDHISANGVNlvW0DB4AAAAAElFTkSuQmCC');
--nav: url('nav-bottom/blue.gif'), url('nav-center/blue.gif');
Expand Down
2 changes: 1 addition & 1 deletion .factory/_x/comment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
background: #eee url('comments-top.gif') no-repeat 50% 0;
color: #666;
font-size: 85%;
margin: 14px 3px 3px;
margin: 24px 3px 3px;
padding: 30px 14px 14px;
}
}
8 changes: 5 additions & 3 deletions .factory/index.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ a {
&[rel='author'] {
background: transparent var(--icon-author) no-repeat 0 50%;
display: inline-block;
line-height: 17px;
padding: 0 0 0 14px;
vertical-align: middle;
}
}

Expand Down Expand Up @@ -639,7 +641,6 @@ body {
font: {
size: 200%;
}
line-height: 1.2em;
margin: 0;
padding: 45px 19px 50px 119px;
text-shadow: var(--shadow-header-text);
Expand All @@ -664,7 +665,7 @@ body {
}
color: var(--color-nav);
font-family: var(--face-2);
line-height: 2.7rem;
line-height: 2.5rem;
margin: 0;
padding: 0 41px;
text-align: center;
Expand Down Expand Up @@ -713,7 +714,6 @@ body {
margin: 0;
padding: 20px;
width: 259px;
line-height: 1.4em;
> div {
border: {
bottom: 1px solid;
Expand Down Expand Up @@ -795,7 +795,9 @@ body {
&[rel='author'] {
background: 0 0;
display: inline;
line-height: inherit;
padding: 0;
vertical-align: baseline;
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions aside.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<aside>
<?php if ($description = $site->description): ?>
<?php if ($description = $page->description ?? $site->description): ?>
<?php $author = $page->author; ?>
<?php $author = $author instanceof User ? '<a href="' . eat($author->link ?? $author->url) . '" rel="author">' . $author . '</a>' : ""; ?>
<?= self::widget([
'content' => '<p>' . $description . '</p>',
'title' => i('About'),
'content' => '<p>' . $description . '</p>' . ($author ? '<p>' . $author . '</p>' : ""),
'title' => i('About')
]); ?>
<?php endif; ?>
<?= self::widget('form/search'); ?>
Expand Down
12 changes: 7 additions & 5 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ a[rel=author],
[rel=author][role=link] {
background: transparent var(--icon-author) no-repeat 0 50%;
display: inline-block;
line-height: 17px;
padding: 0 0 0 14px;
vertical-align: middle;
}

abbr {
Expand Down Expand Up @@ -599,7 +601,7 @@ textarea {
background: #eee url("comments-top.gif") no-repeat 50% 0;
color: #666;
font-size: 85%;
margin: 14px 3px 3px;
margin: 24px 3px 3px;
padding: 30px 14px 14px;
}

Expand Down Expand Up @@ -685,7 +687,6 @@ body > div > header {
body > div > header h1 {
color: inherit;
font-size: 200%;
line-height: 1.2em;
margin: 0;
padding: 45px 19px 50px 119px;
text-shadow: var(--shadow-header-text);
Expand Down Expand Up @@ -713,7 +714,7 @@ body > div > nav {
background-repeat: no-repeat, repeat-y;
color: var(--color-nav);
font-family: var(--face-2);
line-height: 2.7rem;
line-height: 2.5rem;
margin: 0;
padding: 0 41px;
text-align: center;
Expand Down Expand Up @@ -767,7 +768,6 @@ body > div > nav + div > aside {
margin: 0;
padding: 20px;
width: 259px;
line-height: 1.4em;
}
body > div > header + div > aside > div,
body > div > nav + div > aside > div {
Expand Down Expand Up @@ -867,7 +867,9 @@ body > div > nav + div > main > article > footer a[rel=author],
body > div > nav + div > main > article > footer [rel=author][role=link] {
background: 0 0;
display: inline;
line-height: inherit;
padding: 0;
vertical-align: baseline;
}
body > div > header + div > main > article > header,
body > div > nav + div > main > article > header {
Expand Down Expand Up @@ -982,7 +984,7 @@ body > div > nav + div > main > article + nav {
--header: url("header-bottom/blue.gif"), url("header-top/blue.gif"), url("header-center/blue.gif");
--icon-author: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAARCAYAAAAL4VbbAAAAd0lEQVQoU2NkgILGzY/+w9j1vnKMMDYyDRZEVgji3zqwi2FpbwqGBhorBlkdXTwH7mZsTgCpweoRbJ6DK0b3IEgCW4gwYlOIK0SGpGKSoxtZA650gRIpsCBEV3z37l14zMJjEFlxU5Yj1kiEK0ZOG+iKlZWVweoAlhJnPrTDhdsAAAAASUVORK5CYII=");
--icon-bullet-1: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAILGzY/+g2hsoN5XjpERnwKQplsHdjHQSRHIKhBgBBHRxXNwOnxpbwojADP0HasjE/P6AAAAAElFTkSuQmCC");
--icon-bullet: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAILGzY/+g2hsoN5XjpERnwKQplsHdjHQSRHIKhBgBBHRxXNwOnxpbwojADP0HasjE/P6AAAAAElFTkSuQmCC");
--icon-bullet: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAM0lEQVQIW2NkAIL/Z9L+g2hsgNFkFiMjPgUgTXdu32KgkyKQVSDACCJuL3fA6XDVyAOMANW8HwtoXHIaAAAAAElFTkSuQmCC");
--icon-comment-footer: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAALCAYAAABLcGxfAAAAYElEQVQoU2OcaWz8P/3sWUYGIgEjVTVgMwxsg3FaGoNJejqGs0ByIJciOxmsASSITRNMDlkT45mZM/+fnTWLKC+DbAI7A9kkQjrh7ibGJrgNuEzF6gd8TsAaSoQ0oKcCAA/zPAqxwgCvAAAAAElFTkSuQmCC");
--icon-time: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAP0lEQVQYV2NkAIKZM2f+B9G4QHp6OiMjIUUwzRgKQbqx2UJDhTAr0T0E8wOK1eiKkT1KvhtxhSXWoEBXDHISANGVNlvW0DB4AAAAAElFTkSuQmCC");
--nav: url("nav-bottom/blue.gif"), url("nav-center/blue.gif");
Expand Down
2 changes: 1 addition & 1 deletion index.min.css

Large diffs are not rendered by default.

Binary file modified index.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified index/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0de8272

Please sign in to comment.