diff --git a/src/app/about/about.component.css b/src/app/about/about.component.css index 5e94812..637fb18 100644 --- a/src/app/about/about.component.css +++ b/src/app/about/about.component.css @@ -26,75 +26,53 @@ a { .height-container { min-height: 100vh; + width: 100vw; align-content: center; + justify-content: center; + display: flex; } .about-container { position: relative; color: white; - padding: 120px 20px; - max-width: 960px; - margin: 0px auto 0px auto; + max-width: 900px; + margin-bottom: 80px; font-family: 'Roboto', sans-serif; z-index: 1; } -.about-header-mobile { - text-align: center; - padding-top: 50px; -} - -.about-header-mobile p { - font-style: italic; -} - -.about-header-mobile h1 { - font-size: 2.5rem; - background: transparent; - border: 4px solid white; - margin: 8px 30px 8px 30px; - padding: 10px; - border-radius: 45px; -} - .about-header { text-align: center; } -.about-header p { - font-style: italic; -} - -.about-content p { - font-size: 1.2rem; - margin-bottom: 10px; - text-align: center; -} - -.about-header h1 { - font-size: 2.5rem; - background: transparent; - border: 4px solid white; - margin: 8px 340px 8px 340px; - padding: 10px; - border-radius: 45px; -} - .about-header .subtitle { font-size: 1.2rem; font-style: italic; margin-bottom: 30px; } +.about-header h1 { + font-size: 2.5rem; + background: transparent; + border: 4px solid white; + margin: 8px auto 8px auto; + max-width: 220px; + padding: 10px; + border-radius: 45px; +} + .about-content { - line-height: 1.6; font-size: 1.2rem; + line-height: 1.6; + margin-bottom: 10px; + text-align: center; + justify-items: center; } .category { border-radius: 8px; padding: 5px; - width: 200px; + max-width: 200px; } .category h4 { @@ -109,16 +87,8 @@ a { font-size: 1.4rem; text-align: center; background: linear-gradient(135deg, #9c27b0, #6200ea); - margin: 8px 380px 20px 380px; - padding: 10px; - border-radius: 30px; -} - -.tech-stack-title-mobile { - font-size: 1.4rem; - text-align: center; - background: linear-gradient(135deg, #9c27b0, #6200ea); - margin: 8px 80px 20px 80px; + margin: 8px auto 20px auto; + max-width: 180px; padding: 10px; border-radius: 30px; } @@ -126,7 +96,6 @@ a { .tech-stack { background: linear-gradient(135deg, #9c27b0, #6200ea); border-radius: 40px; - margin: 0px 30px 0px 30px; justify-content: center; align-items: flex-start; display: flex; @@ -137,6 +106,7 @@ a { .tech-stack ul { list-style: none; padding-left: 0; + width: 200px; } .tech-stack li { diff --git a/src/app/about/about.component.html b/src/app/about/about.component.html index 57f3402..7f4aff0 100644 --- a/src/app/about/about.component.html +++ b/src/app/about/about.component.html @@ -1,19 +1,10 @@
-
- -
+
+

About Me

Hobby developer & designer

- - -
-

About Me

-

Hobby developer & designer

-
-
-

Hello, I'm Michael, a developer and designer based in Austria. I specialize in frontend web development, @@ -23,12 +14,7 @@ When I'm not coding, I love learning new technologies and contributing to open-source projects.
I also give support on the Pterodactyl Discord


- -

Tech Stack

-
- -

Tech Stack

-
+

Tech Stack

= WEB SERVERS =

diff --git a/src/app/about/about.component.ts b/src/app/about/about.component.ts index 0bf3d59..728deac 100644 --- a/src/app/about/about.component.ts +++ b/src/app/about/about.component.ts @@ -1,5 +1,5 @@ -import {AfterViewInit, Component, OnDestroy, OnInit, ChangeDetectorRef, PLATFORM_ID, Inject} from '@angular/core'; -import {isPlatformBrowser, NgIf} from '@angular/common'; +import {AfterViewInit, Component, OnDestroy, OnInit, PLATFORM_ID, Inject} from '@angular/core'; +import {isPlatformBrowser, NgStyle} from '@angular/common'; import {VantaBackgroundService} from '../services/vanta-background.service'; import {DeviceDetectorService} from '../services/device-detector.service'; @@ -7,7 +7,7 @@ import {DeviceDetectorService} from '../services/device-detector.service'; selector: 'app-about', templateUrl: './about.component.html', imports: [ - NgIf + NgStyle ], styleUrls: ['./about.component.css'] }) diff --git a/src/app/article-page/article-page.component.css b/src/app/article-page/article-page.component.css index 29bf354..4b5e398 100644 --- a/src/app/article-page/article-page.component.css +++ b/src/app/article-page/article-page.component.css @@ -77,6 +77,7 @@ h1 { border-radius: 25px; transition: background-color 0.3s; font-weight: 400; + margin-bottom: 20px; } .content-container button:hover { diff --git a/src/app/blog/blog.component.css b/src/app/blog/blog.component.css index 2580142..c421684 100644 --- a/src/app/blog/blog.component.css +++ b/src/app/blog/blog.component.css @@ -21,17 +21,42 @@ .height-container { display: flex; + flex-direction: column; min-height: 100vh; + width: 100vw; justify-content: center; align-items: center; text-align: center; z-index: 10; /* Ensure the text and button are above the canvas */ } +.blog-header .subtitle { + font-size: 1.2rem; + font-style: italic; + margin-bottom: 30px; +} + +.blog-header { + text-align: center; + color: white; +} + +.blog-header h1 { + font-size: 2.5rem; + background: transparent; + border: 4px solid white; + margin: 8px auto 8px auto; + max-width: 220px; + padding: 10px; + border-radius: 45px; +} + .blog-container { + position: relative; + text-align: center; max-width: 900px; - margin-top: 120px; - margin-bottom: 80px; + margin-top: 10px; + margin-bottom: 60px; padding: 20px; } diff --git a/src/app/blog/blog.component.html b/src/app/blog/blog.component.html index fa2512f..dbce1c3 100644 --- a/src/app/blog/blog.component.html +++ b/src/app/blog/blog.component.html @@ -1,5 +1,9 @@
+
+

Blog

+

Some (very) irregular updates

+
diff --git a/src/app/blog/blog.component.ts b/src/app/blog/blog.component.ts index 92fd295..0bb1263 100644 --- a/src/app/blog/blog.component.ts +++ b/src/app/blog/blog.component.ts @@ -1,6 +1,6 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; import {DeviceDetectorService} from '../services/device-detector.service' -import {DatePipe, isPlatformBrowser, NgIf, NgFor, AsyncPipe, SlicePipe} from '@angular/common'; +import {DatePipe, isPlatformBrowser, NgIf, NgFor, AsyncPipe, SlicePipe, NgStyle} from '@angular/common'; import {VantaBackgroundService} from '../services/vanta-background.service'; import { ArticleService } from '../services/article.service'; import { Router } from '@angular/router'; @@ -13,7 +13,8 @@ import {Observable} from 'rxjs'; NgFor, DatePipe, AsyncPipe, - SlicePipe + SlicePipe, + NgStyle ], templateUrl: './blog.component.html', styleUrl: './blog.component.css' diff --git a/src/app/login/login.component.css b/src/app/login/login.component.css index 0cd6a27..880e694 100644 --- a/src/app/login/login.component.css +++ b/src/app/login/login.component.css @@ -20,20 +20,25 @@ } .height-container { - min-height: 100vh; - align-content: center; + height: 100vh; + width: 100vw; + display: flex; + align-items: center; + justify-content: center; + z-index: 1; } /* Login Form Styles */ .login-container { + flex-direction: column; background: #fff; border-radius: 25px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); padding: 40px; - width: 300px; + max-width: 300px; text-align: center; - margin: 0px auto 0px auto; - position: relative; + margin: 20px; + position: fixed; z-index: 1; } diff --git a/src/app/mobile-navbar/mobile-navbar.component.css b/src/app/mobile-navbar/mobile-navbar.component.css index 9ebf306..6b53ce1 100644 --- a/src/app/mobile-navbar/mobile-navbar.component.css +++ b/src/app/mobile-navbar/mobile-navbar.component.css @@ -3,10 +3,13 @@ top: 0; left: 0; width: 100%; - background: none; + background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%); padding: 10px; color: #fff; z-index: 1000; + display: flex; + align-items: center; + justify-content: space-between; } .menu-icon { @@ -15,6 +18,22 @@ border: none; color: white; cursor: pointer; + transform: translate( +10%, -5% ); + z-index: 10; +} + +.navbar-title { + flex-grow: 1; + text-align: center; + font-size: 20px; + font-weight: bold; + transform: translateX(-10%); + z-index: 1; +} + +.navbar-title a { + text-decoration: none; + color: inherit; } .full-screen-menu { @@ -55,9 +74,9 @@ .close-icon { position: absolute; - top: 20px; - right: 20px; - font-size: 24px; + top: 8px; + right: 13px; + font-size: 32px; background: none; border: none; color: white; diff --git a/src/app/mobile-navbar/mobile-navbar.component.html b/src/app/mobile-navbar/mobile-navbar.component.html index dbb2fa3..8f480fd 100644 --- a/src/app/mobile-navbar/mobile-navbar.component.html +++ b/src/app/mobile-navbar/mobile-navbar.component.html @@ -1,8 +1,9 @@
- + + + +
diff --git a/src/app/portfolio/portfolio.component.css b/src/app/portfolio/portfolio.component.css index 99ee5da..abd1ef8 100644 --- a/src/app/portfolio/portfolio.component.css +++ b/src/app/portfolio/portfolio.component.css @@ -22,7 +22,7 @@ .portfolio-container { position: relative; color: white; - padding: 120px 20px; + padding-bottom: 60px; max-width: 960px; margin: 0 auto; font-family: 'Roboto', sans-serif; @@ -37,26 +37,12 @@ text-align: center; } -.portfolio-header-mobile { - text-align: center; - padding-top: 50px; - padding-bottom: 10px; -} - -.portfolio-header-mobile h1 { - font-size: 2.5rem; - background: transparent; - border: 4px solid white; - margin: 8px 30px 8px 30px; - padding: 10px; - border-radius: 45px; -} - .portfolio-header h1 { font-size: 2.5rem; background: transparent; border: 4px solid white; - margin: 8px 330px 8px 330px; + margin: 8px auto 8px auto; + max-width: 280px; padding: 10px; border-radius: 45px; } diff --git a/src/app/portfolio/portfolio.component.html b/src/app/portfolio/portfolio.component.html index 492fd6e..f09aee8 100644 --- a/src/app/portfolio/portfolio.component.html +++ b/src/app/portfolio/portfolio.component.html @@ -1,18 +1,10 @@
- -
+

My Portfolio

Projects & Designs

- - -
-

My Portfolio

-

Projects & Designs

-
-

Welcome to my portfolio!

diff --git a/src/app/portfolio/portfolio.component.ts b/src/app/portfolio/portfolio.component.ts index 14847d0..54629a1 100644 --- a/src/app/portfolio/portfolio.component.ts +++ b/src/app/portfolio/portfolio.component.ts @@ -1,12 +1,13 @@ import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core'; import {VantaBackgroundService} from '../services/vanta-background.service'; import {DeviceDetectorService} from '../services/device-detector.service'; -import {isPlatformBrowser, NgIf} from '@angular/common'; +import {isPlatformBrowser, NgIf, NgStyle} from '@angular/common'; @Component({ selector: 'app-portfolio', imports: [ - NgIf + NgIf, + NgStyle ], templateUrl: './portfolio.component.html', styleUrl: './portfolio.component.css'