Files
itzmineydev/src/app/about/about.component.css
T

168 lines
2.5 KiB
CSS

@keyframes fadeIn {
0% {
opacity: 0;
visibility: hidden;
}
100% {
opacity: 1;
visibility: visible;
}
}
a {
text-decoration: none;
color: inherit;
}
.content-bg {
position: relative;
display: block;
}
.landing-container {
display: flex;
color: white;
width: 100%;
height: calc(100vh - 50px);
justify-content: center;
align-items: center;
text-align: center;
}
.landing-container h1 {
margin-bottom: 0;
font-weight: 700;
background: linear-gradient(45deg, #c3acff 0%, #a6ffb0 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.landing-container .subtitle {
font-size: 1.2rem;
font-style: italic;
margin-top: 5px;
}
.down-arrow {
position: absolute;
cursor: pointer;
font-size: 4rem;
top: 75%;
animation:
arrowFadeIn 600ms ease-in-out forwards,
arrowFloat 1.4s ease-in-out 800ms infinite;
}
.down-arrow i {
transition: all 0.3s ease;
}
.down-arrow i:hover {
transform: scale(1.1);
color: #ff277a;
}
@keyframes arrowFadeIn {
from {
opacity: 0;
transform: translateY(-60px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes arrowFloat {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-6px);
}
100% {
transform: translateY(0);
}
}
.separator {
width: 100%;
height: 50px;
background: linear-gradient(rgba(46, 41, 64, 0) 0%, #2e2940 100%);
}
.about-container {
max-width: 100%;
height: 100%;
overflow: clip;
color: white;
background: #2e2940;
font-family: 'Roboto', sans-serif;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
}
.about-content {
max-width: 900px;
margin: 0 auto;
font-size: 1.2rem;
line-height: 1.6;
}
.titlebar {
background: #26242e;
max-width: 900px;
padding: 4px 8px 2px 8px;
margin: auto 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;
text-align: center;
}
.window-actions {
display: inline-flex;
width: 85px;
}
.window-actions p {
margin: 0;
width: 100%;
text-align: right;
}
.terminal-window {
background: #1b1920;
height: 520px;
max-width: 900px;
margin: 0;
overflow-y: auto;
overflow-x: hidden;
border-radius: 0 0 15px 15px;
}
@media (max-width: 768px) {
.about-container {
padding: 20px 10px;
}
.about-header h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1rem;
}
}