Project

General

Profile

Download (1.36 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * Node Styling
4
 *
5
 * Style anything that isn't in the $content variable.
6
 */
7

    
8
@import "base";
9

    
10

    
11
.node { /* Node wrapper */
12

    
13
  .preview & { /* Preview of the content before submitting new or updated content */
14
    /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
15
  }
16

    
17
  .node-title { /* Node title */
18
  }
19

    
20
  .user-picture { /* The picture of the node author */
21
  }
22

    
23
  .submitted { /* The "posted by" information */
24
  }
25

    
26
  .content { /* Node's content wrapper */
27
  }
28

    
29
  ul.links { /* Node links. See also the ul.links declaration in the pages.css. */
30
  }
31

    
32
}
33

    
34
.node-promoted { /* A node that has been promoted to the front page */
35
}
36

    
37
.node-sticky { /* A sticky node (displayed before others in a list) */
38
}
39

    
40
.node-by-viewer { /* A node created by the current user */
41
}
42

    
43
.node-teaser { /* A node displayed as teaser */
44
}
45

    
46
/*
47
 * All nodes are given a node-FOO class that describes the type of content that
48
 * it is. If you create a new content type called "my-custom-type", it will
49
 * receive a "node-my-custom-type" class.
50
 */
51

    
52
.node-page { /* Page content node */
53
}
54

    
55
.node-article { /* Article content node */
56
}
57

    
58
.node-unpublished { /* Unpublished nodes */
59
  /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
60

    
61
  p.unpublished { /* The word "Unpublished" displayed underneath the content. */
62
    @include unpublished-div;
63
  }
64
}
(11-11/20)