jekyll-zeta 0.9.2 → 0.9.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3071a9e2561f1efc2cda26260cbc2b0bddd48d176f9ba583ee57f350b14a1dc5
4
- data.tar.gz: 0c84683cbf6414d70d88bb5f114cc7190bfd81927852fa32ef775d3ee180b37c
3
+ metadata.gz: 8cb554b963a500d71ca61b1b166906b27e852c6a9d6effba110ec590280509bd
4
+ data.tar.gz: b6dafaaa3dc9e538d904677121751dabc9705de39243395c8e237f2f032ce8dd
5
5
  SHA512:
6
- metadata.gz: be1b4f442d72860c428132ada3607a8763d1f8ae8ceca286583a0747633b0e69eb35a527b694070df969168fec16779a99acd5285f8d3903c3dbd1c718842676
7
- data.tar.gz: 9f7e39bb078c84cb7d165fa79dd09d9c90510ca0a1d1662f611fd2e4b59243ef5abf6990164c951893749272dde0e9f7e88b57921c9757d2f44b0185cdd4c22c
6
+ metadata.gz: f92a18271bc3a4b51a205660eca9f321336157e00740479753baff5ba44c5f6f7862478ae857fb933aae9257bcd7fc665cb15d29f6f47b05643df89bb5643444
7
+ data.tar.gz: 9146725015ec1cb9c4434b9e7daf8f910da85fea5120868237bbf87e5c6e6bfb0d9489c8b1a3f4a9f98a1389fa92412bd8a70beefb36a7b7f9f237fd4d5ad2ef
@@ -1,7 +1,12 @@
1
1
  <div class="sidebar">
2
2
  <div class="sidecontent">
3
3
  {%- capture currentUrl -%}{{ page.url | relative_url}}{%- endcapture %}
4
- <a href="{{ '/' | relative_url }}"><img src="{{'assets/image/avartar.png' | relative_url }}" class="avatar"/> </a>
4
+ <div class="avatar-title">
5
+ <a href="{{ '/' | relative_url }}" ><img src="{{'assets/image/avatar.png' | relative_url }}" class="avatar"/> </a>
6
+
7
+ <a href="{{ '/' | relative_url }}" class="nav-title" > {{site.title}} </a>
8
+ </div>
9
+
5
10
 
6
11
 
7
12
  <nav>
@@ -1,99 +1,161 @@
1
1
  @import "common";
2
2
  @import "heatmap";
3
3
 
4
+ $mobileWidth:567px;
4
5
 
