mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
rebuild home padding
This commit is contained in:
@@ -89,10 +89,14 @@ h2 {
|
|||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3, h4 {
|
h3, h4, h5 {
|
||||||
color: #a8a8a8;
|
color: #a8a8a8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
color: #ecebeb;
|
color: #ecebeb;
|
||||||
}
|
}
|
||||||
@@ -107,6 +111,14 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.transparent {
|
||||||
|
opacity: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.unsetPos {
|
||||||
|
position: unset !important;
|
||||||
|
}
|
||||||
|
|
||||||
.header h1 {
|
.header h1 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
transition: .4s;
|
transition: .4s;
|
||||||
@@ -268,12 +280,13 @@ a {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#HomeContentContainer {
|
#HomeContent {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
min-width: 65em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#HomeContent {
|
#nametag {
|
||||||
padding: 3rem;
|
padding: 3rem;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: rgb(44, 44, 44, .75);
|
background-color: rgb(44, 44, 44, .75);
|
||||||
@@ -281,14 +294,23 @@ a {
|
|||||||
border: solid black 4px;
|
border: solid black 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: .15em .15em rgba(255, 255, 255, 0.2);
|
text-shadow: .15em .15em rgba(255, 255, 255, 0.2);
|
||||||
|
max-width: 30em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#HomeContent p {
|
#nametag p {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
color: #a8a8a8;
|
color: #a8a8a8;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nametagContainer {
|
||||||
|
display: flex;
|
||||||
|
width: 100vw;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.nomargin {
|
.nomargin {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -326,8 +348,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.onRight>* {
|
.onRight>* {
|
||||||
margin-left: auto;
|
margin: auto;
|
||||||
margin-right: 1em;
|
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -829,12 +850,22 @@ a {
|
|||||||
src: url('https://www.chess.com/bundles/web/fonts/chessglyph-new.0cc8115c.woff2');
|
src: url('https://www.chess.com/bundles/web/fonts/chessglyph-new.0cc8115c.woff2');
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1200px) {
|
@media screen and (max-width: 600) {
|
||||||
|
#nametagContainer {
|
||||||
|
width: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1400px) {
|
||||||
|
|
||||||
#homepage {
|
#homepage {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#HomeContent {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.mobileV {
|
.mobileV {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ function onLoaded() {
|
|||||||
resizer();
|
resizer();
|
||||||
};
|
};
|
||||||
resizer();
|
resizer();
|
||||||
if (window.innerWidth < 1200) {
|
if (window.innerWidth < 1400) {
|
||||||
const e = document.querySelector(".navControl");
|
const e = document.querySelector(".navControl");
|
||||||
e.style.maxHeight = "0px";
|
e.style.maxHeight = "0px";
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,7 @@ function onLoaded() {
|
|||||||
|
|
||||||
function resizer() {
|
function resizer() {
|
||||||
const e = document.querySelector(".navControl");
|
const e = document.querySelector(".navControl");
|
||||||
if (window.innerWidth > 1200) {
|
if (window.innerWidth > 1400) {
|
||||||
// desktop view
|
// desktop view
|
||||||
scrollFunction();
|
scrollFunction();
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
@@ -68,7 +68,7 @@ function scrollFunction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function toggleMenu() {
|
function toggleMenu() {
|
||||||
if (window.innerWidth < 1200) {
|
if (window.innerWidth < 1400) {
|
||||||
const e = document.querySelector(".navControl");
|
const e = document.querySelector(".navControl");
|
||||||
const bar = document.querySelector(".header");
|
const bar = document.querySelector(".header");
|
||||||
if (e.style.maxHeight === "0px") {
|
if (e.style.maxHeight === "0px") {
|
||||||
|
|||||||
@@ -3,11 +3,22 @@
|
|||||||
<div class="foregroundContent homegroundContent">
|
<div class="foregroundContent homegroundContent">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div id="homepage" class="flex">
|
<div id="homepage" class="flex">
|
||||||
<div id="HomeContentContainer">
|
<div id="HomeContent">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div id="HomeContent" data-aos="fade-up">
|
<div id="nametagContainer">
|
||||||
|
<div id="nametag" data-aos="fade-up">
|
||||||
<h1>Andrew Simonson</h1>
|
<h1>Andrew Simonson</h1>
|
||||||
<h3>Computer Science student at Rochester Institute of Technology</h3>
|
<h3>
|
||||||
|
Computer Science student at Rochester Institute of Technology
|
||||||
|
</h3>
|
||||||
|
<h5>🦅 🦅 🦅 Raahhh wtf is homepage content, we don't do that here 🦅 🦅 🦅</h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="nametag" class="transparent unsetPos" data-aos="fade-up">
|
||||||
|
<h1>Andrew Simonson</h1>
|
||||||
|
<h3>
|
||||||
|
Computer Science student at Rochester Institute of Technology
|
||||||
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -19,8 +30,8 @@
|
|||||||
/>
|
/>
|
||||||
<br />
|
<br />
|
||||||
<div class="chess">
|
<div class="chess">
|
||||||
{% from 'partials/chess.html' import chess %} {{ chess('asimonson1125')
|
{% from 'partials/chess.html' import chess %} {{
|
||||||
}}
|
chess('asimonson1125') }}
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
{% from 'partials/bookshelf.html' import bookshelf %} {{
|
{% from 'partials/bookshelf.html' import bookshelf %} {{
|
||||||
|
|||||||
Reference in New Issue
Block a user