Portfolio/Mainpage.css
Nye Evans 4aa080aa0b added more to layout, and a test image
added some css classes, one for the main image and a spare one to add orange to anything.
2020-12-27 13:21:53 +00:00

78 lines
1.5 KiB
CSS

@import url("reset.css");
@font-face{
font-family:"roboto";
font-weight: 100;
src: url("Fonts/Roboto/RobotoMono-VariableFont_wght.ttf")
}
*{
color: #FCC42F;
font-family: "roboto";
}
body{
margin: 20;
background-color: #221A0F;
max-height: 100rem;
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(20, 1fr);
gap: 1%;
}
h1, h2, h3{
background-color: #ffa500;
background: radial-gradient(#E39823 40%, #8D5001);
border-radius: 5px;
/*url("C:/Users/Nye/Documents/GitHub/Portfolio-Site/Images/NoiseFilter.png");*/
}
h1{
font-size: 500%;
padding-left: 6;
grid-column-start: 1;
grid-column-end: 5;
grid-row-start: 2;
grid-row-end: 4;
}
h2{
padding: 5;
letter-spacing: 0.05rem;
line-height: 1.2rem;
grid-column-start: 2;
grid-column-end: 12;
grid-row-start: 8;
grid-row-end: 11;
}
.titleScreenArea{ /*the large empty space around the title*/
grid-column-start: 1;
grid-column-end: 13;
grid-row-start: 4;
grid-row-end: 8;
}
.mainImage{ /*image between first and second paragraph, only image on page but using class just incase i need another one later*/
grid-column-start: 2;
grid-column-end: 12;
grid-row-start: 12;
grid-row-end: 14;
width: 100%;
height: auto;
}
.orangeBack{ /*for anything that isnt a <h> tag*/
background-color: #ffa500;
background: radial-gradient(#E39823 40%, #8D5001);
border-radius: 5px;
}