style tweaks (mainly for mobile)
This commit is contained in:
1 parent
b396728db8
commit
07437e7950
13 files changed
+216
-80
No files matched your search
@@ -43,7 +43,6 @@ a {
|
||||
}
|
||||
|
||||
.about-header h1 {
|
||||
font-size: 5rem;
|
||||
margin-bottom: 0;
|
||||
font-weight: 700;
|
||||
background: linear-gradient(45deg, #c3acff 0%, #a6ffb0 100%);
|
||||
@@ -121,7 +120,6 @@ a {
|
||||
.about-content {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 0 25px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
@@ -158,29 +156,29 @@ a {
|
||||
|
||||
.terminal-bg {
|
||||
background: #1b1920;
|
||||
padding: 2px 22px 11px 22px;
|
||||
padding: 8px 22px 11px 22px;
|
||||
margin: 0 0 80px 0;
|
||||
border-radius: 0 0 20px 20px;
|
||||
}
|
||||
|
||||
.terminal-bg h2 {
|
||||
line-height: 0.5;
|
||||
line-height: 1.2;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.terminal-bg a.secret {
|
||||
color: white;
|
||||
}
|
||||
|
||||
::ng-deep.terminal-bg a {
|
||||
.terminal-bg a {
|
||||
color: #cb84df;
|
||||
}
|
||||
|
||||
::ng-deep.terminal-bg p {
|
||||
.terminal-bg p {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.cursorblink {
|
||||
margin-left: 8px;
|
||||
animation: cursorBlink 1.25s infinite;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="height-container">
|
||||
<div class="about-header">
|
||||
<div class="title-box">
|
||||
<h1><code>itzMiney</code></h1>
|
||||
<h1 [ngStyle]="{'font-size': isMobile ? '4rem' : '5rem'}"><code>itzMiney</code></h1>
|
||||
<p class="subtitle">{{ 'ABOUT_SUB' | translate}}</p>
|
||||
</div>
|
||||
<div class="down-arrow" (click)="scrollDown()">
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="separator"></div>
|
||||
<section id="content"></section>
|
||||
<div class="about-container">
|
||||
<div class="about-content">
|
||||
<div class="about-content" [ngStyle]="{'padding': isMobile ? '0 10px;' : '0 25px'}">
|
||||
<div class="terminal-title">
|
||||
<div class="window-title"><p><code>Konsole</code></p></div> <div class="window-buttons"><p>🟡 🟣 🔴</p></div>
|
||||
</div>
|
||||
@@ -60,7 +60,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<h2>$<span class="cursorblink">█</span></h2>
|
||||
<h2>$ <span class="cursorblink">█</span></h2>
|
||||
</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||||
import {DeviceDetectorService} from '../shared/services/device-detector.service';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
import {TranslatePipe} from '@ngx-translate/core';
|
||||
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
import {NgStyle} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
templateUrl: './about.component.html',
|
||||
imports: [
|
||||
TranslatePipe,
|
||||
ParallaxComponent
|
||||
ParallaxComponent,
|
||||
NgStyle
|
||||
],
|
||||
styleUrls: ['./about.component.css']
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user