Skip to content

Commit

Permalink
refactor: refactor css
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon committed Sep 22, 2024
1 parent 62297ef commit 59ec795
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
16 changes: 0 additions & 16 deletions source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
transition: 0.3s

.article-meta
clearfix()
display: flex
flex-direction: column
padding: article-padding article-padding + 15px 0
Expand All @@ -37,7 +36,6 @@ $article-meta-tag

.article-date
display: flex
align-items: center

.article-date-link
@extend $article-meta-tag
Expand All @@ -48,7 +46,6 @@ $article-meta-tag
.article-category
display: flex
flex-wrap: wrap
align-items: center

.article-category-link
@extend $article-meta-tag
Expand All @@ -57,17 +54,6 @@ $article-meta-tag
font-weight: 700
margin-right: 10px

.article-title
text-decoration: none
font-size: 2em
font-weight: bold
color: var(--color-default)
line-height: line-height-title
transition: color 0.2s

a&:hover
color: var(--color-link)

.article-entry
@extend $base-style
clearfix()
Expand Down Expand Up @@ -276,7 +262,6 @@ $article-meta-tag
padding: 10px 18px

#article-nav
clearfix()
margin-top: 10px
display: flex
flex-direction: column
Expand Down Expand Up @@ -327,7 +312,6 @@ $article-meta-tag
.article-nav-caption
text-transform: uppercase
letter-spacing: 2px
line-height: 0.85em
font-weight: bold

.article-nav-title
Expand Down
6 changes: 0 additions & 6 deletions source/css/_partial/sidebar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
flex-direction: column
justify-content: center
align-items: center
box-shadow: unset
transition: .3s

.hidden
Expand All @@ -43,7 +42,6 @@
display: flex
flex-shrink: 0
flex-direction: column
justify-content: center
align-items: center

img
Expand Down Expand Up @@ -77,7 +75,6 @@ $sidebar-state-content
flex-direction: column
flex-shrink: 0
align-items: center
justify-content: center
padding: 0 20px

div
Expand Down Expand Up @@ -113,7 +110,6 @@ $sidebar-state-content
display: flex
flex-shrink: 0
justify-content: center
align-items: center
width: 70%
flex-wrap: wrap

Expand Down Expand Up @@ -267,7 +263,6 @@ $menu-link
border: 10px var(--color-wrap) double
box-shadow: 0 0 10px 3px rgba(255, 0, 0, .3)
opacity: 0.8
transition: border opacity 0.5s

&:hover
opacity: 1
Expand All @@ -291,7 +286,6 @@ $menu-link
font-family: font-icon
box-shadow: 1px 2px 10px rgba(0, 0, 0, .2)
z-index: 999
transition: .3s

img
transition: .3s
Expand Down

0 comments on commit 59ec795

Please sign in to comment.