table bugstomp

This commit is contained in:
2022-05-16 20:11:43 -04:00
parent e1de0c8485
commit 8c1d210a26
5 changed files with 193 additions and 135 deletions

View File

@@ -1,38 +1,48 @@
@import "~react-image-gallery/styles/css/image-gallery.css"; @import "~react-image-gallery/styles/css/image-gallery.css";
html, body{
html, body {
background-color: #1b1f27; background-color: #1b1f27;
overflow-x: hidden; overflow-x: hidden;
} }
body{
body {
margin: 0; margin: 0;
background-image: url('assets/plexus.jpg');/*url('https://i.pinimg.com/originals/d6/c3/ac/d6c3ac09021dbc0cda8ee27837d2c795.png')*/ background-image: url('assets/plexus.jpg');
/*url('https://i.pinimg.com/originals/d6/c3/ac/d6c3ac09021dbc0cda8ee27837d2c795.png')*/
background-attachment: fixed; background-attachment: fixed;
background-size: 100% auto; background-size: 100% auto;
background-clip: border-box; background-clip: border-box;
} }
*{
font-family: "Roboto Condensed",sans-serif; * {
font-family: "Roboto Condensed", sans-serif;
} }
h1, h2{
h1, h2 {
color: #ecebeb; color: #ecebeb;
} }
h2{
h2 {
font-size: 2rem; font-size: 2rem;
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 2rem; margin-bottom: 2rem;
} }
h3, h4{
h3, h4 {
color: #a8a8a8; color: #a8a8a8;
} }
p{
p, li {
color: rgb(212, 212, 212); color: rgb(212, 212, 212);
font-size: 1rem; font-size: 1rem;
} }
a { a {
color: #a0a0a0a0; color: #a0a0a0a0;
text-decoration: none; text-decoration: none;
} }
.header h1{
.header h1 {
display: inline-block; display: inline-block;
transition: .4s; transition: .4s;
margin-bottom: 0px; margin-bottom: 0px;
@@ -40,7 +50,8 @@ a {
margin-left: 1rem; margin-left: 1rem;
font-size: 2rem; font-size: 2rem;
} }
.header{
.header {
margin-bottom: 0px; margin-bottom: 0px;
margin-left: 0rem; margin-left: 0rem;
background-color: #1a1a1a; background-color: #1a1a1a;
@@ -52,14 +63,16 @@ a {
transition: .4s; transition: .4s;
overflow: hidden; overflow: hidden;
} }
.navBar{
display: block; .navBar {
border-collapse: collapse; display: flex;
justify-content: space-between;
padding-left: 0px; padding-left: 0px;
margin: 0px; margin: 0px;
width: 100%; width: 100%;
} }
.navElement{
.navElement {
border: solid black .2rem; border: solid black .2rem;
width: 25vw; width: 25vw;
text-align: center; text-align: center;
@@ -67,257 +80,305 @@ a {
transition: .4s; transition: .4s;
padding-top: .5rem; padding-top: .5rem;
padding-bottom: .5rem; padding-bottom: .5rem;
background-color: rgb(156,49,45,.4); background-color: rgb(156, 49, 45, .4);
} }
.navElement:hover{
background-color: rgb(156,49,45,.8); .navElement:hover {
background-color: rgb(156, 49, 45, .8);
} }
.navElement *{
.navElement * {
color: white; color: white;
margin:0px; margin: 0px;
display: block; display: block;
} }
#home{
#home {
height: 100vh; height: 100vh;
overflow-y: hidden; overflow-y: hidden;
} }
.concentratedHead{
.concentratedHead {
display: inline-block; display: inline-block;
padding-right: 4rem; padding-right: 4rem;
border-bottom: #0f0f0f solid 5px; border-bottom: #0f0f0f solid 5px;
color:white; color: white;
} }
.foreground{
.foreground {
padding-top: 7rem; padding-top: 7rem;
padding-left: 8rem; padding-left: 8rem;
width: calc(100%-8rem); width: calc(100%-8rem);
min-height: calc(100vh - 8rem); min-height: calc(100vh - 8rem);
background-color: rgb(44,44,44,.5); background-color: rgb(44, 44, 44, .5);
padding-bottom: 1rem; padding-bottom: 1rem;
overflow: hidden; overflow: hidden;
transition: .4s; transition: .4s;
} }
.foreground p{
.foreground p {
line-height: 1.5em; line-height: 1.5em;
max-width: min(90%, 40rem); max-width: min(90%, 40rem);
} }
.centerContent{
.centerContent {
margin-top: 30vh; margin-top: 30vh;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
text-align: center; text-align: center;
} }
#HomeContent{
#HomeContent {
padding: 3rem; padding: 3rem;
display: inline-block; display: inline-block;
background-color: rgb(44,44,44, .95); background-color: rgb(44, 44, 44, .95);
} }
#Vertical{
#Vertical {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width:0; width: 0;
height: 3rem; height: 3rem;
border-right: rgb(156,49,45) solid 1px; border-right: rgb(156, 49, 45) solid 1px;
} }
.sideimg{
float:right; .sideimg {
float: right;
top: 0; top: 0;
right: 0; right: 0;
display: block; display: block;
max-width: min(40rem,80%); max-width: min(40rem, 80%);
max-height: min(30rem,100%); max-height: min(30rem, 100%);
} }
.col{
float:left; .col {
float: left;
margin-right: 3rem; margin-right: 3rem;
width: calc(50% - 3rem); width: calc(50% - 3rem);
} }
.boxedImg{
border: .5rem solid rgba(22,22,22,.8); .boxedImg {
border: .5rem solid rgba(22, 22, 22, .8);
max-width: calc(90% - 1rem); max-width: calc(90% - 1rem);
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.carousel-container{
.carousel-container {
margin-left: 10%; margin-left: 10%;
max-width: 80%; max-width: 80%;
} }
.elementBlock{
.elementBlock {
margin-top: 3rem; margin-top: 3rem;
} }
.skills{
.skills {
display: inline-block; display: inline-block;
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
border: solid rgba(156,49,45, .8) .3rem; border: solid rgba(156, 49, 45, .8) .3rem;
text-align: center; text-align: center;
padding:1rem; padding: 1rem;
} }
.skill{
.skill {
display: inline-block; display: inline-block;
border:rgba(156,49,45, .8) solid .15rem; border: rgba(156, 49, 45, .8) solid .15rem;
padding:.2rem; padding: .2rem;
margin: .5rem; margin: .5rem;
background-color: rgba(11,11,11,.8); background-color: rgba(11, 11, 11, .8);
color:rgb(212, 212, 212); color: rgb(212, 212, 212);
} }
.projectList{
.projectList {
padding: 0px; padding: 0px;
display: block; display: block;
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
.project{
.project {
display: inline-block; display: inline-block;
text-align: left; text-align: left;
margin: 1rem; margin: 1rem;
width: 20rem; width: 20rem;
height: 22rem; height: 22rem;
border: .3rem rgba(156,49,45, .8) solid; border: .3rem rgba(156, 49, 45, .8) solid;
background-color: rgba(22,22,22,.8); background-color: rgba(22, 22, 22, .8);
} }
.project .topBox, .project .bottomBox{
.project .topBox, .project .bottomBox {
padding-left: 1rem; padding-left: 1rem;
} }
.tab{
.tab {
display: inline; display: inline;
float: right; float: right;
} }
.project h3{
.project h3 {
display: inline-block; display: inline-block;
border-bottom: black solid .2rem; border-bottom: black solid .2rem;
} }
.project img{
.project img {
margin-top: auto; margin-top: auto;
height:3rem; height: 3rem;
} }
.topBox{
.topBox {
padding-left: .5rem; padding-left: .5rem;
padding-right: 1rem; padding-right: 1rem;
height: 75%; height: 75%;
} }
.bottomBox{
.bottomBox {
height: auto; height: auto;
padding-left: 0rem; padding-left: 0rem;
padding-right: 1rem; padding-right: 1rem;
} }
.bottomBox a{
.bottomBox a {
vertical-align: middle; vertical-align: middle;
} }
.project a img, .project a p{
.project a img, .project a p {
padding: .5rem; padding: .5rem;
filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(52deg) brightness(106%) contrast(101%); filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(52deg) brightness(106%) contrast(101%);
} }
.project a img:hover, .project a p:hover{
.project a img:hover, .project a p:hover {
filter: invert(66%) sepia(0%) saturate(3964%) hue-rotate(99deg) brightness(100%) contrast(105%); filter: invert(66%) sepia(0%) saturate(3964%) hue-rotate(99deg) brightness(100%) contrast(105%);
} }
.incomplete{
color:red; .incomplete {
color: red;
} }
.WIP{
color:yellow; .WIP {
color: yellow;
} }
.complete{
color:green; .complete {
color: green;
} }
.footer{
.footer {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 0;
} }
.socials{
.socials {
margin-left: 1rem; margin-left: 1rem;
width:0px; width: 0px;
} }
.socials td{
padding:5px; .socials img {
text-align: left;
display: inline;
float:left;
}
.socials img{
height: 2rem; height: 2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
filter: invert(29%) sepia(20%) saturate(1786%) hue-rotate(314deg) brightness(101%) contrast(110%); filter: invert(29%) sepia(20%) saturate(1786%) hue-rotate(314deg) brightness(101%) contrast(110%);
transition: .2s; transition: .2s;
} }
.socials img:hover{
.socials img:hover {
opacity: .5; opacity: .5;
} }
#vertLine{
border-right: 1px solid rgb(156,49,45); #vertLine {
border-right: 1px solid rgb(156, 49, 45);
margin-left: 1rem; margin-left: 1rem;
height: 10rem; height: 10rem;
} }
@media screen and (max-width: 1200px){ @media screen and (max-width: 1200px) {
.projectList{
.navBar {
flex-direction: column;
}
.navElement {
width: 100vw;
}
.projectList {
width: 95%; width: 95%;
} }
.sideimg{
.sideimg {
position: relative; position: relative;
} }
body{
body {
background-size: auto 100%; background-size: auto 100%;
} }
.foreground{
width:100%; .foreground {
padding-left: 2rem; /* centered objects will need to remove 1.5 of this to center */ width: 100%;
padding-left: 2rem;
/* centered objects will need to remove 1.5 of this to center */
padding-right: .5rem; padding-right: .5rem;
padding-bottom: 36px; padding-bottom: 36px;
} }
.centeredForeground{
margin-left: -1.5rem; /* remove .foreground excess margin */ .centeredForeground {
margin-left: -1.5rem;
/* remove .foreground excess margin */
} }
.col{
.col {
width: 90%; width: 90%;
margin-bottom: 3rem; margin-bottom: 3rem;
} }
#aboutMe{
#aboutMe {
float: none; float: none;
display:block; display: block;
width: 90%; width: 90%;
} }
#skills{
#skills {
float: none; float: none;
margin-right: auto; margin-right: auto;
display: block; display: block;
width: 90%; width: 90%;
} }
.footer{
position:relative; .footer {
width:100%; position: relative;
width: 100%;
display: inline-block; display: inline-block;
background-color: rgb(156,49,45); background-color: rgb(156, 49, 45);
} }
.socials{
display:block; .socials {
display: flex;
justify-content: space-around;
padding-top: .5rem; padding-top: .5rem;
padding-bottom: .5rem; padding-bottom: .5rem;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
table-layout: fixed; width: 400px;
width: 100%;
} }
.socials tr{
display: block; .socials * {
}
.socials td{
display: inline; display: inline;
text-align: center; text-align: center;
width: calc(100% / 6);
padding-left: 0px; padding-left: 0px;
padding-right: 0px; padding-right: 0px;
} }
.socials img{
.socials img {
height: 2rem; height: 2rem;
margin-bottom: 0px; margin-bottom: 0px;
filter: none; filter: none;
} }
#vertLine{
visibility: collapse; #vertLine {
height:0px; display: none;
height: 0px;
} }
} }

