Design improvements on mobile, updated technology section
This commit is contained in:
@@ -48,33 +48,32 @@ footer h2, section h2{
|
||||
|
||||
#technology{
|
||||
background-image: url(../images/njr-code.png);
|
||||
height: 100vh;
|
||||
height: fit-content;
|
||||
margin: 0;
|
||||
background-position: center;
|
||||
background-position-x: -400px;
|
||||
background-position-y: 400px;
|
||||
}
|
||||
|
||||
#motorsport{
|
||||
background-image: url(../images/topfuel_startline.jpg.jpeg);
|
||||
height: 100vh;
|
||||
height: fit-content;
|
||||
margin: 0;
|
||||
background-position: center;
|
||||
background-position-x: -65px;
|
||||
background-position-y: -90px;
|
||||
background-position-y: -100px;
|
||||
background-size: 200%;
|
||||
}
|
||||
|
||||
.gradient{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: linear-gradient(to top, rgba(23, 22, 20, 1) 70%, rgba(23, 22, 20, 0));
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.text{
|
||||
height: 70%;
|
||||
height: fit-content;
|
||||
width: 100%;
|
||||
background-color: rgba(23, 22, 20, 1);
|
||||
}
|
||||
|
||||
.text>div{
|
||||
@@ -227,7 +226,7 @@ pre{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
padding-top: 20px;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
#certs>a {
|
||||
@@ -236,4 +235,27 @@ pre{
|
||||
|
||||
#certs>a>img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#techlogos {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
max-height:30%;
|
||||
}
|
||||
|
||||
#techlogos>a {
|
||||
max-width: 10%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#techlogos>a>img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
height: 30vh;
|
||||
width: 100%;
|
||||
background-image: linear-gradient(to top, rgba(23, 22, 20, 1) 10%, rgba(23, 22, 20, 0));
|
||||
}
|
Reference in New Issue
Block a user