Dotclear

Changeset 2644:88b1b462c4d0


Ignore:
Timestamp:
01/26/14 09:29:38 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Currywurst templates: category.html some better classes and id --- Berlin Theme: styling category
+ some forgotten images in last commit.

Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/currywurst/category.html

    r2603 r2644  
    6060                                   {{tpl:CategoryTitle encode_html="1"}} 
    6161                              </h2> 
    62                               {{tpl:CategoryDescription}} 
    6362 
    6463                              <tpl:CategoryIf has_entries="1"> 
    65                                    <p class="feed-info"> 
    66                                         <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}" 
    67                                          title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> 
     64                                   <ul class="content-info__feed"> 
     65                                        <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}" 
     66                                         title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li> 
    6867 
    6968                                        <tpl:SysIf operator="or" comments_active="1" pings_active="1"> 
    70                                               - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments" 
    71                                               title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a> 
     69                                              <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments" 
     70                                              title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></li> 
    7271                                        </tpl:SysIf> 
    73                                    </p> 
     72                                   </ul> 
    7473                              </tpl:CategoryIf> 
     74 
     75                              <div class="content-info__cat-desc"> 
     76                                   {{tpl:CategoryDescription}} 
     77                              </div> 
     78 
    7579 
    7680                              <tpl:CategoryFirstChildren> 
    7781                                   <tpl:CategoriesHeader> 
    78                                         <div id="subcategories"> 
     82                                        <div id="subcategories" class="content-info__sub-cat"> 
    7983                                             <h3>{{tpl:lang Subcategories}}</h3> 
    8084                                             <ul> 
  • themes/berlin/scss/partials/_content.scss

    r2640 r2644  
    3030    h2 { 
    3131        display: inline-block; 
     32        vertical-align: top; 
    3233        padding: .5em .75em; 
    3334        border-radius: .5em; 
     
    4647 
    4748    } 
     49} 
     50.content-info__feed { 
     51    display: inline-block; 
     52    vertical-align: top; 
     53    list-style-type: none; 
     54    li { 
     55        display: inline; 
     56        margin-right: 1.5em; 
     57        } 
     58} 
     59.content-info__sub-cat { 
     60    margin-top: 2em; 
     61    h3 { font-weight: bold;} 
    4862} 
    4963// lien de retour, à combiner avec le script js 
  • themes/berlin/style.css

    r2643 r2644  
    761761  #content-info h2 { 
    762762    display: inline-block; 
     763    vertical-align: top; 
    763764    padding: .5em .75em; 
    764765    border-radius: .5em; 
     
    774775    margin-top: 0.5714286em; 
    775776    padding-left: 0; } 
     777 
     778.content-info__feed { 
     779  display: inline-block; 
     780  vertical-align: top; 
     781  list-style-type: none; } 
     782  .content-info__feed li { 
     783    display: inline; 
     784    margin-right: 1.5em; } 
     785 
     786.content-info__sub-cat { 
     787  margin-top: 2em; } 
     788  .content-info__sub-cat h3 { 
     789    font-weight: bold; } 
    776790 
    777791#gotop { 
     
    10801094  vertical-align: top; } 
    10811095  .arch-block a { 
    1082     color: #555; } 
     1096    color: #373737; } 
    10831097  @media all and (min-width: 30em) { 
    10841098    .arch-block { 
     
    10941108  font-weight: normal; 
    10951109  text-transform: lowercase; 
    1096   color: #14709e; } 
     1110  color: #267daf; } 
    10971111 
    10981112.arch-block h4 { 
    1099   font-weight: normal; 
     1113  font-weight: bold; 
    11001114  font-size: 1.1em; 
    11011115  margin-bottom: 0; 
    1102   margin-top: 0; } 
     1116  margin-top: 0; 
     1117  color: #373737; } 
    11031118 
    11041119.arch-list, .arch-sub-list { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map