Plugin Directory

Changeset 2002751


Ignore:
Timestamp:
12/28/2018 08:38:30 AM (7 years ago)
Author:
webnautspro
Message:

update styles

Location:
bomond-event
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bomond-event/tags/1.0.1/bomondevent.php

    r2002743 r2002751  
    7979
    8080}
     81
    8182run_bomondevent();
     83
    8284function footag_func(){
    8385    wp_enqueue_script('jquery');
     
    178180        flex-direction: column;
    179181        justify-content: flex-end;
    180     }
    181    
     182        font-family: "Open Sans", Helvetica, Arial, sans-serif;
     183        font-size: 0.9375rem;
     184        line-height: 1.6;
     185        font-weight: 400;
     186        text-rendering: optimizeLegibility;
     187    }
     188    .hHKXhv *{
     189        font-family: "Open Sans", Helvetica, Arial, sans-serif;
     190        font-size: 13px;
     191        line-height: 1.6;
     192        font-weight: 400;
     193        text-rendering: optimizeLegibility;
     194    }
    182195    .hHKXhv:hover {
    183196        background: rgba(0, 0, 0, 0.7) linear-gradient(transparent, rgba(0, 0, 0, 0.7)) repeat scroll 0% 0%;
    184197        padding-bottom: 20px;
    185198    }
    186         .event_title {
    187 
     199    .event_title {
    188200        font-weight: bold;
    189201        font-size: 20px;
    190 
    191202    }
    192203    .regular{
     
    200211    }
    201212    .event_container a {
     213        text-decoration: none !important;
    202214        height: 100%;
    203215        background-size: cover !important;
     
    214226        cursor: pointer;
    215227        transition: 0.2s ease-in-out;
    216     color: <?php echo get_option('sliderarrowcolo_74839'); ?>!important;
    217     font-weight: bold;}</style>
     228        color: <?php echo get_option('sliderarrowcolo_74839'); ?>!important;
     229        font-weight: bold;
     230    }
     231</style>
    218232           
    219233    <?php
     
    221235  return ob_get_clean();
    222236}
     237
     238add_action( 'wp_enqueue_scripts', 'wp_styless' );
     239function wp_styless() {
     240    wp_register_style( 'fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css', array(), '4.2.0' );
     241    wp_enqueue_style( 'fontawesome' );
     242}
  • bomond-event/trunk/bomondevent.php

    r2002743 r2002751  
    7979
    8080}
     81
    8182run_bomondevent();
     83
    8284function footag_func(){
    8385    wp_enqueue_script('jquery');
     
    178180        flex-direction: column;
    179181        justify-content: flex-end;
    180     }
    181    
     182        font-family: "Open Sans", Helvetica, Arial, sans-serif;
     183        font-size: 0.9375rem;
     184        line-height: 1.6;
     185        font-weight: 400;
     186        text-rendering: optimizeLegibility;
     187    }
     188    .hHKXhv *{
     189        font-family: "Open Sans", Helvetica, Arial, sans-serif;
     190        font-size: 13px;
     191        line-height: 1.6;
     192        font-weight: 400;
     193        text-rendering: optimizeLegibility;
     194    }
    182195    .hHKXhv:hover {
    183196        background: rgba(0, 0, 0, 0.7) linear-gradient(transparent, rgba(0, 0, 0, 0.7)) repeat scroll 0% 0%;
    184197        padding-bottom: 20px;
    185198    }
    186         .event_title {
    187 
     199    .event_title {
    188200        font-weight: bold;
    189201        font-size: 20px;
    190 
    191202    }
    192203    .regular{
     
    200211    }
    201212    .event_container a {
     213        text-decoration: none !important;
    202214        height: 100%;
    203215        background-size: cover !important;
     
    214226        cursor: pointer;
    215227        transition: 0.2s ease-in-out;
    216     color: <?php echo get_option('sliderarrowcolo_74839'); ?>!important;
    217     font-weight: bold;}</style>
     228        color: <?php echo get_option('sliderarrowcolo_74839'); ?>!important;
     229        font-weight: bold;
     230    }
     231</style>
    218232           
    219233    <?php
     
    221235  return ob_get_clean();
    222236}
     237
     238add_action( 'wp_enqueue_scripts', 'wp_styless' );
     239function wp_styless() {
     240    wp_register_style( 'fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css', array(), '4.2.0' );
     241    wp_enqueue_style( 'fontawesome' );
     242}
Note: See TracChangeset for help on using the changeset viewer.