finished slideshow structure added second slideshow for unrelated projects, added social bar

This commit is contained in:
Nye Evans 2021-01-01 14:08:44 +00:00
parent 5ebd799886
commit 26e97431d6
7 changed files with 79 additions and 26 deletions

View file

@ -77,57 +77,93 @@ h2, h3{
#programGallery{ #programGallery{
display: grid; display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(10, 1fr); grid-template-rows: repeat(10, 1fr);
grid-template-columns: repeat(10, 1fr);
height: 70vh; height: 70vh;
width: 70vw; width: 70vw;
min-width: 800px;
min-height: 500px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-top: 10vh; margin-top: 10vh;
margin-bottom: 10vh;
background-color: #ffa500;
background: radial-gradient(#E39823 40%, #8D5001);
border-radius: 5px;
} }
#programGalleryImage{ /*all images should be 700x700*/ #personalGallery{
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(10, 1fr);
height: 70vh;
width: 70vw;
min-width: 800px;
min-height: 500px;
margin-left: auto;
margin-right: auto;
margin-top: 10vh;
}
.GalleryImage{ /*all images should be 700x700*/
grid-column: 2/8;
grid-row: 2/11; grid-row: 2/11;
grid-column: 1/7;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
object-fit: cover;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#programGalleryTitle{ .GalleryTitle{
grid-column: 2/12;
grid-row: 1; grid-row: 1;
grid-column: 1/11;
padding: 5px; padding: 5px;
font-size: 5.4vh; font-size: 5vh;
border-radius: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
} }
#programGalleryCaption{ .GalleryCaption{
grid-column: 7/11; grid-column: 8/12;
grid-row: 2/11; grid-row: 2/11;
border-radius: 0;
border-bottom-right-radius: 5px;
} }
#programGalleryLeftArrow{ .GalleryLeftArrow{
display: inline; grid-column: 1;
float: left; grid-row: 5/6;
font-size: 7vw; font-size: 7vw;
} }
#programGalleryRightArrow{ .GalleryRightArrow{
display: inline; grid-column: 12;
float: right; grid-row: 5/6;
font-size: 7vw; font-size: 7vw;
} }
#socialBar{
position: fixed;
display: flex;
margin-left: 1vh;
margin-bottom: 1vh;
bottom: 0;
left: 0 ;
}
@media (orientation:portrait){ @media (orientation:portrait){

View file

@ -29,14 +29,31 @@
check out my work here: check out my work here:
<div style = "font-size: 60%;">click a project to find out more</div> <div style = "font-size: 60%;">click a project to find out more</div>
</div> </div>
<div id = "programGallery"> <div id = "programGallery">
<img src = "gallery\Cat tower defense\projectHeaderImage.png" id = "programGalleryImage"> <img src = "gallery\Cat tower defense\projectHeaderImage.png" class = "GalleryImage">
<p id = "programGalleryTitle">Pog Brian</p> <p class = "GalleryTitle orangeBack">Image Title</p>
<p id = "programGalleryCaption">This is pog brian, he is very polite but he is bullied alot. Please be nice to him</p> <p class = "GalleryCaption orangeBack">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p class = "GalleryLeftArrow"></p>
<p class = "GalleryRightArrow"></p>
</div>
<div id = "personalGallery" style = "margin-bottom: 40vh;">
<img src = "gallery\Cat tower defense\projectHeaderImage.png" class = "GalleryImage">
<p class = "GalleryTitle orangeBack">Image Title Personal</p>
<p class = "GalleryCaption orangeBack">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p class = "GalleryLeftArrow"></p>
<p class = "GalleryRightArrow"></p>
</div>
<div id = "socialBar">
<!--
<a href = "https://twitter.com/Wi__Ro"><img src = "..\images\TwitterLogoGlow.png" width=40 height = 40></a>
<a href="mailto:WillowRo@outlook.com"><img src = "..\images\EmailIconGlow.png" width=40 height = 40></a>
-->
<a href = "https://twitter.com/Wi__Ro" style = "color:#ffd256;">Twitter</a>
&NonBreakingSpace;
<a href="mailto:WillowRo@outlook.com" style = "color:#ffd256;">Email</a>
</div> </div>
<p id = "programGalleryLeftArrow"></p>
<p id = "programGalleryRightArrow"></p>
<div id = "programGalleryButton" class = "orangeBorder textBox">programming projects</div>
<div id = "artGalleryButton" class = " orangeBorder textBox">other projects</div>
</body> </body>
</HTML> </HTML>

BIN
images/EmailIcon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
images/EmailIconGlow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
images/TwitterLogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
images/TwitterLogoGlow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 18 KiB