diff --git a/README.md b/README.md index 604ef22..0720d9c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ # jakeswestcoast Website HTML for www.jakeswestcoast.com. -
-Note: `data/greyscale_banner.gif` is too large for Github. Gonna have to store it on egn. + +## Running +``` +docker compose down && docker system prune -af && docker compose build && docker compose up -d && docker logs -f jakeswestcoast +``` + diff --git a/static/index.css b/static/index.css index ded463c..5e99346 100644 --- a/static/index.css +++ b/static/index.css @@ -1,6 +1,62 @@ -/**************************************************** - * index.css - * @author Jake Runyan - * @desc Main CSS - *//*************************************************/ - +/* Fullscreen video background */ +.fullscreen-video-wrapper { + position: relative; + width: 100%; + height: 100vh; /* Fullscreen height */ + overflow: hidden; +} + +.fullscreen-video-wrapper iframe { + position: absolute; + top: 50%; + left: 50%; + width: 100vw; + height: 100vh; + transform: translate(-50%, -50%); + object-fit: cover; /* Ensures the video covers the entire screen */ + z-index: -1; /* Puts the iframe behind the text */ +} + +/* Centered overlay text */ +.overlay-text { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + color: #f0f0f0; + z-index: 1; /* Ensures the text is on top of the video */ +} + +.titletext { + font-size: 8vw; + font-weight: bolder; +} + +.subtext { + font-size: 4vw; + font-weight: bolder; +} + +/* Responsive styling */ +@media (max-width: 768px) { + .titletext { + font-size: 10vw; + } + + .subtext { + font-size: 5vw; + } +} + +/* Scrollable content below the fullscreen section */ +#about { + padding-top: 100vh; /* Ensures content starts below the fullscreen section */ +} + +/* Make images responsive */ +.responsive-img { + max-width: 100%; + height: auto; +} + diff --git a/templates/index.html b/templates/index.html index f98df3e..e8a0c27 100755 --- a/templates/index.html +++ b/templates/index.html @@ -1,30 +1,35 @@ - + + + Jake's West Coast - - + - - -
-

Jake's West Coast

-

My Mountaineering Diary!

+ +
+ +
+

Jake's West Coast

+

My Mountaineering Diary!

+
+ +

Who Am I?

-
+
- +
-

I'm Jake, a rider from the Bay Area. I enjoy being in the mountains and riding new trails! Catch me riding in the Santa Cruz mountains on the weekend.

-

Check out my social media and Youtube to see what I've been riding! Links are below.

+

I'm Jake, a rider from the Bay Area. I enjoy being in the mountains and riding new trails!

+

Check out my social media and Youtube to see what I've been riding! Links are below.

@@ -33,5 +38,5 @@
- +