core: actually achieve split intro

This commit is contained in:
Trianta 2024-12-10 01:02:34 -06:00
parent a751832a5c
commit d574883963
2 changed files with 38 additions and 50 deletions

View File

@ -20,26 +20,16 @@ body {
padding: 2rem 1.5rem; padding: 2rem 1.5rem;
} }
#introduction {
height: 100%;
width: 50%;
position: fixed;
z-index: 1;
top: 0;
overflow-x: hidden;
padding-top: 20px;
}
#introLeft { #introLeft {
display: inline-block; display: inline-block;
max-width: 40rem; max-width: 74rem;
left: 0; width: 100%;
} }
#introRight { #introRight {
display: inline-block; display: inline-block;
max-width: 10rem; max-width: 5rem;
right: 0; width: 100%;
} }
.navigation { .navigation {

View File

@ -6,7 +6,7 @@
<link rel="stylesheet" href="default.css" /> <link rel="stylesheet" href="default.css" />
</head> </head>
<body> <body>
<div id="introduction" class="inside"> <div class="inside">
<div id="introLeft"> <div id="introLeft">
<p style="font-size: 3.5rem;">TRIANTA</p> <p style="font-size: 3.5rem;">TRIANTA</p>
<p>Function over form by design</p> <p>Function over form by design</p>
@ -16,7 +16,6 @@
<a class="navigation" href="https://lab.trianta.dev/Trianta">Projects</a> <a class="navigation" href="https://lab.trianta.dev/Trianta">Projects</a>
</div> </div>
</div> </div>
<div>
<div class="inside"> <div class="inside">
<h2>Completed Projects</h2> <h2>Completed Projects</h2>
<div class="card"> <div class="card">
@ -56,7 +55,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="inside"> <div class="inside">
<h2>Current Personal Projects</h2> <h2>Current Personal Projects</h2>
<div class="card"> <div class="card">