| 1 |
.jetpack-slideshow-window { |
| 2 |
background-color: #222; |
| 3 |
border: 20px solid #222; |
| 4 |
border-radius: 10px; |
| 5 |
height: 0; |
| 6 |
margin-bottom: 20px; |
| 7 |
overflow: hidden; |
| 8 |
padding-top: 30px !important; |
| 9 |
padding-bottom: 56.25% !important; |
| 10 |
position: relative; |
| 11 |
z-index: 1; |
| 12 |
} |
| 13 |
|
| 14 |
.jetpack-slideshow-window.jetpack-slideshow-white { |
| 15 |
background-color: #fff; |
| 16 |
border-color: #fff; |
| 17 |
} |
| 18 |
|
| 19 |
.jetpack-slideshow-window, .jetpack-slideshow-window * { |
| 20 |
box-sizing: content-box; |
| 21 |
} |
| 22 |
|
| 23 |
.jetpack-slideshow-loading { |
| 24 |
height: 100%; |
| 25 |
text-align: center; |
| 26 |
margin: auto; |
| 27 |
} |
| 28 |
|
| 29 |
body div.jetpack-slideshow-window * img { |
| 30 |
|
| 31 |
/* Override any styles that might be present in the page stylesheet */ |
| 32 |
background-color: transparent !important; |
| 33 |
background-image: none !important; |
| 34 |
border-width: 0 !important; |
| 35 |
display: block; |
| 36 |
margin: 0 auto; |
| 37 |
max-width: 100%; |
| 38 |
max-height: 100%; |
| 39 |
padding: 0 !important; |
| 40 |
position: relative; |
| 41 |
transform: translateY(-50%); |
| 42 |
top: 50%; |
| 43 |
} |
| 44 |
|
| 45 |
.jetpack-slideshow-loading img { |
| 46 |
vertical-align: middle; |
| 47 |
} |
| 48 |
|
| 49 |
.jetpack-slideshow-slide { |
| 50 |
display: none; |
| 51 |
height: 100% !important; |
| 52 |
left: 0; |
| 53 |
margin: auto; |
| 54 |
position: absolute; |
| 55 |
text-align: center; |
| 56 |
top: 0; |
| 57 |
width: 100% !important; |
| 58 |
} |
| 59 |
|
| 60 |
.jetpack-slideshow-slide img { |
| 61 |
vertical-align: middle; |
| 62 |
margin: 0 auto; |
| 63 |
} |
| 64 |
|
| 65 |
.jetpack-slideshow-line-height-hack { |
| 66 |
overflow: hidden; |
| 67 |
width: 0; |
| 68 |
font-size: 0; |
| 69 |
} |
| 70 |
|
| 71 |
.jetpack-slideshow-slide-caption { |
| 72 |
font-size: 13px; |
| 73 |
font-family: "Helvetica Neue", sans-serif; |
| 74 |
color: #f6f7f7; |
| 75 |
text-shadow: #222 1px 1px 2px; |
| 76 |
line-height: 25px; |
| 77 |
height: 25px; |
| 78 |
position: absolute; |
| 79 |
bottom: 5px; |
| 80 |
left: 0; |
| 81 |
z-index: 100; |
| 82 |
width: 100%; |
| 83 |
text-align: center; |
| 84 |
} |
| 85 |
|
| 86 |
.jetpack-slideshow-controls { |
| 87 |
z-index: 1000; |
| 88 |
position: absolute; |
| 89 |
bottom: 30px; |
| 90 |
margin: auto; |
| 91 |
text-align: center; |
| 92 |
width: 100%; |
| 93 |
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; |
| 94 |
opacity: 0.5; |
| 95 |
|
| 96 |
/*rtl:ignore*/ |
| 97 |
direction:ltr; |
| 98 |
transition: 300ms opacity ease-out; |
| 99 |
} |
| 100 |
|
| 101 |
.jetpack-slideshow-window:hover .jetpack-slideshow-controls { |
| 102 |
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; |
| 103 |
opacity: 1; |
| 104 |
} |
| 105 |
|
| 106 |
body div div.jetpack-slideshow-controls a, |
| 107 |
body div div.jetpack-slideshow-controls a:hover { |
| 108 |
border:2px solid rgba(255,255,255,0.1) !important; |
| 109 |
background-color: rgba(0,0,0,0.6) !important; |
| 110 |
background-image: url(../img/slideshow-controls.png) !important; |
| 111 |
background-repeat: no-repeat; |
| 112 |
background-size: 142px 16px !important; |
| 113 |
background-position: -34px 8px !important; |
| 114 |
color: #222 !important; |
| 115 |
margin: 0 5px !important; |
| 116 |
padding: 0 !important; |
| 117 |
display: inline-block !important; |
| 118 |
zoom: 1; |
| 119 |
height: 32px !important; |
| 120 |
width: 32px !important; |
| 121 |
line-height: 32px !important; |
| 122 |
text-align: center !important; |
| 123 |
border-radius: 10em !important; |
| 124 |
transition: 300ms border-color ease-out; |
| 125 |
} |
| 126 |
|
| 127 |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { |
| 128 |
|
| 129 |
body div div.jetpack-slideshow-controls a, |
| 130 |
body div div.jetpack-slideshow-controls a:hover { |
| 131 |
background-image: url(../img/slideshow-controls-2x.png) !important; |
| 132 |
} |
| 133 |
} |
| 134 |
|
| 135 |
body div div.jetpack-slideshow-controls a:hover { |
| 136 |
border-color: rgba(255,255,255,1) !important; |
| 137 |
} |
| 138 |
|
| 139 |
body div div.jetpack-slideshow-controls a:first-child { background-position: -76px 8px !important;} |
| 140 |
|
| 141 |
body div div.jetpack-slideshow-controls a:last-child { background-position: -117px 8px !important;} |
| 142 |
|
| 143 |
body div div.jetpack-slideshow-controls a:nth-child(2) { background-position: -34px 8px !important;} |
| 144 |
|
| 145 |
body div div.jetpack-slideshow-controls a.running { background-position: -34px 8px !important;} |
| 146 |
|
| 147 |
body div div.jetpack-slideshow-controls a.paused { background-position: 9px 8px !important;} |
| 148 |
|
| 149 |
.jetpack-slideshow-controls a img { |
| 150 |
border: 50px dotted #f0f; |
| 151 |
} |
| 152 |
|