jekyll-theme-panda 0.1.1 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,67 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign list = site.posts | where: "layout","preset"%}
6
+ {% assign counter = 0 %}
7
+ <div id="preset-slider">
8
+ {% for post in list %}
9
+ {% assign counter = counter | plus:1 %}
10
+
11
+ <!-- <a href="{{ post.url | prepend: site.baseurl }}" >
12
+ <p>{{post.title}}</p>
13
+ </a> -->
14
+
15
+ <section class="home-kanban"
16
+ style="background-image: url(.{{ post.derivation_img}})">
17
+ <div class="home-kanban__inner">
18
+ <div class="home-kanban__bg sp">
19
+ </div><!-- .home-kanban__bg -->
20
+ <div class="home-kanban__ttl">
21
+ <h2 class="u-ttl__02" style="color: white !important;">{{post.title}}</h2>
22
+ <p class="u-txt__label">{{post.description[0] | truncate: 150 }}</p>
23
+ <p class="u-txt__link u-txt__link--blank">
24
+ <a href="{{ post.url | prepend: site.baseurl }}" target="_blank">Learn more & Download </a>
25
+ <h2 class="u-ttl__02 u-ttl__number" style="text-align: end; color: white !important;">{{counter}} / {{list | size}}</h2>
26
+ </p>
27
+ </div><!-- .home-kanban__ttl -->
28
+ </div>
29
+ </section>
30
+
31
+ {% endfor %}
32
+ </div>
33
+ <style>
34
+ .slick-dots{
35
+ bottom: -27vh !important;
36
+ }
37
+ h2{
38
+ color: white;
39
+ }
40
+ </style>
41
+ <script type="text/javascript">
42
+ $(document).ready(function () {
43
+ $('#preset-slider').slick({
44
+ lazyLoad: 'ondemand',
45
+ slidesToShow: 1,
46
+ dots: true,
47
+ // autoplay: true,
48
+ autoplaySpeed: 2000,
49
+ responsive: [
50
+ {
51
+ breakpoint: 768,
52
+ settings: {
53
+ arrows: false,
54
+ slidesToShow: 3
55
+ }
56
+ },
57
+ {
58
+ breakpoint: 480,
59
+ settings: {
60
+ arrows: false,
61
+ slidesToShow: 1
62
+ }
63
+ }
64
+ ]
65
+ });
66
+ });
67
+ </script>
@@ -0,0 +1,8 @@
1
+ {% include head.html %}
2
+
3
+ {{ content }}
4
+
5
+ {% include footer.html %}
6
+
7
+ <!-- todo: add a go back hover button -->
8
+
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign list = site.posts | where: "layout","visio"%}
6
+
7
+ {% for post in list %}
8
+
9
+ {% if post.layout == 'visio' %}
10
+ <a href="{{ post.url | prepend: site.baseurl }}" >
11
+ <p>{{post.title}}</p>
12
+ </a>
13
+ {% endif %}
14
+
15
+
16
+ {% endfor %}
data/_sass/common.scss CHANGED
@@ -22,6 +22,7 @@ html {
22
22
  --link-color:rgb(0, 112, 201);
23
23
  --main-background-color:#FFF;
24
24
  --footer-color:#FFF;
25
+ --light-color:#cfcfcf;
25
26
  --main-text-color:#000;
26
27
  --post-title-color:#282828;
27
28
  --message-border-color:#000;
@@ -32,6 +33,7 @@ html {
32
33
  --link-color:rgb(100, 210, 255);
33
34
  --main-background-color:#171717;
34
35
  --footer-color:#282828;
36
+ --light-color:#4a4a4a;
35
37
  --main-text-color:#FFF;
36
38
  --post-title-color:#FFF;
37
39
  --message-border-color:#282828;
@@ -44,6 +46,7 @@ html {
44
46
  --link-color:rgb(0, 112, 201);
45
47
  --main-background-color:#FFF;
46
48
  --footer-color:#FFF;
49
+ --light-color:#cfcfcf;
47
50
  --main-text-color:#000;
48
51
  --post-title-color:#282828;
49
52
  --message-border-color:#000;
@@ -53,6 +56,7 @@ html {
53
56
  --link-color:rgb(0, 112, 201);
54
57
  --main-background-color:#FFF;
55
58
  --footer-color:#FFF;
59
+ --light-color:#cfcfcf;
56
60
  --main-text-color:#000;
57
61
  --post-title-color:#282828;
58
62
  --message-border-color:#000;
@@ -63,6 +67,7 @@ html {
63
67
  --link-color:rgb(100, 210, 255);
64
68
  --main-background-color:#171717;
65
69
  --footer-color:#282828;
70
+ --light-color:#4a4a4a;
66
71
  --main-text-color:#FFF;
67
72
  --post-title-color:#FFF;
68
73
  --message-border-color:#282828;
@@ -76,10 +81,10 @@ body {
76
81
  padding: 0;
77
82
  background: var(--main-background-color) !important;
78
83
  background-color: var(--main-background-color) !important;
79
- font-family: Segoe UI,SegoeUI,Helvetica Neue, Helvetica, Arial, "PingFang SC","Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif !important;
84
+ // font-family: Segoe UI,SegoeUI,Helvetica Neue, Helvetica, Arial, "PingFang SC","Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif !important;
85
+
86
+ font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
80
87
 
81
- /*font-family: font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
82
- */
83
88
  font-weight: 400;
84
89
  text-rendering: optimizeLegibility;
85
90
  -webkit-font-smoothing: antialiased;
@@ -93,8 +98,31 @@ body {
93
98
  font-feature-settings: "palt";
94
99
  -webkit-font-feature-settings: normal\9;
95
100
  font-feature-settings: normal\9;
101
+ scroll-behavior: smooth !important;
102
+ }
103
+ body::-webkit-scrollbar {
104
+ width: 10px;
105
+ }
106
+
107
+ body::-webkit-scrollbar-track {
108
+ background: transparent;
109
+ }
110
+
111
+ body::-webkit-scrollbar-thumb {
112
+ background: transparent;
113
+ -webkit-border-radius: 4px;
114
+ border-radius: 4px;
115
+ }
116
+
117
+
118
+ body:hover::-webkit-scrollbar-thumb {
119
+ background: var(--light-color);
120
+ }
121
+ body::-webkit-scrollbar-thumb:hover {
122
+ background: var(--link-color);
96
123
  }
97
124
 
125
+
98
126
  /* .home-message__ttl a h2:hover{
99
127
  border-bottom:1px solid var(--link-color)!important;
100
128
  } */
@@ -301,7 +329,6 @@ textarea {
301
329
  }
302
330
 
303
331
  .u-txt__link {
304
- color: #000;
305
332
  font-size: 14px;
306
333
  line-height: 1;
307
334
  letter-spacing: 0.1em;
@@ -310,9 +337,9 @@ textarea {
310
337
  a {
311
338
  display: inline-block;
312
339
  text-decoration: none;
340
+ color:white;
313
341
  padding-bottom: 10px;
314
- color: #000;
315
- border-bottom: #000 4px solid;
342
+ border-bottom: #fff 4px solid;
316
343
  position: relative;
317
344
  transition: all 0.1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
318
345
 
@@ -328,7 +355,7 @@ textarea {
328
355
  }
329
356
 
330
357
  &:hover {
331
- color: #777;
358
+ color: rgb(197, 197, 197);
332
359
 
333
360
  &:before {
334
361
  width: 100%;
@@ -366,7 +393,7 @@ textarea {
366
393
  right: -16px;
367
394
  width: 10px;
368
395
  height: 10px;
369
- background: url(./../images/icon_blank_black.png) no-repeat 0 0 / 100% auto;
396
+ background: url(/assets/img/logo_Nest.png) no-repeat 0 0 / 100% auto;
370
397
  }
371
398
 
372
399
  &:hover:after {
@@ -1852,7 +1879,7 @@ footer {
1852
1879
  .home-artist__slider {
1853
1880
  width: 100%;
1854
1881
  height: 541px;
1855
- background-image: url(./../img/slider.jpg);
1882
+ background-image: url(./img/slider.jpg);
1856
1883
  background-repeat: repeat-x;
1857
1884
  background-position: 0 0;
1858
1885
  background-size: 2625px auto;
@@ -2029,13 +2056,13 @@ footer {
2029
2056
  font-weight: bold;
2030
2057
  }
2031
2058
 
2032
- .home-recruit {
2059
+ .home-kanban {
2033
2060
  width: 100%;
2034
- height: 600px;
2061
+ margin-bottom: 50px;
2035
2062
  background: url(./../img/bridge.jpg) no-repeat 50% (50% / cover);
2036
2063
  }
2037
2064
 
2038
- .home-recruit__inner {
2065
+ .home-kanban__inner {
2039
2066
  max-width: 1200px;
2040
2067
  margin-left: auto;
2041
2068
  margin-right: auto;
@@ -2043,37 +2070,42 @@ footer {
2043
2070
  padding-right: 4.33%;
2044
2071
  box-sizing: border-box;
2045
2072
  position: relative;
2046
- height: 100%;
2073
+ // height: 100%;
2047
2074
  }
2048
2075
 
2049
2076
  @media screen and (max-width: 1280px) {
2050
- .home-recruit__inner {
2077
+ .home-kanban__inner {
2051
2078
  padding-left: 4.16%;
2052
2079
  padding-right: 4.16%;
2053
2080
  }
2054
2081
  }
2055
2082
 
2056
- .home-recruit__ttl {
2057
- position: absolute;
2058
- top: 50%;
2059
- left: 0;
2060
- -webkit-transform: translateY(-50%);
2061
- transform: translateY(-50%);
2062
- background: #fff;
2083
+ .home-kanban__ttl {
2084
+ // position: absolute;
2085
+ // top: 50%;
2086
+ // left: 0;
2087
+ // -webkit-transform: translateY(-50%);
2088
+ // transform: translateY(-50%);
2089
+ border-color:white;
2090
+ border-width: 1.5ex 1.5ex 2.5ex;
2091
+ border-style: solid;
2063
2092
  padding: 60px 60px 65px;
2064
2093
  box-sizing: border-box;
2094
+ backdrop-filter: brightness(75%);
2065
2095
 
2066
2096
  .u-txt__label {
2067
2097
  margin-top: 30px;
2098
+ color: white;
2068
2099
  }
2069
2100
 
2070
2101
  .u-txt__link {
2071
2102
  margin-top: 35px;
2103
+ color: white;
2072
2104
  }
2073
2105
  }
2074
2106
 
2075
2107
  @media screen and (max-width: 1280px) {
2076
- .home-recruit__ttl {
2108
+ .home-kanban__ttl {
2077
2109
  left: 80px;
2078
2110
  }
2079
2111
  }
@@ -4477,4 +4509,163 @@ footer {
4477
4509
  &:last-child {
4478
4510
  margin-bottom: 0;
4479
4511
  }
4512
+ }
4513
+
4514
+ // .album-container.scroll{
4515
+ // perspective: 1px;
4516
+
4517
+ // transform-style: preserve-3d;
4518
+ // .album-section{
4519
+ // transform: translate3D(-50%, -120px, -1px) scale(2);
4520
+ // }
4521
+ // }
4522
+ .album-section{
4523
+ background-size: cover;
4524
+ background-position: center;
4525
+ a{
4526
+ text-decoration:none;
4527
+ }
4528
+ a:hover{
4529
+ text-decoration:none;
4530
+ }
4531
+ .album-title{
4532
+ color: white !important;
4533
+ }
4534
+
4535
+ .album-corner{
4536
+ margin-top: 3rem;
4537
+ height: 25rem;
4538
+ width: 18rem;
4539
+ border-style: solid;
4540
+ border-color: white;
4541
+ border-width: 1.5ex 1.5ex 2.5ex;
4542
+ -webkit-transition: 0.5s;
4543
+ transition: 0.5s;
4544
+ backdrop-filter: brightness(0.9);
4545
+ }
4546
+
4547
+ .album-corner:hover{
4548
+ background-color: rgba(255, 255, 255, 0.397);
4549
+ padding-top: -3ex;
4550
+ }
4551
+ .album-enter{
4552
+ color: white !important;
4553
+ transform: translateY(-3em);
4554
+ }
4555
+ }
4556
+ .slick-dots{
4557
+ transform: translateY(-16rem);
4558
+ }
4559
+
4560
+ section.v-section {
4561
+ margin-top: 0px;
4562
+ width: 100%;
4563
+ height: 100vh;
4564
+ background-repeat: no-repeat;
4565
+ background-position: 50% -1%;
4566
+ background-size: 100% auto;
4567
+ position: relative;
4568
+ overflow: hidden;
4569
+ background-attachment: scroll;
4570
+ display: flex;
4571
+ justify-content: center;
4572
+ align-items: center;
4573
+ background-color: white;
4574
+ }
4575
+ section.v-section-70 {
4576
+ margin-top: 0px;
4577
+ width: 100%;
4578
+ height: 70vh;
4579
+ background-repeat: no-repeat;
4580
+ background-position: 50% -1%;
4581
+ background-size: 100% auto;
4582
+ position: relative;
4583
+ overflow: hidden;
4584
+ background-attachment: scroll;
4585
+ display: flex;
4586
+ }
4587
+ section.v-section-cover{
4588
+ margin-top: -100vh;
4589
+ width: 50%;
4590
+ height: 100vh;
4591
+ background-repeat: no-repeat;
4592
+ background-position: 0 0;
4593
+ background-size: 100vw auto;
4594
+ position: relative;
4595
+ overflow: clip;
4596
+ background-attachment: scroll;
4597
+ display: flex;
4598
+ justify-content: center;
4599
+ align-items: center;
4600
+ /*transition: width 2s;*/
4601
+ border-right: 5px solid #FFF;
4602
+ }
4603
+
4604
+ @media screen and (max-width: 768px){
4605
+ section.v-section {
4606
+ margin-top: 0px;
4607
+ width: 100%;
4608
+ height:100vh;
4609
+ background-repeat: no-repeat;
4610
+ background-position: 0 0;
4611
+ background-size: auto 100%;
4612
+ position: relative;
4613
+ overflow: hidden;
4614
+ background-attachment: scroll;
4615
+ display: flex;
4616
+ justify-content: center;
4617
+ align-items: center;
4618
+ }
4619
+ section.v-section-cover{
4620
+ margin-top: -100vh;
4621
+ width: 10%;
4622
+ height:100vh;
4623
+ background-repeat: no-repeat;
4624
+ background-position: 0 0 ;
4625
+ background-size: auto 100%;
4626
+ position: relative;
4627
+ overflow: hidden;
4628
+ background-attachment: scroll;
4629
+ display: flex;
4630
+ justify-content: center;
4631
+ align-items: center;
4632
+ transition: width 1s;
4633
+ border-right: 5px solid #FFF;
4634
+ }
4635
+
4636
+ section.v-section-70 {
4637
+ margin-top: 0px;
4638
+ width: 100%;
4639
+ background-repeat: no-repeat;
4640
+ background-position: 50% -1%;
4641
+ background-size: auto 100%;
4642
+ position: relative;
4643
+ overflow: hidden;
4644
+ background-attachment: scroll;
4645
+ display: flex;
4646
+ }
4647
+ }
4648
+ .down-arrow{
4649
+ transform: translateY(-3em);
4650
+ font-size: 4rem;
4651
+ font-weight: bold;
4652
+ text-align: center;
4653
+ animation: blink 2s linear infinite;
4654
+ -webkit-animation: blink 2s linear infinite;
4655
+ -moz-animation: blink 2s linear infinite;
4656
+ -ms-animation: blink 2s linear infinite;
4657
+ -o-animation: blink 2s linear infinite;
4658
+ }
4659
+ @keyframes blink {
4660
+ 0% {
4661
+ color: white;
4662
+ }
4663
+
4664
+ 50% {
4665
+ color: transparent;
4666
+ }
4667
+
4668
+ 100% {
4669
+ color: white;
4670
+ }
4480
4671
  }