Portfolio/pages/mainpage.css

317 lines
4.6 KiB
CSS
Raw Normal View History

2021-01-02 19:43:07 +00:00
@import url("reset.css");
@font-face{
font-family:"roboto";
font-weight: 100;
src: url("../fonts/Roboto/RobotoMono-VariableFont_wght.ttf")
}
body{
color: #ffd256;
font-family: "roboto";
background-color: #181818;
2021-01-02 19:43:07 +00:00
}
button{
background-color: transparent;
border: none;
color: #ffd256;
}
button:focus {
border: none;
outline: none;
}
2021-01-02 19:43:07 +00:00
h1, h2, h3, h4{
font-size: clamp(18px, 1.4vw, 70px);
2021-01-02 19:43:07 +00:00
padding: 1.3vh;
}
h1{
font-size: clamp(20px, 4vw, 170px);
padding-left: 6;
2021-01-02 19:43:07 +00:00
margin-top: 10vh;
margin-bottom: 70vh;
margin-left: 2vw;
margin-right: 70vw;
2021-01-02 19:43:07 +00:00
height: 20vh;
text-align: left;
}
h2, h3{
margin-top: 10vh;
margin-bottom: 10vh;
margin-left: auto;
margin-right: auto;
2021-01-02 19:43:07 +00:00
min-width: 720px;
max-width: 86vw;
}
h4{
margin-top: 20vh;
margin-bottom: 30vh;
margin-left: 27vw;
margin-right: 27vw;
}
2021-01-02 19:43:07 +00:00
.orangeBorder{
border: 2px solid #ffd256;
2021-01-02 19:43:07 +00:00
border-radius: 5px;
padding: 5px;
2021-01-02 19:43:07 +00:00
}
.textBox{
text-align: center;
font-size: 1.3vw;
padding: 2.5vh;
2021-01-02 19:43:07 +00:00
}
#galleryHeader{
margin-left: 35vw;
margin-right: 35vw;
2021-01-02 19:43:07 +00:00
border-radius: 5px;
2021-01-02 19:43:07 +00:00
font-size: 1.4vw;
}
#programGallery{
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(10, 1fr);
2021-01-02 19:43:07 +00:00
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*/
2021-01-02 19:43:07 +00:00
grid-column: 2/8;
grid-row: 2/12;
2021-01-02 19:43:07 +00:00
object-fit: cover;
width: 100%;
height: 100%;
border: 2px solid #ffd256;
border-bottom-left-radius: 5px;
box-sizing: border-box;
padding: 5;
}
.galleryLink{
grid-column: 2/8;
grid-row: 2/12;
object-fit: cover;
width: 100%;
height: 100%;
}
.galleryTitle{
2021-01-02 19:43:07 +00:00
grid-column: 2/12;
grid-row: 1;
2021-01-02 19:43:07 +00:00
padding: 5px;
font-size: 4vh;
2021-01-02 19:43:07 +00:00
border-radius: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border: 2px solid #ffd256;
border-bottom: none;
2021-01-02 19:43:07 +00:00
}
.galleryCaption{
2021-01-02 19:43:07 +00:00
grid-column: 8/12;
grid-row: 2/12;
2021-01-02 19:43:07 +00:00
border-radius: 0;
border-bottom-right-radius: 5px;
border: 2px solid #ffd256;
border-left: none;
padding: 5px;
2021-01-02 19:43:07 +00:00
}
.galleryLeftArrow{
2021-01-02 19:43:07 +00:00
grid-column: 1;
grid-row: 5/6;
2021-01-02 19:43:07 +00:00
font-size: 7vw;
}
.galleryRightArrow{
2021-01-02 19:43:07 +00:00
grid-column: 12;
grid-row: 5/6;
2021-01-02 19:43:07 +00:00
font-size: 7vw;
}
#socialBar{
position: fixed;
display: flex;
margin-left: 1vh;
margin-bottom: 1vh;
bottom: 0;
left: 0 ;
}
@media (orientation:portrait){
h1{
font-size: 10vw;
margin-left: 0vw;
margin-right: 0vw;
margin-top: 5vh;
margin-bottom: 85vh;
padding-top: 0.5vh;
border-radius: 0;
height: 10vh;
}
h2, h3, h4{
2021-01-02 19:43:07 +00:00
margin-top: 10vh;
margin-bottom: 10vh;
margin-left: auto;
margin-right: auto;
2021-01-02 19:43:07 +00:00
min-width: inherit;
max-width: inherit;
border-radius: 0;
font-size: 2.3vw;
}
#galleryHeader{
margin-left: 0;
margin-right: 0;
border-radius: 0;
font-size: 3vw;
}
#programGallery{
height: 70vh;
width: 100%;
margin-left: 0;
margin-right: 0;
}
.galleryDescriptor{
grid-column: 1/13;
}
.galleryImage{ /*all images should be 700x700*/
2021-01-02 19:43:07 +00:00
grid-column: 1/13;
grid-row: 3/8;
2021-01-04 19:45:07 +00:00
2021-01-02 19:43:07 +00:00
border-bottom-left-radius: 0;
2021-01-04 19:45:07 +00:00
border: 0;
padding-left: 0;
padding-right: 0;
object-position: center;
2021-01-02 19:43:07 +00:00
object-fit: cover;
width: 100%;
height: 100%;
2021-01-04 19:45:07 +00:00
2021-01-02 19:43:07 +00:00
}
2021-01-04 19:33:16 +00:00
.galleryLink{
grid-column: 1/13;
grid-row: 3/8;
object-fit: cover;
width: 100%;
height: 100%;
}
.galleryTitle{
2021-01-02 19:43:07 +00:00
grid-column: 1/13;
grid-row: 2;
2021-01-02 19:43:07 +00:00
padding: 5px;
font-size: 3.5vh;
2021-01-02 19:43:07 +00:00
border-radius: 0;
border-left: 0;
border-right: 0;
border-bottom: 2px solid #ffd256;;
2021-01-02 19:43:07 +00:00
}
.galleryCaption{
2021-01-02 19:43:07 +00:00
grid-column: 1/13;
grid-row: 8/13;
2021-01-02 19:43:07 +00:00
border-radius: 0;
font-size: 2vw;
border-left: 0;
border-right: 0;
2021-01-02 19:43:07 +00:00
}
.galleryLeftArrow{
2021-01-02 19:43:07 +00:00
grid-column: 1;
grid-row: 13;
2021-01-02 19:43:07 +00:00
font-size: 7vw;
}
.galleryRightArrow{
2021-01-02 19:43:07 +00:00
grid-column: 12;
grid-row: 13;
2021-01-02 19:43:07 +00:00
font-size: 7vw;
}
#socialBar{
position: static;
font-size: 3vw;
}
2021-01-02 19:43:07 +00:00
}