From bbd3d0a885ecd82db69f751b3049c50670399cb4 Mon Sep 17 00:00:00 2001 From: gangjun06 Date: Wed, 12 Aug 2020 22:15:08 +0000 Subject: [PATCH] init commit --- LICENSE | 20 ++++++++++ archetypes/default.md | 2 + layouts/404.html | 0 layouts/_default/baseof.html | 11 ++++++ layouts/_default/list.html | 0 layouts/_default/single.html | 0 layouts/index.html | 11 ++++++ layouts/partials/footer.html | 0 layouts/partials/head.html | 0 layouts/partials/header.html | 5 +++ layouts/partials/home.html | 12 ++++++ layouts/partials/navbar.html | 44 +++++++++++++++++++++ static/css/index.css | 73 +++++++++++++++++++++++++++++++++++ static/img/wave.png | Bin 0 -> 4789 bytes theme.toml | 21 ++++++++++ 15 files changed, 199 insertions(+) create mode 100644 LICENSE create mode 100644 archetypes/default.md create mode 100644 layouts/404.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/home.html create mode 100644 layouts/partials/navbar.html create mode 100644 static/css/index.css create mode 100644 static/img/wave.png create mode 100644 theme.toml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..faff36e --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 YOUR_NAME_HERE + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..ac36e06 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..b482c42 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,11 @@ + + + + {{ partial "header.html" . }} + {{ $.Site.Title }} + + + {{ partial "navbar.html" . }} + {{ partial "home.html" . }} + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..a970e0d --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layouts/partials/home.html b/layouts/partials/home.html new file mode 100644 index 0000000..161c837 --- /dev/null +++ b/layouts/partials/home.html @@ -0,0 +1,12 @@ +
+
+
+
+
+
+
+
asdf
+
asdf
+
+
+
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..bddca45 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,44 @@ + diff --git a/static/css/index.css b/static/css/index.css new file mode 100644 index 0000000..2fbcc51 --- /dev/null +++ b/static/css/index.css @@ -0,0 +1,73 @@ +.centerAll { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +#mainBG { + position: relative; + width: 100%; + height: 80vh; + overflow: hidden; + background-size: cover; + background-repeat: no-repeat; + color: #ffffff; +} + +#mainBG .wave { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 100px; + background: url("/img/wave.png"); + background-size: 1000px 100px; +} + +#mainBG .wave.wave1 { + animation: wave-animate 30s linear infinite; + z-index: 303; + opacity: 1; + animation-delay: 0s; + bottom: 0; +} +#mainBG .wave.wave2 { + animation: wave-animate2 15s linear infinite; + z-index: 302; + opacity: 0.5; + animation-delay: -5s; + bottom: 10px; +} +#mainBG .wave.wave3 { + animation: wave-animate 30s linear infinite; + z-index: 301; + opacity: 0.2; + animation-delay: -2s; + bottom: 15; +} +#mainBG .wave.wave4 { + animation: wave-animate2 5s linear infinite; + z-index: 300; + opacity: 0.7; + animation-delay: -5s; + bottom: 20px; +} + +@keyframes wave-animate { + 0% { + background-position-x: 0; + } + 100% { + background-position-x: 1000px; + } +} + +@keyframes wave-animate2 { + 0% { + background-position-x: 0; + } + 100% { + background-position-x: -1000px; + } +} diff --git a/static/img/wave.png b/static/img/wave.png new file mode 100644 index 0000000000000000000000000000000000000000..438acd6d500a753d76d7f66bd5b6c6b7ba8d2c90 GIT binary patch literal 4789 zcmd^CX+u+2x88s_p~$NUw4z3a076JWg(OTOAVZj;%n+ssxtIi#KnNhDRcn=snlKhE ziUOi26d4Qzj8es;zFH9sb3h_u06`QP6ujrq+V_6Ay?@~5Lvr>xYdveNXFY45ofF=k z&g<8HyA}Yj-qpp?7XW4W5`4dUCH!5C)5O3(->{v6*nW%yY)%xD0_)U zONol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