Styling adjustments
This commit is contained in:
1 parent
65b5430c7e
commit
cae27a9fa0
13 files changed
+107
-116
No files matched your search
@@ -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 {
|
||||
|
||||
@@ -1,19 +1,10 @@
|
||||
<div id="vanta-about-bg"></div>
|
||||
<div class="height-container">
|
||||
<div class="about-container">
|
||||
<ng-container *ngIf="!isMobile; else mobileContainer">
|
||||
<div class="about-header" *ngIf="!isMobile">
|
||||
<div class="about-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||
<h1>About Me</h1>
|
||||
<p class="subtitle">Hobby developer & designer</p>
|
||||
</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">
|
||||
<p>
|
||||
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
|
||||
</p>
|
||||
<br>
|
||||
<ng-container *ngIf="!isMobile; else mobileTechStack">
|
||||
<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>
|
||||
<h3 class="tech-stack-title">Tech Stack</h3>
|
||||
<div class="tech-stack">
|
||||
<div class="category">
|
||||
<h4>= WEB SERVERS =</h4>
|
||||
|
||||
@@ -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']
|
||||
})
|
||||
|
||||
@@ -77,6 +77,7 @@ h1 {
|
||||
border-radius: 25px;
|
||||
transition: background-color 0.3s;
|
||||
font-weight: 400;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-container button:hover {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<div id="vanta-blog-bg"></div>
|
||||
<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 *ngIf="articles$ | async as articles; else noArticles">
|
||||
<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 {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'
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<div class="mobile-navbar">
|
||||
<!-- Hamburger Icon -->
|
||||
<button class="menu-icon" (click)="toggleMenu()">
|
||||
☰
|
||||
</button>
|
||||
<button class="menu-icon" (click)="toggleMenu()">☰</button>
|
||||
|
||||
<!-- Logo Text (Centered) -->
|
||||
<div class="navbar-title"><a [routerLink]="'/'" [class.active]="activeLink === '/'">itzMiney.dev</a></div>
|
||||
|
||||
<!-- Full-Screen Menu -->
|
||||
<div class="full-screen-menu" *ngIf="menuOpen">
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,18 +1,10 @@
|
||||
<div id="vanta-portfolio-bg"></div>
|
||||
<div class="height-container">
|
||||
<div class="portfolio-container">
|
||||
<ng-container *ngIf="!isMobile; else mobileContainer">
|
||||
<div class="portfolio-header" *ngIf="!isMobile">
|
||||
<div class="portfolio-header" [ngStyle]="{'margin-top': isMobile ? '60px' : '120px'}">
|
||||
<h1>My Portfolio</h1>
|
||||
<p class="subtitle">Projects & Designs</p>
|
||||
</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">
|
||||
<p>
|
||||
Welcome to my portfolio!<br><br>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user