Skip to content

Commit 2f3a4fd

Browse files
committed
창 리사이즈
1 parent 8b223aa commit 2f3a4fd

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed

_posts/2023-09-26-first.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ toc_icon: "bars"
1010
toc_sticky: true
1111
typora-root-url: ../
1212
author_profile: false
13-
sidebar:
14-
nav: "docs"
1513
search: true
1614
---
1715

_sass/minimal-mistakes/_page.scss

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body {
2727
-webkit-box-orient: vertical;
2828
-webkit-box-direction: normal;
2929
-ms-flex-direction: column;
30-
flex-direction: column;
30+
flex-direction: column;
3131
}
3232

3333
.initial-content,
@@ -38,12 +38,12 @@ body {
3838
.page {
3939
@include breakpoint($large) {
4040
float: right;
41-
width: calc(100% - #{$right-sidebar-width-narrow});
41+
width: calc(100%);
4242
padding-right: $right-sidebar-width-narrow;
4343
}
4444

4545
@include breakpoint($x-large) {
46-
width: calc(100% - #{$right-sidebar-width});
46+
width: calc(100%);
4747
padding-right: $right-sidebar-width;
4848
}
4949

@@ -93,22 +93,27 @@ body {
9393
border-bottom: 1px solid $border-color;
9494
}
9595

96-
h1, h2, h3, h4, h5, h6 {
97-
.header-link {
98-
position: relative;
99-
left: 0.5em;
100-
opacity: 0;
101-
font-size: 0.8em;
102-
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
103-
-moz-transition: opacity 0.2s ease-in-out 0.1s;
104-
-o-transition: opacity 0.2s ease-in-out 0.1s;
105-
transition: opacity 0.2s ease-in-out 0.1s;
106-
}
107-
108-
&:hover .header-link {
109-
opacity: 1;
110-
}
111-
}
96+
h1,
97+
h2,
98+
h3,
99+
h4,
100+
h5,
101+
h6 {
102+
.header-link {
103+
position: relative;
104+
left: 0.5em;
105+
opacity: 0;
106+
font-size: 0.8em;
107+
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
108+
-moz-transition: opacity 0.2s ease-in-out 0.1s;
109+
-o-transition: opacity 0.2s ease-in-out 0.1s;
110+
transition: opacity 0.2s ease-in-out 0.1s;
111+
}
112+
113+
&:hover .header-link {
114+
opacity: 1;
115+
}
116+
}
112117

113118
p,
114119
li,

0 commit comments

Comments
 (0)