Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jan 3, 2024
1 parent 4b45074 commit 162d2b2
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 70 deletions.
61 changes: 34 additions & 27 deletions .factory/index.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ th {
@extend b;
}

[role='link'] {
@extend a;
}

blockquote {
font-size: 1.185rem;
margin: {
Expand All @@ -99,7 +95,6 @@ code {
font-family: var(--face-2);
}

[role='deletion'],
del {
@extend s;
}
Expand Down Expand Up @@ -147,7 +142,6 @@ details {
}
}

[role='insertion'],
ins {
@extend u;
}
Expand Down Expand Up @@ -237,10 +231,6 @@ mark {
background: var(--fill-mark);
}

[role='mark'] {
@extend mark;
}

img {
height: auto;
max-width: 100%;
Expand Down Expand Up @@ -308,23 +298,32 @@ video {
}

* {
+ address,
+ article,
+ aside,
+ blockquote,
+ details,
+ div,
+ dl,
+ dt,
+ fieldset,
+ figure,
+ footer,
+ form,
+ h1,
+ h2,
+ h3,
+ h4,
+ h5,
+ h6,
+ header,
+ hr,
+ main,
+ nav,
+ ol,
+ p,
+ pre,
+ section,
+ table,
+ ul {
margin-top: 1.15rem;
Expand Down Expand Up @@ -365,7 +364,6 @@ button {
width: auto;
}

[role='button'],
input[type='button'],
input[type='reset'],
input[type='submit'] {
Expand All @@ -385,6 +383,7 @@ input {
input {
&[type='color'],
&[type='image'] {
@extend label;
height: 2.25rem;
padding: 0;
width: 2.25rem;
Expand All @@ -403,9 +402,9 @@ input {
&[type='image'],
&[type='radio'],
&[type='range'] {
@extend label;
background: 0 0;
border: 0;
cursor: pointer;
padding: 0;
}
}
Expand Down Expand Up @@ -434,6 +433,26 @@ textarea {
resize: vertical;
}

[role='button'] {
@extend button;
}

[role='deletion'] {
@extend del;
}

[role='insertion'] {
@extend ins;
}

[role='link'] {
@extend a;
}

[role='mark'] {
@extend mark;
}

[role='status'] {
color: var(--color);
font-weight: normal;
Expand All @@ -446,8 +465,6 @@ textarea {

@import './_/x/alert';
@import './_/x/comment';
@import './_/x/markdown';
@import './_/x/part';
@import './_/x/pass';
@import './_/x/search';
@import './_/x/t-o-c';
Expand All @@ -467,6 +484,7 @@ body {
flex-wrap: wrap;
gap: 1.15rem;
justify-content: space-between;
margin: 0;
padding: 15px 20px 23px;
a {
color: inherit;
Expand Down Expand Up @@ -523,6 +541,7 @@ body {
> nav {
background: var(--color-1) linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
line-height: 2.7rem;
margin: 0;
> ul {
display: flex;
flex-wrap: wrap;
Expand All @@ -544,6 +563,7 @@ body {
display: flex;
gap: 16px;
padding: 16px;
margin: 0;
> aside {
background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAVElEQVQoU2Ps7OzkZQCC8vLyzyAaF4CpYwQxiFUMMowRn6kgOZjJMHV4NaArBrkEpwZsinE6CZdirBrwKcbQQEgxigZiFMM1EKsYrIEUxRgaiIlxAFBIMq3EWYD3AAAAAElFTkSuQmCC') repeat 0 0;
margin: -8px -8px -8px 0;
Expand All @@ -570,9 +590,6 @@ body {
ul {
list-style-image: var(--bullet);
}
+ div {
margin-top: 1.15rem;
}
}
}
> main {
Expand All @@ -583,9 +600,6 @@ body {
&::after {
@include clear();
}
+ footer {
margin-top: 1.15rem;
}
}
> header {
h2,
Expand All @@ -609,17 +623,10 @@ body {
font-weight: bold;
}
}
+ div {
margin-top: 1.15rem;
}
}
+ article {
margin-top: 1.15rem;
}
+ nav {
display: flex;
justify-content: space-between;
margin-top: 1.15rem;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion about.page
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ images:
- /lot/y/blogger-moto/index/5.png
author: Taufik Nurrohman
type: Markdown
version: 1.0.1
version: 1.0.2
...

This is not a clone of the original Moto template. I didn’t make it from the original source code, but by refactoring
Expand Down
Loading

0 comments on commit 162d2b2

Please sign in to comment.