Skip to content

Commit 028e4de

Browse files
committed
update
1 parent a8ca696 commit 028e4de

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2945
-0
lines changed

purple-squid-a446d/README.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# ✨ purple-squid ✨
2+
3+
<img src="https://themes.stackbit.com/images/fjord-demo-1024x768.png" width="600">
4+
5+
This is a [Hugo](https://gohugo.io) site using Git as a [CMS](https://en.wikipedia.org/wiki/Content_management_system). It was created with [Stackbit](https://www.stackbit.com?utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes) in under a minute.
6+
7+
You can [create a site](https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-fjord&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes) just like this one, or explore some variations. How about a different:
8+
9+
<details>
10+
<summary>🎨 &nbsp;<strong>Look</strong></summary>
11+
<ul>
12+
<li><a href="https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-azimuth&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">A sleek SaaS theme</a></li>
13+
<li><a href="https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-diy&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">A &quot;do it yourself&quot; Stackbit theme</a></li>
14+
<li><a href="https://app.stackbit.com/create?theme=https://github.com/stackbithq/stackbit-theme-libris&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">A documentation theme</a></li>
15+
</ul>
16+
</details>
17+
18+
<details>
19+
<summary>✏️ &nbsp;<strong>CMS</strong></summary>
20+
<ul>
21+
<li><a href="https://app.stackbit.com/create?cms=netlifycms&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Netlify CMS</a></li>
22+
<li><a href="https://app.stackbit.com/create?cms=forestry&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Forestry</a></li>
23+
<li><a href="https://app.stackbit.com/create?cms=contentful&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Contentful</a></li>
24+
</ul>
25+
</details>
26+
27+
<details>
28+
<summary>⚙️ &nbsp;<strong>Static site generator</strong></summary>
29+
<ul>
30+
<li><a href="https://app.stackbit.com/create?ssg=gatsby&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Gatsby</a></li>
31+
<li><a href="https://app.stackbit.com/create?ssg=nextjs&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Next.js</a></li>
32+
<li><a href="https://app.stackbit.com/create?ssg=jekyll&utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes">Jekyll</a></li>
33+
</ul>
34+
</details>
35+
36+
## Develop Locally
37+
38+
1. Follow the [installation guide](https://gohugo.io/getting-started/installing/) to install Hugo
39+
40+
1. This theme uses [Hugo Pipes](https://gohugo.io/hugo-pipes/) to handle SCSS – please ensure you have the Hugo extended version installed:
41+
42+
hugo version
43+
44+
45+
46+
1. Start the Hugo development server:
47+
48+
hugo server
49+
50+
1. Open [http://localhost:1313/](http://localhost:1313/) in the browser
51+
52+
1. 🎉
53+
54+
## Editing Content
55+
56+
To start editing your site, you can edit the included Markdown files.
57+
58+
Alternatively, you can use the free on-page editing experience provided by the [Stackbit Studio](https://stackbit.com?utm_source=project-readme&utm_medium=referral&utm_campaign=user_themes).
59+
60+
[![](https://i3.ytimg.com/vi/zd9lGRLVDm4/hqdefault.jpg)](https://stackbit.link/project-readme-lead-video)
61+
62+
Here's a few resources to get you started:
63+
64+
- 📺 &nbsp; [Editing Content](https://stackbit.link/project-readme-editing-video)
65+
- 📺 &nbsp; [Adding, Reordering and Deleting Items](https://stackbit.link/project-readme-adding-video)
66+
- 📺 &nbsp; [Collaboration](https://stackbit.link/project-readme-collaboration-video)
67+
- 📺 &nbsp; [Publishing](https://stackbit.link/project-readme-publishing-video)
68+
- 📚 &nbsp; [Stackbit Documentation](https://stackbit.link/project-readme-documentation)
69+
70+
If you need a hand, make sure to check the [Stackbit support page](https://stackbit.link/project-readme-support).
71+
72+
## Colophon
73+
74+
Generated at `2021-01-10T00:04:21.128Z` by Stackbit version `0.3.42`.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Header bg animation
3+
*/
4+
.site-header {
5+
.site-header-bg,
6+
.site-header-inside {
7+
opacity: 0;
8+
-webkit-transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
9+
transition: opacity .5s cubic-bezier(0.28, 0.12, 0.22, 1);
10+
}
11+
12+
&.bg--loaded {
13+
.site-header-bg,
14+
.site-header-inside {
15+
opacity: 1;
16+
}
17+
}
18+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
body.has-theme-bar {
2+
#page {
3+
top: 60px;
4+
@media only screen and (max-width: 801px) {
5+
top: 60px;
6+
}
7+
}
8+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/**
2+
* Site Footer
3+
*/
4+
.site-footer {
5+
-webkit-box-align: start;
6+
-ms-flex-align: start;
7+
align-items: flex-start;
8+
border-top: 1px dashed _palette(border);
9+
display: -webkit-box;
10+
display: -ms-flexbox;
11+
display: flex;
12+
padding-top: 1.66667em;
13+
}
14+
15+
.site-footer-inside {
16+
-webkit-box-flex: 1;
17+
-ms-flex: 1;
18+
flex: 1;
19+
font-size: 14px;
20+
line-height: 1.5;
21+
margin-right: 15px;
22+
23+
.copyright,
24+
> a {
25+
margin-right: 6px;
26+
}
27+
}
28+
29+
.to-top {
30+
display: none;
31+
-webkit-box-flex: 0;
32+
-ms-flex: 0;
33+
flex: 0 0 auto;
34+
font-size: 14px;
35+
line-height: 1.5;
36+
margin-left: auto;
37+
padding-right: 12px;
38+
position: relative;
39+
40+
.icon-arrow-up {
41+
left: auto;
42+
margin-left: 0;
43+
margin-right: 2px;
44+
right: 0;
45+
}
46+
}
47+
48+
@media only screen and (max-width: 800px) {
49+
.to-top {
50+
display: block;
51+
}
52+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/// Removes a specific item from a list.
2+
/// @author Hugo Giraudel
3+
/// @param {list} $list List.
4+
/// @param {integer} $index Index.
5+
/// @return {list} Updated list.
6+
@function remove-nth($list, $index) {
7+
8+
$result: null;
9+
10+
@if type-of($index) != number {
11+
@warn "$index: #{quote($index)} is not a number for `remove-nth`.";
12+
}
13+
@else if $index == 0 {
14+
@warn "List index 0 must be a non-zero integer for `remove-nth`.";
15+
}
16+
@else if abs($index) > length($list) {
17+
@warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
18+
}
19+
@else {
20+
21+
$result: ();
22+
$index: if($index < 0, length($list) + $index + 1, $index);
23+
24+
@for $i from 1 through length($list) {
25+
26+
@if $i != $index {
27+
$result: append($result, nth($list, $i));
28+
}
29+
30+
}
31+
32+
}
33+
34+
@return $result;
35+
36+
}
37+
38+
/// Gets a value from a map.
39+
/// @author Hugo Giraudel
40+
/// @param {map} $map Map.
41+
/// @param {string} $keys Key(s).
42+
/// @return {string} Value.
43+
@function val($map, $keys...) {
44+
45+
@if nth($keys, 1) == null {
46+
$keys: remove-nth($keys, 1);
47+
}
48+
49+
@each $key in $keys {
50+
$map: map-get($map, $key);
51+
}
52+
53+
@return $map;
54+
55+
}
56+
57+
/// Gets a font value.
58+
/// @param {string} $keys Key(s).
59+
/// @return {string} Value.
60+
@function _font($keys...) {
61+
@return val($font, $keys...);
62+
}
63+
64+
/// Gets a palette value.
65+
/// @param {string} $keys Key(s).
66+
/// @return {string} Value.
67+
@function _palette($keys...) {
68+
@return val($palette, $keys...);
69+
}

0 commit comments

Comments
 (0)