Skip to content

Commit

Permalink
modified: README.txt
Browse files Browse the repository at this point in the history
	modified:   changelog.txt
	modified:   functions.php
	modified:   languages/css/ja.css
	modified:   lib/csscolor.css.php
	modified:   plugins/plugins-presentation.php
	modified:   responsiveness.css
	modified:   style.css
  • Loading branch information
tenman committed Nov 16, 2017
1 parent 7aecdf8 commit 22321de
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 46 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: nobita
Requires at least: WordPress 4.5
Tested up to: WordPress 4.8.3
Stable tag: 1.487
Version: 1.495
Version: 1.496
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, post-formats, featured-images, full-width-template, rtl-language-support, microformats, grid-layout, flexible-header, custom-logo, featured-image-header, footer-widgets
Expand Down
12 changes: 12 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
Changelog -----------------------------------
version:1.496

Overview of Changes


Files Modified


Description of Code Changes
please see https://themes.trac.wordpress.org/changeset?old_path=raindrops/1.495&new_path=raindrops/1.496
-----------------------------------------------Changelog -----------------------------------
Changelog -----------------------------------
version:1.495

Overview of Changes
Expand Down
26 changes: 26 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13723,6 +13723,25 @@ function raindrops_font_size_class(){
$font_class .= sprintf( $rule_set, $selecter, $font_size_val.'%' );
}
}
/**
* basefont size relate line-height for paragraf
*
* @1.496
*/
$raindrops_basefont_val = raindrops_warehouse_clone( 'raindrops_basefont_settings' );
$line_height_values = array('13' => 1.65, '14' => 1.6, '15' => 1.55, '16' => 1.5, '17' => 1.45, '18' => 1.4, '19' => 1.4, '20' => 1.4 );
$line_height_values = apply_filters('raindrops_font_size_class_line_height', $line_height_values, $template_name );

if( array_key_exists( $raindrops_basefont_val, $line_height_values ) ) {

$font_class .= "\n". '.rd-category-description p ,.entry-content p{ line-height:'.floatval( $line_height_values[ $raindrops_basefont_val ] ).';}';

}
foreach( $line_height_values as $key=>$val ) {

$font_class .= "\n". '.entry-content .f'. intval( $key ). '{ line-height:'.floatval( $val ).';}';
}

/**
* Always keep base font size
*/
Expand All @@ -13744,6 +13763,13 @@ function raindrops_font_size_class(){
'#nav-below, #nav-above, #nav-above-comments, #nav-below-comments' => array( $default_basefont_val,'px'),
'.raindrops-pinup-entries .entry-title' => array( $default_basefont_val * 1.231,'px'),
'.raindrops-post-format-chat dt' => array( $default_basefont_val * 1.231,'px'),
'.page .edit-link' => array( $default_basefont_val,'px'),
'#raindrops-recent-posts .title,.raindrops-category-posts .title,.raindrops-tag-posts .title' => array( $default_basefont_val * 2,'px'),
'.portfolio .entry-title' => array( $default_basefont_val * 1.231,'px'),
'.raindrops-monthly-archive-prev-next-avigation, .pagination, .page-template-page-featured .widget' => array( $default_basefont_val,'px'),
'.archive-year-links .current-year,.datetable > h2' => array( $default_basefont_val * 1.539,'px'),
'.author .entry-title-text' => array( $default_basefont_val,'px'),

);
$keep_base_size_proparties = apply_filters('raindrops_keep_base_size_proparties', $keep_base_size_proparties );
$keep_base_size = apply_filters('raindrops_keep_base_font_size', true );
Expand Down
7 changes: 5 additions & 2 deletions languages/css/ja.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,11 @@ body.ja,
.ja i{
font-style: italic;
}
/* @1.496
.mce-content-body p,
.ja p{
line-height:1.6;
}
}*/
.ja .datetable .time,
.ja .datetable .month-name,
.ja .datetable .year-name,
Expand All @@ -173,9 +174,9 @@ body.ja,
box-sizing:border-box;
width:3em;
}

.ja .widget_recent_comments .recentcomments{
visibility:hidden;
margin-bottom:-1.65em;
}
.ja .widget_recent_comments .recentcomments a,
.ja .widget_recent_comments .recentcomments span,
Expand All @@ -184,6 +185,8 @@ body.ja,
}
.ja .widget_recent_comments .comment-author-link{
border-bottom:1px dotted rgba(122,122,122,.5);
display:block;
margin-bottom:-1.5em;
}

