Fixed mobile scaling for carousel
This commit is contained in:
parent
8b5a9ba8e0
commit
29d673559f
|
@ -127,11 +127,11 @@ h1 {
|
||||||
.carousel-item {
|
.carousel-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
display:block;
|
display:block;
|
||||||
height: 150px;
|
height: 100px;
|
||||||
width: 96%;
|
width: 96%;
|
||||||
min-height: 150px;
|
min-height: 100px;
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
border-radius: 81px;
|
border-radius: 55px;
|
||||||
border: 5px solid black;
|
border: 5px solid black;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
@ -143,13 +143,13 @@ h1 {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
transform: translate(10px, 5px);
|
transform: translate(10px, 5px);
|
||||||
width: 120px;
|
width: 70px;
|
||||||
height: 120px;
|
height: 70px;
|
||||||
background-color: #202020;
|
background-color: #202020;
|
||||||
border-radius: 70px;
|
border-radius: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 120px;
|
line-height: 70px;
|
||||||
font-size: 100px;
|
font-size: 50px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -162,9 +162,9 @@ h1 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
transform: translate(180px, -50px);
|
transform: translate(100px, -35px);
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 50px;
|
font-size: 25px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-shadow: black 3px 3px 3px;
|
text-shadow: black 3px 3px 3px;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
@ -227,6 +227,15 @@ h1 {
|
||||||
height: 800px;
|
height: 800px;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
|
border-radius: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carousel-item .carousel-id {
|
||||||
|
width: 120px;
|
||||||
|
height: 120px;
|
||||||
|
line-height: 120px;
|
||||||
|
font-size: 100px;
|
||||||
|
border-radius: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#carousel-container .active {
|
#carousel-container .active {
|
||||||
|
@ -234,4 +243,9 @@ h1 {
|
||||||
height: 800px;
|
height: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.carousel-item .carousel-title {
|
||||||
|
transform: translate(180px, -50px);
|
||||||
|
font-size: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue