Make WordPress Themes

Changeset 164036


Ignore:
Timestamp:
03/07/2022 06:21:25 AM (4 years ago)
Author:
themedropbox
Message:

New version of MultiSport - 1.4.7

Location:
multisport/1.4.7
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • multisport/1.4.7/assets/css/editor-style.css

    r139039 r164036  
    131131q {
    132132    quotes: none;
     133}
     134
     135/* Registered Block Styles */
     136.is-style-btn .wp-block-button__link,
     137.is-style-btn .wp-block-button__link:hover,
     138.is-style-btn .wp-block-button__link:focus,
     139.is-style-btn .wp-block-button__link:active,
     140.is-style-btn .wp-block-button__link:visited {
     141    box-shadow: none;
     142    margin-top: 10px;
     143    margin-bottom: 10px;
     144}
     145
     146.is-style-btn .wp-block-button__link:hover {
     147    opacity:0.85;
     148}
     149
     150.is-style-tgroup {
     151    margin-bottom: 20px !important;
     152}
     153
     154.is-style-tsitetitle a {
     155    text-decoration: none !important;
     156    font-weight: bold;
     157}
     158
     159.is-style-tposttitle {
     160    text-align: center;
     161    margin: 10px 0 !important;
     162    font-size: 180%;
     163    font-weight: bold;
     164}
     165
     166.is-style-tsociallinks {
     167    border-radius: 1px !important;
    133168}
    134169
  • multisport/1.4.7/functions.php

    r154409 r164036  
    464464}
    465465add_action( 'wp_print_footer_scripts', 'multisport_skip_link_focus_fix' );
     466
     467function multisport_register_block_styles() {
     468
     469    register_block_style(
     470        'core/button',
     471        array(
     472            'name'  => 'btn',
     473            'label' => __( 'Hover Effect', 'multisport' ),
     474        )
     475    );
     476
     477    register_block_style(
     478        'core/group',
     479        array(
     480            'name'  => 'tgroup',
     481            'label' => __( 'Margin Bottom Space', 'multisport' ),
     482        )
     483    );
     484
     485    register_block_style(
     486        'core/site-title',
     487        array(
     488            'name'  => 'tsitetitle',
     489            'label' => __( 'Bold', 'multisport' ),
     490        )
     491    );
     492
     493    register_block_style(
     494        'core/post-title',
     495        array(
     496            'name'  => 'tposttitle',
     497            'label' => __( 'Bold', 'multisport' ),
     498        )
     499    );
     500
     501    register_block_style(
     502        'core/social-link',
     503        array(
     504            'name'  => 'tsociallinks',
     505            'label' => __( 'Square', 'multisport' ),
     506        )
     507    );
     508}
     509add_action( 'init', 'multisport_register_block_styles' );
  • multisport/1.4.7/readme.txt

    r162154 r164036  
    4141
    4242== Changelog ==
     43
     44= 1.4.7 =
     45* add block styles for button, group, site title, post title and social link
    4346
    4447= 1.4.6 =
  • multisport/1.4.7/style.css

    r162154 r164036  
    55Author: customizablethemes
    66Author URI: https://customizablethemes.com
    7 Version: 1.4.6
     7Version: 1.4.7
    88Text Domain: multisport
    99Tags: blog, entertainment, two-columns, right-sidebar, custom-logo, custom-background, custom-header, custom-menu, threaded-comments, translation-ready, sticky-post, theme-options, footer-widgets
     
    685685    content:'\A';
    686686    white-space:pre;
     687}
     688
     689/* Registered Block Styles */
     690.is-style-btn .wp-block-button__link,
     691.is-style-btn .wp-block-button__link:hover,
     692.is-style-btn .wp-block-button__link:focus,
     693.is-style-btn .wp-block-button__link:active,
     694.is-style-btn .wp-block-button__link:visited {
     695    box-shadow: none;
     696    margin-top: 10px;
     697    margin-bottom: 10px;
     698}
     699
     700.is-style-btn .wp-block-button__link:hover {
     701    opacity:0.85;
     702}
     703
     704.is-style-tgroup {
     705    margin-bottom: 20px !important;
     706}
     707
     708.is-style-tsitetitle a {
     709    text-decoration: none !important;
     710    font-weight: bold;
     711}
     712
     713.is-style-tposttitle {
     714    text-align: center;
     715    margin: 10px 0 !important;
     716    font-size: 180%;
     717    font-weight: bold;
     718}
     719
     720.is-style-tsociallinks {
     721    border-radius: 1px !important;
    687722}
    688723
Note: See TracChangeset for help on using the changeset viewer.