Last active
September 5, 2017 13:03
-
-
Save pandanote-info/71cf14ee30a7de16f5cfc8ef24269a91 to your computer and use it in GitHub Desktop.
YARPPをカスタマイズしてみた。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- styles_thumbnails.css.php.ORG 2017-08-30 23:21:57.909532177 +0900 | |
+++ styles_thumbnails.css.php 2017-08-31 07:34:47.572041369 +0900 | |
@@ -8,7 +8,7 @@ | |
$width = (isset($_GET['width'])) ? (int) $_GET['width'] : 120; | |
$margin = 5; | |
$width_with_margins = ($margin * 2) + $width; | |
-$height_with_text = $height + 50; | |
+$height_with_text = $height + 180; | |
$extra_margin = 7; | |
header('Content-Type: text/css'); | |
@@ -35,7 +35,7 @@ | |
} | |
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title { | |
font-size: 1em; | |
- max-height: 2.8em; | |
+ /* max-height: 2.8em; */ | |
line-height: 1.4em; | |
margin: <?php echo $extra_margin; ?>px; | |
margin-top: 0px; | |
@@ -51,3 +51,7 @@ | |
min-height: <?php echo $height; ?>px; | |
min-width: <?php echo $width; ?>px; | |
} | |
+ | |
+span.yarpp-thumbnail-title { | |
+ color: #1E3E8A; | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment