Styling adjustments
This commit is contained in:
1 parent
65b5430c7e
commit
cae27a9fa0
13 files changed
+108
-117
No files matched your search
@@ -26,75 +26,53 @@ a {
|
|||||||
|
|
||||||
.height-container {
|
.height-container {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
width: 100vw;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-container {
|
.about-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 120px 20px;
|
max-width: 900px;
|
||||||
max-width: 960px;
|
margin-bottom: 80px;
|
||||||
margin: 0px auto 0px auto;
|
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
z-index: 1;
|
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 {
|
.about-header {
|
||||||
text-align: center;
|
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 {
|
.about-header .subtitle {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
margin-bottom: 30px;
|
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 {
|
.about-content {
|
||||||
line-height: 1.6;
|
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category {
|
.category {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.category h4 {
|
.category h4 {
|
||||||
@@ -109,16 +87,8 @@ a {
|
|||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: linear-gradient(135deg, #9c27b0, #6200ea);
|
background: linear-gradient(135deg, #9c27b0, #6200ea);
|
||||||
margin: 8px 380px 20px 380px;
|
margin: 8px auto 20px auto;
|
||||||
padding: 10px;
|
max-width: 180px;
|
||||||
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;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
}
|
}
|
||||||
@@ -126,7 +96,6 @@ a {
|
|||||||
.tech-stack {
|
.tech-stack {
|
||||||
background: linear-gradient(135deg, #9c27b0, #6200ea);
|
background: linear-gradient(135deg, #9c27b0, #6200ea);
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
margin: 0px 30px 0px 30px;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -137,6 +106,7 @@ a {
|
|||||||
.tech-stack ul {
|
.tech-stack ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tech-stack li {
|
.tech-stack li {
|
||||||
|
|||||||
@@ -1,19 +1,10 @@
|
|||||||
<div id="vanta-about-bg"></div>
|
<div id="vanta-about-bg"></div>
|
||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
<div class="about-container">
|
<div class="about-container">
|
||||||
<ng-container *ngIf="!isMobile; else mobileContainer">
|
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||||
<div class="about-header" *ngIf="!isMobile">
|
|
||||||
<h1>About Me</h1>
|
<h1>About Me</h1>
|
||||||
<p class="subtitle">Hobby developer & designer</p>
|
<p class="subtitle">Hobby developer & designer</p>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
|
||||||
<ng-template #mobileContainer>
|
|
||||||
<div class="about-header-mobile" *ngIf="isMobile">
|
|
||||||
<h1>About Me</h1>
|
|
||||||
<p class="subtitle">Hobby developer & designer</p>
|
|
||||||
</div>
|
|
||||||
</ng-template>
|
|
||||||
|
|
||||||
<div class="about-content">
|
<div class="about-content">
|
||||||
<p>
|
<p>
|
||||||
Hello, I'm Michael, a developer and designer based in Austria. I specialize in frontend web development,
|
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.<br>I also give support on the Pterodactyl Discord
|
When I'm not coding, I love learning new technologies and contributing to open-source projects.<br>I also give support on the Pterodactyl Discord
|
||||||
</p>
|
</p>
|
||||||
<br>
|
<br>
|
||||||
<ng-container *ngIf="!isMobile; else mobileTechStack">
|
<h3 class="tech-stack-title">Tech Stack</h3>
|
||||||
<h3 class="tech-stack-title" *ngIf="!isMobile">Tech Stack</h3>
|
|
||||||
</ng-container>
|
|
||||||
<ng-template #mobileTechStack>
|
|
||||||
<h3 class="tech-stack-title-mobile" *ngIf="isMobile">Tech Stack</h3>
|
|
||||||
</ng-template>
|
|
||||||
<div class="tech-stack">
|
<div class="tech-stack">
|
||||||
<div class="category">
|
<div class="category">
|
||||||
<h4>= WEB SERVERS =</h4>
|
<h4>= WEB SERVERS =</h4>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {AfterViewInit, Component, OnDestroy, OnInit, ChangeDetectorRef, PLATFORM_ID, Inject} from '@angular/core';
|
import {AfterViewInit, Component, OnDestroy, OnInit, PLATFORM_ID, Inject} from '@angular/core';
|
||||||
import {isPlatformBrowser, NgIf} from '@angular/common';
|
import {isPlatformBrowser, NgStyle} from '@angular/common';
|
||||||
import {VantaBackgroundService} from '../services/vanta-background.service';
|
import {VantaBackgroundService} from '../services/vanta-background.service';
|
||||||
import {DeviceDetectorService} from '../services/device-detector.service';
|
import {DeviceDetectorService} from '../services/device-detector.service';
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ import {DeviceDetectorService} from '../services/device-detector.service';
|
|||||||
selector: 'app-about',
|
selector: 'app-about',
|
||||||
templateUrl: './about.component.html',
|
templateUrl: './about.component.html',
|
||||||
imports: [
|
imports: [
|
||||||
NgIf
|
NgStyle
|
||||||
],
|
],
|
||||||
styleUrls: ['./about.component.css']
|
styleUrls: ['./about.component.css']
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ h1 {
|
|||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-container button:hover {
|
.content-container button:hover {
|
||||||
|
|||||||
@@ -21,17 +21,42 @@
|
|||||||
|
|
||||||
.height-container {
|
.height-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
width: 100vw;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 10; /* Ensure the text and button are above the canvas */
|
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 {
|
.blog-container {
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
margin-top: 120px;
|
margin-top: 10px;
|
||||||
margin-bottom: 80px;
|
margin-bottom: 60px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
<div id="vanta-blog-bg"></div>
|
<div id="vanta-blog-bg"></div>
|
||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
|
<div class="blog-header" [ngStyle]="{'margin-top': isMobile ? '72px' : '112px'}">
|
||||||
|
<h1>Blog</h1>
|
||||||
|
<p class="subtitle">Some (very) irregular updates</p>
|
||||||
|
</div>
|
||||||
<div class="blog-container">
|
<div class="blog-container">
|
||||||
<div *ngIf="articles$ | async as articles; else noArticles">
|
<div *ngIf="articles$ | async as articles; else noArticles">
|
||||||
<div *ngFor="let article of articles" (click)="navigateToArticle(article.slug)" class="article-card">
|
<div *ngFor="let article of articles" (click)="navigateToArticle(article.slug)" class="article-card">
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core';
|
import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core';
|
||||||
import {DeviceDetectorService} from '../services/device-detector.service'
|
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 {VantaBackgroundService} from '../services/vanta-background.service';
|
||||||
import { ArticleService } from '../services/article.service';
|
import { ArticleService } from '../services/article.service';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
@@ -13,7 +13,8 @@ import {Observable} from 'rxjs';
|
|||||||
NgFor,
|
NgFor,
|
||||||
DatePipe,
|
DatePipe,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
SlicePipe
|
SlicePipe,
|
||||||
|
NgStyle
|
||||||
],
|
],
|
||||||
templateUrl: './blog.component.html',
|
templateUrl: './blog.component.html',
|
||||||
styleUrl: './blog.component.css'
|
styleUrl: './blog.component.css'
|
||||||
|
|||||||
@@ -20,20 +20,25 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.height-container {
|
.height-container {
|
||||||
min-height: 100vh;
|
height: 100vh;
|
||||||
align-content: center;
|
width: 100vw;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Login Form Styles */
|
/* Login Form Styles */
|
||||||
.login-container {
|
.login-container {
|
||||||
|
flex-direction: column;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
width: 300px;
|
max-width: 300px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0px auto 0px auto;
|
margin: 20px;
|
||||||
position: relative;
|
position: fixed;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,13 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: none;
|
background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-icon {
|
.menu-icon {
|
||||||
@@ -15,6 +18,22 @@
|
|||||||
border: none;
|
border: none;
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
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 {
|
.full-screen-menu {
|
||||||
@@ -55,9 +74,9 @@
|
|||||||
|
|
||||||
.close-icon {
|
.close-icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 8px;
|
||||||
right: 20px;
|
right: 13px;
|
||||||
font-size: 24px;
|
font-size: 32px;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: white;
|
color: white;
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
<div class="mobile-navbar">
|
<div class="mobile-navbar">
|
||||||
<!-- Hamburger Icon -->
|
<!-- Hamburger Icon -->
|
||||||
<button class="menu-icon" (click)="toggleMenu()">
|
<button class="menu-icon" (click)="toggleMenu()">☰</button>
|
||||||
☰
|
|
||||||
</button>
|
<!-- Logo Text (Centered) -->
|
||||||
|
<div class="navbar-title"><a [routerLink]="'/'" [class.active]="activeLink === '/'">itzMiney.dev</a></div>
|
||||||
|
|
||||||
<!-- Full-Screen Menu -->
|
<!-- Full-Screen Menu -->
|
||||||
<div class="full-screen-menu" *ngIf="menuOpen">
|
<div class="full-screen-menu" *ngIf="menuOpen">
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
.portfolio-container {
|
.portfolio-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 120px 20px;
|
padding-bottom: 60px;
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
@@ -37,26 +37,12 @@
|
|||||||
text-align: center;
|
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 {
|
.portfolio-header h1 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 4px solid white;
|
border: 4px solid white;
|
||||||
margin: 8px 330px 8px 330px;
|
margin: 8px auto 8px auto;
|
||||||
|
max-width: 280px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 45px;
|
border-radius: 45px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,10 @@
|
|||||||
<div id="vanta-portfolio-bg"></div>
|
<div id="vanta-portfolio-bg"></div>
|
||||||
<div class="height-container">
|
<div class="height-container">
|
||||||
<div class="portfolio-container">
|
<div class="portfolio-container">
|
||||||
<ng-container *ngIf="!isMobile; else mobileContainer">
|
<div class="portfolio-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||||
<div class="portfolio-header" *ngIf="!isMobile">
|
|
||||||
<h1>My Portfolio</h1>
|
<h1>My Portfolio</h1>
|
||||||
<p class="subtitle">Projects & Designs</p>
|
<p class="subtitle">Projects & Designs</p>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
|
||||||
<ng-template #mobileContainer>
|
|
||||||
<div class="portfolio-header-mobile" *ngIf="isMobile">
|
|
||||||
<h1>My Portfolio</h1>
|
|
||||||
<p class="subtitle">Projects & Designs</p>
|
|
||||||
</div>
|
|
||||||
</ng-template>
|
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
<p>
|
<p>
|
||||||
Welcome to my portfolio!<br><br>
|
Welcome to my portfolio!<br><br>
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core';
|
import {AfterViewInit, Component, Inject, OnDestroy, OnInit, PLATFORM_ID} from '@angular/core';
|
||||||
import {VantaBackgroundService} from '../services/vanta-background.service';
|
import {VantaBackgroundService} from '../services/vanta-background.service';
|
||||||
import {DeviceDetectorService} from '../services/device-detector.service';
|
import {DeviceDetectorService} from '../services/device-detector.service';
|
||||||
import {isPlatformBrowser, NgIf} from '@angular/common';
|
import {isPlatformBrowser, NgIf, NgStyle} from '@angular/common';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-portfolio',
|
selector: 'app-portfolio',
|
||||||
imports: [
|
imports: [
|
||||||
NgIf
|
NgIf,
|
||||||
|
NgStyle
|
||||||
],
|
],
|
||||||
templateUrl: './portfolio.component.html',
|
templateUrl: './portfolio.component.html',
|
||||||
styleUrl: './portfolio.component.css'
|
styleUrl: './portfolio.component.css'
|
||||||
|
|||||||
Reference in new issue
Block a user