replaced portrait image, changed filler text, switched up grid size and height

changed portrait with something closer to the final image

changed filler text to something readable (turns out the translation of lorel ipsum sounds kinda dodgy)

added more rows to the grid and fixed their size, now to start adding items to the page!
This commit is contained in:
Nye Evans 2020-12-27 19:43:18 +00:00
parent faedb9cf02
commit 0e53038840
4 changed files with 18 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View file

@ -17,8 +17,9 @@ body{
background-color: #221A0F;
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(20, 1fr);
gap: 1%;
grid-template-rows: repeat(50, 1fr);
gap: 1vh;
height: 400vh;
}
@ -33,8 +34,8 @@ h1{
padding-left: 6;
grid-column-start: 1;
grid-column-end: 5;
grid-row-start: 2;
grid-row-end: 4;
grid-row-start: 3;
grid-row-end: 6;
}
h2{
@ -42,8 +43,8 @@ h2{
padding: 5;
grid-column-start: 2;
grid-column-end: 12;
grid-row-start: 8;
grid-row-end: 11;
grid-row-start: 14;
grid-row-end: 19;
}
.titleScreenArea{ /*the large empty space around the title*/
@ -54,14 +55,12 @@ h2{
}
.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: 13;
object-fit: contain;
grid-column-start: 5;
grid-column-end: 10;
grid-row-start: 20;
grid-row-end: 27;
object-fit: fill;
display: block;
width: 100%;
max-height: 100%;
}
.orangeBack{ /*for anything that isnt a <h> tag*/

View file

@ -9,11 +9,15 @@
</h1>
<div class = "titleScreenArea"> </div>
<h2>
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
Welcome! Welcome to City 17! You have chosen, or been chosen, to relocate to one of our finest remaining urban centers. I thought so much of City 17 that I elected to establish my administration here, in the Citadel so thoughtfully provided by our benefactors. I've been proud to call City 17 my home. And so, whether you are here to stay, or passing through on your way to parts unknown - welcome to City 17. It's safer here.
Welcome! Welcome to City 17! You have chosen, or been chosen, to relocate to one of our finest remaining urban centers. I thought so much of City 17 that I elected to establish my administration here, in the Citadel so thoughtfully provided by our benefactors. I've been proud to call City 17 my home. And so, whether you are here to stay, or passing through on your way to parts unknown - welcome to City 17. It's safer here.
Welcome! Welcome to City 17! You have chosen, or been chosen, to relocate to one of our finest remaining urban centers. I thought so much of City 17 that I elected to establish my administration here, in the Citadel so thoughtfully provided by our benefactors. I've been proud to call City 17 my home. And so, whether you are here to stay, or passing through on your way to parts unknown - welcome to City 17. It's safer here.
Welcome! Welcome to City 17! You have chosen, or been chosen, to relocate to one of our finest remaining urban centers. I thought so much of City 17 that I elected to establish my administration here, in the Citadel so thoughtfully provided by our benefactors. I've been proud to call City 17 my home. And so, whether you are here to stay, or passing through on your way to parts unknown - welcome to City 17. It's safer here.
Welcome! Welcome to City 17! You have chosen, or been chosen, to relocate to one of our finest remaining urban centers. I thought so much of City 17 that I elected to establish my administration here, in the Citadel so thoughtfully provided by our benefactors. I've been proud to call City 17 my home. And so, whether you are here to stay, or passing through on your way to parts unknown - welcome to City 17. It's safer here.
</h2>
<div class = "mainImage">
<img src = "Images\TestImage.jpg">
<img src = "Images\ProfilePlaceholder.png">
</div>
</body>
</HTML>