Styling adjustments

This commit is contained in:
itzMiney committed 2024-12-30 15:45:46 +01:00
1 parent 65b5430c7e
commit cae27a9fa0
13 files changed
+108 -117

No files matched your search

+23 -53
View File
@@ -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 {
+3 -17
View File
@@ -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-container">
<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>
+3 -3
View File
@@ -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']
})