|
|
@@ -13,14 +13,18 @@ div#details{
|
|
|
font-size: 300%;
|
|
|
border-bottom: 0.2em solid;
|
|
|
margin-left: 2em;
|
|
|
+
|
|
|
+ @media only screen and (max-width : 800px){
|
|
|
+ margin-left: initial;
|
|
|
+ margin-bottom: 0.5em;
|
|
|
+ border-bottom: 0.05em solid;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
p{margin: auto 0.2em;}
|
|
|
-}
|
|
|
|
|
|
-@media only screen and (max-width : 600px) {
|
|
|
- div#details{margin: auto 1em;}
|
|
|
- div#details h2{text-align: center;}
|
|
|
+ @media only screen and (max-width : 600px) {margin: auto 1em;}
|
|
|
}
|
|
|
|
|
|
div#images{text-align: center;}
|
|
|
@@ -52,15 +56,13 @@ img.img_main{
|
|
|
max-height: 21em;
|
|
|
float: left;
|
|
|
margin: 0.5em 3em 0.5em 0.5em;
|
|
|
-}
|
|
|
|
|
|
-@media only screen and (max-width : 600px){
|
|
|
- img.img_main{
|
|
|
+ @media only screen and (max-width : 800px){
|
|
|
max-width: 100%;
|
|
|
max-height: 24em;
|
|
|
float: none;
|
|
|
margin: 0.5em auto;
|
|
|
- display: block;;
|
|
|
+ display: block;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -90,6 +92,13 @@ div#gallery{
|
|
|
transition: opacity 1s ease-in-out;
|
|
|
text-align: center;
|
|
|
z-index: 3;
|
|
|
+
|
|
|
+ @media only screen and (max-width : 800px) {
|
|
|
+ top: 4%;
|
|
|
+ bottom: 2%;
|
|
|
+ left: 2%;
|
|
|
+ right: 2%;
|
|
|
+ }
|
|
|
|
|
|
h3{
|
|
|
text-align: left;
|
|
|
@@ -108,10 +117,14 @@ div#gallery{
|
|
|
display: flex;
|
|
|
max-height: calc(100% - 8em);
|
|
|
|
|
|
+ @media only screen and (max-width : 800px) {display: block;}
|
|
|
+
|
|
|
div#gallery-flex-img-container{
|
|
|
flex: 70%;
|
|
|
padding: 1em;
|
|
|
text-align: center;
|
|
|
+
|
|
|
+ @media only screen and (max-width : 800px) {max-height: 60%;}
|
|
|
|
|
|
img#gallery-img, video#gallery-video{
|
|
|
|
|
|
@@ -120,6 +133,13 @@ div#gallery{
|
|
|
max-width: 95%;
|
|
|
max-height: 100%;
|
|
|
margin: auto;
|
|
|
+
|
|
|
+ @media only screen and (max-width : 800px) {
|
|
|
+ display: block;
|
|
|
+ max-height: calc(60% - 2em);
|
|
|
+ max-width: 95%;
|
|
|
+ margin: 0.2em auto;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -132,12 +152,23 @@ div#gallery{
|
|
|
border: 0.1em solid variables.$primary-brown;
|
|
|
border-radius: 0.3em;
|
|
|
overflow-y: scroll;
|
|
|
+
|
|
|
+ @media only screen and (max-width : 800px) {
|
|
|
+ display: block;
|
|
|
+ margin: auto 2em;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
div#gallery-controls{
|
|
|
text-align: center;
|
|
|
margin: 0;
|
|
|
|
|
|
+ @media only screen and (max-width : 800px) {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
input[type='button']{
|
|
|
display: inline-block;
|
|
|
padding: 1em 1.5em;
|
|
|
@@ -145,37 +176,3 @@ div#gallery{
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-@media only screen and (max-width : 600px) {
|
|
|
-
|
|
|
- div#gallery{
|
|
|
- top: 4%;
|
|
|
- bottom: 2%;
|
|
|
- left: 2%;
|
|
|
- right: 2%;
|
|
|
-
|
|
|
- div#gallery-flex{
|
|
|
- display: block;
|
|
|
- }
|
|
|
-
|
|
|
- img#gallery-img{
|
|
|
- display: block;
|
|
|
- max-height: calc(60% - 2em);
|
|
|
- max-width: 95%;
|
|
|
- margin: 0.2em auto;
|
|
|
- }
|
|
|
-
|
|
|
- p#gallery-text{
|
|
|
- display: block;
|
|
|
- max-width: 100%;
|
|
|
- margin: auto 0.3em;
|
|
|
- max-height: calc(40% - 2em);
|
|
|
- }
|
|
|
-
|
|
|
- div#gallery-controls{
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|