-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to bulma 1.0, cleanup content
- Loading branch information
1 parent
515db17
commit a59b351
Showing
23 changed files
with
393 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# marcus8448.github.io | ||
|
||
My personal website/portfolio. | ||
Built with Hugo and hosted on GitHub Pages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,89 @@ | ||
@charset "utf-8"; | ||
|
||
$navbar-breakpoint: 480px; | ||
$footer-padding: 2rem 1.5rem 4rem; | ||
//$info: darken(hsl(207, 61%, 53%), 10%); | ||
|
||
@import 'bulma/sass/base/_all'; | ||
@import "bulma/sass/utilities/_all"; | ||
|
||
@import 'bulma/sass/elements/box'; | ||
@import 'bulma/sass/elements/container'; | ||
@import 'bulma/sass/elements/content'; | ||
@import 'bulma/sass/elements/icon'; | ||
@import 'bulma/sass/elements/image'; | ||
@import 'bulma/sass/elements/title'; | ||
@import 'bulma/sass/components/media'; | ||
@import 'bulma/sass/components/navbar'; | ||
@import 'bulma/sass/grid/columns'; | ||
@import 'bulma/sass/helpers/_all'; | ||
@import 'bulma/sass/layout/footer'; | ||
@import 'bulma/sass/layout/hero'; | ||
|
||
@media (max-width: $tablet) { | ||
@use "bulma/sass/base"; | ||
@use "bulma/sass/utilities/initial-variables" as iv; | ||
@use "bulma/sass/utilities/derived-variables" with ( | ||
$custom-colors: ( | ||
"light-yellow": ( | ||
hsl(42, 100%, 90%), | ||
iv.$black, | ||
), | ||
"light-blue": ( | ||
hsl(219, 61%, 90%), | ||
iv.$black, | ||
), | ||
"nav-blue": ( | ||
hsl(219, 61%, 53%), | ||
iv.$white, | ||
), | ||
) | ||
); | ||
|
||
@use "bulma/sass/themes"; | ||
|
||
@use "bulma/sass/helpers"; | ||
@use "bulma/sass/utilities"; | ||
|
||
@use "bulma/sass/components/dropdown"; | ||
@use "bulma/sass/components/panel"; | ||
@use "bulma/sass/components/navbar" with ( | ||
$navbar-breakpoint: 480px, | ||
//$navbar-background-color: hsl(180,100%,97%) | ||
); | ||
|
||
@use "bulma/sass/elements/box"; | ||
@use "bulma/sass/elements/content"; | ||
@use "bulma/sass/elements/title"; | ||
@use "bulma/sass/elements/image"; | ||
|
||
@use "bulma/sass/layout/container"; | ||
@use "bulma/sass/layout/hero"; | ||
@use "bulma/sass/layout/media"; | ||
@use "bulma/sass/layout/footer" with ( | ||
$footer-padding: 2rem 1.5rem 4rem | ||
); | ||
|
||
@use "bulma/sass/grid/columns"; | ||
|
||
@media (max-width: iv.$tablet) { | ||
.only-mobile { | ||
display: inherit; | ||
} | ||
.not-mobile { | ||
display: none !important; | ||
} | ||
} | ||
@media (min-width: $tablet) { | ||
|
||
@media (min-width: iv.$tablet) { | ||
.only-mobile { | ||
display: none !important; | ||
} | ||
.not-mobile { | ||
display: inherit; | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
.invert-dark { | ||
filter: invert(1) | ||
} | ||
} | ||
|
||
// based on: https://stackoverflow.com/a/52375669 | ||
@function str-split($string) { | ||
@return str-slice($string, 1, str-index($string, " ") - 1); | ||
}; | ||
|
||
$hero-med-height: str-split("#{hero.$hero-body-padding-medium}"); | ||
|
||
@media (max-width: iv.$tablet) { | ||
.content-med-hero-size { | ||
min-height: calc(100vh - #{navbar.$navbar-height} - #{$hero-med-height} - 10rem); | ||
} | ||
} | ||
|
||
@media (min-width: iv.$tablet) { | ||
.content-med-hero-size { | ||
min-height: calc(100vh - #{navbar.$navbar-height} - #{$hero-med-height} - 23rem); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
--- | ||
title: "Home" | ||
heroTitle: "Hi, my name is Marcus." | ||
heroSubtitle: "I'm a programmer from Canada with experience in Java, C/C++, and Rust." | ||
--- | ||
### Hi, my name is Marcus. | ||
|
||
I'm a programmer from Canada with experience in Java, C++, and Rust. | ||
|
||
[//]: # (I'm particularly interested in build tooling (buildscripts) and compilers.) | ||
|
||
You probably know me from [Galacticraft](/projects/galacticraft) (or, maybe you know me IRL). | ||
You probably know me from [Galacticraft](/projects/galacticraft). | ||
|
||
---- | ||
|
||
I've been programming for many years now, | ||
mainly in Java where I have written multiple JavaFX applications and modifications for Minecraft. | ||
|
||
I have also written command line applications and a web service backend using Rust, | ||
and have worked with embedded C++. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
--- | ||
title: "Blog" | ||
description: Coming soon™ | ||
heroType: is-link | ||
heroType: is-background-light-blue-soft | ||
date: 2023-09-22T13:51:23-07:00 | ||
--- | ||
|
||
I'll write something here, someday. | ||
|
||
# Posts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "Test Post 2" | ||
description: "Hello world!" | ||
date: 2024-06-01T00:00:00-07:00 | ||
--- | ||
|
||
Hello world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: "Projects" | ||
description: Things that I've created over the years | ||
heroType: is-link | ||
heroType: is-background-light-blue-soft | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.