Warning, /graphics/digikam/core/dplugins/generic/tools/htmlgallery/themes/floatingcards/style.css is written in an unsupported language. File is not indexed.

0001 body {
0002         background-color: #111;
0003         color: #888;
0004         margin: 0;
0005         font-family: sans-serif;
0006 }
0007 
0008 a {
0009         color: #ccc;
0010         text-decoration: none;
0011 }
0012 
0013 a:hover {
0014         color: #fff;
0015 }
0016 
0017 img {
0018         border: 0;
0019         padding: 0;
0020         margin: 0;
0021 }
0022 
0023 img.preload {
0024         display: none;
0025 }
0026 
0027 /*********************************************************/
0028 /* back and forward picture selection tabs on page edges */
0029 
0030 div.select {
0031         padding: 0 0 0 0;
0032         background-color: #444;
0033         background-repeat: no-repeat;
0034         background-position: center;
0035         position: fixed;
0036         width: 0px;
0037         height: 0; /* overridden by max-height from thumb_size.css */
0038         margin-top: auto;
0039         margin-bottom: auto;
0040         margin-left: 0;
0041         margin-right: 0;
0042         top: 26px;
0043         bottom: 26px;
0044 }
0045 
0046 div.select:hover {
0047         width: auto;
0048         max-width: 80%;
0049 }
0050 
0051 div.select.back {
0052         left: 0px;
0053         background-image: url('back.png');
0054         background-position: left;
0055         padding-left: 20px;
0056 }
0057 div.select.forward {
0058         right: 0px;
0059         background-image: url('forward.png');
0060         background-position: right;
0061         padding-right: 20px;
0062 }
0063 
0064 
0065 div.select ul {
0066         padding: 0 0 0 0;
0067         margin: 0 0 0 0;
0068         display:none;
0069         height: 100%;
0070 }
0071 
0072 div.select.back ul {
0073         float: left;    
0074 }
0075 div.select.forward ul {
0076         float: right;
0077 }
0078 
0079 div.select:hover ul {
0080         display: inline-block;
0081 }
0082 
0083 
0084 div.select ul li {
0085         margin-top: 16px;
0086         margin-bottom: 10000px;         /* hack; prevent other than the first line of cards from showing */
0087         margin-left: 2px;
0088         margin-right: 2px;
0089         vertical-align: text-top;
0090         border-bottom-color: #666;
0091 }
0092 
0093 div.select ul li a {
0094         border-color: #666;
0095 }
0096 
0097 div.select ul li a:hover {
0098         border-color: #fff;
0099 }
0100 
0101 
0102 div.select.back ul li {
0103         float: right;
0104         margin-right: 16px;
0105 }
0106 div.select.forward ul li {
0107         float: left;
0108         margin-left: 16px;
0109 }
0110 
0111 /*********************************************************/
0112 /* header and navigation buttons at top of page          */
0113 
0114 
0115 h1,h2 {
0116         padding: 0 0 0 0;
0117         margin: 0 125px 0 125px;        /* clear the (fixed-size) div.nav buttons in the corners */
0118         text-align: center;
0119         font-size: 100%;
0120 }
0121 
0122 h1 {
0123         padding-top: 0.3em;
0124         padding-bottom: 0px;
0125 }
0126 
0127 h2 {
0128         font-weight: normal;
0129         padding-bottom: 0px;
0130         padding-bottom: 0.3em;
0131 }
0132 
0133 div.nav {
0134         position: fixed;
0135 }
0136 
0137 div.nav.left {
0138         left: 0;
0139 }
0140 
0141 div.nav.right {
0142         right: 0;
0143 }
0144 
0145 div.nav a {
0146         padding-left: 20px;
0147         padding-right: 20px;
0148         background-color: #444;
0149         font-size: 16px;
0150         height: 21px;
0151         overflow: hidden;
0152 }
0153 
0154 
0155 div.nav a:hover {
0156         background-color: #666;
0157 }
0158 
0159         
0160 div.nav.right a {
0161         margin-left: 5px;
0162         float: right;
0163 }
0164 
0165 div.nav.left a {
0166         margin-right: 5px;
0167         float: left;
0168 }
0169 
0170 
0171 div.nav img {
0172         margin-left: 5px;
0173         margin-right: 5px;
0174         margin-top: 3px;
0175         margin-bottom: 3px;
0176         vertical-align: top;
0177 }
0178 
0179 /*********************************************************/
0180 /* cards with descriptions                               */
0181 /* used by: collection, collection list, back/forward    */
0182 
0183 li {
0184         margin: 24px;
0185         float: left;
0186         list-style: none;
0187         overflow: hidden;
0188         
0189         /* when not hovered, bottom border of the li is shown */
0190         border-bottom-style: solid;
0191         border-bottom-width: 1px;
0192         border-bottom-color: #444;
0193 
0194 }
0195 
0196 li:hover {
0197         /* allow the overflow to overlap other cards */
0198         position: relative;     
0199         overflow: visible;
0200 }
0201 
0202 li a {
0203 
0204         background-color: #000;
0205 
0206         display: block;
0207         padding: 9px;
0208         
0209         text-align: center;
0210         font-size: 10px;
0211         margin: 0px;
0212 
0213         border-style: solid;
0214         border-width: 1px;
0215         border-color: #444;
0216 
0217 
0218 }
0219 
0220 li a:hover {
0221         border-color: #fff;
0222 }
0223 
0224 
0225 /*********************************************************/
0226 /* image page                                            */
0227 
0228 div.fix {
0229         bottom: 0;
0230         left: 0;
0231         right: 0;
0232         top: 0;
0233         position: absolute;
0234 }
0235 
0236 div.fix h1, div.fix h2 {
0237         margin-top: 0;
0238         margin-bottom: 0;
0239         margin-left: auto;
0240         margin-right: auto;
0241         position: absolute;
0242         overflow: hidden;
0243         text-overflow: ellipsis;
0244         white-space: nowrap;
0245 }
0246 
0247 div.fix h1 {
0248         top: 0px;
0249         left: 125px;
0250         right: 125px;
0251         height: 1.2em;
0252 }
0253 
0254 div.fix h2 {
0255         bottom: 0px;
0256         left: 25px;
0257         right: 25px;
0258         height: 1.2em;
0259 }
0260 
0261 div.fix h1:hover, div.fix h2:hover {
0262         height: auto;
0263         min-height: 1.2em;
0264         background-color: #444;
0265         white-space: normal;
0266         left: 0px;
0267         right: 0px;
0268 }
0269 
0270 div.image {
0271         position: absolute;
0272         top: 1.5em;
0273         bottom: 1.5em;
0274         right: 25px;;
0275         left: 25px;
0276         text-align: center;
0277 }
0278 
0279 /* reserve for the padding of the contained img */
0280 div.image div {
0281         position: absolute;
0282         top: 10px; /* border + padding of img */
0283         bottom: 10px;
0284         right: 10px;
0285         left: 10px;
0286 
0287 }
0288 
0289 div.image div img {
0290         background-color: #111;
0291         border: 0px solid #444;
0292         max-width: 100%;
0293         max-height: 100%;
0294         position: absolute;
0295         margin: auto;
0296         padding: 10px;
0297         top: -10px; /* -padding */
0298         left: -10px;
0299         right: -10px;
0300         bottom: -10px;
0301 }
0302 
0303 
0304 /*********************************************************/
0305 /* very dark and non-disturbing footer                   */
0306 
0307 p.footer {
0308         clear: both;    border-top: 1px solid #333;
0309         border-top: 1px solid #333;
0310         font-size: 70%;
0311         text-align: right;
0312         color: #333;
0313 }
0314 
0315 p.footer a {    
0316         color: #444;
0317 }
0318 
0319 p.footer a:hover {      
0320         color: #666;
0321 }