diff --git a/site/config.toml b/site/config.toml index 8dec8384..782d16a0 100644 --- a/site/config.toml +++ b/site/config.toml @@ -9,7 +9,7 @@ paginate = 10 [params] GithubURL = "https://github.com/yuzu-emu/yuzu" - ProjectName = "yuzu emulator project" + ProjectName = "yuzu Emulator Project" [Languages] [Languages.en] diff --git a/site/content/temp.txt b/site/content/.gitkeep similarity index 100% rename from site/content/temp.txt rename to site/content/.gitkeep diff --git a/site/content/entry/test-post-please-ignore-2.md b/site/content/entry/test-post-please-ignore-2.md new file mode 100644 index 00000000..521e3e51 --- /dev/null +++ b/site/content/entry/test-post-please-ignore-2.md @@ -0,0 +1,18 @@ ++++ +date = "2016-02-22T22:18:00-05:00" +title = "Placeholder" +author = "flamesage" +forum = 8 ++++ + +This is just a placeholder blog post. + +New line. + +Test line. + +Test *italics*. + +Test **bold**. + +Test [link](//google.com). diff --git a/site/content/entry/test-post-please-ignore.md b/site/content/entry/test-post-please-ignore.md new file mode 100644 index 00000000..521e3e51 --- /dev/null +++ b/site/content/entry/test-post-please-ignore.md @@ -0,0 +1,18 @@ ++++ +date = "2016-02-22T22:18:00-05:00" +title = "Placeholder" +author = "flamesage" +forum = 8 ++++ + +This is just a placeholder blog post. + +New line. + +Test line. + +Test *italics*. + +Test **bold**. + +Test [link](//google.com). diff --git a/site/layouts/partials/header_homepage.html b/site/layouts/partials/header_homepage.html index 193f8794..ecb93b1e 100644 --- a/site/layouts/partials/header_homepage.html +++ b/site/layouts/partials/header_homepage.html @@ -1,24 +1,35 @@ -
-
-
- -
-

{{ .Site.Title }}

-

{{ .Site.Params.Tagline }}

- - - - - Source Code - -
+
+
+ +
- -
-
- -
+
+
+
+ +
+
+
+

{{ .Site.Params.Tagline }}

+ + + + + Source Code + +
+
+
+ + +
+
+ +
+
-
\ No newline at end of file +
diff --git a/site/layouts/partials/nav_contents.html b/site/layouts/partials/nav_contents.html new file mode 100644 index 00000000..532685c3 --- /dev/null +++ b/site/layouts/partials/nav_contents.html @@ -0,0 +1,41 @@ +
+ + +
diff --git a/site/layouts/partials/sidebar.html b/site/layouts/partials/sidebar.html index bbd5a783..7121819c 100644 --- a/site/layouts/partials/sidebar.html +++ b/site/layouts/partials/sidebar.html @@ -1,2 +1,4 @@ -

Twitter Feed

-

No tweets yet, check back soon!

\ No newline at end of file +
+

Twitter Feed

+

No tweets yet, check back soon!

+
diff --git a/site/static/images/menu.png b/site/static/images/menu.png index 73b12770..6d64bc54 100644 Binary files a/site/static/images/menu.png and b/site/static/images/menu.png differ diff --git a/site/themes/shared-bulma-theme b/site/themes/shared-bulma-theme index d4433a42..b0192b2e 160000 --- a/site/themes/shared-bulma-theme +++ b/site/themes/shared-bulma-theme @@ -1 +1 @@ -Subproject commit d4433a4244538e0a72c3c359e7d2db7bed564274 +Subproject commit b0192b2ec2a9cbdd5480936f034b41888fe23956 diff --git a/src/js/hero.js b/src/js/hero.js new file mode 100644 index 00000000..9fc01f71 --- /dev/null +++ b/src/js/hero.js @@ -0,0 +1,11 @@ +let navbar = document.getElementById("hero-navbar"); + +if (navbar) { + window.addEventListener('scroll', function (e) { + if (window.scrollY > 0) { + navbar.classList.add("is-freestanding"); + } else { + navbar.classList.remove("is-freestanding"); + } + }); +} diff --git a/src/scss/shared.scss b/src/scss/shared.scss index 02d8e83f..df7fbb21 100644 --- a/src/scss/shared.scss +++ b/src/scss/shared.scss @@ -1,7 +1,44 @@ -$navbar-height: 64px; -$body-background-color: #e5e5e5; -$footer-background-color: $body-background-color; +// Override/configure the default color palette +$info: $primary-color; -#homepage-hero { - background-image: url(../images/rays.svg); -} \ No newline at end of file +$navbar-height: 64px; +$body-background-color: darken(white, 10%); + +// Allows for larger icons with less padding +$navbar-item-img-max-height: 2.75rem; + +// Used to smoothly change background colors +#hero-navbar { + transition: background-color 0.2s ease; +} + +// Used to distinguish the hero navbar when the page has been scrolled +.is-freestanding { + background: $info !important; +} + +// Used as helper +.middle { + align-items: center; + vertical-align: middle; + height: 100%; + display: flex !important; + justify-content: center; +} + +// https://github.com/jgthms/bulma/issues/935 +.navbar-dropdown { + a.navbar-item { + color: #4a4a4a !important; + } + + a.navbar-item:hover { + background-color: #f5f5f5 !important; + color: #0a0a0a !important; + } +} + +// Works around incorrect coloring on navbar dropdown, related to above +.is-info div { + color: inherit !important; +} diff --git a/src/scss/style.scss b/src/scss/style.scss index 8efee56d..4c27d1bd 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1,3 +1,3 @@ -@import "./shared.scss"; @import "./yuzu.scss"; +@import "./shared.scss"; @import "./node_modules/bulma/bulma.sass"; \ No newline at end of file diff --git a/src/scss/yuzu.scss b/src/scss/yuzu.scss index 40d27b4a..8608ef71 100644 --- a/src/scss/yuzu.scss +++ b/src/scss/yuzu.scss @@ -1,2 +1,5 @@ -$primary: #696969; -$navbar-item-hover-color: purple; \ No newline at end of file +$dark-primary-color: #102027; +$light-primary-color: #62727b; +$primary-color: #37474f; + +//$primary: #696969;