5
-
6
-
7
- $contentWidth:52rem;
8
- $siderbarW:8rem;
9
- body{
10
- font-size: 1.25rem;
11
- }
12
-
13
-
14
- body{
15
- padding: 0;
6
+ .nav-title{
7
+ color: $color-black;
8
+ font:1.1rem;
9
+ font-weight: 600;
10
+ line-break: anywhere;
16
11
  }
17
-
18
12
 
19
- .w {
20
- margin:auto;
21
- max-width:$contentWidth ;
22
- padding-left: 2rem;
23
- padding-right: 2rem;
24
- padding-top: 4rem ;
25
- padding-bottom: 4rem ;
26
- word-wrap: break-word;
27
- background-color: white;
28
-
13
+ .nav-title:hover{
14
+ color:$color-hove;
15
+ text-align: center;
29
16
  }
30
17
 
31
-
32
- .sidebar{
33
-
34
- height: 100%;
35
- padding-right: 1rem;
36
- padding-top: 6rem;
37
- position: fixed;
38
- top: 0;
39
- width: $siderbarW;
40
- right: calc(50% + #{$contentWidth} / 2 );
41
-
42
- }
43
-
44
- .sidecontent{
45
- // position: absolute;
46
- left: 2rem;
47
- bottom: 2rem;
48
-
49
- }
50
-
51
- .sidetitle{
52
- font-size: 1.2rem;
53
- font-weight: 600;
54
- }
55
-
56
- .navul {
57
- padding: 0;
58
- display:block;
59
- font-weight: 700;
18
+ // pc
19
+ @media only screen and (min-width: #{$mobileWidth}) {
20
+ .avatar-title{
21
+ display: flex;
22
+ flex-direction: column;
60
23
  align-items: center;
24
+ padding: 1rem 0 1rem 0;
25
+ justify-content: center;
61
26
  }
62
27
 
63
-
64
- .navli{
65
- padding: 1rem 0;
66
- }
67
-
68
- nav{
69
- text-align: end;
70
- padding-right: 2rem;
28
+ $contentWidth: 52rem;
29
+ $siderbarW: 8rem;
30
+ body {
31
+ font-size: 1.25rem;
32
+ }
33
+
34
+ body {
35
+ padding: 0;
36
+ }
37
+
38
+ .w {
39
+ margin: auto;
40
+ max-width: $contentWidth;
41
+ padding-left: 2rem;
42
+ padding-right: 2rem;
43
+ padding-top: 4rem;
44
+ padding-bottom: 4rem;
45
+ word-wrap: break-word;
46
+ background-color: white;
47
+ }
48
+
49
+ .sidebar {
50
+ height: 100%;
51
+ padding-right: 1rem;
52
+ position: fixed;
53
+ top: 0;
54
+ width: $siderbarW;
55
+ right: calc(50% + #{$contentWidth} / 2);
56
+ }
57
+
58
+ .sidecontent {
59
+ // position: absolute;
60
+ left: 2rem;
61
+ bottom: 2rem;
62
+ }
63
+
64
+ .sidetitle {
65
+ font-size: 1.2rem;
66
+ font-weight: 600;
67
+ }
68
+
69
+ .navul {
70
+ padding: 0;
71
+ display: block;
72
+ font-weight: 700;
73
+ align-items: center;
74
+ }
75
+
76
+ .navli {
77
+ padding: 1rem 0;
78
+ }
79
+
80
+ nav {
81
+ text-align: end;
82
+ padding-right: 2rem;
83
+ }
84
+
85
+ .rightsidecontent {
86
+ margin: auto;
87
+ max-width: $contentWidth + $siderbarW;
88
+
89
+ padding-left: $siderbarW;
90
+ // justify-content: center;
91
+ }
71
92
  }
72
93
 
94
+ // mobile
95
+ @media only screen and (max-width: #{$mobileWidth}) {
96
+ $contentWidth: 52rem;
97
+ body {
98
+ font-size: 1.25rem;
99
+ padding: 0;
100
+ }
101
+
102
+
103
+ .avatar-title{
104
+ display: flex;
105
+ flex-direction: column;
106
+ align-items: center;
107
+ padding: 1rem 0 1rem 0;
108
+ justify-content: center;
109
+ }
110
+
73
111
 
74
- .rightsidecontent{
75
- margin:auto;
76
- max-width: $contentWidth + $siderbarW ;
112
+ .w {
113
+ margin: auto;
114
+ max-width: $contentWidth;
115
+ padding:0 0.5rem;
116
+ word-wrap: break-word;
117
+ background-color: white;
118
+ }
119
+
120
+ .sidebar {
121
+ margin: auto;
122
+ max-width: $contentWidth;
123
+ padding: 0.2rem 0.5rem;
124
+
77
125
 
78
- padding-left: $siderbarW ;
79
- // justify-content: center;
80
- }
126
+ }
127
+
128
+ .sidecontent {
129
+ left: 2rem;
130
+ bottom: 2rem;
131
+ }
132
+
133
+ .sidetitle {
134
+ font-size: 1.2rem;
135
+ font-weight: 600;
136
+ }
137
+
138
+ .navul {
139
+ padding: 0;
140
+ font-weight: 700;
141
+ align-items: center;
142
+ }
143
+
144
+ .navli {
145
+ padding: 1rem 0;
146
+ }
147
+
148
+ nav {
149
+ text-align: end;
150
+ padding-right: 2rem;
151
+ }
152
+
153
+ .rightsidecontent {
154
+ margin: auto;
155
+ max-width: $contentWidth
81
156
 
82
-
83
- // @media screen and (max-width: 90000px){
84
- // $siderbarW:0;
85
- // .navul{
86
- // display: flex;
87
- // }
88
- // .sidebar{
89
-
90
- // padding-right: 1rem;
91
- // padding-top: 6rem;
92
- // width: $siderbarW;
93
-
94
- // }
95
-
96
- // }
157
+ }
158
+ }
97
159
 
98
160
 
99
161
 
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vitock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -95,8 +95,8 @@ files:
95
95
  - _sass/jekyll-zeta.scss
96
96
  - assets/css/left.scss
97
97
  - assets/css/main.scss
98
- - assets/image/avartar.png
99
- - assets/image/avartar2.png
98
+ - assets/image/avatar.png
99
+ - assets/image/avatar2.png
100
100
  - assets/image/dots.png
101
101
  - assets/image/dots.svg
102
102
  - assets/image/lock.svg
Binary file
File without changes