Plugin Directory

Changeset 633438


Ignore:
Timestamp:
12/03/2012 11:59:17 AM (13 years ago)
Author:
raido357
Message:

Add needed styles to each child themes styles.css file, so we have independent styles for each theme. Remove main.css

Location:
dippler/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • dippler/trunk/main.php

    r633434 r633438  
    179179   
    180180    function enqueueScripts() {
    181         wp_register_style( 'dippler', DIPPLER_WP_HTTP_ABSPATH . 'css/main.css' );
    182         wp_enqueue_style( 'dippler');
    183        
    184181        wp_register_style( 'dippler-autocomplete', DIPPLER_WP_HTTP_ABSPATH . 'css/dippler-autocomplete.css' );
    185182        wp_enqueue_style( 'dippler-autocomplete' );
  • dippler/trunk/themes/twentyeleven_dippler/style.css

    r628976 r633438  
    1313
    1414@import url("../../../../themes/twentyeleven/style.css");
     15
     16/* Dippler for Wordpress styles */
     17
     18.odd {
     19    background-color: #CCC;
     20}
     21
     22.even {
     23    background-color: #FFF;
     24}
     25
     26.course_thumb_img {
     27    float: left;
     28    background-image: url('../images/course_thumb_bg.png');
     29    height: 70px;
     30    width: 105px;
     31    margin-right: 10px;
     32}
     33
     34/* Learning resource page styles */
     35
     36.dippler-learning-resource td,th {
     37    padding: 4px;
     38}
     39
     40.dippler-learning-resource-meta {
     41    width: 100px;
     42    text-align: right;
     43}
     44
     45
     46/* Sidebar (activites) styles */
     47
     48#dippler_activites {
     49    float: right;
     50    margin-right: 7.6%;
     51    width: 18.8%;
     52}
     53
     54#secondary {
     55    clear:right;
     56}
  • dippler/trunk/themes/twentyten_dippler/style.css

    r629015 r633438  
    1313
    1414@import url("../../../../themes/twentyten/style.css");
     15 
     16/* Dippler for Wordpress styles */
    1517
    16 /* TODO move all public view styles to seperate style.css on child theme
    17  * Affects both twentyeleven_dippler and this file
    18  *
    19  * After doing that we don't need to include our own file via wp_head hook
    20  */
     18.dippler-toolbar {
     19    text-align: left;
     20    margin-top: 10px;
     21}
     22
     23.odd {
     24    background-color: #CCC;
     25}
     26
     27.even {
     28    background-color: #FFF;
     29}
     30
     31.course_thumb_img {
     32    float: left;
     33    background-image: url('../images/course_thumb_bg.png');
     34    height: 70px;
     35    width: 105px;
     36    margin-right: 10px;
     37}
     38
     39/* Learning resource page styles */
     40
     41.dippler-learning-resource td,th {
     42    padding: 4px;
     43}
     44
     45.dippler-learning-resource-meta {
     46    width: 100px;
     47    text-align: right;
     48}
     49
     50
     51/* Sidebar (activites) styles */
     52
     53#dippler_activites {
     54    float: right;
     55    margin-right: 7.6%;
     56    width: 17.5%;
     57}
     58
     59#secondary {
     60    clear:right;
     61}
    2162
    2263.widget-area {
    2364    clear: right;
    2465}
    25 
    26 #dippler_activites {
    27     width: 17.5% !important;
    28 }
  • dippler/trunk/themes/twentytwelve_dippler/style.css

    r633418 r633438  
    1414@import url("../../../../themes/twentytwelve/style.css");
    1515
     16
     17/* Dippler for Wordpress styles */
     18
    1619.dippler-toolbar {
    1720    text-align: left;
    1821    margin-top: 10px;
    1922}
     23
     24.odd {
     25    background-color: #CCC;
     26}
     27
     28.even {
     29    background-color: #FFF;
     30}
     31
     32.course_thumb_img {
     33    float: left;
     34    background-image: url('../images/course_thumb_bg.png');
     35    height: 70px;
     36    width: 105px;
     37    margin-right: 10px;
     38}
     39
     40/* Learning resource page styles */
     41
     42.dippler-learning-resource td,th {
     43    padding: 4px;
     44}
     45
     46.dippler-learning-resource-meta {
     47    width: 100px;
     48    text-align: right;
     49}
     50
     51
     52/* Sidebar (activites) styles */
     53
     54#dippler_activites {
     55    float: right;
     56    margin-right: 7.6%;
     57    width: 18.8%;
     58}
     59
     60#secondary {
     61    clear:right;
     62}
Note: See TracChangeset for help on using the changeset viewer.