.ja .raindrops-excerpt-more{
Expand Down
15 changes: 8 additions & 7 deletions lib/csscolor.css.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function raindrops_indv_css_dark() {
hr{
border:none;
border-top:1px solid %c_border%;
border-bottom:1px solid %c_border%;
}
dl > div,
#month_list,
Expand Down Expand Up @@ -550,7 +550,7 @@ function raindrops_indv_css_dark() {
}
hr{
border:none;
border-top:1px solid %rgba_border%;
border-bottom:1px solid %rgba_border%;
}
.blog .sticky,
Expand Down Expand Up @@ -1225,7 +1225,7 @@ function raindrops_indv_css_w3standard() {
border:solid 1px %c_border%;
}
hr{
border-top:1px dashed %c_border%;
border-bottom:1px dashed %c_border%;
}
.raindrops-mobile-menu,
#access{
Expand Down Expand Up @@ -1722,7 +1722,7 @@ function raindrops_indv_css_light() {
%c5%
}
hr{
border-top:1px dashed %c_border%;
border-bottom:1px dashed %c_border%;
}
textarea,
input[type="password"],
Expand Down Expand Up @@ -1981,7 +1981,7 @@ function raindrops_indv_css_light() {
border:1px solid %rgba_border%;
}
hr{
border-top:1px dashed %rgba_border%;
border-bottom:1px dashed %rgba_border%;
}
#respond input[type="text"],
#respond textarea#comment,
Expand Down Expand Up @@ -2518,7 +2518,7 @@ function raindrops_indv_css_minimal() {
%c5%
}
hr{
border-top:1px solid %rgba_border%;
border-bottom:1px solid %rgba_border%;
}
/* @1.345 start */
.rsidebar ul li ul li,
Expand Down Expand Up @@ -3006,11 +3006,12 @@ function raindrops_indv_css_minimal() {
.rd-grid .sticky .entry-title{
padding-top:0;
}
/* @1.495
.rd-type-minimal .recentcomments,
.rd-type-minimal .widget_recent_comments .recentcomments,
.rd-type-minimal .widget_recent_comments .recentcomments{
margin:5px 5px 5px .8em;
}
}*/
.rd-type-minimal #access{
width:100%;
margin-left:0;
Expand Down
61 changes: 32 additions & 29 deletions plugins/plugins-presentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function raindrops_bcn_css() {
'yes' == raindrops_warehouse_clone( 'raindrops_plugin_presentation_bcn_nav_menu' ) ) {

$raindrops_bcn_css = 'ol.breadcrumbs{
margin:1em 0;
margin:0 0 1em;
}
.breadcrumbs li{
list-style:none;
Expand Down Expand Up @@ -1035,26 +1035,29 @@ function raindrops_load_amp_css() {

}
}
function gutenberg_boilerplate_es5_enqueue_common_assets() {

$color_type = raindrops_warehouse_clone( 'raindrops_style_type' );
if ( !function_exists( 'raindrops_gutenberg_enqueue_common_assets' ) ) {

switch( $color_type ) {
case( 'dark' ):
add_filter('raindrops_indv_css_dark','raindrops_gutengerg_indv_css_dark', 9);
case( 'w3standard' ):
add_filter('raindrops_indv_css_w3standard','raindrops_gutengerg_indv_css_w3standard', 9);
case( 'light' ):
add_filter('raindrops_indv_css_light','raindrops_gutengerg_indv_css_light', 9);
case( 'minimal' ):
add_filter('raindrops_indv_css_minimal','raindrops_gutengerg_indv_css_minimal', 9);
default:
if( function_exists( 'custom_raindrops_indv_css_' . $color_type ) ) {
add_filter('raindrops_indv_css_minimal','custom_raindrops_indv_css_'. $color_type , 9);
}
}
function raindrops_gutenberg_enqueue_common_assets() {

$color_type = raindrops_warehouse_clone( 'raindrops_style_type' );

switch( $color_type ) {
case( 'dark' ):
add_filter('raindrops_indv_css_dark','raindrops_gutengerg_indv_css_dark', 9);
case( 'w3standard' ):
add_filter('raindrops_indv_css_w3standard','raindrops_gutengerg_indv_css_w3standard', 9);
case( 'light' ):
add_filter('raindrops_indv_css_light','raindrops_gutengerg_indv_css_light', 9);
case( 'minimal' ):
add_filter('raindrops_indv_css_minimal','raindrops_gutengerg_indv_css_minimal', 9);
default:
if( function_exists( 'custom_raindrops_indv_css_' . $color_type ) ) {
add_filter('raindrops_indv_css_minimal','custom_raindrops_indv_css_'. $color_type , 9);
}
}
}
}
add_action( 'enqueue_block_assets', 'gutenberg_boilerplate_es5_enqueue_common_assets' );
add_action( 'enqueue_block_assets', 'raindrops_gutenberg_enqueue_common_assets' );

function raindrops_gutenberg_front_end_style(){

Expand Down Expand Up @@ -1191,6 +1194,8 @@ function raindrops_gutenberg_front_end_style(){
}
.wp-block-gallery.alignnone{
display:flex;
margin-left:auto;
margin-right:auto;
}
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-last-of-type(1),
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),
Expand Down Expand Up @@ -1444,27 +1449,25 @@ function raindrops_gutenberg_front_end_style(){
width:296px;
height:32px;
}

div[class|="wp-block"].alignleft,
figure[class|="wp-block"].alignleft{
clear:left;
/*margin:0 1em 1em 0;
max-width:100%;*/
margin-right:1em;
padding:1em;
box-sizing:border-box;
margin-top:.5em;
border:1px solid #ccc;
max-width:calc( 50% - 2em );
min-width:290px;
max-width:calc( 50% - 1em );
outline:1px solid #ccc;
}
div[class|="wp-block"].alignright,
figure[class|="wp-block"].alignright{
clear:right;
/* margin:0 0 1em 1em;*/
min-width:290px;
margin-left:1em;
padding:1em;
box-sizing:border-box;
margin-top:.5em;
border:1px solid #ccc;
max-width:calc( 50% - 2em );
max-width:calc( 50% - 1em );
outline:1px solid #ccc;
}
.entry-content .wp-block-separator{
border:none;
Expand Down
16 changes: 14 additions & 2 deletions responsiveness.css
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@
.lsidebar .categories ul li a{
padding:.5em;
}
.rsidebar .widget_archive .rd-archive-date,
.lsidebar .widget_archive .rd-archive-date{
padding-left:0;
}

#ft .widget_tag_cloud .tagcloud a,
#ft .widget_tag_cloud .tagcloud a,
Expand Down Expand Up @@ -670,7 +674,7 @@
padding:0;
float:none;
display:block;
padding-left:1em;
box-sizing:border-box;
}
.entry-meta-list.left{
background: url(images/sticky.png);
Expand Down Expand Up @@ -1082,7 +1086,15 @@
padding-top:0;
padding-bottom:0;
}

body:not(.page-template-blank_front) .related-posts #raindrops-recent-posts .title,
body:not(.page-template-blank_front) .related-posts .title{
/* @1.496 */
margin-left:13px;
}
body.single article.format-status .entry-title,
body.single article.category-blog .entry-title{
margin-top:1.5em;
}
}
@media screen and (max-width : 480px){
html .gecko{
Expand Down
33 changes: 28 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://www.tenman.info/wp3/raindrops/
Description: This theme can change freely fonts,layout,color scheme and header image for each post,page. The google fonts, you can use freely in the post more than 90percent of the fonts.Color scheme and layout, you can freely change from theme customizer.For more updates, please make sure to open the link of the changelog from the help tab of this theme page.Add new post, so also to help tab of edit post page has been described how to use tips, please visit. Supported languages Japanese - JAPAN (ja) French - FRANCE (fr_FR) Polish - POLAND (PL) (pl_PL) Portuguese - BRAZIL (pt_BR)
Author: Tenman
Author URI: https://www.tenman.info/wp3/
Version: 1.495
Version: 1.496
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, post-formats, featured-images, full-width-template, rtl-language-support, microformats, grid-layout, flexible-header, custom-logo, featured-image-header, footer-widgets
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -231,6 +231,7 @@ footer .eco-archive > .month,
margin-top:1.5em;
margin-bottom:.75em;
}
.rd-modal .header h3,
.lsidebar > ul > li:first-child .widgettitle,
body.single article.format-status .entry-title,
body.single article.category-blog .entry-title,
Expand Down Expand Up @@ -1046,6 +1047,7 @@ article .entry-content .block{
/* height:auto;*/
box-sizing: border-box;
}

.textwidget ol,
.textwidget ul,
.entry-content ol,
Expand All @@ -1057,8 +1059,28 @@ article .entry-content .block{
box-sizing:border-box;
width:auto;
margin-top:1em;
/* @1.496 padding-top:1em; */
}

/**
* @1.496
* TODO vanished list number on edge browser
*
article ol,
article ul{
z-index:-1;
overflow:hidden;
padding:0 1em 0 2em;
box-sizing:border-box;
margin-top:1em;
}
.wraparound{
overflow:visible;
position:relative;
left:1em;
padding-top:1em;
box-sizing:border-box;
max-width:calc(100% - 1em);
}*/
.rd-float-wrapper > ol,
.rd-float-wrapper > ul{
margin-top:0;
Expand Down Expand Up @@ -1238,10 +1260,11 @@ legend{
clear:none;
margin:0;
}
/* @1.495 l
.gallery .gallery-caption {
line-height:1.7;
text-align:left;
}
}*/
.gallery .gallery-caption ul{
position:static;
min-width:0;
Expand Down Expand Up @@ -3856,8 +3879,8 @@ sup {
width:30%;
min-width:296px;
overflow:visible;
margin-bottom:1em;
margin-left:1em;
margin-bottom:13px;
margin-left:13px;
float:left;
}
.rd-col-3 .raindrops-tag-posts li,
Expand Down

0 comments on commit 22321de

Please sign in to comment.