View File

@@ -1,20 +1,20 @@
import React from 'react'; import React from 'react';
export default function Nav(props){ export default function Nav(props) {
let items; let items;
for(let i = 0; i < props.children.length; i++){ for (let i = 0; i < props.children.length; i++) {
items = ( items = (
<> <>
{items} {items}
<td className='navElement'>{props.children[i]}</td> <div className='navElement'>{props.children[i]}</div>
</> </>
) )
} }
return( return (
<div className = 'navControl'> <div className='navControl'>
<table className='navBar'> <div className='navBar'>
{items} {items}
</table> </div>
</div> </div>
) )
} }

View File

@@ -7,15 +7,12 @@ import email from '../assets/email.svg'
export default function Socials(){ export default function Socials(){
return( return(
<table class='socials'> <div className='socials'>
<tr> <a href='https://github.com/asimonson1125'><img alt='Github' src={github} /></a>
<td></td> <a href='https://www.instagram.com/an_a.simonson/'><img alt='Instagram' src={instagram} /></a>
<td><a href='https://github.com/asimonson1125'><img alt='Github' src={github} /></a></td> <a href='https://www.linkedin.com/in/simonsonandrew/'><img alt='LinkedIn' src={linkedin} /></a>
<td><a href='https://www.instagram.com/an_a.simonson/'><img alt='Instagram' src={instagram} /></a></td> <a href='mailto:asimonson1125@gmail.com'><img alt='E-mail' src={email} /></a>
<td><a href='https://www.linkedin.com/in/simonsonandrew/'><img alt='LinkedIn' src={linkedin} /></a></td> <div id='vertLine'></div>
<td><a href='mailto:asimonson1125@gmail.com'><img alt='E-mail' src={email} /></a></td> </div>
<td><div id='vertLine'></div></td>
</tr>
</table>
) )
} }

View File

@@ -3,7 +3,7 @@ import React from 'react';
export default function Home() { export default function Home() {
return ( return (
<div id='home'> <div id='home'>
<div class='centerContent' data-aos="fade-up"> <div className='centerContent' data-aos="fade-up">
<div id='HomeContent'> <div id='HomeContent'>
<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>

View File

@@ -7,7 +7,7 @@ export default function Projects(){
return( return(
<div className='foreground'> <div className='foreground'>
<div data-aos='fade-up'> <div data-aos='fade-up'>
<h2 class='concentratedHead'>Projects</h2> <h2 className='concentratedHead'>Projects</h2>
<p>Project status is indicated by the color of the project card:<br /><span className='complete'></span> - Complete<br /> <p>Project status is indicated by the color of the project card:<br /><span className='complete'></span> - Complete<br />
<span className='WIP'></span> - Work In Progress<br /><span className='incomplete'></span> - Incomplete <span className='WIP'></span> - Work In Progress<br /><span className='incomplete'></span> - Incomplete
</p> </p>