made some slight improvements to the terminal emulator

This commit is contained in:
itzMiney committed 2026-03-17 20:33:33 +01:00
1 parent a57a27e4a3
commit 79ab1285c5
5 files changed
+170 -78

No files matched your search

+13 -24
View File
@@ -14,21 +14,13 @@ a {
color: inherit;
}
.height-container {
min-height: 100vh;
align-content: center;
justify-content: center;
display: flex;
flex-direction: column;
}
.content-bg {
position: relative;
display: block;
}
.about-header {
.landing-container {
display: flex;
color: white;
width: 100%;
@@ -38,11 +30,7 @@ a {
text-align: center;
}
.title-box {
display: block;
}
.about-header h1 {
.landing-container h1 {
margin-bottom: 0;
font-weight: 700;
background: linear-gradient(45deg, #c3acff 0%, #a6ffb0 100%);
@@ -51,7 +39,7 @@ a {
color: transparent;
}
.about-header .subtitle {
.landing-container .subtitle {
font-size: 1.2rem;
font-style: italic;
margin-top: 5px;
@@ -105,11 +93,10 @@ a {
}
.about-container {
max-width: 100%;
height: 100%;
overflow: clip;
min-height: calc(100vh - 80px);
color: white;
background: #2e2940;
padding: 80px 0 80px 0;
font-family: 'Roboto', sans-serif;
z-index: 1;
display: flex;
@@ -125,30 +112,31 @@ a {
}
.terminal-title {
.titlebar {
background: #26242e;
max-width: 900px;
padding: 4px 8px 2px 8px;
margin: auto 0;
border-radius: 20px 20px 0 0;
border-radius: 15px 15px 0 0;
}
.window-title {
display: inline-flex;
width: calc(100% - 85px);
justify-content: center;
}
.window-title p {
margin: 0 0 0 85px;
width: 100%;
text-align: center;
}
.window-buttons {
.window-actions {
display: inline-flex;
width: 85px;
}
.window-buttons p {
.window-actions p {
margin: 0;
width: 100%;
text-align: right;
@@ -156,11 +144,12 @@ a {
.terminal-window {
background: #1b1920;
height: 540px;
height: 520px;
max-width: 900px;
margin: 0;
overflow-y: auto;
overflow-x: hidden;
border-radius: 0 0 20px 20px;
border-radius: 0 0 15px 15px;
}
@media (max-width: 768px) {
+17 -19
View File
@@ -5,26 +5,24 @@
'linear-gradient(180deg,#1b172c 0%, #0b0b0f 100%);'
">
</app-parallax>
<div class="height-container">
<div class="about-header">
<div class="title-box">
<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()">
<i class="fa-solid fa-angle-down"></i>
</div>
<div class="landing-container">
<div class="title-box">
<h1 [ngStyle]="{'font-size': isMobile ? '4rem' : '5rem'}"><code>itzMiney</code></h1>
<p class="subtitle">{{ 'ABOUT_SUB' | translate}}</p>
</div>
<div class="separator"></div>
<section id="content" #contentTrigger></section>
<div class="about-container">
<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>
<div class="terminal-window" [ngStyle]="{'width': isMobile ? '100%' : '900px' }">
<app-terminal-emulator [bootOnVisible]="terminalShouldBoot"></app-terminal-emulator>
</div>
<div class="down-arrow" (click)="scrollDown()">
<i class="fa-solid fa-angle-down"></i>
</div>
</div>
<div class="separator"></div>
<section id="content" #contentTrigger></section>
<div class="about-container">
<div class="terminal" [ngStyle]="{'margin': isMobile ? '10px;' : '25px'}">
<div class="titlebar">
<div class="window-title"><p><code>Konsole</code></p></div> <div class="window-actions"><p>🟡 🟣 🔴</p></div>
</div>
<div class="terminal-window" [ngStyle]="{'width': isMobile ? '100%' : '900px' }">
<app-terminal-emulator [bootOnVisible]="terminalShouldBoot"></app-terminal-emulator>
</div>
</div>
</div>