mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
css and routing update
I did a lot with the css
This commit is contained in:
188
site/src/App.css
188
site/src/App.css
@@ -1,80 +1,142 @@
|
||||
html, body{
|
||||
overflow-y: scroll;
|
||||
background-color: #1b1f27;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body{
|
||||
margin: 0;
|
||||
background-image: url('https://i.pinimg.com/originals/d6/c3/ac/d6c3ac09021dbc0cda8ee27837d2c795.png')
|
||||
}
|
||||
h1, h2 {
|
||||
h1, h2, p{
|
||||
font-family: "Roboto Condensed",sans-serif;
|
||||
color: #1f1f1f;
|
||||
}
|
||||
.header h1{
|
||||
display: inline-block;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 2vmin;
|
||||
font-size: 6vmin;
|
||||
}
|
||||
.header{
|
||||
margin-bottom: 0px;
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.socials{
|
||||
display: inline;
|
||||
float: right;
|
||||
margin: 0px;
|
||||
}
|
||||
.socials img{
|
||||
margin: .5vmin;
|
||||
margin-top: 2vmin;
|
||||
height: 6vmin;
|
||||
}
|
||||
.navBar li{
|
||||
display: inline;
|
||||
background-color: rgb(156,49,45,.5);
|
||||
border-top: .5vmin black solid;
|
||||
border-bottom: .5vmin black solid;
|
||||
border-right: .5vmin black solid;
|
||||
font-size: 4vmin;
|
||||
}
|
||||
.navBar li:hover{
|
||||
background-color: rgb(156,49,45,.8);
|
||||
}
|
||||
.navBar li:first-child{
|
||||
border-left: .5vmin black solid;
|
||||
}
|
||||
.navBar li a{
|
||||
color: white;
|
||||
padding: 3vmax;
|
||||
line-height: 1.2vmax;
|
||||
}
|
||||
.navBar{
|
||||
margin-bottom: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
.foreground{
|
||||
position:absolute;
|
||||
margin-top: 13vmin;
|
||||
margin-left: -10px;
|
||||
padding-left: 10px;
|
||||
width:100%;
|
||||
background-color: rgb(156,49,45,.5);
|
||||
}
|
||||
.foreground p{
|
||||
max-width: 1000px;
|
||||
h1, h2{
|
||||
color: #ecebeb;
|
||||
}
|
||||
h2{
|
||||
font-size: calc(4vmin + 7px);
|
||||
font-size: 2rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
h3{
|
||||
color: #a8a8a8;
|
||||
}
|
||||
p{
|
||||
color: #ffffff;
|
||||
font-size: calc(3vmin + 3px);
|
||||
font-size: 1rem;
|
||||
}
|
||||
a {
|
||||
color: #a0a0a0a0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.header h1{
|
||||
display: inline-block;
|
||||
margin-bottom: 0px;
|
||||
margin-top: .5rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
.header{
|
||||
margin-bottom: 0px;
|
||||
margin-left: .3rem;
|
||||
padding-bottom: .2rem;
|
||||
background-color: #0f1216;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.navBar li{
|
||||
display: inline;
|
||||
background-color: rgb(156,49,45,.5);
|
||||
border-top: .2rem black solid;
|
||||
border-bottom: .2rem black solid;
|
||||
border-right: .2rem black solid;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.navBar li:hover{
|
||||
background-color: rgb(156,49,45,.8);
|
||||
}
|
||||
.navBar li:first-child{
|
||||
border-left: .2rem black solid;
|
||||
}
|
||||
.navBar li a{
|
||||
color: white;
|
||||
padding-left: 2rem;;
|
||||
padding-right: 2rem;
|
||||
line-height: 1.2vmax;
|
||||
}
|
||||
.navBar{
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
.foreground{
|
||||
padding-top:5.5rem;
|
||||
padding-left: .5rem;
|
||||
width:100%;
|
||||
background-color: rgb(44,44,44,.5);
|
||||
padding-bottom: 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.foreground p{
|
||||
max-width: 40rem;
|
||||
}
|
||||
.sideimg{
|
||||
float: right;
|
||||
display: block;
|
||||
margin-right: 10rem;
|
||||
max-width: 20rem;
|
||||
max-height: 20rem;
|
||||
}
|
||||
.projectList{
|
||||
float:left;
|
||||
background-color: rgba(11, 17, 26, 0.5);
|
||||
border: solid rgba(34, 52, 75, 0.5) .3rem;
|
||||
width: calc(95% - .5rem);
|
||||
}
|
||||
.project{
|
||||
background-color: #25282c;
|
||||
display: inline;
|
||||
float: left;
|
||||
padding: .5rem;
|
||||
margin: 2rem;
|
||||
width: 20rem;
|
||||
height: 15rem;
|
||||
border: .3rem black solid;
|
||||
}
|
||||
.project h3{
|
||||
border-bottom: black solid .2rem;
|
||||
}
|
||||
.topBox{
|
||||
height: 70%;
|
||||
}
|
||||
.bottomBox{
|
||||
height: auto;
|
||||
}
|
||||
.bottomBox a{
|
||||
vertical-align: middle;
|
||||
}
|
||||
.project a{
|
||||
padding: .5rem;
|
||||
border: solid black .2rem;
|
||||
background-color: rgb(80, 80, 80);
|
||||
}
|
||||
.footer{
|
||||
display: block;
|
||||
background-color: rgb(156,49,45);
|
||||
}
|
||||
.socials{
|
||||
padding-left: 3rem;
|
||||
padding-right: 3rem;
|
||||
padding-top: .5rem;
|
||||
padding-bottom: .5rem;
|
||||
margin-right: auto;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.socials td{
|
||||
width:15%;
|
||||
}
|
||||
.socials img{
|
||||
height: 2rem;
|
||||
}
|
||||
Reference in New Issue
Block a user