jekyll-zeta 0.9.2 → 0.9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3071a9e2561f1efc2cda26260cbc2b0bddd48d176f9ba583ee57f350b14a1dc5
4
- data.tar.gz: 0c84683cbf6414d70d88bb5f114cc7190bfd81927852fa32ef775d3ee180b37c
3
+ metadata.gz: 3e405b59f92ae84c230b89c0b4332f2af75f29c86535a8dd94f7a39b459cc7ac
4
+ data.tar.gz: 4d50362dfe930d434e7034afd678c162f50862c3e328811b141d2c659527010a
5
5
  SHA512:
6
- metadata.gz: be1b4f442d72860c428132ada3607a8763d1f8ae8ceca286583a0747633b0e69eb35a527b694070df969168fec16779a99acd5285f8d3903c3dbd1c718842676
7
- data.tar.gz: 9f7e39bb078c84cb7d165fa79dd09d9c90510ca0a1d1662f611fd2e4b59243ef5abf6990164c951893749272dde0e9f7e88b57921c9757d2f44b0185cdd4c22c
6
+ metadata.gz: 6d89fa3098eecfb38363b85612be836a8cc9d9839faf79d420e688d7e6d379f5d41bbf702c422e4b1a23a6a7880a520561ac218f0d822d4e9e84e84905475ee6
7
+ data.tar.gz: 911d39d2ec33e4d076557a9231402e921fbf4e3b8f4072e9d7ce5f08325ad2ac84203f77c7cccdcf90f8ad4fa108768c6da012cdb2538977d94d37f05c1764da
@@ -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,157 @@
1
1
  @import "common";
2
2
  @import "heatmap";
3
3
 
4
+ $mobileWidth:500px;
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;
29
15
  }
30
16
 
17
+ // pc
18
+ @media only screen and (min-width: #{$mobileWidth}) {
31
19
 
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
20
 
44
- .sidecontent{
45
- // position: absolute;
46
- left: 2rem;
47
- bottom: 2rem;
48
-
49
- }
50
21
 
51
- .sidetitle{
52
- font-size: 1.2rem;
53
- font-weight: 600;
22
+ .avatar-title{
23
+ align-items: center;
24
+ padding: 1rem 0 1rem 0;
54
25
  }
55
26
 
56
- .navul {
57
- padding: 0;
58
- display:block;
59
- font-weight: 700;
60
- align-items: center;
27
+ $contentWidth: 52rem;
28
+ $siderbarW: 8rem;
29
+ body {
30
+ font-size: 1.25rem;
31
+ }
32
+
33
+ body {
34
+ padding: 0;
35
+ }
36
+
37
+ .w {
38
+ margin: auto;
39
+ max-width: $contentWidth;
40
+ padding-left: 2rem;
41
+ padding-right: 2rem;
42
+ padding-top: 4rem;
43
+ padding-bottom: 4rem;
44
+ word-wrap: break-word;
45
+ background-color: white;
46
+ }
47
+
48
+ .sidebar {
49
+ height: 100%;
50
+ padding-right: 1rem;
51
+ position: fixed;
52
+ top: 0;
53
+ width: $siderbarW;
54
+ right: calc(50% + #{$contentWidth} / 2);
55
+ }
56
+
57
+ .sidecontent {
58
+ // position: absolute;
59
+ left: 2rem;
60
+ bottom: 2rem;
61
+ }
62
+
63
+ .sidetitle {
64
+ font-size: 1.2rem;
65
+ font-weight: 600;
66
+ }
67
+
68
+ .navul {
69
+ padding: 0;
70
+ display: block;
71
+ font-weight: 700;
72
+ align-items: center;
73
+ }
74
+
75
+ .navli {
76
+ padding: 1rem 0;
77
+ }
78
+
79
+ nav {
80
+ text-align: end;
81
+ padding-right: 2rem;
82
+ }
83
+
84
+ .rightsidecontent {
85
+ margin: auto;
86
+ max-width: $contentWidth + $siderbarW;
87
+
88
+ padding-left: $siderbarW;
89
+ // justify-content: center;
90
+ }
61
91
  }
62
92
 
93
+ // mobile
94
+ @media only screen and (max-width: #{$mobileWidth}) {
95
+ $contentWidth: 52rem;
96
+ body {
97
+ font-size: 1.25rem;
98
+ padding: 0;
99
+ }
63
100
 
64
- .navli{
65
- padding: 1rem 0;
66
- }
67
101
 
68
- nav{
69
- text-align: end;
70
- padding-right: 2rem;
102
+ .avatar-title{
103
+ display: flex;
104
+ align-items: center;
71
105
  }
106
+
72
107
 
73
-
74
- .rightsidecontent{
75
- margin:auto;
76
- max-width: $contentWidth + $siderbarW ;
108
+ .w {
109
+ margin: auto;
110
+ max-width: $contentWidth;
111
+ padding:0 0.5rem;
112
+ word-wrap: break-word;
113
+ background-color: white;
114
+ }
115
+
116
+ .sidebar {
117
+ margin: auto;
118
+ max-width: $contentWidth;
119
+ padding: 0.2rem 0.5rem;
120
+
77
121
 
78
- padding-left: $siderbarW ;
79
- // justify-content: center;
80
- }
122
+ }
123
+
124
+ .sidecontent {
125
+ left: 2rem;
126
+ bottom: 2rem;
127
+ }
128
+
129
+ .sidetitle {
130
+ font-size: 1.2rem;
131
+ font-weight: 600;
132
+ }
133
+
134
+ .navul {
135
+ padding: 0;
136
+ font-weight: 700;
137
+ align-items: center;
138
+ }
139
+
140
+ .navli {
141
+ padding: 1rem 0;
142
+ }
143
+
144
+ nav {
145
+ text-align: end;
146
+ padding-right: 2rem;
147
+ }
148
+
149
+ .rightsidecontent {
150
+ margin: auto;
151
+ max-width: $contentWidth
81
152
 
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
- // }
153
+ }
154
+ }
97
155
 
98
156
 
99
157
 
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.1
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