Titles reverted, descriptions h4-ified
authorLaury GvR <laury@gaslightmedia.com>
Tue, 12 Apr 2016 19:03:21 +0000 (15:03 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 12 Apr 2016 19:03:21 +0000 (15:03 -0400)
css/app.css
nggallery/gallery-glmphotos-light-3.php
scss/plugins/_nextgen.scss

index 1a62ce6..d65bba0 100644 (file)
@@ -6771,14 +6771,21 @@ h2#block-title {
   top: 0;
   padding-top: 10px;
   padding-bottom: 5px; }
+  #fancybox-title * {
+    color: #f5822a;
+    letter-spacing: 0.1em;
+    font-size: 1.5rem;
+    line-height: 1.0;
+    font-family: "Lato";
+    font-style: normal;
+    font-weight: normal;
+    margin-bottom: 0.5rem;
+    margin-top: 0.2rem;
+    text-rendering: optimizelegibility; }
   #fancybox-title #fancybox-title-inside {
     padding: 2px 0; }
     #fancybox-title #fancybox-title-inside h1, #fancybox-title #fancybox-title-inside h2, #fancybox-title #fancybox-title-inside h3, #fancybox-title #fancybox-title-inside h4, #fancybox-title #fancybox-title-inside h5, #fancybox-title #fancybox-title-inside h6 {
       color: #f5822a; }
-    #fancybox-title #fancybox-title-inside p {
-      color: black; }
-    #fancybox-title #fancybox-title-inside div {
-      color: black; }
     #fancybox-title #fancybox-title-inside a {
       text-decoration: none;
       border-bottom: 1px solid rgba(5, 104, 179, 0.35); }
index 58d0f26..408c538 100644 (file)
@@ -82,10 +82,10 @@ Follow variables are useable :
                         data-title="<?php echo esc_attr($image->alttext); ?>"
                         data-description="<?php echo esc_attr($image->description); ?>"
                         <?php echo $image->thumbcode ?> >
-                            <h4 title="<?php echo esc_attr($image->alttext) ?>"
+                            <div title="<?php echo esc_attr($image->alttext) ?>"
                                 alt="<?php echo esc_attr($image->alttext) ?>">
                                 <?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
-                            </h4>
+                            </div>
                         </a>
                     </div>
                 </div>
index 7536fd5..7b82137 100644 (file)
 }
 
 #fancybox-title {
+  * { 
+    color: #f5822a;
+    letter-spacing: 0.1em;
+    font-size: rem-calc(24);
+    line-height: 1.0;
+    font-family: "Lato";
+    font-style: normal;
+    font-weight: normal;
+    margin-bottom: 0.5rem;
+    margin-top: 0.2rem;
+    text-rendering: optimizelegibility;
+  }
     position: absolute;
     top: 0;
     padding-top: 10px;
         h1,h2,h3,h4,h5,h6 {
             color: $orange;
         }
-        p {
-            color: black;
-        }
-        div {
-            color: black;
-        }
         a {
             text-decoration: none;
             border-bottom: 1px solid rgba(5,104,179,.35);